News for hackers. Stuff that matters.
Re:Looking Glass: Run a Windows VM on Linux in a window with... by genewitch on Sunday July 18, 2021 @03:41AM (#27871360)
I do the vfio thing as well, do you happen to remember the registry editing you had to do to stop stuttering in games? There's a program that can set and unset all the stuff you need but evidently I deleted it.

It's the only thing I am missing to build another one or rebuild the one I have. I wish I had believed it was going to work perfectly when I started and wrote everything down.

Re:Looking Glass: Run a Windows VM on Linux in a window with... by zaptheimpaler on Sunday July 18, 2021 @04:04AM (#27871462)
I don’t recall doing any registry edits. Most of the perf work i remember doing was on the VM side - getting the little tweaks in libvirt settings, matching vCPU topology to physical, keeping VM cores from running linux system processes with GRUB flags, using a dedicated USB controller and sound card. i think i set the MSI stuff gnif mentioned as well though it wasn’t critical for me. Generally stuttering will be resolved by making sure time critical events (like interrupts) are delivered quickly to the guest.

+1 on the writing stuff down :D I did it twice and documented pretty thoroughly the second time around, notes before each change, testing performance delta, notes about if it worked. It really helps.

Re:Looking Glass: Run a Windows VM on Linux in a window with... by gnif on Sunday July 18, 2021 @03:47AM (#27871390)
Likely setting the NVidia drivers to use MSI (Message Signalled Interrupts)
Re:Looking Glass: Run a Windows VM on Linux in a window with... by panda-giddiness on Sunday July 18, 2021 @08:52AM (#27872529)
I fixed my stuttering by enabling cpu tuning and setting the correct cpu topology [1].

[1] https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF#CP...

Re:Looking Glass: Run a Windows VM on Linux in a window with... by pizza234 on Sunday July 18, 2021 @04:33AM (#27871558)
I have a VFIO setup as well, and I'm not aware of any register setting correcting stuttering.

There was an issue with AMD systems a few years ago, which caused microstuttering.