Installing by closely following ROCm Installation Guide because :
- it misses to install
libnuma-devandlibncurses5 - installing dkms breaks ROCm after reboot
It is very important to install libnuma-dev and libncurses5 before everything:
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libnuma-dev libncurses5
sudo rebootAdd user to groups render and video:
sudo usermod -a -G render ${USER}
sudo usermod -a -G video ${USER}Download and install:
wget https://repo.radeon.com/amdgpu-install/21.50.2/ubuntu/focal/amdgpu-install_21.50.2.50002-1_all.deb
sudo apt-get install ./amdgpu-install_21.50.2.50002-1_all.deb
sudo amdgpu-install --usecase=rocm --no-dkms Note: it is very important to install without dkms as ubuntu 20.04.4 with kernel 5.13.x works with rocm but it won't if you install dkms (after reboot).
rocminfo calls survives across reboots.
Thank you. This instruction saves me on Ubuntu 22.04.