Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active June 30, 2024 12:42
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.

Wayland proponents make it seem like Wayland is "the successor" of Xorg, when in fact it is not. 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

Wayland breaks drag and drop

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

@amatsagu
Copy link

amatsagu commented Jun 27, 2024

@amatsagu No way in hell am I doing a standard installation of the latest version of Fedora. I'd prefer my system to stay working until I can switch to something else.

Also, no it isn't a one time bug. Anaconda is full of bugs that won't be fixed because its successor is a webui and C++ backend accessed powered with Branded Mozilla Firefox with a userChrome hack instead of building a simple webrunner for it which is almost trivial for me personally to do in mozilla. It's pathetic.

@mattatobin

Welp, good luck I guess. I find all linux distro installers to be somewhat lacking. Through all the hate, Ubuntu seems to have most polished interface. I assume you won't drop Fedora or anything like that but if you ever decide to do so - I would recommend checking Nix UI installer that will get you stock, latest version of Gnome so you can play with it. Or go Arch :) (its variants is less friendly but more powerful option than Nix)

Optionally, ever tried openSuse (either leap or tumbleweed)? It has also quite advanced graphical installer and later graphical control panel, similar to windows panel - you can control I would say most things from GUI if you like that, mentioning this as it's kinda unique in world of linux.

@mattatobin
Copy link

mattatobin commented Jun 27, 2024

@amatsagu I literally want to drop fedora. Preferably to a system I build from source. Do you not read what I say? There is no where forward in fedora for me to go as a user and I sure can't stay on this pseudo-stable modified Fedora 39 install forever.

Also, all those things about wayland you tout to others? They are anti-features to me. I do not care for sandboxing or any of that design.

Speaking of, since you seem to be a linux expert tell me how this is a cursed setup?

It's my pre-dnfscript kickstart file for my basic environment tho it is slightly out of date.

EDIT: https://dpaste.org/dH1aQ

@Consolatis
Copy link

Please use <details> for stuff like that.

@mattatobin
Copy link

mattatobin commented Jun 28, 2024

@Consolatis Except stuff in details won't be

code() {
  // formatted
}

At least, when I tried it got markdown formatted not put in a pre block. So i created a paste.

@Sinfaen
Copy link

Sinfaen commented Jun 28, 2024

I run wayland on everything except for one laptop running mint. My two points of frustration are discord video calls and my workplace's remoting software not working. Otherwise, everything else generally works. I occasionally get crashes in some games I play but I don't play competitive multiplayer games anymore.

Seeing just how easy it is to setup a keylogger in x11 was eye-opening for me. I am willing to break old stuff for security's sake, not to mention technical debt. Kinda disappointing that wayland has been missing several important protocols for awhile now though

@mattatobin
Copy link

@Sinfaen What sort of technical debt do you think you would experience running X11 as a user? Hmm?

@Sinfaen
Copy link

Sinfaen commented Jun 28, 2024

@mattatobin none. But the world also contains developers who have to take tools and get them working in new environments that they were not originally designed for, and fix issues in scenarios that were never envisioned. Technical debt prevents change. If x11 was continuously being updated for the world of today, then I would have a different opinion.

@Monsterovich
Copy link

Monsterovich commented Jun 28, 2024

@Sinfaen

Seeing just how easy it is to setup a keylogger in x11 was eye-opening for me.

The only "true" security is sandboxing, everything else is not a big deal. For Wayland it's also possible to make a keylogger via LD_PRELOAD. There is no permission system either, and architecture restrictions in Wayland are presented as security features. You can run the application on a virtual X server via Xpra/Xephyr and get a far more secure system (which is what firejail uses, btw).

@mattatobin
Copy link

mattatobin commented Jun 28, 2024

@Sinfaen Hi, I am a XUL Software Developer and former Meta-Project Coordinator for the Unified XUL Platform, the only remaining independently developed XUL-based mozilla-style application platform with active development. Though, SeaMonkey edges closer to it every day. Guess where I am contributing to now..

Do not try and tell me about the challenges of maintaining and eventually evolving a so called "old and insecure legacy whatever else with technical debt" codebase. The challenge is people not code. Kind of like this so-called discussion.


