53
What is wayland? (lemmygrad.ml)
submitted 6 months ago by nephs@lemmygrad.ml to c/linux@lemmy.ml

I know I could duckduckgo it, but I think we're at the stage at lemmy where there's space to ask basic questions.

What is it? Why does it matter? Users at which lunix proficiency level should care about it? Is it just yet another competing standard or is x actually going to die?

you are viewing a single comment's thread
view the rest of the comments
[-] take6056@feddit.nl 12 points 6 months ago

Explained by someone that doesn't know the technical side super well.

1: It's a new protocol for displaying. The main difference from X11, as I understand it, is a simplification of the stack. Eliminating the need for a display server, or merging the display server and compositor.

2: Some things impossible (or difficult) with X11 are much better supported in Wayland. Their not necessarily available, as the Wayland protocol is quite generic and needs additional protocols for further negotiation. Examples are fractional scaling & multiple displays with differing refresh rates.

Security is also improved. X11 did not make some security considerations (as it is quite old, maybe justifiably so). In X11 it's possible for any application to "look" at the entire display. In Wayland they receive a specific section that they can draw into and use. (This has the side-effect of complicating stuff like redshifting the screen at night, but in my experience that has fully caught up).

3: If you're interested, are in desktop application development (but I have no experience in that regard) or have a specific need for Wayland.

4: I think X won't die for a long long time if "ever". I'm not super familiar with desktop app development, but I don't think it requires more work to keep supporting X.

On the other hand, most of the complaints about Wayland I've heard were ultimately about support. At some point, when you're a normal user, the distro maintainer should be able to decide to move to Wayland without you noticing, apart from the blurriness being gone with fractional scaling.

[-] Vorter@lemmy.zip 8 points 6 months ago* (last edited 6 months ago)

I’m not super familiar with desktop app development, but I don’t think it requires more work to keep supporting X.

It doesn't depend that much on desktop application developers, but on GUI toolkit developers. It does need more work for GTK and Qt devs to support both. But the outcome will likely depend not that much on ammount of work as on "political" decisions. RedHat are now somewhat actively forcing Wayland in their distros. They also have their impact on GNOME, so it's not impossible that due RedHat's decision GNOME and then GTK (that is now developed mostly by GNOME developers, despite being GIMP Toolkit initially) will ditch X "just because".

End user Application developers usually don't deal much with Wayland or X — they just use toolkits (GTK or Qt for the majority), and toolkits do all the under the hoof work for them.

this post was submitted on 20 Dec 2023
53 points (87.3% liked)

Linux

45574 readers
722 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