NVIDIA GPU3 Linux/Wine Headless Install Guide

Moderators: slegrand, Site Moderators, PandeGroup

Re: GPU3 on Ubuntu?

Postby lelliott731 » Thu Aug 25, 2011 4:39 am

Oh, no, it might be 64-bit, it needs to be 32-bit?
lelliott731
 
Posts: 54
Joined: Mon Dec 03, 2007 1:30 pm
Location: Annapolis, MD

Re: GPU3 on Ubuntu?

Postby jimerickson » Thu Aug 25, 2011 5:58 am

yes
jimerickson
 
Posts: 682
Joined: Tue May 27, 2008 11:56 pm
Location: ames, iowa

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Thu Aug 25, 2011 7:06 pm

Also, make sure you use version 3.0 of the toolkit. Others have reported that more recent versions don't work.
Image
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby brtaylor92 » Thu Sep 29, 2011 7:51 pm

I'm having trouble getting this to work as well. I've got a pair of gtx 460s. I made sure to install the version 3.0 32-bit CUDA toolkit.
I'm running the latest nVidia drivers (64-bit) for linux over linux mint debian edition.
I tried the 253 series drivers mentioned earlier in this thread, but they won't install on a 3.0 linux kernel, and I don't want to mess with trying older kernels if possible.

Output is below.

Code: Select all
nice wine Folding@home-Win32-gpu.exe -verbosity 9 -forcegpu nvidia_fermi

Note: Please read the license agreement (Folding@home-Win32-gpu.exe -license). Further
use of this software requires that you have read and accepted this agreement.

[19:49:08] Gpu type=3 species=20.


--- Opening Log file [September 29 19:49:08 UTC]


# Windows GPU Console Edition #################################################
###############################################################################

                       Folding@Home Client Version 6.41r2

                          http://folding.stanford.edu

###############################################################################
###############################################################################

Launch directory: Z:\home\brtaylor92\Desktop\fah-gpu3
Executable: Z:\home\brtaylor92\Desktop\fah-gpu3\Folding@home-Win32-gpu.exe
Arguments: -verbosity 9 -forcegpu nvidia_fermi -gpu 0

[19:49:08] - Ask before connecting: No
[19:49:08] - User name: btaylor2 (Team 33)
[19:49:08] - User ID: 4D31BE8B5E9977FF
[19:49:08] - Machine ID: 2
[19:49:08]
[19:49:08] Gpu type=3 species=20.
[19:49:08] Loaded queue successfully.
[19:49:08]
[19:49:08] - Autosending finished units... [September 29 19:49:08 UTC]
[19:49:08] Trying to send all finished work units
[19:49:08] + Processing work unit
[19:49:08] + No unsent completed units remaining.
[19:49:08] Core required: FahCore_15.exe
[19:49:08] - Autosend completed
[19:49:08] Core found.
[19:49:08] Working on queue slot 01 [September 29 19:49:08 UTC]
[19:49:08] + Working ...
[19:49:08] - Calling '.\FahCore_15.exe -dir work/ -suffix 01 -nice 19 -priority 96 -checkpoint 15 -verbose -lifeline 8 -version 641'

