How to install ROCm on AMD, specifically in Ubuntu based distros.
$ amdgpu-install --no-32 --usecase=rocm
https://rocm.docs.amd.com/projects/install-on-linux/en/latest/how-to/amdgpu-install.html
P.S: The install script can be adapted to make it work for KDE Neon.
P.P.S: Double check under /etc/modprobe.d for `blacklist amdgpu`. The driver seems to work mostly however I noticed some freezes and I saw rumours in Pop_OS that amdgpu driver could cause this in Ubuntu 22.04. Uninstalling this for now.
$ amdgpu-install --uninstall