Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active July 27, 2024 16:03
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.

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.

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.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

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

@Consolatis
Copy link

Consolatis commented Jul 26, 2024

There are wayland compositors out there that refuse to implement or depend on dbus.

@joncox123
Copy link

joncox123 commented Jul 26, 2024

Hello, for a typical software developer, HPC user, engineer, scientist or even desktop user, what problems does Wayland solve that Xorg does not? Many people seem to believe that X11 and Xorg worked well for many decades, and still work well. Many other people (OK, mainly Reddit) say Wayland is newer, and therefore better...like the Ford Edsel, Apple Newton or New Coke--and so only Luddites and people of low intelligence would think otherwise. However, X11 has the added benefit of backward compatibility with decades of software, ability to run individual apps remotely (e.g. through a VPN or LAN) and even provides good performance for 3D and games.

Also, why are any questions about Wayland generally met with such extreme hostility? Is it not fair to ask why Wayland is better than X11, or is the question itself somehow invalid?

A lot of smart and talented people spent years developing X11 and its decedents. If it has become too complex, could it not be simplified instead of redesigning and rewriting from scratch? If its too complex, why does it seem to work so well?

However, there must be a good reason why so many distros are in a desperate panic to drop Xorg for Wayland, even though users aren't really asking for it, by and large. Some people say it is because RedHat is trying to break into the automotive market, but I'm not a business person, so I don't know. What about BSD distributions? If RedHat is driving Wayland, does that put FreeBSD at a disadvantage? As a consumer and not a RedHat stockholder, does that benefit me?

I tried to run the Python IDE Spyder and make some screen recordings of my app, but neither would work on Wayland, so I went back to Xorg. Performance seemed as good or better, as well. However, what does GitHub say about the matter?

@alfredon996
Copy link

There are wayland compositors out there that refuse to implement or depend on dbus.

This is a problem, the desktop requires some form of IPC, and the standard adopted since 20 years ago is DBus.

Hello, for a typical software developer, engineer, scientist or even desktop user, what problems does Wayland solve that Xorg does not?

Wayland does the same as Xorg, but in a more secure, correct and efficient way.

X has the added benefit of backward compatibility with decades of software

Wayland with XWayland has the same backward compatibility, and that will get even better as more graphical toolkits and libraries are ported to Wayland.

ability to run apps remotely (e.g. through a VPN or LAN)

That's very inefficient in general, since most X Window Managers don't use X11 primitives any more, so you are better using RDP or VNC anyway.

@joncox123
Copy link

ability to run apps remotely (e.g. through a VPN or LAN)

That's very inefficient in general, since most X Window Managers don't use X11 primitives any more, so you are better using RDP or VNC anyway.

Is there any Wayland equivalent of the X11 client/server architecture, where you can render an app remotely without using XRDP and VNC? IT at work doesn't allow RDP, VNC or similar, but they do allow X11 forwarding over SSH. Also, ocassionally its useful to fire up a GUI app with X11 on an HPC system, which certainly won't be running a full GUI login session and RDP-style solution.

In an ideal world, I suppose a Wayland app could somehow fire up its own RDP server just for that app and its windows. It could then connect to my local Wayland client over the network, without needing a full-blown Wayland system running on the remote computer where the app is running. Point being, the basic concept of remotely running a single app and forwarding just that app to a local terminal still has utility in 2024. The VNC and RDP solution can be a bit cumbersome in certain situations.

My concern is that Linux is continuing to move away from its heritage of a multi-user, client/server architecture (for lack of a better term) and toward the Windows 8 methodology of simplified, tablet-inspired interface, local apps only and so forth. I think the UNIX (and Linux) pioneers of the 60s - 90s had some wisdom in many of their design choices. Perhaps we can recognize some of this wisdom and build on it with modern approaches?

@alfredon996
Copy link

Is there any Wayland equivalent of the X11 client/server architecture, where you can render an app remotely without using XRDP and VNC?

