Code repository
Why using VM?
The digital life is getting out of our control.
We are getting farther and farther away from the truth.
I need to grab as much control as I can.
SOLUTION:
I am now playing PUBG in a kvm win10 guest. The framerates of PUBG @ 4K in the VM is above 100hz. It feels good. I did not use virt-manager. I don’t see any convenience using it.
About the “KVM switch” problem:
Video Output:
I pass dGPU to guest and connect my monitor to the GPU using DP @ 4K144hz. For host I connect iGPU to the same monitor.
I hate cables and wires. They are such a mess. Less is virtue. Less is beauty. So:
Keyboard: I pass a bluetooth radio chip to guest. I use Bluetooth keyboard which support 3 devices. So seamless switch between host and guest.
Mouse: I use G603 which supports both lag-free USB dongle in guest and Bluetooth mode in host.
Audio out: I use the headphone jack on the monitor. So whenever I switch video input, the audio switches
Audio input: I simply pass a mic.
Please find all the settings in GITHUB repository.
I would be glad to help if you have any question.
SETUP:
host: Ubuntu 18.04.1
guest: Win10
OVMF
qemu-kvm
—————————————————————————————
2021 update: AMD Zen 2 and Zen 3 performance issue:
Somehow there seems to be a CPU cache/memory latency issue in my KVM/QEMU setup. All benchmarks looks normal. It is only noticeable in high-frame rates gaming like PUBG. I think I have tried every method(CPU affinity, CPU topology/cache layouts, hugepages, etc…) that’s available online and spent at least 50 hours trying to solve this issue. No luck. And I also couldn’t find anyone who has successfully fixed it.
—————————————————————————————
© 2018 XIANXIN WANG ALL RIGHTS RESERVED
Use by permission.
Leave a Reply