
GPU2 in Linux via WINE
Moderators: slegrand, Site Moderators, PandeGroup
-
- Posts: 627
- Joined: Tue Jul 08, 2008 2:27 pm
- Hardware configuration: 1x Q6600 @ 3.2GHz, 4GB DDR3-1333
1x Phenom X4 9950 @ 2.6GHz, 4GB DDR2-1066
3x GeForce 9800GX2
1x GeForce 8800GT
CentOS 5 x86-64, WINE 1.x with CUDA wrappers
Re: GPU2 in Linux via WINE
Boot parameters shouldn't be necessary if your hardware is supported and not known to be buggy. Awesome icon, BTW. 

-
- Posts: 421
- Joined: Sun Dec 02, 2007 4:53 am
- Hardware configuration: FX8320e (4 cores enabled) @ stock, 16GB DDR3, GTX 970 @ stock, GTX 1050Ti @ stock
Running Slackware 14.x
Running FAH Console, using a separation technique to allow a client (and spawned fahcore's) to be bound to a specific cpu core outside the control of the cpu_scheduler - Location: In the UK
- Contact:
Re: GPU2 in Linux via WINE
The problem seems to be kernels that are less than 2.6.27, mine is 2.6.22, which according to the kernel mail list still lacks certain hpet patches that allow the forcing of c1e off.
2.6.27 and 2.6.28 cause hard locks, so are a no go for me.
2.6.27 and 2.6.28 cause hard locks, so are a no go for me.
Re: GPU2 in Linux via WINE
shatteredsilicon wrote:Try:
# locate cudart.dll.so
Does this show such a file lurking somewhere like /usr/lib/wine?
Tried that and found nothing. The only files with names like cudart.dll and nvcuda.dll were the ones I recently put there.
I also updated CUDA to 2.1, and Wine to 1.1.17 with no effect.
It must be something about the wrapper. As I said before, the card folds these new WU fine in Windows XP. If I can find the time in the next few days I might try ripping it all out and starting again. I haven't looked too closely at your headerless install guide, is it suitable for an ordinary desktop system?
Thanks for your help so far.
-
- Posts: 627
- Joined: Tue Jul 08, 2008 2:27 pm
- Hardware configuration: 1x Q6600 @ 3.2GHz, 4GB DDR3-1333
1x Phenom X4 9950 @ 2.6GHz, 4GB DDR2-1066
3x GeForce 9800GX2
1x GeForce 8800GT
CentOS 5 x86-64, WINE 1.x with CUDA wrappers
Re: GPU2 in Linux via WINE
Hmm... I've just checked the code I posted, and it's fine on my system and builds and works correctly. Here's a copy of my binary cudart.dll.so.2.1 built from the same code. Just drop it into system32, rename to cudart.dll and symlink to nvcuda.dll. Does that work for you?
Re: GPU2 in Linux via WINE
shatteredsilicon wrote:Hmm... I've just checked the code I posted, and it's fine on my system and builds and works correctly. Here's a copy of my binary cudart.dll.so.2.1 built from the same code. Just drop it into system32, rename to cudart.dll and symlink to nvcuda.dll. Does that work for you?
Sorry, no. Still the same problem although your file was a little bit bigger than the one I had.
-
- Posts: 627
- Joined: Tue Jul 08, 2008 2:27 pm
- Hardware configuration: 1x Q6600 @ 3.2GHz, 4GB DDR3-1333
1x Phenom X4 9950 @ 2.6GHz, 4GB DDR2-1066
3x GeForce 9800GX2
1x GeForce 8800GT
CentOS 5 x86-64, WINE 1.x with CUDA wrappers
Re: GPU2 in Linux via WINE
Well, since that's the wrapper I'm using, the problem must be something else about your system. I tend to not touch Ubuntu with a barge pole, so I cannot offer you any distro specific advice.
-
- Posts: 71
- Joined: Wed Oct 29, 2008 2:14 pm
Re: GPU2 in Linux via WINE
Has anyone else noticed that the headless install guide is now missing from the folding forum... I keep clicking on a link to it from Google and it says I don't have access...
I'm also having trouble figuring things out from the wiki now and am at a dead end without that tutorial.. Stupid noobishness on my part...
I'm also having trouble figuring things out from the wiki now and am at a dead end without that tutorial.. Stupid noobishness on my part...
Folding 24x7 IHS
Team 31630. Nerds For Jesus. Join us, we could use the help! Or check us out at nerdsforjesus.org
Team 31630. Nerds For Jesus. Join us, we could use the help! Or check us out at nerdsforjesus.org
-
- Site Admin
- Posts: 1685
- Joined: Fri Nov 30, 2007 9:37 am
- Location: Oxfordshire, UK
Re: GPU2 in Linux via WINE
Google's index is out of date. The guide is here: viewtopic.php?f=54&t=6793
-
- Posts: 3483
- Joined: Sun Dec 02, 2007 5:04 am
- Hardware configuration: 1. Dual 6 core Xeons @ 2.66Ghz;16 gig;Ubuntu 64 bit;970;v7-gpu
2. Dual 4 core Xeons @ 2.54Ghz;12 gig;Ubuntu 64 bit;1070;v7-gpu
3. AMD 8350 @ 4Ghz;4 gig;1070;Ubuntu 64 bit;v7-gpu
4. i5 7600K @ 3.8Ghz;8 gig;960+1060;Win 10 pro 64 bit;v7-gpu
5. 4 x 6274 @ 2.2Ghz;16 gig;Linux Ubuntu 64 bit;v7-cpu:54;
6. G3258 @ 3.2Ghz;8 gig;980;Ubuntu 64 bit;v7-gpu
7. Ryzen 5 2600x @ 3.9Ghz;16 gig;1080;Ubuntu 64 bit;v7-gpu
8. i7 940 @ 2.94Ghz;4 gig;980ti;Ubuntu 64 bit;v7-gpu
9. Predator laptop - win 10 - 1070 - Location: Canada
Re: GPU2 in Linux via WINE
That link doesn't work for me.
"You are not authorised to read this forum."
"You are not authorised to read this forum."
-
- Site Admin
- Posts: 1685
- Joined: Fri Nov 30, 2007 9:37 am
- Location: Oxfordshire, UK
Re: GPU2 in Linux via WINE
How about now?
-
- Posts: 3483
- Joined: Sun Dec 02, 2007 5:04 am
- Hardware configuration: 1. Dual 6 core Xeons @ 2.66Ghz;16 gig;Ubuntu 64 bit;970;v7-gpu
2. Dual 4 core Xeons @ 2.54Ghz;12 gig;Ubuntu 64 bit;1070;v7-gpu
3. AMD 8350 @ 4Ghz;4 gig;1070;Ubuntu 64 bit;v7-gpu
4. i5 7600K @ 3.8Ghz;8 gig;960+1060;Win 10 pro 64 bit;v7-gpu
5. 4 x 6274 @ 2.2Ghz;16 gig;Linux Ubuntu 64 bit;v7-cpu:54;
6. G3258 @ 3.2Ghz;8 gig;980;Ubuntu 64 bit;v7-gpu
7. Ryzen 5 2600x @ 3.9Ghz;16 gig;1080;Ubuntu 64 bit;v7-gpu
8. i7 940 @ 2.94Ghz;4 gig;980ti;Ubuntu 64 bit;v7-gpu
9. Predator laptop - win 10 - 1070 - Location: Canada
Re: GPU2 in Linux via WINE
So here is what I've tried.
I removed the 8800GT from the non-folding machine and put it into another PC. This PC folded with it just fine. So I disconected the hard drive, put in another one and put on a new installation of Ubuntu 8.04 (32bit) with a new installation of Wine and cuda and nothing else. I used the copy of cudart.dll posted by shatteredsilicon. It would not fold, producing the same Unstable Machine errors as before. I tried this with the 180.22, 180.37 and 185.13 drivers and with the cudart.dll that I have on my other PC that is folding OK. I then did this all over again with a fresh install of Ubuntu 8.10, with the same results. I would remind readers that this problem only happens with the 5900 series WU and that this PC will fold these units when running Windows XP.
I then had a little cry and gave up.
If anyone has any ideas at all, I'd love to hear them.
The PC is a Gigabyte GA-P31-S3G motherboard with an Intel E2180 2ghz Dual Core Pentium. The graphics card is a 256meg 8800GT. The main memory is 2gig of DDR2 800mhz
The Linux version is Ubuntu 8.04 32bit with Linux Kernel 2.6.24.23
I removed the 8800GT from the non-folding machine and put it into another PC. This PC folded with it just fine. So I disconected the hard drive, put in another one and put on a new installation of Ubuntu 8.04 (32bit) with a new installation of Wine and cuda and nothing else. I used the copy of cudart.dll posted by shatteredsilicon. It would not fold, producing the same Unstable Machine errors as before. I tried this with the 180.22, 180.37 and 185.13 drivers and with the cudart.dll that I have on my other PC that is folding OK. I then did this all over again with a fresh install of Ubuntu 8.10, with the same results. I would remind readers that this problem only happens with the 5900 series WU and that this PC will fold these units when running Windows XP.

I then had a little cry and gave up.
If anyone has any ideas at all, I'd love to hear them.
The PC is a Gigabyte GA-P31-S3G motherboard with an Intel E2180 2ghz Dual Core Pentium. The graphics card is a 256meg 8800GT. The main memory is 2gig of DDR2 800mhz
The Linux version is Ubuntu 8.04 32bit with Linux Kernel 2.6.24.23
-
- Posts: 627
- Joined: Tue Jul 08, 2008 2:27 pm
- Hardware configuration: 1x Q6600 @ 3.2GHz, 4GB DDR3-1333
1x Phenom X4 9950 @ 2.6GHz, 4GB DDR2-1066
3x GeForce 9800GX2
1x GeForce 8800GT
CentOS 5 x86-64, WINE 1.x with CUDA wrappers
Re: GPU2 in Linux via WINE
Skiesare wrote:It would not fold, producing the same Unstable Machine errors as before. I tried this with the 180.22, 180.37 and 185.13 drivers and with the cudart.dll that I have on my other PC that is folding OK.
Ironically, I've found that 185.13 drivers don't work at all for me (immediate EUE). I seem to remember also having problems with 180.22. I haven't tried 180.37, I thought that was a beta. I'm using 180.29. Can you try that driver and see if the problem goes away? Are you running 32-bit or 64-bit OS?
Re: GPU2 in Linux via WINE
shatteredsilicon wrote:Ironically, I've found that 185.13 drivers don't work at all for me (immediate EUE). I seem to remember also having problems with 180.22. I haven't tried 180.37, I thought that was a beta. I'm using 180.29. Can you try that driver and see if the problem goes away? Are you running 32-bit or 64-bit OS?
I just tried the 180.29 drivers with no change. It's a 32bit OS. I also found that the 185.13 drivers killed my working PC's folding straight away, knocking out a 5903 that was at 53%

If I get time over the weekend I might try installing a different distro to see if that's the problem.
Thanks for your help so far.
-
- Posts: 627
- Joined: Tue Jul 08, 2008 2:27 pm
- Hardware configuration: 1x Q6600 @ 3.2GHz, 4GB DDR3-1333
1x Phenom X4 9950 @ 2.6GHz, 4GB DDR2-1066
3x GeForce 9800GX2
1x GeForce 8800GT
CentOS 5 x86-64, WINE 1.x with CUDA wrappers
Re: GPU2 in Linux via WINE
I use CentOS, and I specifically built my own kernel to include the high-res timer support. It is not compiled in at all by default, and no boot parameters are going to change the fact that the actual module isn't compiled in. 
