Help me get AMD HIP to work in Blender

WereCat@lemmy.world to Linux@lemmy.ml – 34 points –

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

___``___

19

You are viewing a single comment

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 system

If 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.

Yeah, I'm aware it has different packages but I need to familiarise myself with docker first either way. Eventually I plan to switch both systems to PopOS Cosmic DE 24.04 once it fully releases so for now I'm spending most time just tinkering and trying to get more familiar with Linux. Pretty much all SW I use runs on it anyways too. Right now I want to get DavinciResolve up and running with my GPU.

Did you try COSMIC before?

You can do so on PopOS or I guess also Ubuntu. I personally use ublue Cosmic

davinci resolve may also run better in a docker / podman container

There also is a flatpak script that you should try. You need to download the binary for proprietary reasons, but packaging it as flatpak will assure

  • it runs sandboxed
  • it should just run
  • it will not break with system updates

I did try and I like it a lot but I don't want to daily drive testing build.

Wasn't aware of the flatpack script, will check it out, thx!

COSMIC is not so much "testing" as in "many bugs", I basically found none. But they just lack maaany essential features. It is really breat to get a desktop that implements nice fancy stuff from Plasma etc. straight from the beginning.

I am not sure how ready it will be when it launches, as in features. But it is pretty nice and the apps are damn fast. I use the appstore on Fedora Kinoite when searching Flatpak apps. It has no native package integration so it does what I want, really nice.

2 more...
2 more...
2 more...
2 more...
2 more...
2 more...
2 more...
2 more...
2 more...