PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise
1) Message boards : Number crunching : BOINC on Linux (Message 90718)
Posted 1564 days ago by Profile drsevrin
Bumping, for what it's worth. I've had multiple GPU's running under SLI and Linux for several years now. (NVIDIA GTX 560's) One card failed, but the other soldiers on. It took a lot of tweaking driver settings for me to get GPU's running BOINC and other Cuda applications, but I finally got it working. I'm still on Ubuntu 12.04, and running NVIDIA driver 304.125.
2) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60424)
Posted 2671 days ago by Profile drsevrin
Thanks for everyone's help. GPU is up and running fine now under Ubuntu 12.04 with Boinc client 7.0.28. I'm very pleased . . .
3) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60408)
Posted 2671 days ago by Profile drsevrin
Another data point: Lubuntu 12.04 is working nicely for me with a dual-GPU setup. The driver is currently 304.64, and that's been updated many times from the repositories. No Gnome desktop here either.

When I first set this up I was still on 10.10. Here's what I did to do the original install of the real nvidia driver at the time:
sudo apt-get --purge remove xserver-xorg-video-nouveau sudo add-apt-repository ppa:ubuntu-x-swat/x-updates sudo apt-get update && sudo apt-get install nvidia-current nvidia-current-modaliases nvidia-settings

I can't speak to whether or not this is applicable for a freshly-installed 12.04 system. Updates for me now happen via the usual Update Manager system.

I've always installed BOINC itself by downloading an install script from http://boinc.berkeley.edu/download_all.php, and just running that. This allows you to easily install multiple copies of BOINC itself in non-standard places on the same box that are completely independent.

--Gary


Thanks. I was finally able to get CUDA compiled and working last night on 12.04. The fluid flow example is amazing! I'll try a separate install of BOINC outside the package manager and try it that way; still have yet to get the daemon version to recognize the GPU, but I think that has to do with setting up the PATH variable to include CUDA correctly before the BOINC daemon initializes.
4) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60389)
Posted 2672 days ago by Profile drsevrin
If you want to try a different disto try Mint 14. I had no problem setting up the nvidia driver and boinc from the repo's. And the best thing about it is the Mate Desktop, and no Gnome.


Been thinkin' about that, thanks for the confirmation that it works well under Mint. If I can't get Cuda working under 12.04 I'll consider a switch.
5) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60371)
Posted 2672 days ago by Profile drsevrin
each device has a manufacturers code number for what it is and when it was made, memory cpu;s and so on.

because the code can be read does not mean the driver is installed.


Thanks for explaining.
6) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60350)
Posted 2673 days ago by Profile drsevrin
from the log file boinc can not recognize the driver for your video card correctly.

goto https://help.ubuntu.com/community/Cuda

they can explain more completely how to re-install your cuda driver

cuda drivers are having trouble with 12.10.

search this location for more diver info.

good luck:)


Thanks, I'll give that a shot. I ultimately gave up on 12.10 due to major issues with the Nvidia drivers. I'm still puzzled though why the manual client initialization sees the GPU but the daemon initialization does not. Again, thanks.
7) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60343)
Posted 2673 days ago by Profile drsevrin
Output from sudo service boinc-client restart:

* Stopping BOINC core client: boinc [ OK ]
* Starting BOINC core client: boinc [ OK ]
* Setting up scheduling for BOINC core client and children: [ OK ]

however client did not start. I'm starting to wonder if this has to do with the linux installation as a daemon, which starts before X11, therefore Nvidia driver has not loaded and cannot be detected? I've seen on the SETI board that sometimes inserting a sleep delay in the init script will slow down the daemon enough that the GPU driver is recognized. Tried it in 12.10 but no luck; however that may have been more of an Nvidia issue. In any event, I'm still not sure how to best proceed, although mucking with the init script or reinstalling as a non-daemon client is what I'm thinking.
8) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60339)
Posted 2673 days ago by Profile drsevrin
OK, so here's the output from when I attempt to start the client from the terminal.

