Anyone runs Linux with Nvidia GPU capabilities?

Tetsuji Maverick Rai
Tetsuji Maverick Rai
Joined: 11 Apr 05
Posts: 23
Credit: 3658667
RAC: 0
Topic 211861

Hi all,

I'm now using Windows, but trying to run Linux (preferably rpm based distro) with GPU capabilities, ie. cuda/openCL with NVidia 1070 card.  I tried CentOS 7, Fedora, Debian, but all Nvidia drivers detect my Nvidia card with nvidia-smi which gets GPU temperature, consuming power etc, but boinc-client doesn't detect my GPU for calculation.   It is noted in coproc_info.xml in boinc's directory.  In those Linises, it mentions "NVIDIA driver exists, but no GPUs detected".   So I wonder who can run cuda/opencl application for Linux and how.   On Windows 10, it's fine to me.

So please let me know how to enable cuda/opencl with boinc.

Best regards,

-Tetsuji

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5842
Credit: 109376856219
RAC: 35988088

Tetsuji Maverick Rai

Tetsuji Maverick Rai wrote:
... but boinc-client doesn't detect my GPU for calculation.   It is noted in coproc_info.xml in boinc's directory.  In those Linises, it mentions "NVIDIA driver exists, but no GPUs detected".

Is the exact message more like, "nvidia GPU doesn't support OpenCL" or something like that?  The easiest way to let us know for sure is to post the GPU detection messages exactly from what you see in the event log when BOINC starts.

All distros tend to do things a bit differently so you might find that the OpenCL libs are in a separate package from the video driver.  If you don't see the detected version of OpenCL that the card supports in the startup messages, you may simply be missing the OpenCL libs package.

I use PCLinuxOS which is an RPM based rolling release distro that suits me fine.  I used to use a lot of nvidia GPUs (550Ti, 650, 650Ti, 750Ti) but now that there is only an OpenCL app, I've retired them all except for the 750Ti.  Their CUDA performance was very good but very poor for OpenCL.   You should find that the 1070 you mention will perform quite well, from all accounts.  From what I've read, the recent higher end nvidia cards do very well as long as there is enough CPU support available when needed.  They are simply far too expensive for me in Australia.

 EDIT:  I just looked at your list of hosts - I should have done that before :-).

I see you now have a new host created after your earlier message that is now churning through GPU tasks under Linux.  Perhaps you'd like to tell us exactly what the problem was?  :-)

 

Cheers,
Gary.

MarkJ
MarkJ
Joined: 28 Feb 08
Posts: 437
Credit: 137324514
RAC: 21360

With Debian I just installed

With Debian I just installed Nvidia-kernel-dkms followed by boinc-client-Nvidia-cuda. If you want OpenCL support you can also install nvidia-opencl-icd. Reboot afterwards.

Tetsuji Maverick Rai
Tetsuji Maverick Rai
Joined: 11 Apr 05
Posts: 23
Credit: 3658667
RAC: 0

Gary and MarkJ, thank you for

Gary and MarkJ, thank you for your messages.

Somehow I couldn't get my linux to work properly, but now I found CentOS 7 works fine.  But it needs cuda toolkit installed (only with nvidia driver, boinc-client writes in /var/lib/boinc/coproc_info.xml "Driver found, but no GPU found"), somehow...anyway, I found a good way and satisfied.

Thank you very much!

EDIT: Thanks MarkJ.  Debian is much easier to use and program.  I will use this.

mmonnin
mmonnin
Joined: 29 May 16
Posts: 291
Credit: 3229127331
RAC: 1147055

I run have run Ubuntu/Mint

I run have run Ubuntu/Mint just fine before. Add the nvidia PPA and the hardware drivers can be installed in driver manager. That plus nvidia x server settings with cool-bits=28 for full OC/Fan control options.

Comment viewing options

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