Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active September 18, 2024 03:12
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.

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

@zDEFz
Copy link

zDEFz commented Jun 30, 2024

I saw someone post about this cesspool on reddit and lemme tell you I am glad I got the popcorn ready for the comments section because this is funny as hell.

@chaNcharge
Asserting superiority through condescension undermines dialogue's integrity and credibility. Embracing a 'me superior, they inferior' dichotomy obstructs substantive discourse and hampers societal progress, often laden with palpable animosity.

@Consolatis
Copy link

Consolatis commented Jun 30, 2024

I saw someone post about this cesspool on reddit and lemme tell you I am glad I got the popcorn ready for the comments section because this is funny as hell.

@chaNcharge Asserting superiority through condescension undermines dialogue's integrity and credibility. Embracing a 'me superior, they inferior' dichotomy obstructs substantive discourse and hampers societal progress, often laden with palpable animosity.

That is kind of the point here though, there simply is no discourse. This whole gist is pointless because none of the stakeholders are involved and the people that are seem not interested in creating their own distros or starting to maintain X11. So trolling + the "popcorn ready" scenario is pretty much the only thing this gist is good for. The only thing outside of that is the occasional legitimate question that deserves a proper answer.

@aki-k
Copy link

aki-k commented Jun 30, 2024

@Consolatis

This whole gist is pointless because none of the stakeholders are involved

