this post was submitted on 22 Aug 2024
137 points (91.5% liked)

Linux

47233 readers
769 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
you are viewing a single comment's thread
view the rest of the comments
[–] MachineFab812@discuss.tchncs.de 5 points 3 weeks ago* (last edited 3 weeks ago) (8 children)

Individual apps, particularly full-screen games, shouldn't need "Wayland support"(quotes because what that means will vary between implimentations).

Now, if you have to install xorg on a system that doesn't have it in order to play a game? Yeah that would suck, although games are on my personal shortlist of application categories that should always be run from a flat-pack/equivalent and/or containerized wherever possible.

Now I think about it, why don't (anti-cheat)games just run their own VM's and "calibrate" those versus any weird system variables? Seems like a better anti-cheat than hacking-my-kernel-to-make-sure-I'm-not-hacking-the-game...

[–] boredsquirrel@slrpnk.net 1 points 2 weeks ago (7 children)

Even if you use Flatpak, you need XOrg / XWayland on the host system.

Fedora Kinoite/KDE and the KDE Plasma desktop on its own are especially annoying, as I have no idea how to turn off those legacy support services from constantly running, like XWaylandVideoBridge (never used) or XWayland entirely.

I think Windows is just too bloated to also use Containers. With WSL they found a good way and apps should totally run in containers, but this is simply not yet done.

VMs would suck for efficiency as they rely on CPU virtualization and GPU passthrough. The former will never give native performance

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

The point of flatpack is supposed to be that it takes care of ALL dependencies. So you're saying it doesn't deliver on that promise?

[–] boredsquirrel@slrpnk.net 1 points 2 weeks ago (1 children)

Not all dependencies. Flatpak is an application, and a display server is outside of an application.

Closing an app should not result in a black screen XD

[–] MachineFab812@discuss.tchncs.de 1 points 2 weeks ago (1 children)

Not that hard to stop wayland or xorg at the launch of a given application and restart it at that application's exit. Of course, I only did it on the Raspberry Pi because the hardware lagged horribly running such apps with a gui/compositer/desktop the app wasn't using in the background, but it wasn't hard for me to get working, and its exactly how we did things with DOS apps and even some Windows games back in the WFWG 3.11 days.

Basically, there's no technical reason the host operating system should have to be providing say X, KDE, Plasma, Gnome, Gk, Wayland, whatever, to a flatpack app that needs those things. Yes, the result is a larger flatpack, but that's why flatpack's do dependency consolidation.

Unless ... Unless, you just really want to to run your games windowed with smooth window-resizing, minimization, maximization, etc.

[–] aBundleOfFerrets@sh.itjust.works 1 points 2 weeks ago (1 children)

Alt-tabbing to another application (e.g. web browser) should not force you to close the game

[–] MachineFab812@discuss.tchncs.de 1 points 2 weeks ago

... and why would it? Again, I only set it up like so on the Raspberry Pi(2B iirc) due to hardware limitations.

load more comments (2 replies)
load more comments (4 replies)
load more comments (4 replies)