this post was submitted on 23 Feb 2024
32 points (82.0% liked)

Linux

48372 readers
1894 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Welp, it's finally happened. Windows 10 has become so bloated, slow, and spooky that I finally have decided to bite the bullet and set up a VM on my linux Mint partition. Do you have any suggestions for a virtual machine? My PC is a relatively basic mid-range business laptop, 8gb of ram, no GPU, only a few years old. I'm a little concerned about performance impact, as I've heard that VMs take more system resources than the OS running natively. Any recommendations of software/configurations that would work best for me?

EDIT for clarity: The games i intend to run are, largely, older non-steam games. i obviously just use proton for all my steam games, but some weird older ones don't have a steam release/i don't have the steam version.

all 32 comments
sorted by: hot top controversial new old
[–] [email protected] 65 points 9 months ago (2 children)

My suggestion: Don't.

As far as I am aware a VM only makes sense for gaming if you have a second GPU. And even then it's a pain in the arse.

Use Proton/Wine instead. Steam has that integrated so that most games just work out of the box.

Be aware, most modern games won't run well or at all if you only have integrated graphics.

[–] [email protected] 13 points 9 months ago (1 children)

GPU passthrough is possible if you only have one, but it's TWO pains in the arse to set up and operate

[–] [email protected] 5 points 9 months ago (1 children)

And you kinda lose most of the benefits apart from a little more sandboxing. If you have to log off your whole session to switch to the VM it's just extra complicated dual booting.

[–] [email protected] 2 points 9 months ago (1 children)

And most anti-cheates won't play nice with VMs, unless you're Nvidia.

[–] [email protected] 1 points 9 months ago

VM detection that I've run into is not that hard to bypass, but it does subjectively seem to result in a less performant VM (haven't ran any tests to verify).

[–] atmur 20 points 9 months ago* (last edited 9 months ago) (2 children)

Someone can correct me if I’m mistaken, but as far as I can tell VM gaming has become pointless in recent years.

Proton/Wine will let you run almost everything on Linux with the exception of some games with rootkit anti cheats, and you’re likely to be banned if you run the latter in a VM anyway.

[–] [email protected] 2 points 9 months ago (2 children)

I game in a Linux VM on Linux

[–] [email protected] 1 points 7 months ago

Ladles and jellyspoons of the fediverse, I have reason to suspect Linux may be afoot.

[–] trougnouf 2 points 9 months ago

Correct. I game a lot and I never have to worry about Linux compatibility anymore.

[–] [email protected] 18 points 9 months ago

I've been a Linux gamer for a few years now. I don't have Windows at all. Between Steam's "Steam Play" and Lutris, you can play most games without issue. To find out if the games you want to play will work on Linux, check https://www.protondb.com/ and https://aclist.github.io/. Good luck!

[–] dinckelman 13 points 9 months ago

With that kind of hardware, you're not looking at any gaming in a vm, practically. Since you already have a Mint partition, just use that. Modern Wine will run practically anything that doesn't have an invasive unsupported anticheat

[–] aksdb 12 points 9 months ago (1 children)

If you got sick of Windows, what do you expect from running it in a VM? A slow and bloated OS in a VM is still slow and bloated. Probably even slower, because it now runs with more constraints.

[–] [email protected] 2 points 9 months ago

Probably that it will be a fresh install with only games installed

[–] [email protected] 10 points 9 months ago

I think there a bit of an XY problem here - what software/game do you need to run in the VM?

Most games run fine in Proton (which comes bundled with Steam), and those that block Proton also tend to block VMs.

[–] Presi300 7 points 9 months ago

I wouldn't virtualize windows with 8gb ram. Also, gaming on a VM normally is not possible, unless you want to pass a GPU to it, which isn't possible on a laptop. I'd say dual boot. Have a your main linux system where you do your work stuff and a windows one for 2 games that don't run on linux. Though, unless you play those few games, you'll probably be fine even without windows, as most games tend to run fine on linux these days.

[–] [email protected] 5 points 9 months ago* (last edited 9 months ago)

If you're a gamer, you might be interested in switching to Bazzite - it's arguably one of the best distros for gaming right now, so you won't need to use Windows for the most part (unless you've got one of those games which employ invasive (rootkit type) anti-cheat systems - but those wouldn't let you game in a VM in the first place).

