this post was submitted on 26 Jun 2023
117 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 2 years ago
MODERATORS
 

I'm currently on Win11 but I'm getting that familiar Linux itch and want to dual boot a while again. I tend to gravitate towards Ubuntu simply because it's so big and well supported by most things.

I've run Arch in the past but I've gotten too old and lazy for that if I'd be completely honest. I have played with manjaro and endeavour though.. and opensuse tumbleweed, rolling is kind of nice.

Not sure what I'd try out first this time so I figured I'd get some inspiration from you guys!

you are viewing a single comment's thread
view the rest of the comments
[–] Gatsby@lemm.ee 3 points 1 year ago (4 children)

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.

[–] nlm@beehaw.org 2 points 1 year ago (1 children)

Ok, I want your setup. Can I have it? Please? :)

Sounds pretty nice!

[–] Gatsby@lemm.ee 2 points 1 year ago* (last edited 1 year ago) (1 children)

I can help you set yours up like mine if you want!

But you'd need to make sure you have two graphics cards. I have the 3080 disabled from Linux until a VM starts, so it won't load the Linux desktop or anything. Even a CPU with integrated graphics works, but a physical GPU is obviously better.

I really like the Quadro series for this as its physically thinner, lower power, and has the performance around a 1060. They're on ebay for like $60

[–] nlm@beehaw.org 2 points 1 year ago

I'm currently stuck with a laptop thats creeping towards potato status so it's a bit hard to upgrade parts of it. :)

I'm happy just being able to run it almost to the ground as it is!

[–] Sizousho@beehaw.org 1 points 1 year ago (1 children)

With some of the news going around about the new windows versions and what-not, this sounds really interesting. I have a couple questions if you could answer them, that would be awesome!

How does a new release of Windows affect the compatibility of this set up? I know programs with for a while on older releases, but after a time, that version will be phased out. That might be more about the VM than your setup, but I don't have a lot of experience with those either lol.

Does this introduce some system lag for input in any way? If I ever do get the confidence to abandon my system to go to Linux, it would suck if this really cool sounding method added response time to inputs.

[–] Gatsby@lemm.ee 1 points 1 year ago (1 children)

So the only problem is you'd have to update every VM over time to get security patches, this is mainly a problem if you're on limited internet(like me). Im capped at 100gb a month and my download speed is almost always less than 1mb/sec.

Windows has a feature that if one system on your network is updated, other systems on the network can download locally from that one and save your data, which is wonderful. But you still need to update Nvidia drivers for each VM, and update games, etc. You can connect a hard drive(virtual or physical) to multiple VMs, but only run VMs with a common hard drive one at a time.

And mind you this isn't to save compatibly, for me once it works it works. I just like to keep security patches updated because I download a lot of sketchy programs lol.

Latency is non-existent. I use a program called lookingglass, which allocates like 32mb of GPU memory to be dedicated to passing frames between the VM and the host. Or non-existent for my level of perception. If you're Spidey senses tingle more easily you can pass through a secondary keyboard and mouse and just literally have two screens two keyboards two mice one box. It would have the same latency as bare metal. And even have two people play multiplayer games together off of one box if you have the horsepower.

[–] Sizousho@beehaw.org 1 points 1 year ago

So, there are a couple of things that have happened recently. I have an old laptop that I've messed around with different distros of Linux on. I installed Arch on it and am trying to do some different things. It's not a good laptop, so the VM set up I'm really interested in won't happen until I get a few more drives for my main PC and set up a dual boot abd some other things. I am really interested in this set up because it just sounds neat.

Are there some things I should try to do to help me get better at working with this OS? I'm currently seeking up a server with a reverse proxy using nginx and its... Going. The server works I think, but the proxy doesnt yet.

[–] lividhen@kbin.social 0 points 1 year ago (1 children)
[–] Gatsby@lemm.ee 2 points 1 year ago (1 children)

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.

[–] Rassilon@kbin.social 1 points 1 year ago* (last edited 1 year ago)

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.