Skip to content

Instantly share code, notes, and snippets.

@Nithanim
Created November 16, 2024 21:40
Show Gist options
  • Save Nithanim/210842a85d6d5689cb56f54175528751 to your computer and use it in GitHub Desktop.
Save Nithanim/210842a85d6d5689cb56f54175528751 to your computer and use it in GitHub Desktop.
Install AMD ROCm on Ubuntu 22.10 without the provided amdgpu driver

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 me rocm-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment