Jump to content
Guest tar

[SOLVED] OpenCL, Gtx 980, Linux working?

Recommended Posts

Guest tar

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
Guest tar

: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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×