Amd GPU RX 6600, easiest way to get it working with Blender and Fedora 41 (does a guide exist?)

I had a lot of difficulty getting my AMD GPU working in Blender. I did a lot of reading (including on this forum)… nearly compiled some source code… then I started just randomly installing packages without anything working. Then I got some hints from the Arch Wiki. Then I installed everything amd gpu related hoping something would work… and… eventually it did work! But it only works for the release of Blender downloaded from the Blender website. The amd gpu still does not get recognized in the Flathub Flatpak version (even with gpu access given to blender (via flatseal)). Also the rpm version of blender on the official repositories was broken and could not run on my Fedora 41 machine. The gpu also doesn’t get recognized with the Fedora Linux Flatpak.

I was thinking, wow, that was a lot of work. If I hadn’t already been using Fedora for the past 4 years, if I was new to Linux, I probably would not have succeed.

I wonder if I missed some great documentation or is it really just this difficult?

For anyone curious. Here is what I installed (collected using dnf history)

dnf install rocm-opencl-runtime rocm-hip-runtime
dnf install mesa-va-drivers-freeworld
dnf install rocm-clinfo rocm-opencl mesa-libOpenC

After installing all of the above, blender still wasn’t seeing the gpu… until I did the following install and ran blender-4.2.3 downloaded from the blender website.

dnf install hipsolver hipblas hipsparse "rocm-*"

I am not even sure which package made it work :laughing:

But I am so happy it is working now! :grinning: