this post was submitted on 25 Dec 2024
23 points (78.0% liked)

Linux

5505 readers
311 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 2 days ago (14 children)

Finish the transition from X to Wayland?

[–] [email protected] 6 points 1 day ago* (last edited 1 day ago) (4 children)

I’m not a super-savvy user. Can someone explain to me why I should care about X vs Wayland? Everything seems to work with X, and as I’ve just read, many programs don’t support Wayland. So will this transition just lead to lots of broken software once someone decides they won’t ship with X by default anymore?

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

X is broken and the people who understand it at a deep level are pretty much all dead. What's worse is that the code base is massive and doesn't follow modern code practices.

Wayland is different as there is no codebase. It is simply a set of standards that allow apps to connect to a desktop.

The X model:

App -> window manager -> X server -> hardware

The Wayland model:

App -> desktop -> hardware

This sounds like it wouldn't be that big of improvement but unlike X Wayland is designed to take advantage of the modern GPU horse power. X was originally designed to run on UNIX mainframes so to make it run like it does took a bunch of Jacky work arounds.

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

Many of the people that maintain X are the same people working on Wayland implementations. They're pushing people towards the new thing because it makes their lives easier, and that's also the nature of engineer driven product development, it's not going to consider all the edge cases underserved from replacing legacy software because there's nobody to keep them in check.

[–] [email protected] 4 points 19 hours ago

There are people working on X?

[–] RoyaltyInTraining 13 points 1 day ago (2 children)

Wayland is basically the direct successor to X11. It basically fixes tearing, makes HDR possible, makes scaling way better, and is all-round just better prepared for the future. I've been using it for years without much trouble. The only issues I keep having are scripts which expect x11-specific tools to be there, but that seems to be quickly solving itself while people realize that x11 is quickly loosing support. If you want to try it, I recommend setting up a fresh installation of a distro with KDE, Gnome, Sway, or Hyprland, just to make sure all the right dependencies are installed.

[–] [email protected] 8 points 1 day ago

Wayland is basically the direct successor to X11

Being pedantic. Wayland is a replacement not a successor. It's for those X does it, why not Wayland, situations.

[–] [email protected] 1 points 1 day ago (1 children)

Wayland is nothing like X and definitely isn't a successor

[–] [email protected] 7 points 1 day ago* (last edited 1 day ago) (2 children)

@bleistift2 @addie Wayland will be the only display server, it's impossible to deny it, for example KDE defaults to Wayland & Gnome is 100% detached from X11, the deletion of X11 is coming in the future
plus, X11 is full of spaghetti code and no one, and I mean no one, supports it anymore, Wayland came to correct that, plus if you have a laptop with a hybrid GPU, you must switch manually between for example Nvidia & Intel, on Wayland everything is done automatically, etc

[–] [email protected] 3 points 1 day ago

Wayland isn't a display server, it is a protocol. There is no source code for Wayland only a set of standards.

[–] [email protected] 2 points 1 day ago* (last edited 1 day ago)

if you have a laptop with a hybrid GPU

That is something I really care about. Thanks!

[Edit: I just checked. Something is handling the switch automatically on my system]

[–] [email protected] -5 points 1 day ago (1 children)

You basically shouldn't until you are forced to move. Almost all of the improvements so far are in the internal architecture.

You might notice some tiny differences if you switch, like logging in doesn't show a black screen at any point, and window choosers when screen sharing show a (totally broken) grid of previews instead of a plain list of window titles.

Hopefully when X is fully dead (give it another 10 years) we'll see some actual improvements, e.g. RDP-style remote desktop, good support for multi-monitor, HDR, HiDPI, etc.

[–] [email protected] 5 points 1 day ago

I'm not sure if you have been paying attention but Wayland has come very far in the last year or two. It has XDG portals for screen sharing, HDR (early support), display scaling and plenty of other stuff.

load more comments (9 replies)