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

___``___

  • Presi300
    link
    English
    67 months ago

    Pro tip: NEVER try setting up ROCM/hip directly on hardware. AMD provides a docker container with it already setup.

    • @WereCatOP
      link
      27 months ago

      Why? Also I didn’t know about any docker container and never seen any mention of it when looking up solutions.

      • Presi300
        link
        English
        47 months ago

        Because it’s a pain and can brick your graphics driver…

        • @WereCatOP
          link
          17 months ago

          Does docker require virtualisation to be enabled?

            • @WereCatOP
              link
              17 months ago

              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.

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