I’ve tried this before via the amdgpu-install
package on Ubuntu 22.04, and it breaks a lot of things. I’m pretty sure you’re not suppose to install the official drivers. It’s not in the setup guide and this comment echoes the sentiment. Do correct me if I’m misunderstanding.
Edit: I’d also like to add that Linux kernels by default come with AMD GPU drivers.
Output of sudo lshw -C video | grep amdgpu
sudo lsmod | grep amdgpu