this post was submitted on 26 Jun 2023
121 points (100.0% liked)
Operating Systems
3799 readers
1 users here now
All things operating system related, from Windows to Mac to Linux distros and the more obscure.
Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use Arch, but I have two graphics cards in my system and I run a stripped windows VM for any game that I want ray tracing or 4k in.
My arch setup has an older Nvidia Quadro card and can run everything on like medium settings, but my virtual machines have a 3080ti. I didn't want the wear and tear on my 3080ti just to watch YouTube or play indie games that don't need the horsepower, but I still want to try stuff like portalRTX or stable diffusion and the like that needs an enthusiast graphics card.
This to me is the best of both worlds. I can run the VM in the background so I can use my desktop(connected to the TV) as a media center and have cyberpunk playing totally hidden and streaming to my steam deck for ray tracing maxxed settings.
Hell I even play Half life:Alex VR in a virtual machine and stream it over wifi to my Oculus quest.
How's your vm setup?
Depends on my needs, my desktop itself has a 8core @ 5GHz, around 50Gb ram, a Quadro and a 3080ti.
For gaming I'll usually pass through 6cores, 30Gb ram and the 3080ti to a windows VM, leaving 2cores 20Gb and the Quadro for my linux host.
sometimes I'll do more of a 50/50 split or if I'm just updating windows or downloading a game I'll only pass 2 cores like 10Gb ram and no gpu.
But if you mean how did I do the initial setup, any arch based disro will be the easiest (but you can do it on others if youre more technically inclined) by following this guide:
PCI PASSTHROUGH VIA OVMF
Ive done this process on so many systems I can do it off a fresh install in probably 30 minutes now.
Once the Linux host is finished, I install windows in the VM, strip as much bloat from it as I can, install my universal programs(Firefox, 7zip, VPN stuff remote desktop stuff, GPU drivers, etc)
For gaming, the best programs I've found are Looking glass to pass the VM GPU's video to a window on the client with no latency, and SCREAM audio for the same with sound.
Once that's all set up and windows is fully updated, I make a backup of that VM, and basically never open the original again. If I need a new VM, just clone that setup and everything's ready to go. I can rn clone the original setup, and use my private collection of interesting viruses on that windows VM without fear of it damaging anything.
Was running the same setup pretty much, I really miss it. Was running arch with an 8c/16t cpu, with 32GB ram, a 2070 Super (for passthrough), and a cheap GT710 (for i3wm on host). I've heard of Looking Glass and SCREAM but never tried it, instead I would switch inputs on my primary monitor and keep i3 on my secondary. Just used an Elgato Stream deck with Streamdeck_ui and would set attach and detach commands for peripherals, and others like power/pause.
Ended up helping someone troubleshoot their PC, which turned out to be a dead GPU, and I gave them the 710 as a better then nothing card. Was still able to play a lot of my games native or via proton on the 2070, but some new games had performance/compatibilty issues and I couldn't use RTX. Ended up installing Windows over my Arch to play them, you know just till I could get a new host GPU.
Now I have a GPU for the host again, but I'm using Microsoft Storage Spaces for my RAID 10; and, being lazy as I am, I just keep putting off copying all of that to spare drives and rebuilding with mdadm. Plus the fear of losing terabytes of data during migration is intimidating.