Linux / CentOS 8 / AMD Radeon R9 / Beta Client

It seems that a lot of GPU problems revolve around specific versions of drivers. Though AMD has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

Post Reply
Amarand
Posts: 4
Joined: Sat Apr 25, 2020 2:03 pm

Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by Amarand »

New to the group and Folding@home in general, and while I have a PC running Windows 10 chugging along on a CPU and GPU, and my MacBook Pro is likewise running on a CPU and GPU, my Linux machine is CPU only for now.

I spent the morning working with various troubleshooting guides on-line, and I've got it to the point where, running the latest FAH beta 7.6.12, I can get the GPU into "Ready" state, which is nice, but the logs are throwing:

Code: Select all

14:43:06:WARNING:WU00:FS01:Failed to get assignment from 'assign1.foldingathome.org:80': No WUs available for this configuration
and

Code: Select all

14:43:06:WU00:FS01:Connecting to assign4.foldingathome.org:80
14:43:07:WU00:FS01:Assigned to work server 140.163.4.231
14:43:07:WU00:FS01:Requesting new work unit for slot 01: READY gpu:0:Tahiti PRO [Radeon R9 280/HD 7900/8950] from 140.163.4.231
14:43:07:WU00:FS01:Connecting to 140.163.4.231:8080
14:45:27:WU00:FS01:Downloading 7.92MiB
14:45:31:WU00:FS01:Download complete
14:45:31:WU00:FS01:Received Unit: id:00 state:DOWNLOAD error:NO_ERROR project:11751 run:0 clone:6379 gen:13 core:0x22 unit:0x0000001c8ca304e75e6bbb9a78ced9f9
14:45:31:WU00:FS01:Starting
14:45:31:ERROR:WU00:FS01:Failed to start core: OpenCL device matching slot 1 not found, make sure the OpenCL driver is installed or try setting 'opencl-index' manually"
So it doesn't look like WU00:FS01 (the GPU) is able to work properly right now?

Configuration:

Code: Select all

