this post was submitted on 22 Jun 2024
294 points (97.7% liked)

Linux Gaming

16076 readers
45 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

For me, it's Factorio.

a game in which you build and maintain factories.

It even has Wayland support!

(Version 1.1.77» Fri Mar 03, 2023 3:44 pm)

Graphics

  • Added support for Wayland on Linux. To enable it, set SDL_VIDEODRIVER=wayland in your environment. (thanks to raiguard)

What's yours?

EDIT: Great Linux ports* not like some forced ports that barely work or don't.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 6 months ago (4 children)

As a Linux newb...

 

   

 

[–] [email protected] 22 points 6 months ago (1 children)

Its all about how an application goes from "I would like to display X on a screen" to how X actually gets displayed. Wayland is effectively a language (technically a protocol) that graphical applications can speak to describe how they would like to be drawn. It's then up to a different program more deeply embedded in your OS to listen to and act on those instructions (this program is called a Wayland compositor). There's a lot more to it (handling keyboard input monitor settings, etc), but that's the general idea.

Wayland is a (relatively) new way of thinking about this process, that tries to take into account the wide variety of input and output devices that exist today, and also tries to mitigate some of the security risks that were inherent to previous approaches (before Wayland, it was very easy for one application to "look at" what was being displayed in a completely different app, or even to listen to what keys were being typed even when the app isn't focussed).

Thing is, change is hard, doubly so in the consensus driven world of Linux/FOSS. So, until the last couple of years or so, adoption of Wayland was quite slow. Now we're at the point where most things work at least as well in Wayland, but there's still odd bits of software that either haven't been ported, or that still rely on some features that don't exist in Wayland, often because of the aforementioned security risks.

[–] [email protected] 9 points 6 months ago (1 children)

Thing is, change is hard, doubly so in the consensus driven world of Linux/FOSS.

... So if im reading this right

~~Move fast and break things~~

Move slow and fix things?

[–] [email protected] -1 points 6 months ago

more like "move glacially and declare things as "will not support' so technically we had nothing TO fix!"

[–] [email protected] 11 points 6 months ago* (last edited 6 months ago) (1 children)

I see X11 and Wayland as display protocols that tell to render things on the screen, for example to Desktop Environments like Gnome or KDE Plasma. X11 wasn't originally designed for this purpose, and its codebase is very messy and 'hacky,' which led to the development of Wayland.

X11 Wayland
Legacy Modern
Many issues due to being legacy Many issues due to being Modern
Old New
Stable Experimental

in short.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

Ah, so it's like DirectX11/12? That makes sense! How come it's never (presumably?) used on Windows?

Also...

Many issues due to being legacy

Many issues due to being Modern

Lol.

 


Edit: Okay, looking it up, it's apparent that X11 is not the same thing as DirectX11. Lol.

[–] [email protected] 5 points 6 months ago (1 children)

DirectX is a set of APIs for game and multimedia development on Windows, whereas X11 and Wayland are display protocols that manage how graphical applications are rendered and interact with the desktop environment. DirectX is more similar to Vulkan in terms of providing a low-level API for high-performance graphics rendering or OpenGL.

[–] [email protected] 2 points 6 months ago

I knew what DirectX was; I just thought X11 was an abbreviation for DirectX. Lol.

[–] [email protected] 8 points 6 months ago

it's a newer display server protocol designed to replace X11, focusing on improved security, simplicity, and contemporary display technologies such as multi-display variable refresh rate and HDR (eventually).

[–] [email protected] -1 points 6 months ago (1 children)

it's when devs of a graphics stack just suddenly feel the need to protect your own computer from itself, so they say fuck you to any features that they deem "insecure", including accessibility features (they will claim they fixed this, but it's opt-in per app. old apps will just be completely unusable for some people with special needs.)

But they eliminated tearing on the desktop! woo!!!!

[–] [email protected] 1 points 6 months ago* (last edited 6 months ago)

Ew.

That's unfortunate.