How to install AMD ROCm on Ubuntu without the provided amdgpu driver. For some reason, AMD wants to push its amdgpu driver but if you already have a new one like for Oibaf, you do not need it.
Generally follow the documentation loosly for the basic requirements: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/prerequisites.html Not sure if the kernel headers are really needed.
The loosly follow the manual detailed install via package managers: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/install/native-install/ubuntu.html
- Add the signing key
- Add the ppa for like
https://repo.radeon.com/rocm/apt/6.2.4 noble main
- Do NOT install the
amdgpu-dkms
(it might not even be available now) - They say to install
rocm
but for merocm-ml-libraries
suffice completely.
rocminfo
should have been installd (if do you can do that manually).
This tool shows if it is working or not.
Basically, it agents are listed and the output is very long, it works.