*********************** Log Started 2020-04-25T14:11:14Z ***********************
14:11:14:****************************** FAHClient ******************************
14:11:14:    Version: 7.6.12
14:11:14:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
14:11:14:  Copyright: 2020 foldingathome.org
14:11:14:   Homepage: https://foldingathome.org/
14:11:14:       Date: Apr 24 2020
14:11:14:       Time: 23:53:47
14:11:14:   Revision: 47a814c5b540ce336189891efa434b3568703d29
14:11:14:     Branch: master
14:11:14:   Compiler: GNU 4.9.4
14:11:14:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
14:11:14:   Platform: linux2 4.19.0-5-amd64
14:11:14:       Bits: 64
14:11:14:       Mode: Release
14:11:14:       Args: --child /etc/fahclient/config.xml --run-as fahclient
14:11:14:             --pid-file=/var/run/fahclient.pid --daemon
14:11:14:     Config: /etc/fahclient/config.xml
14:11:14:******************************** CBang ********************************
14:11:14:       Date: Apr 25 2020
14:11:14:       Time: 00:07:55
14:11:14:   Revision: ea081a3b3b0f4a37c4d0440b4f1bc184197c7797
14:11:14:     Branch: master
14:11:14:   Compiler: GNU 4.9.4
14:11:14:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
14:11:14:             -fPIC
14:11:14:   Platform: linux2 4.19.0-5-amd64
14:11:14:       Bits: 64
14:11:14:       Mode: Release
14:11:14:******************************* System ********************************
14:11:14:        CPU: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G
14:11:14:     CPU ID: AuthenticAMD Family 21 Model 48 Stepping 1
14:11:14:       CPUs: 4
14:11:14:     Memory: 7.57GiB
14:11:14:Free Memory: 1.92GiB
14:11:14:    Threads: POSIX_THREADS
14:11:14: OS Version: 4.18
14:11:14:Has Battery: false
14:11:14: On Battery: false
14:11:14: UTC Offset: -4
14:11:14:        PID: 20472
14:11:14:        CWD: /var/lib/fahclient
14:11:14:         OS: Linux 4.18.0-147.8.1.el8_1.x86_64 x86_64
14:11:14:    OS Arch: AMD64
14:11:14:       GPUs: 0
14:11:14:       CUDA: Not detected: cuInit() returned 100
14:11:14:     OpenCL: Not detected: clGetPlatformIDs() returned -1001
14:11:14:******************************* libFAH ********************************
14:11:14:       Date: Apr 15 2020
14:11:14:       Time: 21:43:27
14:11:14:   Revision: 216968bc7025029c841ed6e36e81a03a316890d3
14:11:14:     Branch: master
14:11:14:   Compiler: GNU 4.9.4
14:11:14:    Options: -std=c++11 -ffunction-sections -fdata-sections -O3 -funroll-loops
14:11:14:   Platform: linux2 4.19.0-5-amd64
14:11:14:       Bits: 64
14:11:14:       Mode: Release
14:11:14:***********************************************************************
14:11:14:<config>
14:11:14:  <!-- Folding Slot Configuration -->
14:11:14:  <gpu v='false'/>
14:11:14:
14:11:14:  <!-- Network -->
14:11:14:  <proxy v=':8080'/>
14:11:14:
14:11:14:  <!-- Slot Control -->
14:11:14:  <power v='full'/>
14:11:14:
14:11:14:  <!-- User Information -->
14:11:14:  <passkey v='*****'/>
14:11:14:  <team v='*******'/>
14:11:14:  <user v='*******'/>
14:11:14:
14:11:14:  <!-- Folding Slots -->
14:11:14:  <slot id='0' type='CPU'/>
14:11:14:  <slot id='1' type='GPU'>
14:11:14:    <paused v='False'/>
14:11:14:  </slot>
14:11:14:</config>
14:11:14:Trying to access database...
14:11:14:Successfully acquired database lock
14:11:14:Read GPUs.txt
14:11:14:Enabled folding slot 00: READY cpu:3
14:11:15:Enabled folding slot 01: READY gpu:0:Tahiti PRO [Radeon R9 280/HD 7900/8950]
^[[91m14:11:15:ERROR:No compute devices matched GPU #0 {^[[0m
^[[91m14:11:15:ERROR:  "vendor": 4098,^[[0m
^[[91m14:11:15:ERROR:  "device": 26522,^[[0m
^[[91m14:11:15:ERROR:  "type": 1,^[[0m
^[[91m14:11:15:ERROR:  "species": 5,^[[0m
^[[91m14:11:15:ERROR:  "description": "Tahiti PRO [Radeon R9 280/HD 7900/8950]"^[[0m
^[[91m14:11:15:ERROR:}.  You may need to update your graphics drivers.^[[0m
14:11:15:WU01:FS00:Starting
14:11:15:WU01:FS00:Running FahCore: /usr/bin/FAHCoreWrapper /var/lib/fahclient/cores/cores.foldingathome.org/v7/lin/64bit/avx/Core_a7.fah/FahCore_a7 -dir 01 -suffix 01 -version 706 -lifeline 20472 -checkpoint 15 -np 3
14:11:15:WU01:FS00:Started FahCore on PID 20634
14:11:15:WU01:FS00:Core PID:20639
14:11:15:WU01:FS00:FahCore 0xa7 started
14:11:15:WU00:FS01:Connecting to assign1.foldingathome.org:80
14:11:15:WU01:FS00:0xa7:*********************** Log Started 2020-04-25T14:11:15Z ***********************
14:11:15:WU01:FS00:0xa7:************************** Gromacs Folding@home Core ***************************

Am I missing something?
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by PantherX »

Welcome to the F@H Forum Amarand,

Please note that it seems your GPU isn't being detected by the client:
14:11:14: GPUs: 0
14:11:14: CUDA: Not detected: cuInit() returned 100
14:11:14: OpenCL: Not detected: clGetPlatformIDs() returned -1001

Since you have an AMD GPU, you can ignore the CUDA message but the OpenCL and GPUs value are important. You will need to install AMD Drivers (proprietary ones, not open source) and also OpenCL package... at least from what I have read about Linux since I don't have hands-on experience with it.

BTW, you mentioned that your MacBook Pro is folding on the GPU. AFAIK, macOS doesn't support GPU folding so are you using Linux/Windows to fold on your GPU?
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Amarand
Posts: 4
Joined: Sat Apr 25, 2020 2:03 pm

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by Amarand »

Oops! Yes, the MacBook Pro is CPU-only, sorry about that.

Yes, the PC is happily running with CPU and GPU.

Linux isn't quite there yet.

So you have to use the proprietary AMD drivers, not the open source ones? That's unfortunate. I don't think my CentOS 8 will take the RPMs but maybe I can try building them from scratch? I'm assuming that GPU will be useful for folding, right?
Joe_H
Site Admin
Posts: 7857
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by Joe_H »

One thing I noticed, there is an R7 iGPU shown as part of the APU installed in this system. I am assuming the R9 is a separate card. You may run into some issues if that R7 is enabled, but the client usually gets the OpenCL settings correct for the GPU slot when installed after the drivers and OpenCL support are in place.

You did not mention which specific Radeon R9 that you have, but even the oldest, slowest one should be able to fold well enough to meet deadlines. For the drivers, check that the version you have still includes OpenCL support for your card. AMD removed that support for some of their older cards in more recent versions. Some people have had to go back to the last or next to last Catalyst driver version.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Amarand
Posts: 4
Joined: Sat Apr 25, 2020 2:03 pm

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by Amarand »

It's the XFX repackage of the OEM Radeon R9 280. The problem is, my version of operating system (CentOS 8) is the latest...and the proprietary drivers for the R9 280 apparently don't install on Red Hat 8/CentOS 8.

When you said there's an R7, is that probably my integrated on-board GPU? I'm surprised that's not disabled.... Where does that show up?

And the R9, yes, is a physically separate dual-height PCIe card.
Joe_H
Site Admin
Posts: 7857
Joined: Tue Apr 21, 2009 4:41 pm
Hardware configuration: Mac Pro 2.8 quad 12 GB smp4
MacBook Pro 2.9 i7 8 GB smp2
Location: W. MA

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by Joe_H »

It is not currently showing up except as part of the CPU description:

Code: Select all

14:11:14:        CPU: AMD A10-7850K Radeon R7, 12 Compute Cores 4C+8G
Not necessarily a problem, just mentioned that in case you do run into a problem as a troubleshooting tip.

From what I have read, sometimes an older driver can be installed depending on the Linux distribution. Never did that myself. Looking at the AMD support site, they list RHEL7 as the highest version for the Crimson and Catalyst drivers.
Image

iMac 2.8 i7 12 GB smp8, Mac Pro 2.8 quad 12 GB smp6
MacBook Pro 2.9 i7 8 GB smp3
Amarand
Posts: 4
Joined: Sat Apr 25, 2020 2:03 pm

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by Amarand »

Yeah...and I'm not sure they're ever going to upgrade to RHEL8/CentOS8, simply because they're older cards. So...I'll just use the CPU for now, and if someone out there with the same experience I'm having, was able to get things to work, hopefully they'll post here.
bruce
Posts: 20910
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Linux / CentOS 8 / AMD Radeon R9 / Beta Client

Post by bruce »

AMD has been pushing folks to upgrade to newer drivers which deprecate OpenCL. Try some older drivers.
Post Reply