Video editors (Kdenlive, DaVinci Resolve, etc.) had broken GPU acceleration on Ubuntu 25.04 with AMD Radeon RX 7700 XT.
Running clinfo showed:
Number of platforms: 0
Despite having ROCm 6.3 installed, OpenCL wasn't working.
ROCm was installed but the OpenCL ICD (Installable Client Driver) was missing:
ls /etc/OpenCL/vendors/
# Empty directoryInstall the ROCm OpenCL ICD package:
sudo apt install rocm-opencl-icdThis creates /etc/OpenCL/vendors/amdocl64.icd which registers the AMD OpenCL implementation with the system.
After installation, clinfo should show your GPU:
clinfo | grep -E "Platform Name|Device Name|Device Board"Expected output:
Platform Name AMD Accelerated Parallel Processing
Device Name gfx1101
Device Board Name (AMD) AMD Radeon RX 7700 XT
- DaVinci Resolve now detects GPU for color grading acceleration
- Kdenlive GPU rendering works
- Any OpenCL-based video processing is now hardware accelerated
- Ubuntu 25.04
- AMD Radeon RX 7700 XT (gfx1101 / Navi 32)
- ROCm 6.3.0
- KDE Plasma (Wayland)
This gist was generated by Claude Code. Please verify the information applies to your specific system configuration.
This gist was generated by Claude Code. Please verify any information before relying on it.