Ultimate Guide to prepare your AMD system for Core28 (HIP)

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
muziqaz
Posts: 2492
Joined: Sun Dec 16, 2007 6:22 pm
Hardware configuration: 9950x, 9950x3d, 7950x3d, 5950x, 5800x3d
7900xtx, RX9070, Radeon 7, 5700xt, 6900xt, RX550, Intel B580
Location: London
Contact:

Ultimate Guide to prepare your AMD system for Core28 (HIP)

Post by muziqaz »

This guide is for core28 only. Future cores might have waay less restrictions and requirements.

HIP is officially supported on v8.5.5 and up. It might work on v7, solution might be posted in the comments in this thread
Core28 requires ROCm 6.4.4. Nothing less, nothing more
RHEL10/EL10 based distros are not supported by Core28
AMD Vega and up are supported by Core28

This guide assumes you already have your Linux box set up for OpenCL folding according to this guide:
viewtopic.php?t=43222
Using the above guide, please change ROCm 6.4.3 mentioned in that guide to 6.4.4
Consider removing opencl-mesa, as that package hides ROCm stuff in certain systems.
Windows seems to be working on my system. Still trying to confirm if I am just lucky, or everyone will be able to run HIP FAHcore on Windows.


--UBUNTU/KUBUNTU based systems:
ImageImage

First remove ROCm if you have the latest version installed.
sudo apt remove rocm*
Remove /opt/rocm if it still exists.
If you are using 6.4.3 ROCm, change it to 6.4.4 with the help of the guide linked at the top of this post.

sudo apt policy <---note the highest priority repo, and what that priority is (on ubuntu/kubuntu all of them are 500), in Mint official repositories are 700. In both ROCm is listed last and comes with priority 500 (some distros might have 600).
Check /etc/apt/preferences.d/ for anything rocm (like rocm-pin-500)
If it doesn't exist you can create it by:
sudo nano /etc/apt/preferences.d/rocm-pin-600

File should contain this:
Package: *
Pin: release o=repo.radeon.com
Pin-Priority: 600


CTRL+X,
Type Y
Press Enter

If the rocm-pin-500 exists, rename it to rocm-pin-600, and then nano it as above, and change Pin-Priority to 600.

--Linux Mint
Image
Everything as above, but Pin-Priority should be 800 for ROCm repo, to beat official repositories pin value.

All this above let’s apt pick the repo with the highest priority when installing ROCm packages, which prevents any clashes between rocm packages in official repo (outdated/newer ones) and packages in rocm.radeon repository.

Linux Mint 21.3 might require ocl-icd-opencl-dev to expose HIP to FAHClient. This is in case that package gets nuked when we are clearing up the system from ROCm

--Pop_OS
Image

Similar as above in regards to repo priority pin value.
Then
sudo nano /etc/apt/sources.list.d/rocm.list
Change to 6.4.4

--Debian
Image
Same as Pop_OS, I know I know, I should have put Debian first :P

Final Steps for Deb related systems:
sudo apt update && sudo apt upgrade
sudo apt install rocm-opencl-runtime
sudo apt install rocm-hip-runtime
sudo apt install ocl-icd-opencl-dev
sudo systemctl restart fah-client
--ARCH based systems
ImageImage

sudo pacman -R rocm-opencl-sdk rocm-opencl-runtime hip-runtime-amd
sudo pacman -R comgr rocminfo
sudo pacman -R hsa-rocr
sudo pacman -R rocm-device-libs rocm-llvm rocmprofiler-register
sudo pacman -R rocm-core

Uninstall them in order I posted above, that way you will not going to be bothered by dependencies
or
sudo pacman -Rsc rocm-opencl-runtime
sudo pacman -Rsc rocm-hip-runtime

Then
sudo nano /etc/pacman.conf

Find
[options]
IgnorePkg =
Add following:
rocm-opencl-sdk rocm-opencl-runtime hip-runtime-amd comgr rocminfo hsa-rocr rocm-device-libs rocm-llvm rocprofiler-register rocm-core rocm-hip-runtime rocm-cmake rocm-language-runtime

So it looks like this:
[options]
IgnorePkg = rocm-opencl-sdk rocm-opencl-runtime hip-runtime-amd comgr rocminfo hsa-rocr rocm-device-libs rocm-llvm rocprofiler-register rocm-core rocm-hip-runtime rocm-cmake rocm-language-runtime
CTRL+o and CTRL+X

Then
sudo pacman -Syu

and for test purposes:
sudo pacman -S rocm-hip-runtime

you will see the following:  
:: rocm-hip-runtime is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] n
warning: skipping target: rocm-hip-runtime
there is nothing to do

This means that exclusion is working. Make sure to enter N, when asked to install anyway.

Now to install ROCm 6.4.4:

Code: Select all

sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-core-6.4.4-1-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-llvm-2:6.4.4-2-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-device-libs-2:6.4.4-2-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/comgr-2:6.4.4-2-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocprofiler-register-6.4.4-2-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/hsa-rocr-6.4.4-1-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-opencl-runtime-6.4.4-1-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocminfo-6.4.4-1-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/hip-runtime-amd-6.4.4-1-x86_64.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-cmake-6.4.4-1-any.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-language-runtime-6.4.4-1-any.pkg.tar.zst
sudo pacman -U https://archive.archlinux.org/repos/2025/10/31/extra/os/x86_64/rocm-hip-runtime-6.4.4-1-any.pkg.tar.zst
sudo pacman -S ocl-icd
sudo systemctl restart fah-client
This will download and install older packages from archive. Install them in the order I posted them here, as this way you will not going to be bothered by dependencies.
I know, this is amazingly involving, but I am Arch newb, btw, so I went with the installation process I could understand.
The above probably can be simplified by downloading these packages and installing them locally, or there are other ways of doing this. I don't know. The above worked for me on CachyOS.

--AlmaLinux 8
Image

If system has ROCm v7 and above:
sudo dnf remove rocm-opencl-runtime (or anything related to rocm)
Then
sudo nano /etc/yum.repos.d/almalinux.repo
Add exclude=rocm* (this might not be needed, but just in case Alma decides to bundle ROCm in their own repos in latest distro versions)
Tweak or create rocm.repo for ROCm 6.4.4 (as per following guide: viewtopic.php?t=43222 under Fedora).
Then
sudo dnf update
sudo dnf install rocm-opencl-runtime
sudo dnf install rocm-hip-runtime
sudo systemctl restart fah-client


--Fedora
Image

Same as AlmaLinux above (replace almalinux.repo with fedora.repo), except you definitely need to remove all the rocm packages and you definitely need to add exclude=rocm* to your fedora.repo file.
And I know, I should have put Fedora first :P :D

--oSuse
Image

For me ROCm 6.4.3 seems to be working on oSuse, but in case you have issues replace
https://repo.radeon.com/rocm/zyp/6.4.3/main/ in your Yast Software Repositories app with https://repo.radeon.com/rocm/zyp/6.4.4/main/
Then
sudo zypper update
sudo zypper install rocm-hip-runtime
sudo systemctl restart fah-client

After all the above when you click on System Info within Web UI, you should see something like this (pay attention to OpenCL and HIP sections under GPU):
Image

The systems I have HIP working:
Fedora 42 and 43
Debian 12 and 13
Ubuntu/Kubuntu 24.04 and 25.04
CachyOS
AlmaLinux 8
oSuse
Linux Mint 21.3 and 22.3+
Windows 11 with latest driver
FAH Omega tester
Image
Post Reply