Jump to content

Can anyone produce docs on how they set up Nvidia GPU calculations on Linux Mint 19.x or Ubuntu 18.04+ ? I can't seem to find anything helpful.

I'm currently getting the error in System Info "OpenCL Not Detected: Failed to open dynamic library 'libOpenCL.so': libOpenCL.so: cannot open shared object file: No such file or directory."

At first, FOHControl wouldn't even detect my GPU because I normally install the drivers from the Graphics-Drivers PPA that Steam/Proton recommends. So I had to remove the Nvidia-440 drivers, reboot, then install the Nvidia-435 drivers that come stock from the Driver Manager application on Mint. FOHControl then found the GPU but then says that it can't find OpenCL. Here's the packages I have installed that seem relevant:
aaron@aaron-Mint-Rig:~$ dpkg --get-selections | grep nvidia
libnvidia-cfg1-435:amd64            install
libnvidia-common-435                install
libnvidia-compute-435:amd64            install
libnvidia-compute-435:i386            install
libnvidia-compute-440:amd64            deinstall
libnvidia-decode-435:amd64            install
libnvidia-decode-435:i386            install
libnvidia-encode-435:amd64            install
libnvidia-encode-435:i386            install
libnvidia-fbc1-435:amd64            install
libnvidia-fbc1-435:i386                install
libnvidia-gl-435:amd64                install
libnvidia-gl-435:i386                install
libnvidia-ifr1-435:amd64            install
libnvidia-ifr1-435:i386                install
nvidia-compute-utils-435            install
nvidia-compute-utils-440            deinstall
nvidia-dkms-435                    install
nvidia-dkms-440                    deinstall
nvidia-driver-435                install
nvidia-kernel-common-435            install
nvidia-kernel-common-440            deinstall
nvidia-kernel-source-435            install
nvidia-prime                    install
nvidia-prime-applet                install
nvidia-settings                    install
nvidia-utils-435                install
xserver-xorg-video-nvidia-435            install


aaron@aaron-Mint-Rig:~$ dpkg --get-selections | grep opencl
ocl-icd-libopencl1:amd64            install
ocl-icd-opencl-dev:amd64            install
opencl-c-headers                install



opencl-index and cuda-index are both set to -1

When I set opencl-index to 0 it tricks into thinking it has a valid one, but then the calculations fail.

Link to comment
https://linustechtips.com/topic/1167323-folding-home-linux-mint-nvidia-gpu/
Share on other sites

Link to post
Share on other sites

Likely need the OpenCL development packages

 

ocl-icd-opencl-dev

 

and a reboot

 

see Linux HOWTO in my sig

 

the 440 drivers should be fine

6 GPU Folding Rig  Linux Folding HOWTO Folding Remote Access Folding GPU Profiling ToU Scheduling UPS

Systems:

desktop: Lian-Li O11 Air Mini; Asus ProArt x670e WiFi; Ryzen 9 7950x; EVGA 240 CLC; 2 x 48GB DDR5-6000; 2 x Samsung 980 Pro 500GB PCIe3 NVMe; 2 x 8TB NAS; MSI RTX 4070 ti Super; AMD FirePro W4100; Corsair SFF750

nas1: Fractal Node 804; SuperMicro X10sl7-f; Xeon e3-1231v3; 4 x 8GB DDR3-1666 ECC; 2 x 250GB Samsung EVO Pro SSD; 7 x 4TB Seagate NAS; Corsair HX650i

nas2: Synology DS-123j; 2 x 6TB WD Red Plus NAS

nas3: Synology DS-224+; 2 x 12TB Seagate NAS

dcn01: Fractal Pop Silent XL; Gigabyte Aorus z570 Master; Ryzen 9 3950x; AMD Wraith; 2 x 16GB DDR4-3200; 256GB NVMe; Gigabyte Gaming RTX 4080 Super; MSI 4070 Ti Super Gaming X; Corsair RM750e

dcn04: Fractal Define S; Gigabyte Aorus ax570 Master; Ryzen 9 5950x; BeQuiet! PureRock 2; 2 x 16GB DDR4-3200; 250GB NVMe; ; Gigabyte Gaming RTX 4080 Super; MSI 4070 Ti Super Ventus 2; Corsair TX750M

Link to post
Share on other sites

9 hours ago, Gorgon said:

Likely need the OpenCL development packages

 

ocl-icd-opencl-dev

 

and a reboot

Already had them installed, see the last section of my installed packages.

Just solved it though, I just reinstalled the fahclient software again and it detected my OpenCL packages and started working immediately. So for future reference with anyone, install the Nvidia Drivers and ocl-icd-libopencl1 and ocl-icd-opencl-dev packages before installing the client.

Made my day because I had spent probably 2+ hours on it when my it's my main rig that already had everything minus OpenCL installed anyways.

Link to post
Share on other sites

  • 4 weeks later...

I currently have this issue. I have reinstalled the client, reinstalled the drivers, reinstalled ocl-icd-libopencl1 and ocl-icd-opencl-dev packages, but the 2nd GPU is not listed with Open CL. I'm at a loss, as the 960 is working perfectly.

Screenshot_42.png

 

clinfo does not see the P106

Current Build

 

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

×