[19:49:08]
[19:49:08] *------------------------------*
[19:49:08] Folding@Home GPU Core
[19:49:08] Version                2.20 (Tue Aug 2 12:06:37 PDT 2011)
[19:49:08] Build host             SimbiosNvdWin7
[19:49:08] Board Type             NVIDIA/CUDA
[19:49:08] Core                   15
[19:49:08]
[19:49:08] Window's signal control handler registered.
[19:49:08] Preparing to commence simulation
[19:49:08] - Ensuring status. Please wait.
[19:49:17] - Looking at optimizations...
[19:49:17] - Working with standard loops on this execution.
[19:49:17] - Previous termination of core was improper.
[19:49:17] - Going to use standard loops.
[19:49:17] - Files status OK
[19:49:17] sizeof(CORE_PACKET_HDR) = 512 file=<>
[19:49:17] - Expanded 125284 -> 501826 (decompressed 400.5 percent)
[19:49:17] Called DecompressByteArray: compressed_data_size=125284 data_size=501826, decompressed_data_size=501826 diff=0
[19:49:17] - Digital signature verified
[19:49:17]
[19:49:17] Project: 7621 (Run 705, Clone 0, Gen 51)
[19:49:17]
[19:49:17] Entering M.D.
[19:49:19] Tpr hash work/wudata_01.tpr:  3091169510 972559509 2398193882 3891940421 4033553912
[19:49:19] calling fah_main gpuDeviceId=0
[19:49:19] Working on Protein
[19:49:19] Client config found, loading data.
[19:49:22] CoreStatus = 63 (99)
[19:49:22] + Error starting Folding@home core.
[19:49:27]
[19:49:27] + Processing work unit
[19:49:27] Core required: FahCore_15.exe
[19:49:27] Core found.
[19:49:27] Working on queue slot 01 [September 29 19:49:27 UTC]
[19:49:27] + Working ...
[19:49:27] - Calling '.\FahCore_15.exe -dir work/ -suffix 01 -nice 19 -priority 96 -checkpoint 15 -verbose -lifeline 8 -version 641'

[19:49:27]
[19:49:27] *------------------------------*
[19:49:27] Folding@Home GPU Core
[19:49:27] Version                2.20 (Tue Aug 2 12:06:37 PDT 2011)
[19:49:27] Build host             SimbiosNvdWin7
[19:49:27] Board Type             NVIDIA/CUDA
[19:49:27] Core                   15
[19:49:27]
[19:49:27] Window's signal control handler registered.
[19:49:27] Preparing to commence simulation
[19:49:27] - Ensuring status. Please wait.
brtaylor92
 
Posts: 7
Joined: Tue Mar 08, 2011 12:49 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Fri Sep 30, 2011 6:54 pm

Can you try the 260.19.36 drivers? They work for me with Ubuntu 10.04.

My two Linux rigs are both running 2.6 kernels, so I have no idea how well this works with 3.0.
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby powerarmour » Mon Apr 30, 2012 3:43 pm

Can't get this working on Ubuntu 12.04 x64 at the moment, same guide worked perfectly for me on Ubuntu 10.04.

CUDA seems to be symlinked in Wine fine, but I get a Wine CUDA error when I start the client, maybe Wine 1.4 is the culprit?
Image
powerarmour
 
Posts: 169
Joined: Wed Oct 29, 2008 1:00 am
Location: Surrey, UK

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Mon Apr 30, 2012 10:47 pm

I'm running Wine 1.4 on Ubuntu 10.04 with no problems. Something may have changed in 12.04. Maybe the CUDA 3.0 toolkit no longer works?
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby smoking2000 » Fri May 04, 2012 11:42 am

I've also run into the "cudaMalloc in CUDAStream::Allocate failed CUDA version is insufficient for CUDART version" error, it appears to be related tot the 295.40 drivers which require a newer version of CUDA according to Phoronix:
NVIDIA's Linux team this morning announced the immediate release of the 295.40 Linux driver. There aren't many changes for this release compared to the recent 295.33 driver release, but it does address a high-risk security vulnerability.

The official changes for the NVIDIA 295.40 Linux stable driver release include closing a security vulnerability where attackers could reconfigure GPUs to gain access to arbitrary system memory, fixes a bug causing DisplayPort devices to occasionally fail after suspend-and-resume, a new "AllowNon3DVisionModes" X configuration option, and support for two new GPUs. The newly-supported GPUs is the GeForce GT 610 and GeForce GT 635M.

The high-risk security vulnerability that was recently discovered is described in CVE-2012-0946. This issue came down to an issue whereby arbitrary system memory could be accessed because the default file permissions on the NVIDIA GPU device nodes allows for read/write access to all users. NVIDIA classified this issue as high-risk since the read/write access is needed in order to leverage NVIDIA GPU hardware acceleration whether it be for OpenGL, OpenCL, or VDPAU. Fortunately, NVIDIA quickly identified the root cause of the vulnerability and released this new driver.

