this post was submitted on 18 Dec 2024
97 points (92.9% liked)
Linux
48674 readers
447 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
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Put simply, it's like a translator that knows many of the languages Windows will speak. However, it's not always fluent in every language it might speak. This is what proton does, it translates system calls into Linux, essentially. It almost always will work, specially with Steam games.
In other cases, it's game devs making desicisons to disallow use of Linux. Specifically anti cheat. Not all anticheat is disallowed, but game devs could allow it. They just choose not too.
Most games will run just fine on Linux. I've switched entirely to Linux and said goodbye to those few online anitcheat games that disallow. Most everything works.
Also to add to this is if windows users understood what kernel level anti-cheat does most people wouldn't want it on windows ether.
What does it do? Could you explain?
It runs in the kernel of the OS as a driver, which means that it's basically a trusted malware that has even higher permission than the admin of the computer, and have access to more things than yourself, to closely monitor the whole system in order to find signs of cheating.
And for context, it does this because cheaters are willing to run cheats that run at that kernel level, and the only way to detect and prevent them is if the anticheat is in your kernel first.
Very accurate comment, and to expand on this, things like media codecs, windows dependencies, etc also cause problems. Luckily Proton can play just about any game on Steam.
For example, Marvel Rivals is a new game that just came out and its anti-cheat works with Linux. I play it with ProtonGE, which installs extra codecs that regular proton versions don't include and it works awesome.
Check out protondb.com to search what specific games work for others on linux.
Does Steam ever deliver Linux-native builds instead of running games through Proton?
Yes. There are some games where the Linux-specific bugs don't get fixed and it's better to just run the Windows version thru Proton and take like a 10-20% performance hit so it runs with more stability.
Sometimes the Windows versions just run better than the Linux build because of bad optimization on the Linux build of a given game, as well (OpenGL vs Vulkan drivers, etc etc)
there's no way it's a 10-20% performance hit
Is it usually more or less than this?
Way less, even better performance than native in some cases
Flightless Mango used to have some good comparisons, but they're about four years out-of-date, now. Even then, you'd expect between 10% worse and 5% better on Linux. https://flightlessmango.com/benchmarks/
Forbes article here is from this year; expect between 5% worse and 25% better when running on Linux. https://www.forbes.com/sites/jasonevangelho/2024/08/21/linux-scores-a-surprising-gaming-victory-against-windows-11/
General experience is that generally there's no noticeable difference at all; some games that use new features might have bad performance until the new features are implemented. Last game I really had a problem with was Horizon Zero Dawn. Elden Ring had bad performance on launch day, but was fixed the next day I think.
These are solid sources to cite, but for the record I was talking about a Linux native build vs a Windows build running under Proton, not a Windows build running in Windows vs running in Proton. Linux is a more efficient OS and well-optimized builds made for it can really fly.
Linux Native builds generally have better performance than Windows builds running on Windows. That's what I was comparing between
i don't think that's 10-20% either
I did say it varies and sometimes the Windows build runs better than the Linux build depending on optimization
I agree it varies, but even a 10% difference is a lot
https://store.steampowered.com/search/?os=linux
Yes, I’ve run several games native. ProtonDB will indicate if it runs natively (though some people will report using proton on natively supported games out of habit)
EDIT: some games are supported natively, but should use proton for mods. For example, Mount and Blade Warband runs just fine without proton, but if using mods it should be run with proton. This will also be indicated on ProtonDB in my experience
When you see the Windows and Apple icons on a game, that indicates native Windows and MacOS support. The Steam logo is native SteamOS/Linux. You'll also see a "SteamOS/Linux" section on the system requirements.
To expand on the translation metaphor:
Trying to run a window program on Linux (without proton) is like trying to read a completely alien text. Your have basically 0 in common and no way to understand it
Proton is doing the translator job of helping. And it's doing a great job for a lot of the alien language. Which is why so many programs and games work on Linux with proton
But even it can't always be perfect, and if the language is using some weird dialect, it might not understand or misinterpret things, which causes games to be buggy or unplayable on Linux