11-Dec-2012 20:27:15 [---] No config file found - using defaults
11-Dec-2012 20:27:15 [---] Starting BOINC client version 7.0.27 for i686-pc-linux-gnu
11-Dec-2012 20:27:15 [---] log flags: file_xfer, sched_ops, task
11-Dec-2012 20:27:15 [---] Libraries: libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
11-Dec-2012 20:27:15 [---] Data directory: /home/anduril
11-Dec-2012 20:27:15 [---] Processor: 8 GenuineIntel Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz [Family 6 Mode
l 45 Stepping 7]
11-Dec-2012 20:27:15 [---] Processor: 10.00 MB cache
11-Dec-2012 20:27:15 [---] Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmo
v pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pdpe1gb rdtscp lm constant_tsc arch_perfmon
pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr p
dcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln
pts dtherm tpr_shadow vnmi flexpriority ept vpid
11-Dec-2012 20:27:15 [---] OS: Linux: 3.2.0-34-generic-pae
11-Dec-2012 20:27:15 [---] Memory: 15.72 GB physical, 15.92 GB virtual
11-Dec-2012 20:27:15 [---] Disk: 101.69 GB total, 84.19 GB free
11-Dec-2012 20:27:15 [---] Local time is UTC -7 hours
11-Dec-2012 20:27:15 [---] NVIDIA GPU 0: GeForce GTX 560 (driver version unknown, CUDA version 5.0, compute
capability 2.1, 1024MB, 742MB available, 1089 GFLOPS peak)
11-Dec-2012 20:27:15 [---] OpenCL: NVIDIA GPU 0: GeForce GTX 560 (driver version 304.43, device version Ope
nCL 1.1 CUDA, 1024MB, 742MB available)

11-Dec-2012 20:27:15 [---] No general preferences found - using defaults
11-Dec-2012 20:27:15 [---] Preferences:
11-Dec-2012 20:27:15 [---] max memory usage when active: 8049.80MB
11-Dec-2012 20:27:15 [---] max memory usage when idle: 14489.64MB
11-Dec-2012 20:27:15 [---] max disk usage: 10.00GB
11-Dec-2012 20:27:15 [---] don't use GPU while active
11-Dec-2012 20:27:15 [---] suspend work if non-BOINC CPU load exceeds 25 %
11-Dec-2012 20:27:15 [---] (to change preferences, visit the web site of an attached project, or select
Preferences in the Manager)
dir_open: Could not open directory 'slots'.
11-Dec-2012 20:27:15 [---] Not using a proxy
11-Dec-2012 20:27:15 [---] This computer is not attached to any projects
11-Dec-2012 20:27:15 [---] Visit http://boinc.berkeley.edu for instructions
Initialization completed


And here's the log file from Boinc Manager's advanced view, from the successfully running client (daemon?):