There is waypipe: https://www.mankier.com/1/waypipe

My concern is that Linux is continuing to move away from its heritage of a multi-user, client/server architecture (for lack of a better term) and toward the Windows 8 methodology of simplified, tablet-inspired interface, local apps only and so forth.

I don't think so, from a server/enterprise perspective, Linux can do the same things as in the 90s; what we are seeing is more attention to the desktop, especially on long neglected problems that don't exist any more on proprietary platforms.

@joncox123
Copy link

Read this blog post about the long standing problems with Wayland for scientific and engineering users. I think it says it very well.

https://blog.tenstral.net/2024/01/wayland-really-breaks-things-just-for-now.html

There are people who program computers to perform computations, like scientists and engineers, and then there are people who program the supporting software, which is like the infrastrucure or the plumbing. Unfortunately, they often don't overlap, which is why they don't see eye to eye.

I just want my plumbing to work and give me water in the way I need it. I don't really care if the pipes were made with the correct "philosophy". It seems the plumbing developer camp is just developing plumbing for the love of pipes.

@Consolatis
Copy link

Consolatis commented Jul 26, 2024

There are wayland compositors out there that refuse to implement or depend on dbus.

This is a problem, the desktop requires some form of IPC, and the standard adopted since 20 years ago is DBus.

Even though I'd not use a word as strong as "requires" but most traditional desktop environments indeed use IPC in form of dbus. But a wayland compositor is (usually) not a desktop environment.

I just want my plumbing to work and give me water in the way I need it. I don't really care if the pipes were made with the correct "philosophy". It seems the plumbing developer camp is just developing plumbing for the love of pipes.

Well, keep using X11 then. Nothing wrong with that.

@joncox123
Copy link

joncox123 commented Jul 26, 2024

I just want my plumbing to work and give me water in the way I need it. I don't really care if the pipes were made with the correct "philosophy". It seems the plumbing developer camp is just developing plumbing for the love of pipes.

Well, keep using X11 then. Nothing wrong with that.

I plan to, except it seems the decision is being made for me as the distributions are trying to kill off Xorg. In other words, they are saying that I'm free to use what I want, meanwhile they are waiting in a dark alley with a 6 inch knife to stab Xorg in the neck. Ubuntu and Red Hat are chasing SmartTV, automotive infotainment and tablet riches and engineers and scientists are just standing in the way.

Unfortunately, I'm starting to come to the conclusion that Windows with WSL is the best choice for desktop, especially for engineering and scientific users.

@aki-k
Copy link

aki-k commented Jul 26, 2024

Also, why are any questions about Wayland generally met with such extreme hostility?

It's tribalism. I was banned from Fedora KDE SIG Matrix channel after questioning and criticizing their decision to remove Xorg for Fedora 40 Plasma spin. They were giving me a runaround of the reasons. Finally they said that they are disabling the Plasma on Xorg session, while not removing the Xorg packages.

Somebody even suggested I rebuild Plasma: > Justin: "You're always free to compile any software you want on your own system."

https://pagure.io/fedora-kde/SIG/issue/347

(I think Justin is Justin W. Flory, working for Red Hat and is part of the Fedora Code of Conduct Committee, because he was in the channel interacting with me.)

Justin didn't reply to any of my e-mails.

The Fedora FESCo thankfully ran over the KDE SIG decision.

https://pagure.io/fesco/issue/3165

You can use RHEL 9 and Rocky Linux 9 to run Xorg until year 2032.

@dm17
Copy link

dm17 commented Jul 26, 2024

myownfriend

No shot of that happening lol Also gotta love that everyone is asking for one Wayland implementation like Xorg yet you're suggesting that people make another implementation or fork of Xorg lol

That's only because someone in this thread talked about forking it. I don't see why it would need to be a fork and not contributed back upstream sooner or later.

Oops I now realize who I'm replying to... Someone who is just about throwing a wrench into any set of moving gears he can find. So consistently negative.

