CUDA on Ubuntu?


log in

Advanced search

Questions and Answers : GPU applications : CUDA on Ubuntu?

Author Message
Chuckles
Send message
Joined: 8 Dec 01
Posts: 2
Credit: 4,598,368
RAC: 357
United States
Message 928561 - Posted: 25 Aug 2009, 4:01:59 UTC

I'm trying to get CUDA working on my Dell D630 running Ubuntu Jaunty. It has an Quadro NVS 135M and version 180.44 of the Nvidia drivers. I upgraded to version 6.6.36 of the Boinc client software but it still says "No CUDA devices found" in the Messages tab when it starts up. Maybe I need a newer Nvidia driver?

Thanks,
Chuck

____________

Profile bloodrain
Volunteer tester
Avatar
Send message
Joined: 8 Dec 08
Posts: 96
Credit: 8,166,137
RAC: 2,418
Antarctica
Message 928702 - Posted: 26 Aug 2009, 3:50:12 UTC - in response to Message 928561.

check the list of cuda device. it has to be a 8 series or up
____________

Chuckles
Send message
Joined: 8 Dec 01
Posts: 2
Credit: 4,598,368
RAC: 357
United States
Message 928795 - Posted: 26 Aug 2009, 14:20:17 UTC - in response to Message 928702.

The Quadro NVS 135M is listed as a CUDA-enabled card and I do have 256MB of memory on mine:

http://www.nvidia.com/object/cuda_learn_products.html

Looks like maybe you have to install the beta Nvidia driver version 190.18 to get CUDA support on Ubuntu...

____________

Profile ignorance is no excuse
Avatar
Send message
Joined: 4 Oct 00
Posts: 9529
Credit: 44,433,321
RAC: 0
Korea, North
Message 928801 - Posted: 26 Aug 2009, 14:40:59 UTC

you may have to run a 3rd party app. I don't see the 6.08 listed for linux. I think Lunatics has one for linux
____________
In a rich man's house there is no place to spit but his face.
Diogenes Of Sinope

End terrorism by building a school

Chuck Gorish
Send message
Joined: 19 Jun 00
Posts: 156
Credit: 29,589,106
RAC: 0
United States
Message 928804 - Posted: 26 Aug 2009, 15:11:13 UTC - in response to Message 928795.

i think you will find, if you have 256mb vidram and this is also your desktop display card you may not have enough vidram to run cuda. i had a 256mb card that was always out of memory for cuda. that however should not stop boinc from recognizing it.

i shouldnt think you would have to use the 190x driver. i use 185.18.31 just fine on linux. os type should not matter other than matching the arch (32 or 64bit) (or running the cuda 2.3 toolkit then you need the 190x driver). what you do need is to download the nvidia-toolkit (i prefer v2.2) and install that and copy the libs into the project directory and the libcudart files into the main boinc directory making sure ldconfig knows where they are and it has been run. then download the matching cuda application from lunatics and install an app_info.xml with it. make sure you have the use_all_gpus set to 1 in cc_config.xml

<options>
<use_all_gpus>1</use_all_gpus>
</options>


and in the project directory a 'number_of_gpus' file containing a 1 i forget what boinc version started using that but i believe 6.6.36 does use it.

i had trouble with cuda v2.3 and i am unclear if it is downward compatible or not. for me, going back to 2.2 solved everything. being fair, 2.3 does work for most people so it is your choice you just have to match the cuda app with the toolkit version.

skildude is correct there still is not a linux app available in the download stream from seti (at least none i have been able to find). however lack of this will not stop boinc from recognizing your cuda device and reporting it in the message log.

if all of the above is proper, boinc *shoud* report it in the log and should 'just work'.
____________

rob smithProject donor
Volunteer tester
Send message
Joined: 7 Mar 03
Posts: 8815
Credit: 62,998,262
RAC: 77,454
United Kingdom
Message 934353 - Posted: 18 Sep 2009, 19:51:52 UTC - in response to Message 928804.

OK, not quite the same problem, but very similar:
64bit Jaunty, got that running well, so I added a GPU (EVGA GTS250 with 512MB, so it should be good to go). The GPU is workign (or at least the Nvidia x-server monitor says its working...
Everything looks OK, but I get the following at startup

Starting BOINC client version 6.6.36 for x86_64-pc-linux-gnu
Configured to use all coprocessors
log flags: task, file_xfer, sched_ops
Libraries: libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 c-ares/1.5.1
Data directory: /var/lib/boinc-client
Processor: 1 AuthenticAMD AMD Athlon(tm) 64 Processor 3200+ [Family 15 Model 44 Stepping 2]
Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up rep_good pni lahf_lm
OS: Linux: 2.6.28-15-generic
Memory: 988.60 MB physical, 2.38 GB virtual
Disk: 54.03 GB total, 47.54 GB free
Local time is UTC +1 hours
No CUDA devices found
No coprocessors

Not using a proxy

I've done all the checks I can think of, the mods suggested above, but still it sits there smiling sweetly at me :-(

____________
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?

rob smithProject donor
Volunteer tester
Send message
Joined: 7 Mar 03
Posts: 8815
Credit: 62,998,262
RAC: 77,454
United Kingdom
Message 934491 - Posted: 19 Sep 2009, 10:21:58 UTC - in response to Message 934353.

I should have added that I'm (or think I am) using Cuda 2.3, with NVIDIA driver version 190.18
____________
Bob Smith
Member of Seti PIPPS (Pluto is a Planet Protest Society)
Somewhere in the (un)known Universe?

Col.Smeghead
Volunteer tester
Send message
Joined: 7 Jan 04
Posts: 1
Credit: 143,530
RAC: 0
United Kingdom
Message 937120 - Posted: 1 Oct 2009, 12:47:46 UTC

i found (after weeks of trying) that you need to set the owner permissions on your graphics card to the same as boinc, at least thats what i had to do on f11 then restart the boinc service.

i tried adding boinc to the video group but that didnt seem to have any effect

then also found that there appeared no way to set it permanently and had to reset it after each reboot

Questions and Answers : GPU applications : CUDA on Ubuntu?

Copyright © 2014 University of California