I smile every time I see an improvement that will make it easier for games to run near full speed while confined to a virtual machine. Another step forward for security and privacy.
I should note for even closer to native performance you want virtio-gpu with native context. Patches for that are currently being reviewed on the mailing list: https://patchew.org/QEMU/20241024233355.136867-1-dmitry.osipenko@collabora.com/
There’s also amdgpu native context support which allows native AMD GPU drivers in the guest (Linux only guests for now).
Haven’t tested it myself yet though as I’m using a GPU passthrough setup. Although I believe both of these solutions will support multiple VMs using it at the same time, which is an improvement over regular passthrough.
someone on reddit had this working 6 mo’s ago, I think they had 2 VM’s running games from one GPU it was on /r/vfio and they said the Windows Driver was being worked on as well.
I don’t know about the 2 VMs part (although that should work) but they have a Youtube channel with a couple of videos, including Resident Evil Village.