Also, 8GB RAM is a bit on the lower side these days for gaming, if I were you, I'd try to upgrade to at least 16GB, if that's possible. But it shouldn't be an issue for older games though.

[–] [email protected] 4 points 9 months ago

@bluestarshield Proton and Lutris will serve you just fine. VMs will have their own problems, especially if you are playing multiplayer games. Risk of ban is way higher. Even Geforce Now, a professional service, was having issues with Call of Duty players getting banned just for using the service. Linux with Proton is simply fine.

[–] [email protected] 4 points 9 months ago

Wait, I'm confused. You have a Linux Mint partition? Why not just use that?

[–] UNY0N 2 points 9 months ago

If you use steam I'd suggest you think about switching to bazzite. It's made for gaming, and every steam game I've tried so far has worked flawlessly. I used to fiddle around with stuff to get some games working on arch, but after switching I was blown away with how easy gaming is on this distro.

[–] [email protected] 1 points 9 months ago

I've found that, for about the last five years, if Steam and Proton won't run it just fine, Lutris will. Heck, I fiddled around and got a copy of MS Office to run in Lutris!

[–] [email protected] 1 points 9 months ago

flatpak install bottles pupgui -y

In ProtonUp download the latest Proton-GE (the Steam Proton doesnt work reliably outside of steam, the Glorious eggroll version does) and install in Bottles.

In Bottles create a new Gaming Bottle, install your Games there and see what runs.

After that, for the not running games, I think using a second drive (avoid dualbooting like hell!) with a debloated windows 11 should be best. Using WinUtil from christitus, and BulkCrapUninstaller you can make windows tolerable.

Also using Rufus on Windows you can and should create a Win11 USB stick that has ms account, telemitry and (if you need it) hardware requirement checks disabled.

[–] [email protected] 1 points 9 months ago

Install virtual manager (virt-manager) and then reboot.

If you use Windows make sure you install the virtio drivers from the Fedora project

[–] Para_lyzed 1 points 9 months ago* (last edited 9 months ago)

To address your edit, you can actually add non-Steam games to Steam. I'll provide a link that describes the process, but you may have mixed results (though you may be surprised how many of them "just work"):

https://www.gamingonlinux.com/2019/07/a-simple-guide-to-steam-play-valves-technology-for-playing-windows-games-on-linux/

You'll find instructions in the section labelled "Can Steam Play be used for games not on Steam?". I believe these instructions still work, even though they're a few years old. If not, then there's always the option to use Lutris or Glorious Eggroll, which I recommend looking into yourself if this solution doesn't work (Lutris should be pretty easy to set up, so I recommend trying that first as I've had a good experience with it).

[–] [email protected] 1 points 9 months ago (1 children)

As someone who runs VMs, i suggest you dont. Ivd been doing it for about 2 years and i still have moments where lets say i want to expand my storage and a bork it, or accidently removed a virt selection on virt manager by mistake.

An easy solution. Run conty.

https://github.com/Kron4ek/Conty

It creates a virtualized arch linux with all the needs for gaming without having you worry about the heavy stuff. All the list of programs already on the list including other launchers for other games.

Here is a video explaining it.

https://www.youtube.com/watch?v=yugKXXzAdqY

[–] [email protected] 1 points 9 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=yugKXXzAdqY

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] [email protected] 0 points 9 months ago
[–] [email protected] -5 points 9 months ago (2 children)

Don't bother, VM or wine/proton is not good in term of performance if you don't have a good hardware (expect 50-80% fps loss), your best option is to dualboot and use Linux for everything except gaming that should free up resources for games on windows (de-bloat is recommended)

[–] trougnouf 1 points 9 months ago* (last edited 9 months ago) (1 children)

*except games that don't run on proton/wine. I don't have a Windows installation and I never have to worry about a game not running out of the box on Linux anymore.

[–] [email protected] 0 points 9 months ago

Yeah it run and that's about it

[–] [email protected] 1 points 8 months ago

The problem with "de-bloat" (the one I am familiar with, the one Mental Outlaw spotlighted a few years ago) is that it's deprecated and Microsoft actively works against debloating software. If you're familiar with some script/software that works in 2024, I'd be glad to hear it.