@dm17
Copy link

dm17 commented Jul 26, 2024

https://blog.tenstral.net/2024/01/wayland-really-breaks-things-just-for-now.html

And I notice he is immediately brigaded by "commenters" starting with the same old tropes: X11 is an absolute "monstrosity"! Yet these are the same folks who are on the attack when anyone doesn't immediately submit to systemD - an init system with 1.3 million lines of code. While xserver has 880k! An init system vs a graphical system with loads of features! More features than its cutting edge successor that's been in development for 15 years! It is interesting how people love complaining about the skyrocketing mental health problems - yet refuse to consider that mental health issues have potentially impacted their rationality.

@joncox123
Copy link

joncox123 commented Jul 26, 2024

https://blog.tenstral.net/2024/01/wayland-really-breaks-things-just-for-now.html

And I notice he is immediately brigaded by "commenters" starting with the same old tropes: X11 is an absolute "monstrosity"! Yet these are the same folks who are on the attack when anyone doesn't immediately submit to systemD - an init system with 1.3 million lines of code. While xserver has 880k! An init system vs a graphical system with loads of features! More features than its cutting edge successor that's been in development for 15 years! It is interesting how people love complaining about the skyrocketing mental health problems - yet refuse to consider that mental health issues have potentially impacted their rationality.

Back in the old days, like before MBAs figured out how to turn open source into commercial software (e.g. Red Hat and many others), Linux was intended as a free UNIX replacement for servers and workstations, with substantial embedded capabilities to boot. Now certain distributions, like Ubuntu and Red Hat are selling services like Ubuntu Pro or RHEL. They see the future of their market growth in Smart TV, automotive infotainment and other consumer-facing embedded or mobile devices. To this end, they are abandoning the workstation market, which has been cornered by Windows NT (now Windows 11). But they don't want to admit this because it is pissing off a large segment of the Linux user base. That's why they have to force Wayland on us while killing off the competition. Then they will give us a choice in windowing systems like Russians have a choice when they vote for president.

RedHat needs single window isolation to run in automotive because security and isolation between apps is extremely important to automotive OEMs.

Also, who needs a standardized DE/Compositor when each big automotive company wants to roll their own custom look and feel anyway?

Wind River systems tried to break into automotive for many years, but the vehicle companies want to avoid vendor lock-in. So RedHat sees their advantage as being an open standard without vendor lock-in, whether that's really true or not.

Either way, I can see the writing on the wall. We are approaching the second death of the UNIX workstation. First it was Sun, SGI, DEC and IBM/AIX and now it's X11/QT/Tk/POSIX on Linux.

My company pays for literally hundreds of RHEL workstation and server licenses, but regardless, publicly traded companies like RHEL always have to expand into the next big thing. It's grow at all costs or be eaten by Wall Street.

@joncox123
Copy link

joncox123 commented Jul 26, 2024

By the way, if you haven't tried WSL from Microsoft lately, it has really come a long way. It was painless to install Ubuntu 22.04 with AMD ROCm and PyTorch. WSLg supports X11 and Wayland with vGPU acceleration. The best part is that you can run everything natively in one OS, whether Windows, X11 or Wayland.

For my time and money, this seems like the best solution on the market for a workstation. Definitely worth a couple hundred bucks for a license.

@Monsterovich
Copy link

Monsterovich commented Jul 26, 2024

@myownfriend

It's the Reference Compositor. It's the Xorg equivalent.

Bullsh*t.

They're compatible with Wayland and X11 clients actually. They also compatible with applications that use Portals. There's a lot they're compatible with. People aren't writing forks of their software that run in each compositor.

No, In Xorg I can just take xfwm4 and replace it with any other window manager and do the same with any other DE component. In Wayland this is not possible. Not to mention that there are no unified protocols (and their implementations) for recording video from the screen. The only proper way is to have the graphical server do the screen recording, everything else is crutches.

Should I remind you that in Xfce4-whiskermenu you still can't do resize because it doesn't work in Wayland.

