Welcome to MilkyWay@home

Linux and NVIDIA GPU

Message boards : Number crunching : Linux and NVIDIA GPU
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Highlander_6596
Avatar

Send message
Joined: 13 May 14
Posts: 1
Credit: 63,559,567
RAC: 0
Message 65901 - Posted: 18 Nov 2016, 9:04:08 UTC

While the preferences show "Use NVIDIA GPU", will the current applications support Linux and NVIDA?

The "Computers on this account" report...
NVIDIA GeForce GTX 650 (971MB)
Linux 3.13.0-37-generic

If additional information from me is required to answer my question, please specify and I will try to provide it.

Thank you
ID: 65901 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3315
Credit: 519,757,209
RAC: 27,872
Message 65902 - Posted: 18 Nov 2016, 12:12:15 UTC - in response to Message 65901.  

While the preferences show "Use NVIDIA GPU", will the current applications support Linux and NVIDA?

The "Computers on this account" report...
NVIDIA GeForce GTX 650 (971MB)
Linux 3.13.0-37-generic

If additional information from me is required to answer my question, please specify and I will try to provide it.

Thank you


I think it's one of two things, if you look at your other card it says "OpenCL: 1.0" after the driver, but your 650 does not have that, that could mean it's too old to work here. It could also be the 650 is not dual precision, which I believe is required here.
ID: 65902 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
wb8ili

Send message
Joined: 18 Jul 10
Posts: 76
Credit: 635,998,708
RAC: 0
Message 65903 - Posted: 18 Nov 2016, 13:27:45 UTC

Mikey -

After you start the BOINC Manager, go to the Event Log (under Tools) and look in the first 20 lines or so for two lines - one that mentions "CUDA" and one that mentions "OpenCL".

I would suggest if you don't have these two lines you may a driver issue.

I am using a NVIDIA 650 Ti (not exactly the same as yours) with UBUNTU.
ID: 65903 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3315
Credit: 519,757,209
RAC: 27,872
Message 65914 - Posted: 19 Nov 2016, 11:52:44 UTC - in response to Message 65903.  

Mikey -

After you start the BOINC Manager, go to the Event Log (under Tools) and look in the first 20 lines or so for two lines - one that mentions "CUDA" and one that mentions "OpenCL".

I would suggest if you don't have these two lines you may a driver issue.

I am using a NVIDIA 650 Ti (not exactly the same as yours) with UBUNTU.


I was just replying to the person with the problem but it seems I was dead wrong!! Your 650 Ti says "NVIDIA GeForce GTX 650 Ti (979MB) OpenCL: 1.2" so it looks like it could just be a driver issue then.
ID: 65914 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
alanb1951

Send message
Joined: 16 Mar 10
Posts: 208
Credit: 105,172,443
RAC: 51,399
Message 65928 - Posted: 20 Nov 2016, 6:59:43 UTC

Highlander,

It appears that you haven't got the OpenCL drivers installed for your GPU (or that BOINC isn't seeing them for some reason...)

Your machine description just lists a GPU, but if you had drivers loaded it should also identify the driver version and the level of OpenCL supported. My laptop, for instance, reports as below (and that's Ubuntu 16.04)

Coprocessors   NVIDIA GeForce GTX 960M (2047MB) driver: 361.42 OpenCL: 1.2

As wb8ili pointed out, the first screen or so of the BOINC log after a restart will help identify what it managed to find on your system.

You didn't state what version of Linux you are running but, assuming it has a package manager, look to see if you have something akin to nvidia-opencl-icd-xxx (where xxx is your driver version number.) If you have an old enough driver version you may or may not also need nvidia-modprobe.

My NVIDIA GPU is on a Ubuntu 16.04 laptop with hybrid graphics, so I had some fun getting it to work reliably for CUDA or OpenCL workloads at first - there's a lot of stuff assumed in a 16.04 build regarding using the open source graphics drivers, and getting my machine to boot reliably and hibernate properly took a while... This, however, should NOT be a problem for workstations; it's the hybrid graphics that caused the main problems!

(I am now running a mix of MilkyWay and SETI GPU tasks on that machine, error-free as far as I am aware...)

Good luck getting it sorted out.

Cheers - Al.
ID: 65928 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Daedalus

Send message
Joined: 30 Dec 09
Posts: 21
Credit: 75,540,465
RAC: 0
Message 65929 - Posted: 20 Nov 2016, 19:24:34 UTC

Isn't it simply an issue with modprobe ? It is not installed by default if i recall well. My BOINC did not see my nvidia card at first.

If it is the case just type or copy-paste in a terminal:

sudo apt-get update

sudo apt-get-install nvidia-modprobe


If it says it is not in the repository then maybe you need to add the multiverse one.

sudo apt-add-repository multiverse

sudo apt-get update


And then retry to install modprobe.

If you have to manually install openCL maybe installing synaptic form the software center may be handy.
ID: 65929 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Linux and NVIDIA GPU

©2024 Astroinformatics Group