Also, I am building LFS 12.1 right now (I previously built 12.0 successfully but I didn't go much past a successful build cause other stuff).

The scope of my capabilities to attain mastery over not just the system but its very construction increases. I will not be satisfied until everything (reasonably possible) I run is built by me. I have that power and that freedom. That includes X11. Also, Modern Mozilla which I that I CAN actually keep on X11 until Mozilla rewrites how widget code tangibly works from its largely remaining xpfe form.

That should really be the final point to the waylandists.. That regardless of how hard they try and draw people in with security this and modern that if enough people disagree and a few actually get the ball rolling they can't actually do anything about it except further abuse their positions of power and strategic corporate alliances against it.

Now one last note I seem to have to reiterate. If wayland works for you for everything you need.. great.. But that is not the universal experience and some like my self just don't want any part of it.

@jackbenny
Copy link

@probonopd Things to add to the list:

  • Under Wayland, Gimp crashes every now and then (but never under X11)
  • Under Wayland, video playback doesn't work in Lightworks (but works flawlessly under X11)

@mattatobin
Copy link

LFS feels like the Sonic 2 Special Stage. Build 5 Packages. COOL! Build 20 packages. COOL! Build 80 packages. Not enough disk space.

@zarlo
Copy link

zarlo commented Jun 28, 2024

@mattatobin

They are anti-features to me. I do not care for sandboxing or any of that design.

that makes you sound like a person that runs every thing as root

@mattatobin
Copy link

mattatobin commented Jun 28, 2024

@zarlo I would locally but of course that is my choice within my own environment behind my hardware firewall. On my servers, never. It isn't safe. Of course, there are enough software-imposed issues with running things as root so I do the next best thing. Passwordless elevation, make my user group set to 0 and store MY crap outside normal locations.

But what I am most upset about is how low effort your standard gotcha comment is. Oh look at the idiot who runs everything as root. I simply know when it is safe for ME .. not you not grandma Ethel or whomever it is to operate this way and when it isn't. As a Windows User from DOS and 9x and later pre-UAC Windows NT/2k/XP.. I am not scared of assuming a near-equal runtime and security status as the system its self.

Also, I was a massive software pirate from the 2001 on. Including the classic crack sites so very familiar with dealing with suspect software and simply being attuned to my system once established. It's response times, its quirks. I also monitor my processes for odd behavior on a regular basis. A habit I picked up from managing servers back when I wasn't too sure about on being secure enough.

I simply refuse to be limited or restricted by end user open source software as if I don't have any option but accept it. I wouldn't with Windows but am limited by what can be done corewise especially in later versions of the OS. I refuse to have my technological capabilities and life decided by social butterflies and party members.. Regardless of the party. In a different era I'd still be interested in computers and the vast majority of these modern techies and software developers would be off in radically different fields of industry. For this reason and no other I will not be dictated to about how and what I run on my systems by anyone.

That being said, I do like to know what others are doing if not the standard fare.

@amatsagu
Copy link

amatsagu commented Jun 28, 2024

@Sinfaen

I run wayland on everything except for one laptop running mint. My two points of frustration are discord video calls and my workplace's remoting software not working. Otherwise, everything else generally works. I occasionally get crashes in some games I play but I don't play competitive multiplayer games anymore.

Seeing just how easy it is to setup a keylogger in x11 was eye-opening for me. I am willing to break old stuff for security's sake, not to mention technical debt. Kinda disappointing that wayland has been missing several important protocols for awhile now though

No clue about your work calls but discord works just fine on Arch derivatives. Generally electron supports wayland from a long time but discord in it's infinite genius still ships with very old version of electron. They said somewhere in blog recently they work on upgrading it but so far it didn't happen. So people got a bit mad and on AUR, you have official discord client, just wrapped in latest electron and it works flawlessly, for distros with older packages like Ubuntu/Debian, I would recommend Vesktop which yes - is a custom client, by default it takes latest discord client, wraps it into latest electron, removes telemetry and fixes few known UI bugs but has also option to easily add community plugins or themes - a lot of people uses it and never got banned from what I know, there's even one of the discord staff members who uses it themselves (detected on their screenshots). Vesktop is confirmed to work just fine even on Debian.

PS: (Probably) all electron apps requires extra flags to enable on wayland, by default they will search for x server and refuse to start if its not found. In case you use xwayland, it will launch container with x11 inside, to run electron apps in native-wayland mode do:
/opt/path/to/your/app --enable-features=UseOzonePlatform,WaylandWindowDecorations --enable-gpu --ozone-platform=wayland %U
You can manually edit /usr/share/applications/XYZ.desktop file, in "Exec" line add those flags so they will be used by default.

@mattatobin

@amatsagu I literally want to drop fedora. Preferably to a system I build from source. Do you not read what I say? There is no where forward in fedora for me to go as a user and I sure can't stay on this pseudo-stable modified Fedora 39 install forever.

Also, all those things about wayland you tout to others? They are anti-features to me. I do not care for sandboxing or any of that design.

Speaking of, since you seem to be a linux expert tell me how this is a cursed setup?

It's my pre-dnfscript kickstart file for my basic environment tho it is slightly out of date.

EDIT: https://dpaste.org/dH1aQ

My bad (it was late), but yeah if you go into this rabbit hole, I would just switch distro at this point. Keeping own scripts for those things is not only extra work but also recipe for problems in future... openSuse also uses rpm but they seem to work better than Fedora (based on v38 experience), then I would pick either PopOS!/Ubuntu or Arch/Nix if you like more bleeding edge packages.

@Monsterovich

The only "true" security is sandboxing, everything else is not a big deal. For Wayland it's also possible to make a keylogger via LD_PRELOAD. There is no permission system either, and architecture restrictions in Wayland are presented as security features. You can run the application on a virtual X server via Xpra/Xephyr and get a far more secure system (which is what firejail uses, btw).

I only mention it to show how dumb this message is. Of course wayland has limitations in place and don't compare it to firejail as they do totally different things. Just go use x11 until either of you fails - if you hate any change so much.

@jackbenny

  • Under Wayland, Gimp crashes every now and then (but never under X11)
  • Under Wayland, video playback doesn't work in Lightworks (but works flawlessly under X11)

Yeah, Gimp sucks on wayland, just I think it's fair to mention you use early beta build, they are still actively developing support for it. No clue what you mean by video playback - at least for amd (using literally right now) - works fine. Gimp will eventually have proper wayland support but due to how slow they move, I guess Krita will be first.

@zarlo

that makes you sound like a person that runs every thing as root

Because he most likely is - or optionally installed packages in weird ways with root permission to libs.

@mattatobin
Copy link

mattatobin commented Jun 28, 2024

@amatsagu

One.. Fedora 38 was broken. Period. Fedora 39 fixed a lot. 40 busted again lol.

TWO.. No I am not running everything as root I just explained exactly what I am doing and YOU read the kickstart which explains exactly HOW I am doing it. nopassword to sudo, the eq of Elevate without Prompting for polkit and boots to multi-user and I use startx. There is very little custom built software on there. Also, no software firewall, no selinux. Because, I have a hardware firewall and I don't need selinux.. period. Even on servers.

Of course, I could decide to make a distro all patched to be root only.. Or just not have a meaningful concept of users at all. You gonna tell me I can't or merely I shouldn't? Also, do you think it will do any good to do so?

@Lyky35
Copy link

Lyky35 commented Jun 28, 2024

@Lyky35 I don't know if you're aware but from point of security - wayland is way ahead x11. Just x11 has nothing in terms of security, by default any app can access any data, record anything, capture any key press, etc. wayland puts limitations in place so I have no clue what the hell are you talking about.

If you think wayland or anything related to it sends data to the outside - it is not, at least not wayland. There's a lot of people doing security audits, they check every single packet going in/out of your machine to the network and it was confirmed that Gnome by default sends very basic json payload (telemetry) but it was limited to basically what distro you use, what version of wayland, gnome and your drivers - no extra info trying to identify you as unit. No other DEs were recorded to do any network activity on their own.

The very reason why some apps like apps setting keybinds cannot be made on wayland is because of wayland protocols giving your app restricted data, it no longer can just read everything it likes in your user session like it's on x11, it's a tremendous improvement when comes to security. It is for the last time not a "bug" or "wayland being worse than x11" just because it fixes its technical debt. Some people says linux is very secure by default, that there's not much malicious code made for it which couldn't be further from truth. Linux by default is least protected system out of "big 3", malicious apps can do a lot of damage to you without having to access absolute root in your system. Wayland fixes nearly all CVEs related to UI spying, keyboard logging or session control attacks. If you use well known, big distro like Fedora or Ubuntu, there are by default various changes and apps configured to make your desktop experience more secure but it's not perfect - tho definitely far better than using stock Arch Linux or Nix.

Lastly, you mentioning ads and other shit, I don't think you even know what wayland is at that point... or you talk random bullshit just to add own comment.

I actually do have an idea.
The security is basically that it doesn't work - not that it doesn't do it because of security.

Dear boy... in fact when you play around by creating window managers / compositors on wayland you can insert tracking code, and images (even clickable html code, and potentially if ran from same level of sec inject it into other windows, or collect data from them.) - and i'm not even mentioning the potential integration with rust and what can of worms that is... - you can literally make a specific window open&run a code from remote location (obviously first step would have to be user - running some software - dear god we are becoming windows at this point.)

The rest of your post was not even interesting enough to read, or respond.

(and most important note: Nice PR work for wayland - are you being paid?)

@zarlo
Copy link

zarlo commented Jun 28, 2024

@Lyky35 I don't know if you're aware but from point of security - wayland is way ahead x11. Just x11 has nothing in terms of security, by default any app can access any data, record anything, capture any key press, etc. wayland puts limitations in place so I have no clue what the hell are you talking about.
If you think wayland or anything related to it sends data to the outside - it is not, at least not wayland. There's a lot of people doing security audits, they check every single packet going in/out of your machine to the network and it was confirmed that Gnome by default sends very basic json payload (telemetry) but it was limited to basically what distro you use, what version of wayland, gnome and your drivers - no extra info trying to identify you as unit. No other DEs were recorded to do any network activity on their own.
The very reason why some apps like apps setting keybinds cannot be made on wayland is because of wayland protocols giving your app restricted data, it no longer can just read everything it likes in your user session like it's on x11, it's a tremendous improvement when comes to security. It is for the last time not a "bug" or "wayland being worse than x11" just because it fixes its technical debt. Some people says linux is very secure by default, that there's not much malicious code made for it which couldn't be further from truth. Linux by default is least protected system out of "big 3", malicious apps can do a lot of damage to you without having to access absolute root in your system. Wayland fixes nearly all CVEs related to UI spying, keyboard logging or session control attacks. If you use well known, big distro like Fedora or Ubuntu, there are by default various changes and apps configured to make your desktop experience more secure but it's not perfect - tho definitely far better than using stock Arch Linux or Nix.
Lastly, you mentioning ads and other shit, I don't think you even know what wayland is at that point... or you talk random bullshit just to add own comment.

I actually do have an idea. The security is basically that it doesn't work - not that it doesn't do it because of security.

Dear boy... in fact when you play around by creating window managers / compositors on wayland you can insert tracking code, and images (even clickable html code, and potentially if ran from same level of sec inject it into other windows, or collect data from them.) - and i'm not even mentioning the potential integration with rust and what can of worms that is... - you can literally make a specific window open&run a code from remote location (obviously first step would have to be user - running some software - dear god we are becoming windows at this point.)

The rest of your post was not even interesting enough to read, or respond.

(and most important note: Nice PR work for wayland - are you being paid?)

i think i and now dumber after reading that that is a non point you know you can do all that in x11

and i'm not even mentioning the potential integration with rust and what can of worms that is...

what are you on? potential integration into what?

@mattatobin
Copy link

mattatobin commented Jun 28, 2024

@zarlo And you offered nothing of substance.


EDIT: Anyway as fun as this is I am out until I get some stuff done. Please don't highlight me unless I chime back in.. Least for a little while.

@matth3wmajf
Copy link

X11 > Wayland
Can assure you that X11 can still be optimized to be better than Wayland, will never lose hope on X11.

@chaNcharge
Copy link

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.

@Lyky35
Copy link

Lyky35 commented Jun 30, 2024

@chaNcharge i've been replying in this gist for years now. It just rinse and repeat. Same arguments from wayland "side", and same laments of users complaining about it being worse than x. It gets boring quickly - i typically reply once a year, in form of status update.

@zarlo I already live in a good one. Don't need another one; Nor I need to replace my fine 1970 Ford Mustang for Tesla (This is ref. to x and wayland).

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