EndeavourOS VM with AMD GPU passed through randomly breaks after an update

I set up a VM using EndeavourOS in libvirt (QEMU) and passed my AMD RX6600 GPU to it (I am doing low level graphics development and need to test it on this specific architecture of GPU because it has issues). I am using KDE Plasma, and I wanted to use Wayland. But I opened up the VM yesterday to find that the Wayland session crashed upon logging in, which was weird. So I switched to X11 and it worked. But as of today, the X11 session hangs on the KDE loading screen.

I don’t know how to debug this, so sorry for the lack of information.

Do you have all the latest mesa updates?

I did after this was sent. No change.