
I am using an AMD Ryzen platform for my GPU passthrough setup. The following chapters will give you some optimization tips for Host, Guest and hopefully some insights behind the picked libvirt settings. I reached the better gaming experience on a virtual machine with i440fx, Windconfiguration. I have forged two libvirt XML files during the tests. Whereas 1 is more important than 2 is more important than 3 and so on. Compatibility – don’t get banned, work fluently with anti-cheat tools etc.Performance – more is better, gaming performance is measured in frames per second (fps).Consistency – no freezes and/or stuttering should.Input lag – the smallest possible input latency is crucial for gaming.Instead of testing the performance with the Superpossition demo (measuring FPS only), I used three games to measure my progress.Īs the previous tests had shown, FPS alone are no reliable performance measurement in a virtual gaming environment. Additionally, even when I had one game running smoothly it was not guaranteed that others were not stuttering. Unfortunately, after several hours of testing I had to learn that those two categories weren’t enough to guarantee a decent gaming experience. I started benchmarking several setups (found on level1tech, reddit and the arch wiki) using Superpossition Demo to compare perfomance results, and LatencyMon 6.70 in order to measure the input lag.

Especially since my main focus are demanding online multiplayer games. In order to optimize the user experience for virtualized gaming, I started to pursue low latency and high performance.

This guide describes performance optimizations for gaming on a virtual machine (VM) with GPU passthrough. Comprehensive guide to performance optimizations for gaming on virtual machines with KVM/QEMU and PCI passthrough Preamble
