kaeru


"Stuff I'm working on ..."

Latest note

by kaeru published 2021/11/21 17:42:55 GMT+8, last modified 2021-11-21T17:42:55+08:00

AMD Radeon 9070 XT on Ubuntu Linux 25.04 with ROCm 6.4.1 and Mesa 25

by kaeru published 2025/05/31 21:14:00 GMT+8, last modified 2025-06-01T10:00:36+08:00
Getting Radeon 9070 XT in usable state while waiting for waiting for upcoming stable releases
DSC08432.JPG
Sapphire Pulse 9070XT

For Linux supported hardware just works, as the drivers are part of the operating system kernel. The downside to it, is that for newer hardware, it takes some time before it is packaged as part of your favourite distribution and supporting libraries are also updated. This is the current case for the recently released 9070 XT.

The good news is that it works for what I need on Ubuntu 25.04, while waiting for full official support and optimisations coming probably 5-9 months later down the line.

First you'll need to grab and install amgdpu-installer script package:

https://repo.radeon.com/amdgpu-install/latest/ubuntu/noble/

For me I need rocm and graphics (Mesa) parts, and we also don't want to build AMD's DKMS because currently it will fail on kernel 6.14.

amdgpu-install --usecase=rocm,graphics --no-dkms

AMDGPU DKMS module isn't slated to be fixed to build for kernel 6.14 or 6.15 until ROCm 6.5 which is probably going take at least 5-6 months judging from previous release schedule 

You'll have to rely on a patched version, a user on the github issue thread has nicely provided it as a Debian package. The patch is quite minor to fix compilation issues, which means that the core functionality is already ready..

Install that and you're good to go for now.

OpenCL feature works perfectly, and Davinci Resolve 20 for Linux so far is stable. Resolve 19.1 and later previously would just crash as soon as OpenCL is invoked. With ROCm 6.4.1, I've able to edit and render videos and use all the Fusion and AI features without any issues.

Darktable photo editor/manager which also uses OpenCL has also been working fine for me.

Screenshot From 2025-05-31 21-00-34.png
Davinci Resolve 20 on Linux with AMD Radeon 9070 XT OpenCL

AMD's rocm versions of Pytorch and ONNX Runtime for basic models are also working. I haven't tested it yet on more compute and memory intensive modules, but I'm not expecting that to work without issues for now. I'll write more on AI and compute workloads over coming weeks, as it is one of the main reasons for the GPU upgrade.

Games is not the primary reason for this GPU, but the Steam games I do play (The Long Dark, Valheim)  all work well, no crashes or glitches for Linux native or Proton. 

From what I've seen so far the promise of AMDGPU and ROCm as part of upstream distributions in second half of 2025 looks like it will be on track. Hopefully apt-get install rocm will all we need to do in Ubuntu 25.10 Questing Quoka.

amdgpu_top

Screenshot From 2025-05-31 21-06-27.png
amdgpu_top

If you want to have live detail statistics on the GPU, amdgpu_top provides a lot of details on how the GPU is working. The instructions on building and installing Debian package are quite self explanatory.