BOINC doesn't detect my GPU [Solved]

Daedalus
Daedalus
Joined: 18 Oct 07
Posts: 22
Credit: 71675653
RAC: 1333
Topic 197865

My Linux rig used to crunch happily but suddenly doesn't detect my GTX560 anymore.

Restarting the computer doesn't help. Restarting on an older kernel doesn't help, installing cuda 331 "updates" doesn't help. Restarting BOINC via a command prompt in the terminal doesn't help.

My nvidia driver is the 331.113 and my OS is Ubuntu 14.04 64 bits.

I am half tempted to update my system to 14.10 but i would like to avoid that. Besides, my system hangs every three days.

Quote:

jeu 11 déc 2014 16:46:47 CET | | Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
jeu 11 déc 2014 16:46:47 CET | | log flags: file_xfer, sched_ops, task
jeu 11 déc 2014 16:46:47 CET | | Libraries: libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
jeu 11 déc 2014 16:46:47 CET | | Data directory: /var/lib/boinc-client
jeu 11 déc 2014 16:46:47 CET | | No usable GPUs found
jeu 11 déc 2014 16:46:47 CET | | app version refers to missing GPU type NVIDIA
jeu 11 déc 2014 16:46:47 CET | Milkyway@Home | Application uses missing NVIDIA GPU
jeu 11 déc 2014 16:46:47 CET | | app version refers to missing GPU type NVIDIA
jeu 11 déc 2014 16:46:47 CET | Milkyway@Home | Application uses missing NVIDIA GPU
jeu 11 déc 2014 16:46:47 CET | | app version refers to missing GPU type NVIDIA
jeu 11 déc 2014 16:46:47 CET | Einstein@Home | Application uses missing NVIDIA GPU
jeu 11 déc 2014 16:46:47 CET | | app version refers to missing GPU type NVIDIA
jeu 11 déc 2014 16:46:47 CET | Einstein@Home | Application uses missing NVIDIA GPU
jeu 11 déc 2014 16:46:47 CET | Einstein@Home | Missing coprocessor for task PB0062_00941_364_2
jeu 11 déc 2014 16:46:47 CET | | Processor: 8 GenuineIntel Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz [Family 6 Model 60 Stepping 3]
jeu 11 déc 2014 16:46:47 CET | | 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 syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid
jeu 11 déc 2014 16:46:47 CET | | OS: Linux: 3.13.0-41-generic
jeu 11 déc 2014 16:46:47 CET | | Memory: 7.75 GB physical, 8.38 GB virtual
jeu 11 déc 2014 16:46:47 CET | | Disk: 716.27 GB total, 313.89 GB free
jeu 11 déc 2014 16:46:47 CET | | Local time is UTC +1 hours
jeu 11 déc 2014 16:46:47 CET | | VirtualBox version: 4.3.20r96996
jeu 11 déc 2014 16:46:47 CET | | Config: GUI RPCs allowed from:

jeu 11 déc 2014 16:46:47 CET | | gui_rpc_auth.cfg is empty - no GUI RPC password protection

EDIT: solved by installing nvidia-modprobe. :)

poppageek
poppageek
Joined: 13 Aug 10
Posts: 259
Credit: 2473733122
RAC: 0

BOINC doesn't detect my GPU [Solved]

I went back to 304 drivers. Mine stoped working after an update. 331 drivers no longer worked. Mint 17.

Jeroen
Jeroen
Joined: 25 Nov 05
Posts: 379
Credit: 740030628
RAC: 556

What I noticed with the newer

What I noticed with the newer NVIDIA drivers is that there is now a separate kernel module that has to be loaded in order for BOINC to detect the NVIDIA devices. This module is called nvidia_uvm.

With older drivers, only the nvidia module was needed. Based on that, running this as root with the newer drivers may work.

/sbin/modprobe nvidia_uvm

I was able to get BOINC to detect NVIDIA devices via driver 346.16 provided the above kernel module was loaded.

Jeroen

David Anderson
David Anderson
Joined: 3 Nov 10
Posts: 14
Credit: 123314944
RAC: 0

Latest 14.04 update broke

Latest 14.04 update broke CUDA use for me.

Was 331.28 (worked) now 331.113 (no CUDA, boinc does not recognize)

