I use a kvm with windows 11 that uses the graphics card via passthrough gtx 3070.
Unfortunately I have problems with cyberpunk fps while I had full fps with my 144 hz on bare metal. Now it’s like 20-50
I’m a beginner about passthrough devices and trying to prepare a virutal machine on my linux host for first time
After a few days I had success to passthrough my rtx 3070 to my win11 vm. Some of the latest games which has been released works pretty well but a few which uses a lot of cpu ressources doesn’t works how expected like on bare metal (using looking glass)
My cpu is Intel i7 8700k and using a GT 1030 for my linux host.
I have experienced and read that you have to make some settings in the xml. Luckily I was able to find a cpu pin setting that someone else was using that is similar to my processor.
I’ve also noticed a stark difference in that the windows machine boots up and is much more responsive.
Also, the games generally load faster than before, but it’s not enough that Cyberpunk 2077 gives me the full fps.
I know that I have to give up some resources when I play via vm but I don’t think it should be like mine in this case.
Also this are my parameters of GRUB_CMDLINE_LINUX_DEFAULT
`GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt kvm.ignore_msrs=1 video=efifb:off vfio-pci.ids=10de:2482,10de:228b"` ``
Please let me know if any more detailed infos are needed
Thanks for your time