this post was submitted on 06 Sep 2023
2868 points (97.3% liked)
Linux
48083 readers
785 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
Ok, hear me out. Linux is not an easy platform to develop for because it's in constant flux where systems and libraries come, change and go constantly. Linux itself is a somewhat slippery concept (if we expand from the kernel) where "works on linux" can really mean it's been tested on one particular distro. Debian stable and rolling releases are not the same. Unless I am completely mistaken, I can see why major developers are hesitant to support linux, whatever it even is. Is Android linux?
Now, I'm all for this message. Given how OSs have been developing, I advocate for linux adoption and wish people would "vote with their wallet". Otherwise things just will not change. Well, not for better, if recent history is anything to go by. I just feel that this problem has more prongs than we like to admit, being linux enthusiasts.
Please correct me if I'm wrong.
Not really the case anymore because of proton, game devs develop for Windows and proton and then it'll run on anything that can run proton, Linux, android, Mac or otherwise in the future
From what I hear thanks to proton it's incredibly easy to develop for Linux, as long as you don't use one of the anticheats that doesn't support it or intentionally prevent it from running in proton you're fine
Well, yeah, but I think the issue is that the best way to develop for linux is to make a Windows binary. I don't like that. Developers actively sabotaging Wine/Proton compatibility is kind of malicious though.
I don't think the best way to develop for Linux is by making a windows binary, I think the best way for game developers to make a Linux version of a game they otherwise wouldn't is by making a windows binary compatible with proton
Problem is very few developers actively choose to make a Linux game and windows games if done right run at native speeds on Linux anyway.
I'm gonna be unpopular for saying this but it's the same thing as using HTML for desktop/mobile apps, sure it's not optimal performance wise but it's a hell of a lot better than often nothing at all because companies can't or won't justify development time to support smaller groups of people on smaller platforms
If such a time comes that desktop Linux has a large enough market share for large companies to take seriously then I'm sure they'll start developing native versions of maybe even make Linux-first games but sadly we're nowhere near that point yet so best we can hope for is good cross compatibility tools
If it works, it works. Stop those bureaucratic inquisitions like "Stack Overflow says it's not best practice" "Code review is not optional" "It's gonna crash production" yada yada
You could bundle your specific versions of libraries. And link it statically. Like most games do anyways.
Pretty sure that's not just a Linux thing either.
I'd think so, too. But afaik windows people don't do so much dynamic linking anyways. Most of the times it's Linux executables that are few megabytes in size and most windows executables are at least tens of megabytes because people prefer statically link things in that world.
Nobody stops you doing the same thing with linux executables.
But why? What libraries are causing problems? Zlib? SDL? Actually SDL better kept dynamically linked because SDL sometimes adds support for new interfaces(wayland, egl).
No libraries are causing problems.
Linux game devs should be targeting the Steam Linux Runtime which provides a stable environment.
Same applies to every non-deprecated OS.
I had some issues running the native version of Prey 2006 because of that
Valve should release their distro tbh