Page 1 of 1

GPU Folding under Centos 8.2

Posted: Sat Jul 11, 2020 8:13 am
by ng0177
Mod note: split from older topic - viewtopic.php?f=80&t=34538 - due to change in Linux distro being asked about

On Centos 8.2 w/ NV136 nouveau drivers and

Code: Select all

ocl-icd 2.2.12
installed:
05:39:25:Enabled folding slot 01: READY gpu:0:GP106 [GeForce GTX 1060 6GB] 4372
[91m05:39:25:ERROR:No compute devices matched GPU #0 {[0m
[91m05:39:25:ERROR: "vendor": 4318,[0m
[91m05:39:25:ERROR: "device": 7171,[0m
[91m05:39:25:ERROR: "type": 2,[0m
[91m05:39:25:ERROR: "species": 7,[0m
[91m05:39:25:ERROR: "description": "GP106 [GeForce GTX 1060 6GB] 4372"[0m
[91m05:39:25:ERROR:}. You may need to update your graphics drivers.[0m
Although ocl-icd is installed it is apparently not sufficient for fahclient.

Re: NVIDIA works under Ubuntu 20.04

Posted: Sat Jul 11, 2020 8:23 am
by ajm
As I remember (I don't use Linux anymore), FAH requires the drivers from Nvidia, for example:

Code: Select all

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get install dkms build-essential
sudo apt-get update
sudo apt list nvidia-driver 

sudo apt install nvidia-driver-NEWEST_VERSION_LISTED
and ocl-icd-opencl-dev

Code: Select all

sudo apt install ocl-icd-opencl-dev
A reboot is required after the -dev installation.

Re: GPU Folding under Linux

Posted: Sat Jul 11, 2020 8:28 am
by ng0177
Mod note: next time start a new topic if the subject changes like this from Ubuntu to Centos

Yes, thanks but I changed the title of this thread. The question is now about Centos 8.2

Re: GPU Folding under Linux

Posted: Sat Jul 11, 2020 10:04 am
by ajm
So? Centos is a Linux distro. I don't know for 8.2, as it is really quite new, but I don't think that it should make a difference.

Re: GPU Folding under Linux

Posted: Sat Jul 11, 2020 10:22 am
by ng0177
Right. Then, the required package ist ocl-icd-opencl-dev and not just ocl-icd. And -opencl is not (yet) available on Centos 8.2, therefore we need to wait.

Re: GPU Folding under Centos 8.2

Posted: Tue Jul 14, 2020 12:18 pm
by ng0177
Problem solved, here are the instructions:

1) https://fedoraproject.org/wiki/EPEL for dkms and ocl-icd-devel later

2) https://www.nvidia.com/Download/Find.aspx?lang=en-us and install it following http://us.download.nvidia.com/XFree86/L ... river.html whilst also setting selinux to permissive in /etc/sysconfig/selinux.

3) sudo dnf install ocl-icd-devel

4) https://foldingathome.org/beta/

5) sudo /etc/init.d/FAHClient start/stop

No guarantees. This worked for me.