You (I don't mean you personally) will be promptly banned because people can't take criticism, like the Fedora KDE SIG.

@shvedes
Copy link

shvedes commented Jun 30, 2024

Wayland breaks xclip

Really? This is a program created for X11 and should not run on Wayland. Almost all the points that I read here are false facts to supposedly lower the reputation of Wayland. This is a fanatic's list, nothing more.

Wayland breaks window managers

From Wikipedia: NetWM is an X Window System (!!!) standard for the communication between window managers and applications.

All I see here is "Wayland is crap because software that was written exclusively for X11 doesn't work on it"

@probonopd
Copy link
Author

probonopd commented Jun 30, 2024

Thing is, existing software is written for X11. Now this Wayland thing gets forced upon us, but we want to just keep using the software we have always been using. Thus, Wayland breaks what we have been using for decades. In some cases, without even offering a drop-in replacement! I am still looking for e.g., wkill, a 1:1 xkill replacement. Wayland seems to operate like they were starting "greenfield", whereas at the same time they try to position Wayland as a X11 successor.

@zDEFz
Copy link

zDEFz commented Jun 30, 2024

I saw someone post about this cesspool on reddit and lemme tell you I am glad I got the popcorn ready for the comments section because this is funny as hell.

@chaNcharge Asserting superiority through condescension undermines dialogue's integrity and credibility. Embracing a 'me superior, they inferior' dichotomy obstructs substantive discourse and hampers societal progress, often laden with palpable animosity.

That is kind of the point here though, there simply is no discourse. This whole gist is pointless because none of the stakeholders are involved and the people that are seem not interested in creating their own distros or starting to maintain X11. So trolling + the "popcorn ready" scenario is pretty much the only thing this gist is good for. The only thing outside of that is the occasional legitimate question that deserves a proper answer.

While the prevailing tone of this virtual assembly may indeed be characterized by frivolity or sardonic commentary, its intrinsic worth lies in its capacity to serve as a psychological and communal outlet. This platform, therefore, fulfills an essential role by facilitating a form of interaction that, although not directly instrumental in achieving technical advancements, is undeniably valuable in its psychosocial contributions to its participants.

@Consolatis
Copy link

[..] this virtual assembly [..] is undeniably valuable in its psychosocial contributions to its participants.

Steering hate and artificially creating two opposing sides fighting against each other is never a good psychosocial contribution to anyone (other than maybe scientists studying it). I guess the idea is "Let out your crap here so you don't let it out somewhere else" but that just leads to more crap everywhere.

@shvedes
Copy link

shvedes commented Jun 30, 2024

they try to position Wayland as a X11 successor.

To position it as a successor to X11, Wayland would have to have at least some codebase from X11 (imo), which as far as I know it doesn't. And as for me, Wayland shouldn’t have anything in common with X11, since X is an ancient rotten thing that needs to be gotten rid of (and adapted, not whining) at the first opportunity.

Also, the problem of application X or Y not working on Wayland is not in Wayland itself, but in the interest of developers to implement Wayland support.

@zDEFz
Copy link

zDEFz commented Jun 30, 2024

[..] this virtual assembly [..] is undeniably valuable in its psychosocial contributions to its participants.

Steering hate and artificially creating two opposing sides fighting against each other is never a good psychosocial contribution to anyone (other than maybe scientists studying it). I guess the idea is "Let out your crap here so you don't let it out somewhere else" but that just leads to more crap everywhere.

"Hate" is a strong word. Workflows broke because it being pushed as the new default.
Even now, everybody I know taking gaming seriously goes back to X11 because Wayland seems laggy.
The proper wording for the emotion people feel here would be "betrayal" and "disappointment".

It doesn't matter if it is called X11 or Wayland. People just want their stuff working and not randomly break.
That's all.

@bodqhrohro
Copy link

because it being pushed as the new default

I'm unaffected by any defaults. What do I even still do in this thread?

I'm lazy even to upgrade my system for many months already. Seems I became senile (or just severely depressed) and it's time to move from Debian Testing to Debian Stable on the next freeze.

Actually, I have always been like that. My Windows XP stays unupgraded since its installation in 2010, as Windows updates break binary patches of system files. My 16 years old feature phone still has the first R6AD001 firmware versions, even though a few updates very released during its 3 years of official support; I have never ever flashed it. I don't understand why GNU/Linux should be an exception.

@probonopd
Copy link
Author

probonopd commented Jun 30, 2024

Also, the problem of application X or Y not working on Wayland is not in Wayland itself, but in the interest of developers to implement Wayland support.

Exactly. Developers of most applications and desktop environments haven't asked for Wayland to appear and expect them to do stuff just so that things work under Wayland that have worked before. Just ask the author of just about any screen recording application.

@bodqhrohro
Copy link

@shvedes

"Wayland is crap because software that was written exclusively for X11 doesn't work on it"

Because it intentionally lacks analogs for X11 concepts.

It's just like iOS staying away from sharing files over Bluetooth. No matter how much do marketers assure that sharing files over Bluetooth is evil and not needed when you have magnificent AirDrop, iTunes or whatever, the reality stays intact: iOS is crap.
-GHkkFUvfnw

@bodqhrohro
Copy link

@mattatobin

I love gtk2 but be realistic.. If i was gonna go with an older toolkit I may as well just reuse Trinity's QT3 ..

Qt lacks Emacs keybindings and has an unusable Windoze-like file dialog (might be resolved by backporting portals into GTK+2/Qt3 though). Also, bound to C++ thus having problems with bindings to other languages. GTK+2 apps can be created in Perl, PHP, Ruby, whatever.

Also, the only thing really unacceptable about GTK3 is Gnome's specific UX design

No, GTK+3 has an awful rendering performance, especially without acceleration, if compared to GTK+2.

@lukefromdc

Actually not impossible, but you need to build gtk3 with the gtk3-classic patchset or at least those patches concerning CSD. The results will look a lot more like GTK2 and you even get back the ability to stripe treeviews if you include that part of the patches. I use them all. This takes out things like hardcoding CSD on dialog windows in wayland

CSD are not a problem per se, apps with a classic layout can still be easily made in GTK+3, which MATE apps demonstrate vividly. And if you really insist, CSD apps can be done in virtually any toolkit, for example, Winamp clones like BMP, Audacious, QMMP had CSD decades ago.

@lukefromdc
Copy link

The GTK/CSD issue in wayland isn't CSD apps, rather it's the fact that GNOME hadcoded CSD as a default for such things as dialogs and filechoosers in wayland in GTK3. Easy enough to patch back out, but a problem for distros. Less so with GNOME moving on to GTK4 and MATE sticking with GTK3 though. Distros will be able to use the gtk3-classic patchset without worrying about what GNOME apps look like, since this will have no effect on GTK4 apps. Thus we can have MATE looking like MATE and GNOME looking like GNOME on the same machine, from the same root partition, even in wayland

@mattatobin

I love gtk2 but be realistic.. If i was gonna go with an older toolkit I may as well just reuse Trinity's QT3 ..

Qt lacks Emacs keybindings and has an unusable Windoze-like file dialog (might be resolved by backporting portals into GTK+2/Qt3 though). Also, bound to C++ thus having problems with bindings to other languages. GTK+2 apps can be created in Perl, PHP, Ruby, whatever.

Also, the only thing really unacceptable about GTK3 is Gnome's specific UX design

No, GTK+3 has an awful rendering performance, especially without acceleration, if compared to GTK+2.

@lukefromdc

Actually not impossible, but you need to build gtk3 with the gtk3-classic patchset or at least those patches concerning CSD. The results will look a lot more like GTK2 and you even get back the ability to stripe treeviews if you include that part of the patches. I use them all. This takes out things like hardcoding CSD on dialog windows in wayland

CSD are not a problem per se, apps with a classic layout can still be easily made in GTK+3, which MATE apps demonstrate vividly. And if you really insist, CSD apps can be done in virtually any toolkit, for example, Winamp clones like BMP, Audacious, QMMP had CSD decades ago.

@probonopd
Copy link
Author

Because it intentionally lacks analogs for X11 concepts.

And that is a big part of why it breaks stuff so badly. It assumes people want to change a working system. But most users don't want a working system to be broken.

@probonopd
Copy link
Author

probonopd commented Jun 30, 2024

CSD are not a problem per se

They are. Client-side decorations give designers more freedom than they can handle; an inconsistent system with reduced usability is the result. We can observe this with recent Mac, Windows, and Gnome.
With Client-side decorations you get abominations like the bottom window, where the window title bar is crippled to the point that you can't even know the name of the application from looking at it anymore. Way worse than Windows 3.1 (top window).

image

@bodqhrohro
Copy link

bodqhrohro commented Jun 30, 2024

Thus we can have MATE looking like MATE and GNOME looking like GNOME on the same machine, from the same root partition, even in wayland

Welp, Canonical made big efforts to achieve uniform look regardless of the toolkit, but Shuttleworth's money dwindled. Enjoy GNOME turning into new Enlightenment, or GNUStep, or whatever. And just stay away. From KDE, ideally, too. Seems like it's all doomed, Gtk, Qt, whatever, who does still use it… everything nowadays is CLI, web or mobile. Making desktop software makes sense out of nostalgia and nothing more. Serious professional software like Blender or LMMS has its own toolkits anyway.

@bodqhrohro
Copy link

an inconsistent system

Who is supposed to enforce this consistency? CPC? Shoot those who stand out? How do you even imagine this implemented? Projects like Haiku achieve this only due to being pet projects out of contact with reality with a limited set of developers who all do software out of enthusiasm.

@bodqhrohro
Copy link

you can't even know the name of the application

macOS and GNOME users don't have this problem because they see the name of the focused application in the top panel anyway.

@aki-k
Copy link

aki-k commented Jun 30, 2024

@bodqhrohro

What do I even still do in this thread?

Click on 'Unsubscribe' at the top of the gist.

@shvedes
Copy link

shvedes commented Jul 1, 2024

Just ask the author of just about any screen recording application

Well, how about OBS, which is works perfectly in modern DEs and even WM? Through xdg-desktop-portal you can easily share your screen. Sometimes you can even do without this and use xwaylandvideobridge, so I don’t see a problem with this. You will probably say why is all this necessary when everything works on X11 without tweaks and you will be right, but we should not forget that Wayland is not the same age as X11, and this thing has been developing very actively lately.

@zDEFz
Copy link

zDEFz commented Jul 1, 2024

Just ask the author of just about any screen recording application

Well, how about OBS, which is works perfectly in modern DEs and even WM? Through xdg-desktop-portal you can easily share your screen. Sometimes you can even do without this and use xwaylandvideobridge, so I don’t see a problem with this. You will probably say why is all this necessary when everything works on X11 without tweaks and you will be right, but we should not forget that Wayland is not the same age as X11, and this thing has been developing very actively lately.

OBS? Relies on uvcvideo, and the webcams (except Logitech) usually have no proper implementation of it.
Not to mention, for virtual camera, I had to use a hack... Like, without sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1 it doesn't even show up.
It's pretty broken!

@bodqhrohro
Copy link

@aki-k I would do long ago if I didn't want to keep track of the thread and some persons didn't delete their messages so an instant e-mail copy is a way to fight their reluctance.

And I hope I get my hooves on wayland-bites again (as no expert is willing to help with completing the table anyway). But why?.. I don't care much about Wayland anyway. And I don't encounter the propagandist LOR trolls anymore who ignited the butthurt in the first place. Those trolls were targeting lamers primarily anyway.

@shvedes
Copy link

shvedes commented Jul 1, 2024

without sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1 it doesn't even show up

First of all, you can apply this tweak permanently in /etc/modprobe.d/. Here's my example:

# /etc/modprobe.d/v4l2loopback.conf
options v4l2loopback video_nr=0 exclusive_caps=1 max_openers=1 devices=1 card_label="OBS Virtual Camera"

This option allows me to avoid having to manually load the kernel module and enter a password when enabling the virtual camera in OBS itself.

Yes, Wayland has problems, but. As I said above, this is a very rapidly developing project, and I hope all your problems will be fixed soon. For me (I repeat, for me personally) Wayland works great, it covers all my needs and I don’t experience any inconvenience at all.

@zDEFz
Copy link

zDEFz commented Jul 1, 2024

without sudo modprobe v4l2loopback devices=1 video_nr=10 card_label="OBS Cam" exclusive_caps=1 it doesn't even show up

First of all, you can apply this tweak permanently in /etc/modprobe.d/. Here's my example:

# /etc/modprobe.d/v4l2loopback.conf
options v4l2loopback video_nr=0 exclusive_caps=1 max_openers=1 devices=1 card_label="OBS Virtual Camera"

This option allows me to avoid having to manually load the kernel module and enter a password when enabling the virtual camera in OBS itself.

Yes, Wayland has problems, but. As I said above, this is a very rapidly developing project, and I hope all your problems will be fixed soon. For me (I repeat, for me personally) Wayland works great, it covers all my needs and I don’t experience any inconvenience at all.

Well. Over time, if I do not document every step, I end up with having a system with no reproducability. But fortunately, I can make this file possibly part of a git repo.

@shvedes
Copy link

shvedes commented Jul 1, 2024

At what point is modifying someone elses linux distro more work than just building it yourself how you want?

I mean if you are using arch, then of course you need to configure everything, but if it is a fedora, for example, then I guess, everything (including vcam) should work out of the box.

@zDEFz
Copy link

zDEFz commented Jul 1, 2024

At what point do you just decide you have to make so many changes so many compromises to get a working system that by the time you do it all it is a very different beast from stock whatever do you just have to throw your hands up and say it would be so much easier if it was just built or configured this way from the start?

I mean if you are using arch, then of course you need to configure everything, but if it is a fedora, for example, then I guess, everything (including vcam) should work out of the box.

Fedora got that super annoying apparmor thingy that you need to do a Dr. Dr. Professor for.

@Lyky35
Copy link

Lyky35 commented Jul 1, 2024

@shvedes

Yes, Wayland has problems, but. As I said above, this is a very rapidly developing project, and I hope all your problems will be fixed soon.

Very rapidly developing project?
How many years has it been? 16? Wayland is almost legal in that sense of age.
(if we compare since public release, x only has only 8 years ~> sure it has more non-public releases, but all the work public actually uses has been made in some 10-12 years)

@shvedes
Copy link

shvedes commented Jul 1, 2024

I wish you had quoted my final edit cause that is the core of the two mashed up but related thoughts.

Fedora works out the box if you use a livecd and that livecd works out the box and you never update it unless it is broken out the box then an update might fix it but bust 10 other things. There is a fuckin reason I want off the Fedora Train.. It's gonna crash and when it does no one will care because it didn't crash for them, yet.

To be honest, I don't know what are you talking about. In my case fedora working flawlessly, no matter what machine I run it on.

@shvedes
Copy link

shvedes commented Jul 1, 2024

@shvedes

Yes, Wayland has problems, but. As I said above, this is a very rapidly developing project, and I hope all your problems will be fixed soon.

Very rapidly developing project? How many years has it been? 16? Wayland is almost legal in that sense of age. (if we compare since public release, x only has only 8 years ~> sure it has more non-public releases, but all the work public actually uses has been made in some 10-12 years)

I said that this project has been developing very fast lately. When I say lately, I mean the last few years. For example, two years ago I definitely wouldn't have been able to use it. I tried, but there were too many issues that weren't compatible with my use case, but now it's a daily driver for me. I draw conclusions from my experience

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