GotaGuide

Various tech guides for various things.

View on GitHub

How To Making A Gaming VM

We’ve all been there. Well, at least all us really big tech nerds. You want to use Linux as your primary Operating System, but you CAN’T because you still need to use development tools and games that only will run on Windows. You would ditch Windows at the first sight if everything wasn’t so dependent on it… But you don’t want to run Windows in a traditional virtual machine since it is soooooo slow. Also, you can’t feed it your GPU which is a big problem.

Introduction

Hello, this is Gota7, and today I’m going to show you how to make your own gaming virtual machine! Now let’s go over some pre-requisites and general info about my machine:

BIOS Settings

Install Dependencies

VFIO Setup

Making The VM

Stop NVidia’s Error

Installing Windows

Sharing Mouse And Keyboard

Low-Latency Sound

Make Anti-Cheat Happy

For some of those multiplayer games, anti-cheat does not like it if you are using a KVM. However, SomeOrdinaryGamer on YouTube shows how to beat this protection: Youtube Link. Do note that he mentions that you should be on a fairly new version of the 5.11 Linux Kernel at least to have this work without issues.