You are not logged in.

#1 2025-07-21 15:36:34

fopdudel
Member
Registered: 2021-02-12
Posts: 23

Ways to improve virt-manager graphical performance w/o a second gpu?

Hi there, I'm using virt-manager with KVM/QEMU. I also have a Radeon RX 7600 as my only graphics card.

I have a Windows 11 VM with really poor graphical performance. It has 8 GB RAM and 4 x 4.7GHz CPU cores, and looking at task manager, neither of those seem to be a bottleneck.

I think the reason for the poor performance may just be the virtual GPU then? I only have the one GPU so I can't do GPU passthrough of a second GPU. But my GPU is decent, definitely decent enough to just run an operating system and nothing else; this is before getting to any user software that may be more graphically demanding.

I have 3D acceleration enabled. Using virtio GPU and I have the virtio drivers installed in the W11 guest.

Any tips on ways to configure virt-manager to be more graphically performant?

Annoyingly it is only Windows 11 that's been having these issues for me. I have various Linux and BSD VMs that haven't had any problems with graphical performance, but I think W11 might just be more demanding.

Last edited by fopdudel (2025-07-21 15:37:38)

Offline

#2 2025-07-21 22:34:49

cryptearth
Member
Registered: 2024-02-03
Posts: 2,009

Re: Ways to improve virt-manager graphical performance w/o a second gpu?

that looks like fun: https://github.com/virtio-win/kvm-guest … s/pull/943
from quickly scrolling through it: there seems to be some active developement to improve 3d acceleration on both modern win10/11 as well as legacy win7 - but same as with venus (vulkan passthrough for linux guests) it seems still some way
as for virt-manager: it currently lacks the ability to set the required flags because libvirt isn't fully up to it, yet - so if at all you need to start qemu directly from terminal and attach via virt-viewer (I use this for my venus/vulkan test vm)

Offline

#3 2025-07-22 05:03:35

fopdudel
Member
Registered: 2021-02-12
Posts: 23

Re: Ways to improve virt-manager graphical performance w/o a second gpu?

Thanks for sharing.

I also stumbled upon this: https://github.com/joeknock90/Single-GPU-Passthrough

Seems promising. The downsides are a bummer as I'd like to be able to use both host and guest at the same time, but it might be worth it for playing video games that don't work well with wine/proton.

Offline

#4 2025-07-22 06:40:04

cryptearth
Member
Registered: 2024-02-03
Posts: 2,009

Re: Ways to improve virt-manager graphical performance w/o a second gpu?

fortunately thanks to the push wine got since valve forked it to proton the number of compatible games increases on a daily basis
there're additional forks, best known is likely proton-ge from GloriousEggroll - and from what I get most fixes and improvements seem to be backported up to valves proton and from there some make it even all the way into mainline wine

from my experience games (and software) that don't play nice with proton often also have checks for virtualization in place and don't work in a vm either (many anti-cheats but also some commercial software)

to me personal I'd like to see more companies lije BohemiaInteractive (Arma, Dayz): although for some time they had a native linux they stopped it but not because of windows but rather because focus on proton - if I get the press statement roughly from the top of my had: with targeting proton they can focus on one common base for both linux and windows and rather deal with windows quirks different from proton than the other way around
to my knowledge they also were one of the first opening the used anticheat BattlEye to proton
it doesn't need a "year of the linux desktop (for gaming)" - just more devs like BI pushing along with valve for proton - and maybe a little help from microsoft finally putting an end to that kernel level crap as they announced as a consequence to the crowdstrike incident

and along with that the community also works hard on proper 3d acceleration for guest for vulkan
when I first tried it I didn't got stable 60 fps on furmark - recently after a lot of updates I already got stable 70+ - so its on a good way
and maybe we'll also see windows support (even if it's just for the current modern versions)

currently I'm too waiting for libvirt and thereby virt-manager get proper support for vulkan - I guess some DX-VK translation shouldn't be far then

Last edited by cryptearth (2025-07-22 06:46:40)

Offline

Board footer

Powered by FluxBB