This is how I "gamed on Linux" from 2018~2020 when I ran Ubuntu as my primary OS. It's incredibly finicky to set up (shocker, I know!) but if you're able to get it working it's truly amazing. Talking like 1% performance loss in AAA games in that virtual machine on the GPU.
As for me, I abandoned Ubuntu (and Linux, I did try other distros!) in early 2020. I was tired of juggling my home setup just to relax. In a move unpopular with the Slashdot crowd from 1996, I went back to Windows as my host OS.
No one is making user software with VFIO in mind. You will get random apps that do not launch in your virtual machine despite everything else running smoothly.
You're screwing with it near daily, certainly weekly. Need to update a driver, such as your GPU on the virtual machine? May god have mercy on your soul that everything works after, or that you can even get the host OS to deal with the GPU correctly at all.
I can sort of tell you haven't really read up on one of these setups because you seem incredulous that running Windows inside Linux is somehow finicky.
It's not ready for prime time, period.
I personally don't mind the semi-daily tinkering with my config, but if even plugging in a USB might break things then it does sound petty unreliable.
> I can sort of tell you haven't really read up on one of these setups because you seem incredulous that running Windows inside Linux is somehow finicky.
Ouf. You have a great imagination, but I think you'd do better to put it into writing fiction or something like that. I asked you to provide details on your comment, didn't make any statements on whether it is indeed finicky or not, I run many Windows vms on linux but never with VFIO. Your snide remarks reflect nothing more than your lack of self-esteem.
GPU driver updates haven’t broken anything in years. Nvidia actually made their drivers more passthrough friendly not too long ago (No longer need to spoof the vendor ID).
I have not had any compatibility issues with software either. I know there are some multiplayer games that specifically check if you are running in a VM and refuse to run. It’s a handful of games though and I don’t play those.
This can however change as Steam plans to use SteamOS (based on Arch) as their primary OS on the SteamDeck.
Edit: If anyone wanna read Linus's thoughts on it [1]. TL;DR It's a legal gray area.
> Just use Windows. Install games from developers directly.
See how silly that sounds to you ?
If you want to have the convenience of Steam, without Steam, you have projects like Lutris, which have community maintained scripts for each game. Those scripts are responsible for installing all the necessary dependencies and workarounds necessary for getting a game to work.
You can check https://www.protondb.com/ to see which games work well under Proton. If you don't want to use Proton, you can search the Wine application database for compatibility information: https://appdb.winehq.org/
I recommend Steam + Proton because it's the most frictionless way of getting games to work. The #1 complaint about Linux is how hard it is to do some things (like the guy I initially replied to), but it doesn't have to be that way.
P.S. Disk I/O can be a severe bottleneck on HDDs, so try this with a SSD.