SOLUTION:
I was missing this package sudo dnf install rocm-hip-devel
as per instructions here:
https://fedoraproject.org/wiki/SIGs/HC
Hi, I’m trying to get GPU acceleration on AMD to work in Blender 4.1 but I can’t seem to be able to. From what I’ve seen it should be working with ROCm just fine but I had no luck with it.
I’m using Fedora 40 GNOME with Wayland and my GPU is RX 6800 XT.
System is up to date. I’ve also installed all these packages:
sudo dnf install rocminfo
sudo dnf install rocm-opencl
sudo dnf install rocm-clinfo
sudo dnf install rocm-hip
and restarted system after.
rocminfo
gives me this
rocm-clinfo
gives me this
___``___
Pro tip: NEVER try setting up ROCM/hip directly on hardware. AMD provides a docker container with it already setup.
Why? Also I didn’t know about any docker container and never seen any mention of it when looking up solutions.
Because it’s a pain and can brick your graphics driver…
Does docker require virtualisation to be enabled?
No, this is not virtualization, it is a bunch of libraries and packages running on your native kernel and hardware
On Fedora you should use Podman for this
https://discussion.fedoraproject.org/t/rocm-container-questions-on-securing-containers/83955
Thanks, I’ll look more into it once I get more time but from a glance this seems a bit too convoluted for my needs.
No this is the safe approach. Installing a 3rd party
devel
package may likely break your systemIf it breaks, it breaks… But I’ll give it a try on my laptop with PopOS
PopOS needs completely different packages though.
They base on Ubuntu LTS but ship newer mesa, kernel and maybe more.
Not sure if every component will be newer, so I would also expect conflicts.
Using an upstream provided container really sounds like a good solution.