4 ms·
If you're privileged enough you could buy another GPU, pass it through to a Windows VM, install looking-glass to pass display output over a shared memory buffer
by carlhjerpe 6y ago
If you're privileged enough you could buy another GPU, pass it through to a Windows VM, install looking-glass to pass display output over a shared memory buffer, barrier for mouse sharing and bam, you have Windows in a window in your Linux machine running close to bare metal performance. (It does eat memory bandwidth linearly with refresh rate though).
- Google234 6y agoThis won’t get passed anti cheats though.
- carlhjerpe 6y agoI've heard of noone so far getting banned for playing in a VM. The anticheats can install their kernel modules as they want, and the lookingglass capture is using the direct X capture API, so nothing weird there. A SHMEM device is nothing out of the ordinary either. I mean sure they could detect that you're running in a VM, but I'm yet to hear about any cheats where you edit the memory of a VM, so until that's a thing i safe. There are companies like shadow.tech that builds their entire business around this implementation, so one can only hope it stays this way. Personal experience: Playing both Overwatch and Counter Strike without any issue (VAC enabled servers)
- Google234 6y agoYou can do DMA from outside the VM into the VM. This is why most of the more serious anti cheats won’t allow it - vanguard, EAC, battleeye, EASA, ...
- carlhjerpe 6y agoVAC and whatever Blizzard uses is enough for me, but thanks for the tip. I'll keep this In mind if Im ever to encounter either of these ACs
- krageon 6y agoIt will if you configure it correctly.