Hacker News new | ask | show | jobs
by inickt 1715 days ago
Are you passing in a second GPU to the VM using VFIO? Otherwise I don't believe graphics will be accelerated.
1 comments

Sadly no, my Ryzen doesn't have an iGPU and I only have the one dedicated GPU. VMware's software? acceleration is partially useful however, there are some bugs requiring disabling transparency in Windows but various Direct X programs run mostly acceptably. I find it the best performing of the 3 setups when using GPU passthrough is not available.
The first problem is rendering within the guest. If you only have one GPU, then GVT-g [1] virtualizes it with just a bit of overhead. But it's Intel only.

The second problem is getting those pixels onto your screen in the host. SPICE is not as fast as Looking Glass [2], which sets up a shared memory buffer between the host and guest. This has acceptable performance even for modern games.

The OP doesn't seem to utilize these techniques, so I don't think it can plausibly claim to have the fastest configuration - at least not yet.

[1] https://wiki.archlinux.org/title/Intel_GVT-g

[2] https://looking-glass.io

Thanks! TIL [1,2]
If this is a desktop, just get a cheap & basic PCI-e card with DVI output to use for your host and pass through your actual GPU to the guest.