Tue 11 Dec 2012 08:05:23 PM MST | | Starting BOINC client version 7.0.27 for i686-pc-linux-gnu
Tue 11 Dec 2012 08:05:23 PM MST | | log flags: file_xfer, sched_ops, task
Tue 11 Dec 2012 08:05:23 PM MST | | Libraries: libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Tue 11 Dec 2012 08:05:23 PM MST | | Data directory: /var/lib/boinc-client
Tue 11 Dec 2012 08:05:23 PM MST | | Processor: 8 GenuineIntel Intel(R) Core(TM) i7-3820 CPU @ 3.60GHz [Family 6 Model 45 Stepping 7]
Tue 11 Dec 2012 08:05:23 PM MST | | Processor: 10.00 MB cache
Tue 11 Dec 2012 08:05:23 PM MST | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
Tue 11 Dec 2012 08:05:23 PM MST | | OS: Linux: 3.2.0-34-generic-pae
Tue 11 Dec 2012 08:05:23 PM MST | | Memory: 15.72 GB physical, 0 bytes virtual
Tue 11 Dec 2012 08:05:23 PM MST | | Disk: 101.69 GB total, 84.16 GB free
Tue 11 Dec 2012 08:05:23 PM MST | | Local time is UTC -7 hours
Tue 11 Dec 2012 08:05:23 PM MST | | No usable GPUs found
Tue 11 Dec 2012 08:05:23 PM MST | | Config: GUI RPC allowed from:
Tue 11 Dec 2012 08:05:23 PM MST | | A new version of BOINC is available. <a href=http://boinc.berkeley.edu/download.php>Download it.</a>
Tue 11 Dec 2012 08:05:23 PM MST | PrimeGrid | URL http://www.primegrid.com/; Computer ID 316215; resource share 900
Tue 11 Dec 2012 08:05:23 PM MST | | General prefs: from http://setiathome.berkeley.edu/ (last modified 10-Dec-2012 09:02:52)
Tue 11 Dec 2012 08:05:23 PM MST | | Host location: none
Tue 11 Dec 2012 08:05:23 PM MST | | General prefs: using your defaults
Tue 11 Dec 2012 08:05:23 PM MST | | Reading preferences override file
Tue 11 Dec 2012 08:05:23 PM MST | | Preferences:
Tue 11 Dec 2012 08:05:23 PM MST | | max memory usage when active: 8049.80MB
Tue 11 Dec 2012 08:05:23 PM MST | | max memory usage when idle: 14489.64MB
Tue 11 Dec 2012 08:05:23 PM MST | | max disk usage: 0.00GB
Tue 11 Dec 2012 08:05:23 PM MST | | suspend work if non-BOINC CPU load exceeds 50 %
Tue 11 Dec 2012 08:05:23 PM MST | | (to change preferences, visit the web site of an attached project, or select Preferences in the Manager)
Tue 11 Dec 2012 08:05:23 PM MST | | Not using a proxy
Tue 11 Dec 2012 08:05:23 PM MST | PrimeGrid | Restarting task psp_llr_162853498_1 using llrPSP version 613 in slot 3

Here is a link to the host.
http://www.primegrid.com/show_host_detail.php?hostid=316215

Seems to be an initialization problem?
9) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60323)
Posted 2673 days ago by Profile drsevrin
with your computer hidden it is impossible to tell if everything is installed ok

please restart your computer click on advanced tab go to log click on copy all

then post this here.

if you go to tasks in your account you should see something like this for finished gpu tasks.

PPS (Sieve) v1.38
(ati13ati)

I am running ati, yours will say cuda.



Thanks - I'm posting from a non-boinc machine at the moment; when I return home in a few hours I'll post again with the log file from the machine in question.
10) Message boards : Problems and Help : GPU recognized but not being used? (Ubuntu 12.04) (Message 60319)
Posted 2673 days ago by Profile drsevrin
I've just gotten a newly built machine up and running and I can't seem to confirm the GPU is being used. After giving up on Ubuntu 12.10 due to Nvidia driver problems I dropped down to 12.04 (32 bit) and now the "sudo boinc" initialization output confirms the client recognizes my Nvidia Geforce GTX 560 GPU. However, the GPU appears idle (temps are 31 deg on optimized power management setting, 42 deg on maximum performance.).

I use Grid Republic and have set my projects to 100% Primegrid, enabled the GPU and disabled the CPU in PrimeGrid prefs. CPU is still being utilized based on system monitor output. I am starting to get suspicious of the Grid Republic client. Also, even though the "sudo boinc" output acknowledges a usable GPU, the boinc computer info page will not confirm a GPU is present. And, no CUDA work units appear to be downloading.

Any thoughts or help is greatly appreciated!


Next 10 posts
[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.00, 0.00, 0.00
Generated 7 Apr 2020 | 11:01:14 UTC