Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

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

DarkFoss
Posts: 107
Joined: Fri Apr 16, 2010 11:43 pm
Hardware configuration: AMD 5800X3D Asus ROG Strix X570-E Gaming WiFi II bios 5003 G-Skill TridentZ Neo 3600mhz Asrock Tachi RX 7900XTX Corsair rm850x psu Asus PG32UQXR EK Elite 360 D-rgb aio Win 11pro/Kubuntu 2404.2 LTS UPS BX1500G
Location: Galifrey

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by DarkFoss »

Thank you your guide was most helpful. I'm finally folding away on my 7900xtx Ubuntu 24.04. I added the repo above and installed just the rocm-opencl-sdk. I used the Synaptic package manager to install it. There are 3 versions listed I installed the 1st one listed. No DKMS module required with this version.

I'm not sure if is was step 9 or 10 that did the trick.
Thank you very much for your persistence and taking the time to post your guide!
Last edited by DarkFoss on Sun Apr 06, 2025 3:30 am, edited 1 time in total.
Image
arisu
Posts: 192
Joined: Mon Feb 24, 2025 11:11 pm

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by arisu »

DarkFoss wrote: Sun Apr 06, 2025 12:49 am Thank you your guide was most helpful. I'm finally folding away on my 7900xtx Ubuntu 24.04. I added the repo above and installed just the rocm-opencl-sdk. I used the Synaptic package manager to install it. There are 3 versions listed I installed the one that uses the amdgpu packages not the one with the rocm-core as a dependency. No DKMS module required with this version.

I'm not sure if is was step 9 or 10 that did the trick.
Thank you very much for your persistence and taking the time to post your guide!
I'm really curious, what kind of PPD are you getting on the XTX?
DarkFoss
Posts: 107
Joined: Fri Apr 16, 2010 11:43 pm
Hardware configuration: AMD 5800X3D Asus ROG Strix X570-E Gaming WiFi II bios 5003 G-Skill TridentZ Neo 3600mhz Asrock Tachi RX 7900XTX Corsair rm850x psu Asus PG32UQXR EK Elite 360 D-rgb aio Win 11pro/Kubuntu 2404.2 LTS UPS BX1500G
Location: Galifrey

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by DarkFoss »

I've only completed 1 so far. just rebooted into the 6.11 hwe kernel to see if there is any difference from the stock 6.08 kernel.

Code: Select all

Status
Credited
Progress
100.0%
Machine
Tardis-2L
OS
linux
TPF
1m 30s
PPD
6,577,400
CPUs
0
GPUs
gfx1100
Run Time
2h 31m
ETA
0s
Assign Time
3h 04m ago
Base Credit
115,500
Deadline
4d 20h
Timeout
2d 20h
Core
0x24
Work Server
huangfolding1.chem.wisc.edu
Project
16580
RCG
141,4,8
Code	User	Team	Credit	Assigned	Credited
Ok	DarkFoss	64	689,188	2025-04-06 00:02:09	2025-04-06 02:41:24
Image
muziqaz
Posts: 1445
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by muziqaz »

AMD has drivers baked into kernels, so no need for DKMS.
All they need is software, that's all.
PPD is very insistent on AMD on Linux with OpenCL.
It varies from equal to Windows to much much lower than windows
FAH Omega tester
Image
DarkFoss
Posts: 107
Joined: Fri Apr 16, 2010 11:43 pm
Hardware configuration: AMD 5800X3D Asus ROG Strix X570-E Gaming WiFi II bios 5003 G-Skill TridentZ Neo 3600mhz Asrock Tachi RX 7900XTX Corsair rm850x psu Asus PG32UQXR EK Elite 360 D-rgb aio Win 11pro/Kubuntu 2404.2 LTS UPS BX1500G
Location: Galifrey

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by DarkFoss »

Thermals play a large roll when it comes to conistency, on windows I use the amd control center to set a specific profile for folding. On Linux I'm just now tweaking the same settings using the latest Lact release. Looking good so far.

I noticed 2 core 23's failed quickly when I first set-up. I did ye ol sudo ln -s /usr/lib/x86_64-linux-gnu/libstdc++.so.6 libstdc++.so.6
after rming the old version in the core 23 folder. Just finished my 1st successful core 23.

Code: Select all

Work Unit #8
Status
Credited
Progress
100.0%
Machine
Tardis-2L
OS
linux
TPF
1m 09s
PPD
3,008,891
CPUs
0
GPUs
gfx1100
Run Time
1h 55m
ETA
0s
Assign Time
1h 56m ago
Base Credit
55,578
Deadline
1d 22h
Timeout
22h 03m
Core
0x23
Work Server
ds01.scs.illinois.edu
Project
12700
RCG
9,51,1
Last edited by DarkFoss on Sun Apr 06, 2025 3:37 pm, edited 1 time in total.
Image
muziqaz
Posts: 1445
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 7950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX 550 640SP
Location: London
Contact:

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by muziqaz »

Yes symlinking magic works. I done mine yesterday
FAH Omega tester
Image
DarkFoss
Posts: 107
Joined: Fri Apr 16, 2010 11:43 pm
Hardware configuration: AMD 5800X3D Asus ROG Strix X570-E Gaming WiFi II bios 5003 G-Skill TridentZ Neo 3600mhz Asrock Tachi RX 7900XTX Corsair rm850x psu Asus PG32UQXR EK Elite 360 D-rgb aio Win 11pro/Kubuntu 2404.2 LTS UPS BX1500G
Location: Galifrey

Re: Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)

Post by DarkFoss »

I haven't had to repeat step 10 after a reboot even when switching to the 6.11 hwe kernel. I added my user to the fah-client group before I did step 10.

Code: Select all

darkfoss@Tardis-2L:~$ groups fah-client
fah-client : fah-client video render
darkfoss@Tardis-2L:~$ groups
darkfoss adm cdrom sudo dip video plugdev lpadmin libvirt fah-client sambashare render
darkfoss@Tardis-2L:~$ systemctl status fah-client.service
● fah-client.service - Folding@home Client
     Loaded: loaded (/usr/lib/systemd/system/fah-client.service; enabled; preset: enabled)
     Active: active (running) since Sat 2025-04-05 21:38:09 CDT; 3h 8min ago
   Main PID: 1906 (fah-client)
      Tasks: 92 (limit: 38149)
     Memory: 3.0G (peak: 3.8G)
        CPU: 1d 23h 17min 54.130s
     CGroup: /system.slice/fah-client.service
             ├─ 1906 /usr/bin/fah-client --config=/etc/fah-client/config.xml --log=/var/log/fah-client/log.txt --log-rotate-dir=/var/log/fah-client/
             ├─ 7332 /var/lib/fah-client/cores/fahcore-a8-lin-64bit-avx2_256-0.0.12/FahCore_a8 -dir IR60rDKGroBGn64-XCFA3wqVK3KECNWIwjjiGCiW6nA -suffix 01 -version 8.4.9 -lifeline 1906 -np 15
             └─18623 /var/lib/fah-client/cores/openmm-core-23/centos-7.9.2009-64bit/release/fahcore-23-centos-7.9.2009-64bit-release-8.0.3/FahCore_23 -dir eMYYpWtPLvuDuS7rPgkIYncf8Jyc1y8mSlqOv_A8zF4 -suffix 01 -version 8.4.9 -lifeline 1906 -gpu-platform cuda -gpu-vendor amd -opencl-platform 0 -opencl-device 0 -gpu 0

Apr 05 21:38:09 Tardis-2L systemd[1]: Started fah-client.service - Folding@home Client.
Image
Post Reply