Advanced search

Message boards : Graphics cards (GPUs) : Boinc + Ubuntu + Nvidia = No usable GPUs found.

Author Message
Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 324
Credit: 72,394,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36511 - Posted: 21 Apr 2014 | 22:29:24 UTC
Last modified: 21 Apr 2014 | 22:45:11 UTC

Hello: I think the issue deserves a special thread, already mentioned in others.

The new Nvidia drivers are causing problems for Ubuntu BOINC giving the error that is not Boinc GPUs to work, when in fact if any and functioned before the upgrade of Nvidia driver.

Specifically 331.49 version is the latest that has worked flawlessly.

Currently the only way you can upgrade to the new drivers from Nvidia is mounting them manually but "NO Registering the NVIDIA Kernel Module with DKMS" for everything to work properly.

If anyone has more information it's time to discuss it.

I hope that soon the Ubuntu and Nvidia offer a solution.

biodoc
Send message
Joined: 26 Aug 08
Posts: 174
Credit: 2,180,164,375
RAC: 52,869
Level
Phe
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36534 - Posted: 22 Apr 2014 | 11:51:18 UTC

I'm not sure what the dependencies are for registering the Nvidia kernel module with DKMS but I think you need at a minimum the build-essential package.

sudo apt-get install build-essential

On linux mint 16 I can install the most recent nvidia drivers manually and register the kernel module with DKMS.

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 324
Credit: 72,394,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36537 - Posted: 22 Apr 2014 | 13:11:49 UTC - in response to Message 36534.
Last modified: 22 Apr 2014 | 13:14:02 UTC

I'm not sure what the dependencies are for registering the Nvidia kernel module with DKMS but I think you need at a minimum the build-essential package.

sudo apt-get install build-essential

On linux mint 16 I can install the most recent nvidia drivers manually and register the kernel module with DKMS.



Hello: No problem in Registering the NVIDIA kernel module DKMS when a Nvidia driver installed Ubuntu and everything works perfectly, but if we do not find the BOINC and GPU.

That is, to find time for BOINC GPU system simply NO Place the NVIDIA kernel module DKMS during manual Nvidia driver installation.

If we make driver installation via "Software and Updates + Drivers Additional" repeat the whole (Ubuntu) system worked perfectly but we GPUs in BOINC.

I trust that this situation is resolved and someone BOINC + UBUNTU + NVIDIA is aware of it and give us some remedy, I hope someone knows more than me ...

captainjack
Send message
Joined: 9 May 13
Posts: 160
Credit: 1,250,090,584
RAC: 5,421
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36690 - Posted: 27 Apr 2014 | 14:34:45 UTC

Carlesa25,

Did you ever get this resolved?

Are you using BOINC installed by the Ubuntu software installer?
Or stated another way, do you run BOINC as a daemon?

If BOINC is starting up automatically as soon as the system boots up, it sometimes starts before the graphics drivers have time to load. In that case BOINC does not see the GPU. If this is your problem, the solution is to put a delay in the BOINC startup script.

Edit /etc/init.d/boinc-client and insert "sleep 6" at the following location.


start()
{
log_begin_msg "Starting $DESC: $NAME"
if is_running; then
log_progress_msg "already running"
else
if [ -n "$DISPLAY" -a -x /usr/bin/xhost ]; then
# grant the boinc client to perform GPU computing
xhost local:boinc || echo -n "xhost error ignored, GPU computing may not be possible"
fi
sleep 6
if [ -n "$VALGRIND_OPTIONS" ]; then
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
--make-pidfile --user $BOINC_USER --chuid $BOINC_USER \
--chdir $BOINC_DIR --exec /usr/bin/valgrind -- $VALGRIND_OPTIONS $BOINC_CLIENT $BOINC_OPTS
else
start-stop-daemon --start --quiet --background --pidfile $PIDFILE \
--make-pidfile --user $BOINC_USER --chuid $BOINC_USER \
--chdir $BOINC_DIR --exec $BOINC_CLIENT -- $BOINC_OPTS
fi


Then reboot the machine and see if it recognizes the GPU.

Hope that helps.

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 324
Credit: 72,394,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36697 - Posted: 27 Apr 2014 | 17:05:58 UTC - in response to Message 36690.

Carlesa25,

Did you ever get this resolved?

Are you using BOINC installed by the Ubuntu software installer?
Or stated another way, do you run BOINC as a daemon?


Hello: I have installed and it started BOINC manually, no daemon.

In any case I also mounted Boinc from the Ubuntu repository with the same result, with drives <331.67 everything works properly with the other not.

As I mentioned on the other thread, Nvidia recognizes a problem with the latest drivers.

Profile skgiven
Volunteer moderator
Project tester
Volunteer tester
Avatar
Send message
Joined: 23 Apr 09
Posts: 3968
Credit: 1,995,359,260
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36702 - Posted: 27 Apr 2014 | 18:45:05 UTC - in response to Message 36697.
Last modified: 27 Apr 2014 | 18:49:11 UTC

From what I gather, the drivers work, but repo implementations don't, so you need to purge the repo drivers and install the drivers correctly.
____________
FAQ's

HOW TO:
- Opt out of Beta Tests
- Ask for Help

Profile Carlesa25
Avatar
Send message
Joined: 13 Nov 10
Posts: 324
Credit: 72,394,453
RAC: 0
Level
Thr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 36704 - Posted: 27 Apr 2014 | 20:37:39 UTC - in response to Message 36702.
Last modified: 27 Apr 2014 | 20:38:35 UTC

From what I gather, the drivers work, but repo implementations don't, so you need to purge the repo drivers and install the drivers correctly.


Hello: Unless the situation has changed in the last hours in Ubuntu (13.10 and 14.04) new Nvidia drivers do not work if BOINC typically installed through software and upgrades + additional drivers, see:

https://devtalk.nvidia.com/default/topic/734098/linux/-boinc-ubuntu-nvidia-no-usable-gpus-found-/

Verified several times (not just by me) based on new, clean installations of Ubuntu 14.04-64bit. result ...

NVIDIA GPUs drivers present but not found
No library found ATI
OpenCL library not found
No usable GPUs found

As discussed in several threads, for now the only solution is to install the drivers manually and for that there are several alternatives that work better or worse.

Personally right now I have Ubuntu 14.04 running BOINC KernelLowLatency with Nvidia 337.12 beta and has a few minor issues, but it works when installed manually, at least until now. Thanks and Regards.

GPUGRID Role account
Send message
Joined: 15 Feb 07
Posts: 134
Credit: 1,349,535,983
RAC: 0
Level
Met
Scientific publications
watwatwatwatwatwatwatwatwatwatwat
Message 36705 - Posted: 27 Apr 2014 | 21:31:57 UTC - in response to Message 36704.

Carlesa,

1) if you run "nvidia-smi" from the command line, does it report your GPUs?
2) Do you have libcuda.so present on your system? Should in /usr/lib or similar; try "find / -name "libcuda.so*"

Matt

Post to thread

Message boards : Graphics cards (GPUs) : Boinc + Ubuntu + Nvidia = No usable GPUs found.