Hardware acceleration on Fedora 37 with AMD Radeon 680M

1 min read | #stackoverflowish: Couldn't find an answer on Stackoverflow so I wrote a quick blog post about it

I recently got a new laptop: Lenovo ThinkPad T14s AMD Ryzen 7 PRO 6850U with a AMD Radeon 680M. As a Linux and Fedora 37 user, I wanted to have hardware acceleration to e.g. use DaVinci Resolve.

It took me quite a while to get it working, but here is what I did:

  • Install the RPM Fusion repositories (free should be sufficient)
  • Swap the mesa driver to drivers provided by RPM Fusion
    • run sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld --allowerasing
    • run sudo dnf swap mesa-vdpau-drivers mesa-vdpau-drivers-freeworld --allowerasing
  • Install the ROCm OpenCL drivers by sudo dnf install rocm-opencl

That’s it and clinfo should show all details. After this, Shotcut was able to find hvec (hardware acceleration) and use it as well. Furthermore, DaVinci Resolve started as it was able to detect a GPU.