I’m using Fedora 39 KDE and Blender 4.0.
Blender would not see my Radeon RX 6400 card. I was able to resolve this with the following steps. I’m pretty much a noob with the technical side of drivers. I had plenty of frustrating failures and freezes in Blender before I came this sequence of steps.
(as a side note, I didn’t actually use amdgpu-install in this process)
I reviewed this info: https://www.reddit.com/r/linuxquestions/comments/126d951/amd_rocmhip_support_on_fedora_37
DOWNLOAD RHEL AMDGPU REPOS:
amdgpu-install-5.7.50702-1.el8.noarch.rpm
amdgpu-install-5.7.50702-1.el9.noarch.rpm
from https://www.amd.com/en/support/linux-drivers
After download, I right-clicked and selected install with dnfdragoria.
(I have to appologize here. I don’t remember which of the two downloads worked. See below)
This installed the necessary RHEL repos for F39 to use.
I then changed the .repo files:
EDIT: /etc/yum.repos.d/rocm.repo
[rocm]
name=ROCm 5.4.3 repository
baseurl=Index of /rocm/rhel9/5.4.3/main/
enabled=1
gpgcheck=1
priority=50
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key
EDIT: /etc/yum.repos.d/amdgpu.repo
[amdgpu]
name=AMDGPU 5.4.3 repository
baseurl=Index of /amdgpu/5.4.3/rhel/9.1/main/x86_64/
enabled=1
gpgcheck=1
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key
[amdgpu-src]
name=AMDGPU 5.4.3 repository
baseurl=https://repo.radeon.com/amdgpu/5.4.3/rhel/9.1/main/source
enabled=0
gpgcheck=1
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key
EDIT: /etc/yum.repos.d/andgpu-proprietary.repo
Enabling this repository requires acceptance of the following license:
/usr/share/amdgpu-install/AMDGPUPROEULA
[amdgpu-proprietary]
name=AMDGPU 5.4.3 Proprietary repository
baseurl=Index of /amdgpu/5.4.3/rhel/9.1/proprietary/x86_64/
enabled=0
gpgcheck=1
gpgkey=file:///etc/amdgpu-install/rocm.gpg.key
I then ran the following commands:
sudo dnf update
sudo dnf install rocm-hip-runtime rocm-hip-runtime-devel
NOTE: This is where I can into errors. DNF complained about conflicts.
I ran sudo dnf remove rocm-hip-runtime rocm-hip-runtime-devel
I then right-clicked on the other downloaded file and installed it with dnfdragoria.
sudo dnf update
sudo dnf install rocm-hip-runtime rocm-hip-runtime-devel
After this, Blender was happy:
BLENDER > Edit > Preferences > System > HIP
It displayed a drop-down confirming my AMD Radeon RX 6400
For those that are technically savy, please feel free to recommend other thoughts on improving what I did above. I’m always interested in looking at a variety of ideas and learning something new.