What is the safest way to remove amdgpu drivers in dom0

I installed amdgpu drivers but I might want to remove the driver to debug, again, some weird crashes. What is the safest way to remove those drivers from dom0? Driver was installed via

qubes-dom0-update --action=install xorg-x11-drv-amdgpu.x86_64

sudo dnf remove xorg-x11-drv-amdgpu
1 Like

thanks this worked fine. I was just afraid that there were a few other commands to ensure that it wouldn’t break anything after removing the driver

If it’s laptop then check disabling Dynamic Turbo mode in BIOS.
I’ve had strange hard crashes with modesetting/iris| driver but no problem with i915`.