Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is a recurring pattern I keep seeing come up again and again with open source / Linux. I still don’t see any real benefits to switching to Wayland as a user other than it being a Shiny New Thing. In fact, this is a net negative for me.

When I previously tried Wayland, my DE wasn’t compatible and most of my software had to be run through their XWindows compatibility layer and required myriad workarounds and tuning just to get a basic desktop environment running. This NVIDIA hack is yet another example.

It still felt like alpha quality software even though it has been in development for 10 years(!) now. Why would users ever not stick with something that is stable and just works?



For fractional scaling or multiple monitors with different DPIs, I've found Wayland to be much smoother than X11. And with GNOME, I realize this isn't 100% related, but touchpad support is way better on Wayland.

Overall Wayland is certainly more janky than X11 right now, but the better DPI and multi-monitor support makes me think that it's worth the effort in the long run.

But definitely if you are satisfied with X11 then might as well stick to it.


I agree in general that too many things pop up because people want change without good reason. But Wayland is a highly needed replacement, not just in my opinion, but according to the X.org developers themselves. See e.g. this [1] talk by someone who has worked on both X.org and Wayland.

> Why would users ever not stick with something that is stable and just works?

As a user, I switched to Wayland 1.5 years ago for two reasons. The first is that Wayland has way better performance than X. It solves some long-standing and highly irritating issues with e.g. screen-tearing that I and others have been experiencing with X. The second is security. Wayland is nearly a prerequisite for proper sandboxing of GUI apps, as X apps can all keylog each other, screen-record each other, inject keys into each other, and so on, without much restrictions. Since Wayland is backwards-compatible with X via XWayland, which these days has quite good performance, I haven't yet run into an X-only app that didn't just work.

As for the issues with nVidia, that's mostly due to nVidia implementing their own Wayland backend (EGLStreams) that is different from what every other graphics card driver uses (GBM), resulting in every desktop environment (GNOME, KDE, etc.) having to implement nVidia support separately from generic Wayland support. The single biggest factor holding Wayland back at the moment is nVidia; my experience is that currently Wayland already works way better than X.org if you have an Intel or AMD card, but is highly broken on nVidia.

The second factor holding it back would be that the number of window managers (compositors) for Wayland is lower than for X, currently the main ones are GNOME, KDE, and Sway. But this is changing fast: when I first switched only GNOME worked well; now both KDE and Sway are stable and fully usable on Wayland; and thanks to wlroots, a lot of new window managers for Wayland have popped up [2] and should mature over time.

[1]: https://www.youtube.com/watch?v=RIctzAQOe44

[2]: https://github.com/swaywm/wlroots/wiki/Projects-which-use-wl...


Why did Nvidia decide to do that anyway? I understand they have a history of being annoying on Linux, but I'm having trouble seeing what value there is in implementing this with your own backend.


Minimum effort. On Linux they are basically only interested in Cuda and Mining working.


Did they eventually fix the story around being able to make screenshots and screen recordings? I haven't been following Wayland much because there didn't seem to be much interest in enabling basic functionality like this early on.


Yes. GNOME has its bundled screenshot tool, and Zoom supports screen recording on GNOME/Wayland. Sway has grim + slurp for screenshots, and wf-recorder or wlrobs for screen recording.

However, one difference between X11 and Wayland, is that the role of the compositor (window manager) is much larger in Wayland. Thus, I believe it is up to the compositor to offer an API for features like this in Wayland, and the API may differ between compositors. In practice, GNOME has done their own thing; KDE and Sway collaborate on protocols, and are partly compatible; nearly every other compositor is based on Sway's wlroots, and should be compatible with Sway.

[1]: https://github.com/swaywm/sway/wiki


I've been using wayland for 4 years. It is stable and just works.


I have less screen tearing in wayland/sway compared to X11/compton FWIW. Also everything being newer means configuration is easier to understand. In X11 there are too many tool combinations and it often requires googling and fiddling to change any configuration.


Most people with your kind of posts either never bothered to read what Wayland is or what it does, or, are employed by Law enforcement.


I kinda get the first bit, but I'm not sure what you meant by employed by law enforcement? Does the police have stereotypes about Linux software?


I think it's referring to a stereotype that police officers are not the brightest, therefore insulting the poster by bringing their intelligence into question.


It may be a reference to Wayland having better security than X, since any X apps can key log, screen capture, etc. each other while this is limited in Wayland.




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

Search: