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
    arrow-up
    2
    ·
    1 month ago

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

      • boredsquirrel
        link
        fedilink
        arrow-up
        2
        ·
        1 month 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.

        • WereCat@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          1 month 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
            arrow-up
            2
            ·
            edit-2
            1 month 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
            • WereCat@lemmy.worldOP
              link
              fedilink
              arrow-up
              1
              ·
              1 month 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
                arrow-up
                2
                ·
                1 month 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.

                  • boredsquirrel
                    link
                    fedilink
                    arrow-up
                    1
                    ·
                    1 month 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.