Had the some problem on Trixie until today. The problem is gone since I - updated to kernel 6.12.117+deb13-amd64 - installed libvirglrenderer1 - installed qemu-guest-agent - installed firmware-linux in the guest.
Not sure what did it, but I'm glad I can reboot normally again.

