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

___``___

  • boredsquirrel
    link
    fedilink
    27 months ago

    No this is the safe approach. Installing a 3rd party devel package may likely break your system

    • @WereCatOP
      link
      17 months ago

      If it breaks, it breaks… But I’ll give it a try on my laptop with PopOS

      • boredsquirrel
        link
        fedilink
        27 months ago

        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.

        • @WereCatOP
          link
          17 months ago

          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.

          • boredsquirrel
            link
            fedilink
            2
            edit-2
            7 months ago

            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
            • @WereCatOP
              link
              17 months ago

              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!

              • boredsquirrel
                link
                fedilink
                27 months ago

                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.

                • @WereCatOP
                  link
                  1
                  edit-2
                  7 months ago

                  deleted by creator

                  • boredsquirrel
                    link
                    fedilink
                    17 months ago

                    I have no idea. That docker thing on windows is basically running a Linux VM (or run Linux parallel like with WSL).

                    On Linux docker is a container. It needs namespaces but no virtualization. It runs on your kernel.

                    Never used docker desktop, thats just some GUI. Just install Docker, or Podman.