Hacker News new | past | comments | ask | show | jobs | submit login

Before I touch on Wayland and X, a brief detour.

Let's assume Mozilla finishes servo (their browser in Rust). Let's also assume:

- It's faster than Firefox.

- It's safer than every other browser out there.

How do they get people to use it? Those two are not enough. To the user:

- It's different.

- Firefox feels plenty safe.

This is a real problem and Mozilla faces it now. As a result, they're focusing on what they can do with servo which no browser has done before, like superb VR support. In short, they need features to gain users and they recognize that. Marginal gains are not enough to encourage an entire product switch.

Back to Wayland. Aside from the lack of screen tearing, what can we all agree are big wins for the user? I haven't tried it yet (for this reason), but everything I've read suggests that it could be safer, it could be faster, it could bring some more new features, but mostly it's the same shit.

The masses, and this definitely includes the GNU/Linux using masses, need more than the same shit to change because change is tough. They are going to need something killer from Wayland, or another competitor, before they give up on X.




Servo is not a browser, it is a browser engine. To quote the Mozilla Research page about it: "Like WebKit, the Servo project is not a complete browser. It is an experimental project that delivers components that can load, run, and display web sites and applications." Given that, it doesn't make sense to talk about users "…switching from Firefox to Servo."

c.f. https://research.mozilla.org/servo-engines/


I believe Mozilla's strategy is to develop new features in Rust on Servo, and then swap them out into Firefox as they go. That way users don't need to change, since they realized that users never would.


For instance, they wrote WebRender for Servo and ported it to Firefox


I guess it depends on the user, but Wayland is not the same shit for me. The level of jank and screen tearing in X is unacceptable.

I think it’s amusing that that opinion is so common given how bad X is. Mac OS X was developed in the nineties and has a jank-free hardware-accelerated compositor. Windows vista also had one, as well as every windows version after that.

I am certain that I’m not the only end user who notices the difference between smooth animations on those other OSs and what you see on X.

Wayland may be incomplete but it’s obvious that it solves some of these issues.


X is very smooth for me. No tearing or other issues.

It's usually a driver configuration issue if you have tearing.


That is bad news, I do not want screen tearing and I have zero interest in ever fixing driver configurations.


Most people don’t care about animation, but getting their work done. Still, I’m rooting for W.


Scrolling, moving/resizing windows, switching windows/tabs.

None of these need to be animated and even if they are not animated they can be disconcertingly janky under X. Tearing is even worse/more obvious if screens are rotated into a portrait orientation.


I have two 4k monitors with Intel gfx one in portrait, and have no issues unless I run vlc full screen and there is a lot of movement in the scene. The other 99% of the time it just isn’t a problem. I’m only reminded it exists in threads like this.


> Most people don’t care about animation

Then why does every popular desktop/mobile OS/app have UI animations?


Because those are technical gimmicks and nerds are very susceptible to fall for gimmicks. Users? They care about consistency and predictable interfaces that don't change every week. They couldn't care less if a toolkit looks dated. Motif, CDE, Plastique, XP-Style, Aqua, Quartz, Material, it all looks the same to them. Tearing? Users don't see it, because they don't have the fine tuned sensibilities to what technology should do, and how it actually behaves.

Playing a movie produces moving pictures on a monitor? Great!

Tearing? Without telling them, they'll hardly ever notice it.


Mobile has way more of what you call "Users" than what you call "nerds" and they all absolutely love fluid animated UIs and spend literally hours a day swiping away at them.

Users might not consciously call out screen tearing but they absolutely can tell when something runs smoothly. Just look at the reviews for iPhone vs Android devices in the early days when Android felt more like X11 with jank, frame drops and redraw glitches.

Then look how much time and money year on year Google spent fighting that jank. Money well spent.


> Just look at the reviews for iPhone vs Android devices in the early days when Android felt more like X11 with jank, frame drops and redraw glitches.

And the irony is, that early iOS used animations to hide latencies when changing application state. These animations were the cause, why it was considered so smooth.


Yeah. IMO once you see screen-tearing you cannot unsee it.

Then having a tear-free desktop is going to be something you strive for.

I upgraded every part of my setup which I needed to, just in order to be able to run Wayland (via sway), and I have to say I absolutely think it's worth it.


This is kind the objective I think. Wayland in most cases (Gnome and KDE) is simply an implementation detail, and Gnome and KDE runs in both X11 and Wayland.