@alfredon996
Copy link

No, In Xorg I can just take xfwm4 and replace it with any other window manager and do the same with any other DE component. In Wayland this is not possible.

This is like Wayland wanting to repeat the same flaws of Xorg. Why would you want that? However, it's possible to separate shell components from the compositor using private Wayland protocols.

Not to mention that there are no unified protocols (and their implementations) for recording video from the screen.

There are, they are called Portals.

@Consolatis
Copy link

However, it's possible to separate shell components from the compositor using private Wayland protocols.

Which is one of the most problematic things in the current wayland ecosystem. I'd prefer to use the panel I want with the compositor I want. That means a shared protocol for window and workspace controls like ext-foreign-toplevel-management and ext-workspace.

@Monsterovich
Copy link

@alfredon996

This is like Wayland wanting to repeat the same flaws of Xorg. Why would you want that?

Interchangeability is not a flaw. I want this because it's the right application design. In such an ecosystem, you have more choices.
The Wayland inventors thought of themselves as "MS Windows/Redhat" corpo-overlords, where everything will be hardcoded in their monolithic GNOME OS. That's why Wayland is so f*cked-up.

There are, they are called Portals.

Nah, crutches are not an option. Stop proposing such imbecilic solutions.

@alfredon996
Copy link

Which is one of the most problematic things in the current wayland ecosystem. I'd prefer to use the panel I want with the compositor I want. That means a shared protocol for window and workspace controls like ext-foreign-toplevel-management and ext-workspace.

True, anyway at some point all these protocols will be adopted by most compositor (maybe except for Gnome), even if they are not made stable.

The Wayland inventors thought of themselves as "MS Windows/Redhat" corpo-overlords, where everything will be hardcoded in their monolithic GNOME OS.

There is not only Redhat, there is Canonical, KDE, Sway… Most people involved in these projects/companies agree that X11 needs a replacement.

Nah, crutches are not an option. Stop proposing such imbecilic solutions.

They are crutches because they are based on DBus? Or is there another reason?

@Consolatis
Copy link

Which is one of the most problematic things in the current wayland ecosystem. I'd prefer to use the panel I want with the compositor I want. That means a shared protocol for window and workspace controls like ext-foreign-toplevel-management and ext-workspace.

True, anyway at some point all these protocols will be adopted by most compositor (maybe except for Gnome), even if they are not made stable.

They aren't even being accepted into staging. They just idle around for more than 3 years.

@Monsterovich
Copy link

@alfredon996

There is not only Redhat, there is Canonical, KDE, Sway…

So, it's the corporations... which want to replace Xorg with a piece of crap that doesn't work properly. It's absolutely worth looking at how Wayland works with KDE. So much effort to get a buggy & more primitive implementation of Xorg, but only nailed to their DE infrastructure. Furthermore, they will now have to maintain not just DE, but their own graphical server. Only a bunch of brain-dead corpo-people with tons of resources (which most DEs don't have) who wanted to invent GNOME OS or such could come up with such an architecture.

Most people involved in these projects/companies agree that X11 needs a replacement.

In the entire existence of this gist, no one has ever been able to give a really important reason for it. Just some autistic bullsh*t taken from their heads. The actual reason is NIH-syndrome. Period.

They are crutches because they are based on DBus? Or is there another reason?

