Folding@Home with AMD RTX6600XT Fedora 40+
This is a guide to set up Folding@Home with an AMD Radeon RX 6600 XT on Fedora 40+. There shouldn’t be a need to install amdpu-pro or any other proprietary drivers. This ROCm version 6.4.0 works fine with the kernel amd driver.
Requirements
- Fedora 42
- Kernel
6.16.3-200.fc42.x86_64 - AMD Radeon RX 6600 XT
- Folding @ Home client v.
8.4.10
Steps
1) Install the required packages:
sudo dnf install "kernel-headers-$(uname -r)" "kernel-devel-$(uname -r)" -y
sudo dnf install python3-setuptools python3-wheel -y
2) Set group permissions:
sudo usermod -a -G render,video $USER
echo 'ADD_EXTRA_GROUPS=1' | sudo tee -a /etc/adduser.conf
echo 'EXTRA_GROUPS=video' | sudo tee -a /etc/adduser.conf
echo 'EXTRA_GROUPS=render' | sudo tee -a /etc/adduser.conf
3) Add udev rules
- Create a new file
/etc/udev/rules.d/70-amdgpu.ruleswith the following content:
KERNEL=="kfd", MODE="0666"
SUBSYSTEM=="drm", KERNEL=="renderD*", MODE="0666"
- Reload udev rules:
sudo udevadm control --reload-rules && sudo udevadm trigger
4) Register ROCm repositories:
To avoid some errors, do this first: sudo rm -rf /etc/yum.repos.d/amdgpu.repo
sudo tee --append /etc/yum.repos.d/rocm.repo <<EOF
[ROCm-6.4]
name=ROCm6.4
baseurl=https://repo.radeon.com/rocm/el9/6.4/main
enabled=1
priority=50
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF
sudo dnf clean all
5) Install ROCm packages
sudo dnf install rocm -y -> This should take a while
6) Configure the system linker by indicating where to find the shared objects (.so files) for the ROCm applications
sudo tee --append /etc/ld.so.conf.d/rocm.conf <<EOF
/opt/rocm/lib
/opt/rocm/lib64
EOF
sudo ldconfig
7) Make sure that fah-client is on groups render and video
groups fah-client
If not, do sudo usermod -a -G render fah-client and RESTART YOUR SYSTEM
Check Web UI System Info section if your GPU is now supported (Should say True next to Supported)
References
1.ROCm v 6.2.4 installation for Linux
2.Ultimate AMD GPU Linux FAH Guide for OpenCL (FAH-Client v8 only)