Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)
Posted: Sun Feb 02, 2025 12:33 am
Since things have improved on AMD's side and on FAH side, I thought it would be good idea to write a guide on how to get your AMD GPU folding.
I know there are many old threads regarding this, but boy, did things have simplified and improved on AMD's delivery of their ROCm OpenCL platform.
So, the catalyst for all of this is AMD GPU (newer than Polaris, sorry) and rocm-opencl-sdk (NOTE: not rocm-opencl, not opencl-sdk, not rocm-opencl, not opencl-runtime).
People, who know how to add Radeon repo to their distro sources, you need to add rocm 6.3.4 repo, and then install rocm-opencl-sdk, restart fah-client service, or reboot the system, and you should be good to go. Your FAHclient v8 should report your GPU as supported in web UI system info section.
For others:
--Ubuntu, Kubuntu, Lubuntu, Pop_OS:
Ubuntu might still have ROCm stored in its repos. Write "sudo apt install rocm-opencl" and tap TAB couple of times for suggestions to be listed, if "rocm-opencl-sdk" is one of them, skip adding radeon repo, and continue reading the guide from "sudo apt install rocm-opencl-sdk" line below. Otherwise, continue from next sentence.
Go to https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/, click on your version codename (Noble=24.04, Jammy=22.04, Focal=20.04) and download amdgpu-install_6.2.60203-1_all.deb. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
--Linux Mint:
Go to https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/, click on your version codename (Noble=22, Jammy=21, Focal=20) and download amdgpu-install_6.2.60203-1_all.deb. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
--Debian:
Older than Debian 12 might have issues with drivers, but with more recent kernels, hopefully things would work.
Go to https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/, click on your version codename (Noble=13, Jammy=12, Focal=11) and download amdgpu-install_6.2.60203-1_all.deb. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
--Fedora 40+:
Go to https://repo.radeon.com/amdgpu-install/6.2.3/el/ or https://repo.radeon.com/amdgpu-install/6.2.3/rhel/ (both are identical), find out which version your Fedora is based on (Geese Geese Go is failing me miserably, but I think Fedora 40 likes anything from el9.x/rhel9.x) and download amdgpu-install-6.2.60203-1.el9.noarch.rpm. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
--ArchLinux, Manjaro, Endeavours:
There is no Radeon repo for you, btw, hm, I need to ask AMD, why...
But I heard you are quite resourceful ladies and gents. I believe rocm-opencl-sdk is available in AUR repos (it is present in Endeavours), so if that is the case you can adapt your installation sequence from any above examples. Best of luck
--OpenSuse: Following has issues with dependencies
Add https://repo.radeon.com/rocm/zyp/6.2.3/main/ to your Yast Repositories app. DO NOT add anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
From console enter following:
If things are not working out, I'll post few more optional suggestions in the second post of this thread
I know there are many old threads regarding this, but boy, did things have simplified and improved on AMD's delivery of their ROCm OpenCL platform.
So, the catalyst for all of this is AMD GPU (newer than Polaris, sorry) and rocm-opencl-sdk (NOTE: not rocm-opencl, not opencl-sdk, not rocm-opencl, not opencl-runtime).
People, who know how to add Radeon repo to their distro sources, you need to add rocm 6.3.4 repo, and then install rocm-opencl-sdk, restart fah-client service, or reboot the system, and you should be good to go. Your FAHclient v8 should report your GPU as supported in web UI system info section.
For others:
--Ubuntu, Kubuntu, Lubuntu, Pop_OS:
Ubuntu might still have ROCm stored in its repos. Write "sudo apt install rocm-opencl" and tap TAB couple of times for suggestions to be listed, if "rocm-opencl-sdk" is one of them, skip adding radeon repo, and continue reading the guide from "sudo apt install rocm-opencl-sdk" line below. Otherwise, continue from next sentence.
Go to https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/, click on your version codename (Noble=24.04, Jammy=22.04, Focal=20.04) and download amdgpu-install_6.2.60203-1_all.deb. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
Check Web UI System Info section if your GPU is now supported (Should say True next to Supported)sudo apt update && sudo apt upgrade
sudo apt install rocm-opencl-sdk
sudo systemctl restart fah-client <---if you have fah-client already installed and running
groups fah-client <---it should return following: fah-client : fah-client video render
sudo usermod -a -G render fah-client <---if "groups fah-client" command does not show fahclient being in render group (system restart is needed after this command)
--Linux Mint:
Go to https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/, click on your version codename (Noble=22, Jammy=21, Focal=20) and download amdgpu-install_6.2.60203-1_all.deb. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
Check Web UI System Info section if your GPU is now supported (Should say True next to Supported)sudo apt update && sudo apt upgrade
sudo apt install rocm-opencl-sdk
sudo systemctl restart fah-client <---if you have fah-client already installed and running
groups fah-client <---it should return following: fah-client : fah-client video render
sudo usermod -a -G render fah-client <---if "groups fah-client" command does not show fahclient being in render group (system restart is needed after this command)
--Debian:
Older than Debian 12 might have issues with drivers, but with more recent kernels, hopefully things would work.
Go to https://repo.radeon.com/amdgpu-install/6.2.3/ubuntu/, click on your version codename (Noble=13, Jammy=12, Focal=11) and download amdgpu-install_6.2.60203-1_all.deb. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
Check Web UI System Info section if your GPU is now supported (Should say True next to Supported)sudo apt update && sudo apt upgrade
sudo apt install rocm-opencl-sdk
sudo systemctl restart fah-client <---if you have fah-client already installed and running
groups fah-client <---it should return following: fah-client : fah-client video render
sudo usermod -a -G render fah-client <---if "groups fah-client" command does not show fahclient being in render group (system restart is needed after this command)
--Fedora 40+:
Go to https://repo.radeon.com/amdgpu-install/6.2.3/el/ or https://repo.radeon.com/amdgpu-install/6.2.3/rhel/ (both are identical), find out which version your Fedora is based on (Geese Geese Go is failing me miserably, but I think Fedora 40 likes anything from el9.x/rhel9.x) and download amdgpu-install-6.2.60203-1.el9.noarch.rpm. DO NOT download anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
Go to your Downloads folder, double click on downloaded package, enter your root password, and click install, to install it. This will add rocm repository to your sources, from which you will be able to grab ROCm related packages.
From console enter following:
Check Web UI System Info section if your GPU is now supported (Should say True next to Supported)sudo dnf update
sudo dnf install rocm-opencl-sdk
sudo systemctl restart fah-client <---if you have fah-client already installed and running
groups fah-client <---it should return following: fah-client : fah-client video render
sudo usermod -a -G render fah-client <---if "groups fah-client" command does not show fahclient being in render group (system restart is needed after this command)
--ArchLinux, Manjaro, Endeavours:
There is no Radeon repo for you, btw, hm, I need to ask AMD, why...
But I heard you are quite resourceful ladies and gents. I believe rocm-opencl-sdk is available in AUR repos (it is present in Endeavours), so if that is the case you can adapt your installation sequence from any above examples. Best of luck
--OpenSuse: Following has issues with dependencies
Add https://repo.radeon.com/rocm/zyp/6.2.3/main/ to your Yast Repositories app. DO NOT add anything from 6.3 branch, unless you have $20k-200k+ AMD Instinct MI300A/X!!
From console enter following:
Check Web UI System Info section if your GPU is now supported (Should say True next to Supported)sudo zypper in rocm-opencl-sdk <---Choose solution 2, to ignore the dependency (I asked AMD why this is the issue, hope they'll fix it)
sudo systemctl restart fah-client <---if you have fah-client already installed and running
groups fah-client <---it should return following: fah-client : fah-client video render, or at least render
sudo usermod -a -G render fah-client <---if "groups fah-client" command does not show fahclient being in render group (system restart is needed after this command)
If things are not working out, I'll post few more optional suggestions in the second post of this thread