Yes, and because screen-casting is a feature of a generic graphical server (which Wayland doesn't have). It should not be related to DE in any way and should work even with a blank framebuffer with zero effort from the DE developer.

@Monsterovich
Copy link

Monsterovich commented Jul 26, 2024

@Consolatis

Which is one of the most problematic things in the current wayland ecosystem. I'd prefer to use the panel I want with the compositor I want. That means a shared protocol for window and workspace controls like ext-foreign-toplevel-management and ext-workspace.

True, anyway at some point all these protocols will be adopted by most compositor (maybe except for Gnome), even if they are not made stable.

They aren't even being accepted into staging. They just idle around for more than 3 years.

My suggestion: hammer the nails in the coffin. These people don't want to make a normal Linux desktop where all graphical environments will have the same conditions. Wayland is about "pulling the blanket over your own", and the result is that everyone is screwed in the end. They can spend 20 years adding features that have been in Xorg since the beginning to get essentially the same thing but “newer”.

@myownfriend
Copy link

myownfriend commented Jul 26, 2024

Bullsh*t.

I mean it literally is. I don't know what to tell you, inbred.

No, In Xorg I can just take xfwm4 and replace it with any other window manager and do the same with any other DE component. In Wayland this is not possible. Not to mention that there are no unified protocols (and their implementations) for recording video from the screen. The only proper way is to have the graphical server do the screen recording, everything else is crutches.

Pipewire and Portals are not a crutch. It's like calling Javascript a crutch for HTML because HTML doesn't have a way to really program in it. Using two things together doesn't make one a crutch for the other.

Should I remind you that in Xfce4-whiskermenu you still can't do resize because it doesn't work in Wayland.

No you shouldn't because I don't care.

Yes, and because screen-casting is a feature of a generic graphical server (which Wayland doesn't have)

No it isn't. You're saying that because you think X11 has it but it doesn't. X11 loyalist constantly say shit like to make it sound like Wayland is the outlier and you aren't just talking about X11.

It should not be related to DE in any way and should work even with a blank framebuffer with zero effort from the DE developer.

Zero effort, the exact amount of effort most of the people in this topic put in to learn about anything. That's why half of you weird, batshit conspiracy theorists.

@myownfriend
Copy link

myownfriend commented Jul 26, 2024

Interchangeability is not a flaw. I want this because it's the right application design.

Yes, and it has no downsides in the pretend world you live in.

In such an ecosystem, you have more choices.

False choices. If they're completely interchangeable then they're probably too similar for their to really be a point, and they likely don't integrate with each other.

The Wayland inventors thought of themselves as "MS Windows/Redhat" corpo-overlords, where everything will be hardcoded in their monolithic GNOME OS. That's why Wayland is so f*cked-up.

See brainless conspiracy shit...always.

I'm a leftist. I don't like corporations, but I can tell you 100% of the people saying shit like "corpo-overlords" are tools whose brains are a web of crossed wires that make all the wrong connections about the world around them.

Nah, crutches are not an option. Stop proposing such imbecilic solutions.

Again, not a crutch. Stop being a tool and repeating what idiots like Probo say.

@myownfriend
Copy link

It's tribalism. I was banned from Fedora KDE SIG Matrix channel after questioning and criticizing their decision to remove Xorg for Fedora 40 Plasma spin. They were giving me a runaround of the reasons. Finally they said that they are disabling the Plasma on Xorg session, while not removing the Xorg packages.

Oh I wish I read this first. So you also have trouble communicating with and interacting with people. You got banned from the Fedora Matrix channel just like Probo was banned from the OBS git. Fascinating.

It's almost like you're here just because you think there's an in-club and you're not welcome in it. I'm gonna quote an idiot that I think you'll agree with:

Tim Pool: The problem isn't me its...everyone else.

@joncox123
Copy link

joncox123 commented Jul 26, 2024

One word: WSLg
https://github.com/microsoft/wslg

I tried this out this morning, and its truly the greatest thing since sliced bread--maybe better. Also, you got to try VSCode with the WSL extension--amazing!

WSLg_ArchitectureOverview

@Monsterovich
Copy link

Monsterovich commented Jul 26, 2024

@myownfriend

Yes, and it has no downsides in the pretend world you live in.

The disadvantages of such an architecture are negligible. You live in an imaginary world where people have an infinite amount of money and time, and to repeat the same work 10+ times for unknown reasons is just pure idiotism, that's why people invented frameworks and Xorg.

False choices. If they're completely interchangeable then they're probably too similar for their to really be a point, and they likely don't integrate with each other.

No, DEs in Wayland are not interchangeable. Plain and simple.

See brainless conspiracy shit...always.

I'm a leftist. I don't like corporations

There's a term called “useful idiot”... Guess who is that...

Again, not a crutch. Stop being a tool and repeating what idiots like Probo say.

Even Microsoft hasn't even thought of such crutches. They have a similar architecture to Xorg. The different thing is that they have a monopoly over the entire OS.

I don't want to hear any more about Portals and Pipewire and all the other imbecilic crap they try to fix the problems with Wayland instead of doing it the right™ way.

Pipewire is a good software though.

@Monsterovich
Copy link

One word: WSLg https://github.com/microsoft/wslg

I tried this out this morning, and its truly the greatest thing since sliced bread--maybe better. Also, you got to try VSCode with the WSL extension--amazing!

WSLg_ArchitectureOverview

@joncox123 How can I unsee this?

@joncox123
Copy link

@joncox123 How can I unsee this?

You don't need to unsee it, just send Satya Nadella a Christmas card.

@myownfriend
Copy link

myownfriend commented Jul 27, 2024

The disadvantages of such an architecture are negligible.

Considering your breadth of experience and knowledge, that's saying something /s

You live in an imaginary world where people have an infinite amount of money and time, and to repeat the same work 10+ times for unknown reasons is just pure idiotism, that's why people invented frameworks and Xorg.

How many X11 window managers exist as minor forks of others again? lol

Also nobody is expecting you to do anything. Anything you make would be terrible lol

No, DEs in Wayland are not interchangeable. Plain and simple.

I don't think you understood the statement.

There's a term called “useful idiot”... Guess who is that...

I'm well aware of the term. I'd like to know how you think it applies to me lol

Even Microsoft hasn't even thought of such crutches. They have a similar architecture to Xorg. The different thing is that they have a monopoly over the entire OS.

Windows has a screen capture API that works just like Portals, it requires hotkeys to be registered just like the global shortcuts portals, compositing is always enabled just like Wayland, and monitors can have different scaling factors and frame rates just like Wayland. Those first two things aren't part of the display server or compositor btw.

MacOS doesn't really have a modern method of doing global shortcuts, it requires you enable screensharing permissions for an app, and it also always enabled compositing.

Neither has anything similar to Xorg because they don't have to. You don't need a display server/compositor protocol when you make the only thing that would use it anyway.

Why are we repeating this conversation for the millionth time? Do you guys have any ability to retain information?

I don't want to hear any more about Portals and Pipewire and all the other imbecilic crap they try to fix the problems with Wayland instead of doing it the right™ way.

Pipewire is a good software though.

Well you're gonna hear a lot about them in the years to come because they're just smarter ways to implement features than the X11 way that you think everything else follows. You're no doubt going to see X11 software using them and your dumbass is gonna be like "What? Is Wayland infecting X11?" before continuing on to some conspiracy babble.

@aki-k
Copy link

aki-k commented Jul 27, 2024

@myownfriend

I'm gonna quote an idiot that I think you'll agree with:

Tim Pool: The problem isn't me its...everyone else.

Everyone in this gist can see the problem is you

@myownfriend
Copy link

Everyone in this gist can see the problem is you

So you think you got banned from the Fedora KDE Matrix channel because of me? That's definitely diagnosable lol

@aki-k
Copy link

aki-k commented Jul 27, 2024

@myownfriend A newb like you just wants to deflect all accusations that are visible to everyone. If you have a problem with your brain and logical thinking, don't try to direct that to others

@myownfriend
Copy link

A newb like you just wants to deflect all accusations that are visible to everyone. If you have a problem with your brain and logical thinking, don't try to direct that to others

Wow. Okay this one reads like a child posted it lol You're regressing.

What accusations btw? lol I'm not the one banned from the Fedora KDE Matrix channel or the OBS GIT.

Crazy to hear "newb" in 2024 btw lmao

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