Live data from Hacker News

Wayland is not ready as a 1:1 compatible Xorg replacement just yet

gist.github.com

51–60 of 419 posts

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#51
post #23

This is absurd. Author claims that "Wayland breaks automation software". They then use the "py37-autokey" tool as an example. Autokey uses Xorg APIs for key handling. Of course this is not going to work on Wayland since it's written for Xorg and not for Wayland. The author is probably the type of person that buys an AMD graphics card, and then complains that AMD "breaks" software that's based on CUDA...

Is py37-autokey-for-Wayland possible?

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#52
post #43
post #19

> Wayland solves no issues I have This is a common sentiment, but it is kind of funny. Because software engineers working for companies will know the struggle of trying to justify reducing technical debt, improving security practices, etc. but fail to see why these things are useful to them personally when the tables turn. Wayland indeed “breaks a lot of shit” but it’s not an accident or done due to incompetence. Als…

> [...] reducing technical debt, improving security practices, etc Reducing technical debt by rewriting everything from scratch (almost?) never works. It's the baby and the bathwater. It's the sort of thing that seems attractive to junior developers, but more seasoned folks know that the legacy system contains years of embedded knowledge and workarounds for "real world" issues. The new, conceptually beautiful system…

https://www.joelonsoftware.com/2000/04/06/things-you-should-...

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#53
post #32

I've been running GNOME Wayland full-time for somr three or four years now. It works just fine, with some small exceptions. AMA.

Any screen recording recommendations? Most I tried didn't work well (just didn't work, or broken keyboard shortcuts). I was a big fan of Kazam and Peek.

I'm using an OBS branch (there's an open pull request). I'm not a fan of how it expects me to guess the resolution of the canvas (and in GNOME you can't find out the size of a window), but that's not really the fault of Wayland.

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#54
post #43
post #19

> Wayland solves no issues I have This is a common sentiment, but it is kind of funny. Because software engineers working for companies will know the struggle of trying to justify reducing technical debt, improving security practices, etc. but fail to see why these things are useful to them personally when the tables turn. Wayland indeed “breaks a lot of shit” but it’s not an accident or done due to incompetence. Als…

> [...] reducing technical debt, improving security practices, etc Reducing technical debt by rewriting everything from scratch (almost?) never works. It's the baby and the bathwater. It's the sort of thing that seems attractive to junior developers, but more seasoned folks know that the legacy system contains years of embedded knowledge and workarounds for "real world" issues. The new, conceptually beautiful system…

There are also cases where the embedded knowledge and workarounds collected over years are a problem and can be solved in better ways by nuking the whole section. It's a 36 years old project after all. But it takes deep understanding of the Xorg system to tell which case it is... which I expect most people on HN do not have.

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#55
post #8
post #3

This is completely the opposite of my experience. I've been running Wayland on Pop OS since last year and it has been great. X11 had horrible tearing on external rotated screens - Wayland fixed that. Colour temperature changing works. Screensharing works just fine on Chrome and Firefox. I use it every day. Screen recording works with Gnome's built in recorder. I'm sure there are a few esoteric bits which don't work -…

Not to mention that mixed DPI screens work! I'm using Ubuntu 20.04 on an XPS13 and can finally have different scaling factors between the internal HiDPI screen and external normal DPI screen without awful issues.

That's huge! It just might get me to try out Wayland again.

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#56
post #41
post #20

Earlier quoted context omitted.

> Firefox Firefox is quite buggy on Wayland, you need to set up some environment flags before launching it, and there's a trove of bugs still open for it. https://bugzilla.mozilla.org/show_bug.cgi?id=635134 > I'm sure there are a few esoteric bits which don't work Like cut and paste between different kind of applications, which is an horrible user experience tbh.

Sorry, that's not my experience. I installed FF and launched it. No fiddling required. Everything works.

I think it's mostly buggy when using an external monitor with a different DPI (internal 4k with an external 1080p, in my case).

With the environment flag, it works pretty well.

On Gnome, plugins can cause issues. hidetopbar, for example, had an issue with Firefox when the screens are stacked vertically.

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#57

My biggest issue with Wayland is how it makes window managers a thing of the past. i3, xmonad, elightenment, ctwm, WindowMaker and dozens of others appeared only because X made it easy. Wayland makes developing window managers difficult again.

Sway exists (an almost identical i3 clone) and wlroots makes it easy for anyone to make a WM

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#58
post #19

> Wayland solves no issues I have This is a common sentiment, but it is kind of funny. Because software engineers working for companies will know the struggle of trying to justify reducing technical debt, improving security practices, etc. but fail to see why these things are useful to them personally when the tables turn. Wayland indeed “breaks a lot of shit” but it’s not an accident or done due to incompetence. Als…

The author obviously hasn’t tried plugging a high dpi monitor in to a laptop if they don’t understand what’s wrong with X. Wayland solves so many of my problems and so far the only thing it breaks is screen capture in electron apps. And not even all electron apps. Discord has no problems.

> The author obviously hasn’t tried plugging a high dpi monitor in to a laptop if they don’t understand what’s wrong with X

This is the only actual, honest, problem that I've ever seen about X. Still, it does not seem a really fundamental problem, it must surely be solvable from within X? Do we really need a full-rewrite of X, unstable, with new bugs and less functionalities? (many of us don't use "desktop" applications and it will break screen capture tools, and other things that are dear to us like xwit, xdotool and the like). Just for that silly mixed-resolution screen problem? I have observed this problem, but to me is a minor, mostly irrelevant nuisance. Losing xwit would be a major problem.

Re: Wayland is not ready as a 1:1 compatible Xorg replacement just yet

#59
post #43
post #19

> Wayland solves no issues I have This is a common sentiment, but it is kind of funny. Because software engineers working for companies will know the struggle of trying to justify reducing technical debt, improving security practices, etc. but fail to see why these things are useful to them personally when the tables turn. Wayland indeed “breaks a lot of shit” but it’s not an accident or done due to incompetence. Als…

> [...] reducing technical debt, improving security practices, etc Reducing technical debt by rewriting everything from scratch (almost?) never works. It's the baby and the bathwater. It's the sort of thing that seems attractive to junior developers, but more seasoned folks know that the legacy system contains years of embedded knowledge and workarounds for "real world" issues. The new, conceptually beautiful system…

> Perhaps we did need a new display server, perhaps Wayland is conceptually better than Xorg, but it'll be many years before it reaches feature parity, if it ever does.

I haven't followed the development at all but, Xorg is 16 years old and Wayland is 12. It seems counterintuitive that feature parity could not be attained in this time unless it's for philosophical reasons.

Edit: Thanks for pointing out that Xorg is actually much older. My argument indeed doesn't hold.

Post reply on HN