The end result is, hopefully, less bugs, more security and more performance, however most people wouldn't care anyway (and I think most people doesn't care, for example Fedora uses Wayland by default).

For us using window managers like i3wm the history is different. However in i3wm I am very close to the X11 so there is almost no abstraction, this is why the transition is more painful.


Nobody replying to you seems to catch on that i3 is not the only environment other than KDE and Gnome.

i3 users have sway. Good for them. Now what about every other window manager?


It's worse than that... WM's that people care about will be ported/rewritten (I know I will probably do one). But the "wm" now needs to have much more infrastructure functionality which doesn't really need to be different.


A lot of that is abstracted out od Sway, which aiui is supposed to help alleviate that issue: https://github.com/swaywm/wlroots


yeah, it's weird, a lot of people seem to think Wayland is some back end that you switch out like you would a SQL database. there were people on this site saying switching would take a weekend.

the xmonad dev for example has stated it's flatly not possible to "refactor" the project to use wayland... which means i'm not using wayland.


Indeed; I've used wmii for around 10 years now, and its developers have openly stated they will never support Wayland.


wmii has not been developed in the last five years, no wonder it's not going to be ported.


I use some other WMs that aren't actively developed anymore either, for longer than 5 years. Some software doesn't need constant rewrites.


They might want to consider revising that decision because X is going away. If they don't, wmii will go away with it.


X has been going away for longer that the careers of most people on this site.


At this point maybe even longer than a substantial chunk has been alive.


Says who? X.org will be supported for at least the next 10 years as part of RHEL 8. Not to mention the possibility that someone other than Red Hat could continue supporting it after that time.


It'll be in "hard maintenance mode" meaning bug/security fixes only. Anything new and interesting in the graphics space will be Wayland only. I also believe they intend to deprecate and then remove Xwayland from the graphics stack, at least in releases newer than some flag day in the near future, as Xorg itself is only being maintained for the sake of legacy applications.


I can't help but think that this X deprecation talk from RH is just some chest beating to rally the troops behind Wayland, same as we used to hear from Ubuntu about Mir.


That's how you get people to use your stuff when they would otherwise dig in their heels because "what I have is fine", "muh Unix philosophy", etc. It worked for systemd.


Excuse me sir or madam. Firstly, X11 even in its heyday was often criticized as not being very Unix-philsophy-ish. But I don't think you make a very sophisticated argument when you mock criticism by imitating flawed speech.

I'll continue to use X because I don't find it very broken. That's a problem for you?

I do however have a problem when open source introduces dependencies on buggy software written by aggressive narcissists, so yeah, I'm in the anti-systemd camp, or, put myself there when it started hanging a bunch of my Debian machines at boot when they made the switch. Pulseaudio was similarly garbage.


"What I have is fine" is a perfectly valid reason not to go changing things, IMO.


Ok, this is all true, but none of it is the same as "X is going away".


Most DEs are either already ported to Wayland (Cinnamon, Enlightment), have a porting in progress or plan to port it eventually.

For WMs, it is more uncommon since they're so coupled with X11 specifics that this makes porting harder. However I don't really think it is a problem, if you want to continue using your WM it is fine, it is not that X11 is going away either way.


It isn't just window managers, there are also applications that are close to X11, and many of these don't even work in XWayland, because they break wayland's security model. For example screen shot and screen sharing apps. And even if the developers took the large amount of work to refactor to work with wayland, there isn't any kind of standard for privileged access in wayland, so they would need to use different protocols to implement the functionality for each compositor.


I realize no one reads TFA, but TFA is very relevant since it's all about i3 and sway...


I don't know why people assumed that I never heard or used Sway (or that I didn't read the article). I did all three, and this is why I am saying that the transition from i3wm to Sway is kind painful (ok, my fault for not citing Sway in my phrase, however I did think it was implicit that I used it).

I have tons of scripts that does specific things and are heavily coupled on how X11 works. I need to port them to Sway first.


I know; I replied to the parent because I couldn't reply to multiple comments about sway at once. Sorry for the confusion


Have you tried sway? It's about as close to a drop-in replacement to i3 as we'll get, I think, and my experience with it has been pretty positive.

https://swaywm.org/

it wasn't exactly a drop-in replacement for me, but with a bit of modification I was overall pretty pleased with it, and subjectively it did feel faster.