NVIDIA's also released a patch to its Linux kernel shim so that older drivers can be manually patched too. However, now with the new 295.40 driver, a new CUDA library is needed otherwise the CUDA debugger will fail against the patched library. Updated 295.40 drivers have also been released for Solaris and FreeBSD, which are also affected by the vulnerability.

Although it only speaks about the CUDA debugger, I assume it also affects CUDART. I had no problems with the 295.33 drivers and CUDA 3.0, even with 3.x Linux kernels.

If newer NVidia drivers require a more recent CUDA version than 3.0, I think we need to look at updating the wrapper to work with those.
User avatar
smoking2000
 
Posts: 571
Joined: Mon Dec 03, 2007 6:20 am
Location: Amsterdam

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby bruce » Fri May 04, 2012 7:35 pm

It sounds awfully like the same bug Microsoft had to fix some time back (or at least one with a similar description) when they removed global permissions from the GPU and restricted access to it to just the foreground user. Probably a different fix, though.
bruce
 
Posts: 22434
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby bigtuna » Sat May 05, 2012 3:14 am

Anybody running the new 7 series client? My score jumped up (like double) on the Windows/ATI machines. It looks like there is a native Linux client now?

I just noticed that the title mentions a "headless" install. I didn't think this was possible unless you had a dongle that tricked the machine into thinking there was a monitor attached...
bigtuna
 
Posts: 8
Joined: Sun Apr 11, 2010 8:53 pm

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Hyperlife » Tue May 08, 2012 3:03 am

The v7 Linux client will detect graphics cards, but since there are no Linux GPU cores, no work will be assigned.

I've tried running v7 under Wine a while back; FAHClient didn't start or generate any error messages.
User avatar
Hyperlife
 
Posts: 438
Joined: Sun Dec 02, 2007 7:38 am

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby levesqu6 » Tue May 08, 2012 7:10 pm

for those having problems with the nvidia drivers and newer kernels... the 275.x branch seems to work ok for now. I havent tried 295.33
heres my configuration

debian testing (wheeezy)
kernel 3.2.0-2-amd64
Nvidia drivers version 275.43
cuda 3.0
wine 1.5.0 'unstable'

will we see updates in the wrapper to use cuda 4.x so that we can use newer drivers? or do we believe that there will be a gpu client for linux someday soon? (sorry if this is answered elsewhere)
levesqu6
 
Posts: 5
Joined: Sat Jul 24, 2010 11:14 pm

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby bruce » Wed May 09, 2012 5:40 am

I can't speak for the 3rd party support of the wrapper, but I did see a comment from Dr. Pande that seemed to imply the were likely to launch a project to develop a gpu client for linux someday. He didn't specify any time-frame.
bruce
 
Posts: 22434
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby Shelnutt2 » Mon May 14, 2012 2:03 am

levesqu6 wrote:for those having problems with the nvidia drivers and newer kernels... the 275.x branch seems to work ok for now. I havent tried 295.33
heres my configuration

debian testing (wheeezy)
kernel 3.2.0-2-amd64
Nvidia drivers version 275.43
cuda 3.0
wine 1.5.0 'unstable'

will we see updates in the wrapper to use cuda 4.x so that we can use newer drivers? or do we believe that there will be a gpu client for linux someday soon? (sorry if this is answered elsewhere)


I can move the wrapper to 4.x support, it's not a problem. I hadn't because fah doesn't use anything beyond 3.0 as far as I know. I'll work on it this week, I can provide a stop gap solution of just relinking to cuda 4.x and the existing wrapper will work, but as always I like to implement a full cuda 4 wrapper so any cuda application can work :).
OCforums, T32

Linux Lober!
Shelnutt2
 
Posts: 150
Joined: Sun Dec 02, 2007 5:37 pm

Re: NVIDIA GPU3 Linux/Wine Headless Install Guide

Postby smoking2000 » Mon May 14, 2012 6:27 am

That would be awesome! Can you provide a description how what you do to update the wrapper?
User avatar
smoking2000
 
Posts: 571
Joined: Mon Dec 03, 2007 6:20 am
Location: Amsterdam

PreviousNext

Return to unOfficial Linux GPU (WINE wrapper) (3rd party support)

Who is online

Users browsing this forum: No registered users and 1 guest

cron