Latest note
ROCm 10 on Ubuntu Linux OpenCL and Shared Libraries
Latest ROCm release unifies everything under a single build and packing system TheRock, but there are still some loose ends on packaging side for Ubuntu to get OpenCL and shared libraries to work, and regression with Davinci Resolve
AMD's version release of ROCm was confusing with production at 7.2 and pre-release at 7.14, but they decided to jump a major version numbers straight to 10. You can read the media release on AMD's site, with the buzzword marketing title, "ROCm 10.0: A Decade of Open Compute, Built for the Age of Agentic AI".
A single test, build and release system for all the different parts, should hopefully speed up development, especially for all the rough edges before it hopefully lands in future upstream Ubuntu/Debian repositories.
The install is mostly straightforward, with some caveats for OpenCL ICD drivers and linked libraries.
rocm directory in /opt/rocm now looks like this with core-<version> instead of rocm-<version>. If you have older versions, they will also be here. I'm not a fan of mixing versions in base, as it increases chances of problems due to mismatched and dangling files. I would use LXD or docker containers to that instead if I need to use specific versions of ROCm.
amdgcn bin core core-10 core-10.0 include lib libexec llvm share
Installation
Installation for your different devices are at the AMD ROCm latest page. There is now clear support for Ryzen Max AI or "Strix Halo" also. For consumer GPU and APU, you probably want compute+graphics, which will give you an installation and helper script (amdgpu-install) to download various dependencies based on use case.
The recommended rocm,graphics use cases should be enough for your graphics, gaming and multimedia needs. If you need to compile from source software like llama.cpp then you should also add rocmdev,hiplibsdk
Missing OpenCL ICD and Shared Libraries
Unlike previous stable packaged versions of ROCm 7.1 in Ubuntu base or ROCm 7.2, installing amdrocm-opencl won't lead to an immediately working OpenCL. clinfo will return no devices.
You'll need copy or link the OpenCL ICD and linked libary ldconfig conf file in /etc/ first. Annoyingly this isn't documented or mentioned in any of the installation steps.
- Copy or link
/opt/rocm/core/etc/OpenCL/vendors/amdocl64.icdto/etc/OpenCL/vendors/amdocl64.icd - Copy or link
/opt/rocm/core/etc/ld.so.conf.d/10-rocm-opencl.confto/etc/ld.so.conf.dthen runldconfig
And your OpenCL applications should be working! This should be fixed in next minor release of ROCm 10, you can track the issue for the fix here.
AMD Advanced Media Framework (AMF) SDK
If you want hardware accelerated encoding and decoding for h264, h265 and av1, you'll still have to install it separately. It's listed as a use case option for amdgpu-installer but seems to be missing, you'll still need to install this with a separate installation script for now. I had a previous post on getting AMF to work with FFMpeg.
Regression with Davinci Resolve
On the application side, Davinci Resolve is the pickiest application. If anything breaks, it's probably Davinci. Unfortunately there is a deal breaker regression with the new ROCm 10 OpenCL driver again, and the garbled video thumbnails and timeline preview bug is back. So I'm back to ROCm 7.2.4 on again on the desktop. But for VMs and containers, I'm tracking and testing against ROCm 10.
They will be on a 6 week release cycle, so let's see what's fixed/improved for 10.1.