HOWTO: How I got my AMD card folding on Linux

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

NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: HOWTO: How I got my AMD card folding on Linux

Post by NetoriusNick »

AMD Vega 64 not folding , drivers from AMD installed
opencl installed and it sees the GPU

Code: Select all

Platform #0: AMD Accelerated Parallel Processing
 `-- Device #0: gfx900:xnack-
FAH 8.4.9 states

Code: Select all

16:17:51:I1:WU21:There are 2 platforms available.
16:17:51:I1:WU21:Platform 0: Reference
16:17:51:I1:WU21:Platform 1: CPU
16:17:51:I1:WU21:opencl-device was set but OpenCL platform could not be found.
16:17:51:I1:WU21:ERROR:126: Neither CUDA nor OpenCL is available.
16:17:51:I1:WU21:Saving result file ../logfile_01.txt
16:17:51:I1:WU21:Saving result file science.log
16:17:51:I1:WU21:Folding@home Core Shutdown: BAD_WORK_UNIT
16:17:52:E :WU21:Core returned BAD_WORK_UNIT (114)
16:17:52:I1:WU21:Uploading WU results
16:17:53:I1:WU21:Credited
no groups found like referanced at the start of this thread, was not sure if the initd was still relevant to 24.04.
muziqaz
Posts: 1979
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3D, 5950x, 5800x3D
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, Intel B580
Location: London
Contact:

Re: HOWTO: How I got my AMD card folding on Linux

Post by muziqaz »

FAH Omega tester
Image
NetoriusNick
Posts: 15
Joined: Thu Apr 02, 2020 9:45 am

Re: HOWTO: How I got my AMD card folding on Linux

Post by NetoriusNick »

Thank you, looks like I need to do a fresh install tomorrow
sboyette
Posts: 2
Joined: Tue Jun 07, 2022 4:00 pm

Re: HOWTO: How I got my AMD card folding on Linux

Post by sboyette »

Arch Linux user reporting in. Bottom line: setup is very straightforward assuming that you're comfortable installing AUR packages.

Coming back to FAH after a year+ away, I'm now crunching on APUs. I've got one Minisforum machine using a 7640HS, and one homebuilt which is currently using an 8600G. Those both have 6 Zen 4 cores and Radeon 760M GPU blocks.

Getting them running was a matter of installing two packages: `rocm-opencl-runtime`, which lives in the `extra` repo and thus is installable via `pacman`; and the `foldingathome` package, which is up-to-date and installed via the AUR.

I did already have `ocl-icd` and `vulkan-icd-loader` installed from my previous crunching, but if you're starting from scratch you do need the first and may need the second -- they're both installable via `pacman`.

I rebooted before attempting to start FAH, just to be sure that all libraries would be discoverable/in use. A run of `clinfo` showed that the OpenCL stack was in good working order, so I did a `systemctl enable` and `systemctl start` of the `fah-client` service. It's been smooth since.
Post Reply