Jump to content

Folding @ Home Linux Mint Nvidia GPU

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
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

FaH BOINC HfM

Bifrost - 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 x670 WiFi; Ryzen 9 7950x; EVGA 240 CLC; 4 x 32GB DDR5-5600; 2 x Samsung 980 Pro 500GB PCIe3 NVMe; 2 x 8TB NAS; AMD FirePro W4100; MSI 4070 Ti Super Ventus 2; Corsair SF750

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 Meshify S2; Gigabyte Aorus ax570 Master; Ryzen 9 5900x; Noctua NH-D15; 4 x 16GB DDR4-3200; 512GB NVMe; 2 x Zotac AMP 4070ti; Corsair RM750Mx

dcn02: Fractal Meshify S2; Gigabyte ax570 Pro WiFi; Ryzen 9 3950x; Noctua NH-D15; 2 x 16GB DDR4-3200; 128GB NVMe; 2 x Zotac AMP 4070ti; Corsair RM750x

dcn03: Fractal Meshify C; Gigabyte Aorus z370 Gaming 5; i9-9900k; BeQuiet! PureRock 2 Black; 2 x 8GB DDR4-2400; 128GB SATA m.2; MSI 4070 Ti Super Gaming X; MSI 4070 Ti Super Ventus 2; Corsair TX650m

dcn05: Fractal Define S; Gigabyte Aorus b450m; Ryzen 7 2700; AMD Wraith; 2 x 8GB DDR 4-3200; 128GB SATA NVMe; Gigabyte Gaming RTX 4080 Super; Corsair TX750m

dcn06: Fractal Focus G Mini; Gigabyte Aorus b450m; Ryzen 7 2700; AMD Wraith; 2 x 8GB DDR 4-3200; 128GB SSD; Gigabyte Gaming RTX 4080 Super; Corsair CX650m

Link to comment
Share on other sites

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 comment
Share on other sites

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 comment
Share on other sites

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

×