Unsure if you've seen it before, but I've been using sway [0] as a Wayland-based replacement for i3. Switching the configs took about 15 minutes (and could probably be replaced by a few sed commands). It's been very nice to use all around--snappy, no major issues even with multiple monitors, etc.

[0]: https://github.com/swaywm/sway


> Let's assume Mozilla finishes servo (their browser in Rust). Let's also assume:

> - It's faster than Firefox.

> - It's safer than every other browser out there.

> How do they get people to use it > Those two are not enough. To the user

If Mozilla wanted to take the route of switching people from Firefox to a new browser, they would presumably do it by gradually stopping development of Firefox. This is basically the strategy that Microsoft is taking with Edge, with the obvious difference being that it's a browser that comes pre-installed on a common OS, although I'm not convinced that the strategy would need to be fundamentally different.

That being said, as sibling responses have noted, I think the strategy that Mozilla has been taking has been to just move over components into Firefox itself when they're ready. This has already been done with a few important components, and it seems to be working fairly well.


The masses do not use X directly, they use GTK+ and QT. And those moved to Wayland. Window/desktop managers moved (e.g. Gnome) or have been rewritten (e.g. i3 -> sway). Looks like a success to me (marketing side). Frankly, by your writing it looks like Wayland had been proposed today and needs to make a dent.


Most desktop Linux users aren't using Wayland yet. In fact insofar as sway a good chunk of hardware that is well supported under Linux will never work in sway.

For it to take over it must be shipped by default by all major distros and people need to have time to upgrade after it becomes the default.

This means switching to Debian 10+, any recent Fedora, Ubuntu 20.04+.

Based on this one would expect the majority of users to be using it by 2025

Sway isn't i3 rewritten it's not even the same developers. I3wm is its own active project with their own developers that will continue indefinitely.


I agree with everything you've said. My point was about who needs to be convinced to use Wayland (not the end users). People will naturally get Wayland when they update their distribution and yes, it will take years.


> Aside from the lack of screen tearing, what can we all agree are big wins for the user?

From what I remember, Wayland makes it easier to mix 4K and HD displays without pain.


From my narrow perspective, Wayland's key feature/bug is that it may break fluxbox, which I have used for >17 yr.

As long as it implements X, I don't mind, but my understanding is that the change is a breaking one.


Mine are 1) Xmodmap support/migration 2) breaking imagemagick's import (screenshotting) making my shortcut for OCR'ing text on the screen break.

It seems Wayland isn't going to be the default in Ubuntu 20.04 LTS, but if it wasn't for the risk of Wayland I would be on the non-LTS releases. At least Guix exists now so staying on LTS (released every 2 years) isn't that bothersome in terms of easily avoiding out-of-date software.


> my shortcut for OCR'ing text on the screen

Would you be willing to share that? Pretty please?


I don't have the exact command at hand, but it just uses tesseract. Something like "import - | tesseract <whatever options for language and page format> | xclip". The accuracy is not amazing by any means.


Great question to be asking. I agree users are indifferent, but there are two ways in which this applies:

(1) They aren't going to go out of their way to switch from X11 to Wayland. Many users don't even know (or care) what those two things are. Or they do but they don't see the required effort as justified.

(2) Users also aren't going to out of their way to change the default that their Linux distribution supplies. Not unless there are issues that are bad enough to warrant expending that effort. If it defaults to X11, they'll use X11. If it defaults to Wayland, they'll use Wayland.

The major risk I see to Wayland adoption is if distros play it wrong and default to Wayland before it's ready for prime time. If that happens, then users will get a bad taste in their mouth, and their indifference will get replaced with a preference against Wayland. And it will be hard to erase that preference because even if you fix all the issues, they will still remember that time when they tried it and it caused them problems.


Depends also on the type of distribution audience.

Fedora has been defaulting to Wayland for several releases now. RHEL 8 also defaults to Wayland.

However, these distributions are probably not used by users, who consider their spacebar heating critical to their workflow.


> How do they get people to use it?

call it Firefox v100 and automatically update


I think WebRender (the FF-integrated name of Servo) didn't improve Firefox VR support in any big way. VR was pretty good in Firefox already and WebRender mostly impacts rendering of HTML content like fonts, images, and CSS. The lower level tech that VR depends heavily on is WebGL. The next big jump in that department looks to be WebGPU but that's still in early stages.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: