this post was submitted on 18 Dec 2024
103 points (94.8% liked)

Linux

48665 readers
519 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
[–] Piatro@programming.dev 2 points 3 days ago

The ELI5 version is that developers can make a lot of assumptions about what a Windows pc means and what features are available. A while ago if you had videos as part of a game (for example a cutscene) it was actually played through Windows Media Player, which was virtually guaranteed to be present on the user's computer. Sure you can play that video with other tools like VLC or Quicktime, but you couldn't guarantee they were installed, so Windows Media Player was a safe bet. Nowadays that's not how video is handled but the point remains for a few other things. For example if I need to load an image, maybe a background, I would look it up using the windows filesystem, so probably something like C:\Program Files\Steam\common\mygame\images\background.png. That's not the same in the Linux or another os. Also the piece of software that handles loading images might be different, which means how we execute that load operation is probably different, and so our Windows-focused version of our game just doesn't work.

Fortunately nowadays that's a mostly solved problem with Steam investing a lot of time into Proton, what they call a "compatibility layer" that basically translates all of the windows-specific stuff to work in Linux. That's a very simplified explanation but you get the idea. The games that still won't run have kernel-level anticheat (Valorant, Helldivers 2) or are so dependent on things only available on Windows that even Proton can't fix it. Some anti-cheat software doesn't run properly so then you can't go online, like Warhammer: Vermintide 2. That's mostly a commercial decision rather than technical, they could make it work they just choose not to.