Try reading this thread: https://forum.qubes-os.org/t/why-does-seamless-gpu-acceleration-only-work-when-using-template-based-hvms/29253