this post was submitted on 18 Dec 2024
99 points (94.6% liked)

Linux

48668 readers
551 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
 

I primarily use my pc for gaming, and want to avoid upgrading to Windows 11. Beginning the journey of looking into alternatives.

I am ignorant, trying to be less so. I have a hard time understanding what exactly makes a game not work just because of OS.

you are viewing a single comment's thread
view the rest of the comments
[–] bastionntb@lemmy.ml 80 points 3 days ago (3 children)

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.

[–] lordnikon@lemmy.world 34 points 3 days ago (1 children)

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.

[–] Landslide7648@discuss.tchncs.de 4 points 2 days ago (1 children)

What does it do? Could you explain?

[–] Spore@lemmy.ml 24 points 2 days ago (1 children)

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.

[–] eyeon@lemmy.world 6 points 2 days ago

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.

[–] ElectricAirship@lemmy.dbzer0.com 18 points 3 days ago (1 children)

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.

[–] floofloof@lemmy.ca 6 points 3 days ago (4 children)

Does Steam ever deliver Linux-native builds instead of running games through Proton?

[–] entropicdrift@lemmy.sdf.org 13 points 3 days ago (1 children)

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)

[–] communist@lemmy.frozeninferno.xyz 4 points 2 days ago (1 children)

there's no way it's a 10-20% performance hit

[–] Buildout@lemmy.world 1 points 2 days ago (1 children)

Is it usually more or less than this?

[–] communist@lemmy.frozeninferno.xyz 6 points 2 days ago* (last edited 2 days ago) (2 children)

Way less, even better performance than native windows in some cases

[–] addie@feddit.uk 5 points 2 days ago (1 children)

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.

[–] entropicdrift@lemmy.sdf.org 2 points 2 days ago* (last edited 2 days ago)

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.

[–] entropicdrift@lemmy.sdf.org 1 points 2 days ago* (last edited 2 days ago) (1 children)

Linux Native builds generally have better performance than Windows builds running on Windows. That's what I was comparing between

[–] communist@lemmy.frozeninferno.xyz 2 points 2 days ago (1 children)

i don't think that's 10-20% either

[–] entropicdrift@lemmy.sdf.org 1 points 2 days ago (1 children)

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

[–] bingrazer@lemmy.world 8 points 3 days ago* (last edited 3 days ago)

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

[–] MorphiusFaydal@lemmy.world 4 points 3 days ago

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.

[–] SkaveRat@discuss.tchncs.de 6 points 3 days ago

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