sudo modprobe nvidia_uvm
did not help (I assume reboot
after that command not needed...)

Shafa
Shafa
Joined: 31 May 05
Posts: 53
Credit: 627005014
RAC: 0

I can confirm installing

I can confirm installing nvidia-modprobe solves the issue.
Both driver versions - 331 and 304 had the same problem on Xubuntu 14.04 64bit with nVidia GTX570.

David Anderson
David Anderson
Joined: 3 Nov 10
Posts: 14
Credit: 123314944
RAC: 0

Shafa is right. Enabled

Shafa is right. Enabled Trusty-Backports so I could install
nvidia-modprobe. Installed it and ran it.
Made no visible difference in the output of
lsmod|grep nv
but after
sudo /etc/init.d/boinc-client restart
now boinc sees my GPUs and nvidia_uvm suddenly
shows up in the output of
lsmod|grep nv
!.

GPUs at work again! Thanks!
See Ubuntu bug 1361207 for additional details if you care.

Alez
Alez
Joined: 11 Jul 12
Posts: 7
Credit: 236752132
RAC: 0

On Ubuntu 14 you need to

On Ubuntu 14 you need to install nvidia-modprobe or Boinc will not detect the GPU but Ubuntu will happily use it. Inserting sleep command, moving Boinc to the end of the start up sequence etc. doesn't work as without modprobe Boinc does not see the GPU. After installing Boinc from repository and installin nVidia drivers you need to do the following

sudo usermod -a -G video boinc

( this adds the unprivalidged boinc account to the video group )

sudo update-rc.d -f boinc-client remove
sudo update-rc.d boinc-client defaults 99

( move BOINC start-up to the end of start-up processing )

sudo apt-get nvidia-modprobe
sudo modprobe nvidia_uvm

( without nvidia-modprobe installed boinc will not find the GPU )

sudo service boinc-client restart

( restarts the boinc client )

ralph
ralph
Joined: 27 Mar 14
Posts: 1
Credit: 91050459
RAC: 0

RE: My Linux rig used to

Quote:

My Linux rig used to crunch happily but suddenly doesn't detect my GTX560 anymore.

Restarting the computer doesn't help. Restarting on an older kernel doesn't help, installing cuda 331 "updates" doesn't help. Restarting BOINC via a command prompt in the terminal doesn't help.

My nvidia driver is the 331.113 and my OS is Ubuntu 14.04 64 bits.

I am half tempted to update my system to 14.10 but i would like to avoid that. Besides, my system hangs every three days. Today I at last found this thread...BINGO my computer started downloading
[clip]

EDIT: solved by installing nvidia-modprobe. :)

Three weeks ago I upgraded to 64 bit 14.11 and ran smack into this problem! Since then I have been working on getting my GPU working in Boinc.

Today I found this thread and downloaded Nividia modprobe...Bingo my computer started downloading GPU boinc files...Thank you soooo much!

Home World
Home World
Joined: 23 Dec 14
Posts: 2
Credit: 7178907
RAC: 0

I'm having the same problem

I'm having the same problem where boinc does not recognize my GPU. I tried getting modprobe using the command bellow.

sudo apt-get nvidia-modprobe

but when I ran this code it response with,

Invalid operation nvidia-modprobe

I am running Mint17, does anybody have an idea what I'm doing wrong.

robl
robl
Joined: 2 Jan 13
Posts: 1709
Credit: 1454480471
RAC: 8874

Which nvidia drivers do you

Which nvidia drivers do you have installed?

I am running nvidia driver: 340.65 on Ubuntu.

If you have drivers installed try:

1. "sudo service boinc-client restart" - without the quotes
if this does not work try
2. a restart

Home World
Home World
Joined: 23 Dec 14
Posts: 2
Credit: 7178907
RAC: 0

I have Nvidia driver 340.65

I have Nvidia driver 340.65 installed as well.

I ran "sudo service boinc-client restart" and restarted the computer and boinc manager but still get this message from my event log in boinc.

Sat 24 Jan 2015 05:59:31 PM PST | | No usable GPUs found

from what I can tell from the other messages I need to install nvidia-modprobe but I can't seem to find them when using the apt-get command.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.