Jump to content

[SOLVED] OpenCL, Gtx 980, Linux working?


Guest tar

Recommended Posts

Is anyone successfully running OpenCL with a Gtx 980 in Linux/ubuntu?

 

So far the driver 343.22 says no OpenCL devices. Just posting this here till I can update the drivers.

 

Edit: 346.35 drivers show 'No Configured OpenCL Device'  Must be something basic with Nvidia that is missing. AMD OpenCL on Linux installs with the graphics driver. 

 

Edit2: OpenCL CPU is working fine.

 

Edit3: This appears common, missing OpenCL with 970//980 depending on installation method of drivers. Happy happy joy joy!

https://foldingforum.org/viewtopic.php?p=270804

 

Thanks!

Edited by tar
Link to comment
Share on other sites

I'm not running Ubuntu or nVidia R346.35, but I had to add a line to /etc/rc.d/rc.local under Slackware running nVidia R340.76 to keep the CUDA/OpenCL device after a reboot:

# Create missing nvidia device nodes after reboot
/usr/bin/nvidia-modprobe -c 0 -u

Make sure you have nvidia-modprobe installed. Also, make sure you have the nvidia-uvm kernel module installed as well:

crw-rw-rw- 1 root root 248,   0 feb 21 10:47 /dev/nvidia-uvm
crw-rw-rw- 1 root root 195,   0 feb 21 10:52 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 feb 21 10:52 /dev/nvidiactl

I only have a GeForce 9300M GS but it's detected as an OpenCL device in Houdini 13/14:

OpenCL Platform           NVIDIA CUDA
Platform Vendor           NVIDIA Corporation
Platform Version          OpenCL 1.1 CUDA 6.5.45
OpenCL Device             GeForce 9300M GS
OpenCL Type               GPU
Device Version            OpenCL 1.0 CUDA
 

Edited by matsbt
Link to comment
Share on other sites

:D Thanking you very much!

 

OpenCL Platform           NVIDIA CUDA
Platform Vendor           NVIDIA Corporation
Platform Version          OpenCL 1.1 CUDA 7.0.19
OpenCL Device             GeForce GTX 980
OpenCL Type               GPU
Device Version            OpenCL 1.1 CUDA
Frequency                 1367 MHz
Compute Units             16
Device Address Bits       32
Global Memory             4095 MB
Max Allocation            1023 MB
Global Cache              256 KB
Max Constant Args         9
Max Constant Size         64 KB
Local Mem Size            47 KB
2D Image Support          32768x32768
3D Image Support          4096x4096x4096

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...