News for hackers. Stuff that matters.
Re:Ask HN: When do you think Wayland will be broadly supported? by malcolmstill on Saturday July 30, 2022 @09:23AM (#32286601)
The Wayland protocol is fine and provides the modern features expected (“every frame is perfect”).

But X is two things: a protocol and a de facto standard server that window managers could easily interface with.

I wonder if we’d be in a different place if Wayland as well as offering the protocol also offered a de facto standard server (not simply a reference implementation in weston) with a window manager protocol that more or less forwards on client <-> server messages that a window manager would care about. Client buffers shared with the server can also be shared with the (separate) window manager process which then shares its composited buffer with the server for final rendering.

Re:Ask HN: When do you think Wayland will be broadly supported? by edflsafoiewq on Saturday July 30, 2022 @09:35AM (#32286701)
It seems like the problem with Wayland is things that used to be solved by merging some code into X are now a big social synchronization problem, ie. get everybody to agree on a protocol.
Re:Ask HN: When do you think Wayland will be broadly supported? by dolni on Saturday July 30, 2022 @09:42AM (#32286758)
Yes, that's a large part of it.

What we needed was a server and a standard library. Not a barebones protocol for everyone to implement with a different set of bugs.

wlroots showed up too late to the game. Now we have GNOME, KDE, wlroots, and maybe some other implementations floating around out there.

Re:Ask HN: When do you think Wayland will be broadly supported? by kaba0 on Saturday July 30, 2022 @11:06AM (#32287351)
I believe it is a more fundamental “problem” due to the bazaar vs cathedral model. The linux ecosystem simply can’t just say X or Y will be the way forward like apple can, so some inefficiency is inherent in standardization.
Re:Ask HN: When do you think Wayland will be broadly supported? by Crysstalis on Saturday July 30, 2022 @09:49AM (#32286798)
Doing so requires writing a server and library that everyone can agree on, which probably will not happen and is probably one of the main reasons they did not do it in the first place.
Re:Ask HN: When do you think Wayland will be broadly supported? by dolni on Saturday July 30, 2022 @09:51AM (#32286813)
Despite the whining of anti-systemd people, it worked for systemd.

I fail to see why it would not have worked for Wayland.

Re:Ask HN: When do you think Wayland will be broadly supported? by Crysstalis on Saturday July 30, 2022 @10:10AM (#32286937)
Please see one of my other replies here. When implementing an X11 compositor those parts were already done separately anyway, and this is actually the entire point of X11 compositing. So the trend with X11 was already going away from the direction that you suggest.

There is a remote possibility that some person comes along and builds a server and library that will work for everybody. But such things would probably be very large, much larger than systemd. Actually, the closest thing to what you describe is probably a web browser and HTML5, but building a desktop on that seems to be not popular aside from Chrome OS.

Re:Ask HN: When do you think Wayland will be broadly supported? by Crysstalis on Saturday July 30, 2022 @09:39AM (#32286731)
You still had the same problems in X. It was a bad idea to try to get protocol code merged into X unless you could get everyone to agree on it. Because ultimately, in either case it is still the same set of people who will be using any new protocols.
Re:Ask HN: When do you think Wayland will be broadly supported? by Crysstalis on Saturday July 30, 2022 @09:33AM (#32286681)
Somebody could design that but it is not clear why you would. You do not need a separate process for that.