Skip to content

Instantly share code, notes, and snippets.

@probonopd
Last active June 29, 2024 15:38
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

@mattatobin
Copy link

mattatobin commented Jun 24, 2024

To summarize: Does X11 HAVE to do everything Wayland intends to support if Wayland exists no matter what as the imposed future regardless?

Cause you change X11 too much and its a new standard and apps break.. You don't and Waylandists will come wave after wave to set you on the "correct path" or just be dicks about it.

The person who would choose X11 is that the same person who needs multi-monitor refresh rates and ultra high def gaming capability in perfect Windows-eq capacity? Or is this an opportunity to actually follow and test some open source coreisms of us at large not a small group of corporate-minded-them should be working on this thing and guiding it and they should be contributing to us at large not the other way around.

EDIT: @aki-k Yeah well I will have an EL-based distro with my own x11 window server built from a unified tree from xorg sources likely by the end of the year or start of next year.. And the repo far sooner. I won't NEED to rely on stock as-is rhel9 until redhat decides to prematurely cancel that too.. Cause they established that precedent already and mostly got away with it.

@AnnieTheEagle
Copy link

@mattatobin

while people who prefer X11 can just keep having X11 that they get or build from source them selves

Quite sure the people you are describing here are probably the type that aren't using the major distros anyway. :-)

gamers can stop bitching about game issues which are not always realistic or compatible with general computer user priorities.

They were clearly a big enough problem for Wayland to decide to implement them!

I do not consider a computer to be a mere-multifunction device. Swappable with a tablet or a phone or a television or a game console.

Not gonna lie, I stopped reading after this. No one thinks a PC can be swapped with a television and have feature parity. You're listing off devices that are and have always been marketed as specialised devices. A games console is made primarily for gaming, no one is trying to run OpenOffice on their PS5. And I don't even need to go into how restrictive TV operating systems are, but again, no one expects to be able to have a TV without a computer and be able to run any program on it.

We must ALL resist the urge

lol.

@AnnieTheEagle
Copy link

AnnieTheEagle commented Jun 24, 2024

Please don't get me wrong by the way, I'm not saying Wayland is perfect. Far from it. There is a LOT in this Gist that I fully agree with.

Part of the blame for Wayland's instability, is also on the fault of app developers being lazy and not supporting the new thing (Discord -- looking at you! There are third party clients out there that support Wayland screen-sharing perfectly, but Discord hasn't bothered to support it!). But one could also argue that it's a lot of the blame lies on Wayland for not being backwards compatible.

My argument is only that Wayland's existence comes from the fact that there are limitations in X11 that are not easy to workaround.

@aki-k
Copy link

aki-k commented Jun 24, 2024

@mattatobin

I won't NEED to rely on stock as-is rhel9 until redhat decides to prematurely cancel that too..

I know really well what you mean. Fedora KDE SIG went full-on jihad on Xorg, but were then shown their place.

@fredvs
Copy link

fredvs commented Jun 24, 2024

Part of the blame for Wayland's instability, is also on the fault of app developers being lazy

The fault of app developers being tired of the war of compositers, of the incompatibilities between them, among other things.

@mattatobin
Copy link

mattatobin commented Jun 24, 2024

@aki-k Yeah and I know the man largely responsible, my former friend.

I don't see why Wayland MUST exist in exclusion of X11 as a standalone display server.

@AnnieTheEagle Are you completely disconnected and have not seen how the average computer user is just a pda/smartphone or game console user or television subscriber who wants to scale up and those are the users who the companies think are the only ones important and when it comes to their newer smartphones and game consoles and televisions they stop caring about computers. Why when this does all they need and they don't have to THINK or BOTHER with a regular computer.

And you know what? That was fine.. up until NOT doing that was considered a crime worthy of being attacked for. I have been personally attacked with equivalent outrage for my choices and opinions on technology for years now as if I spat out a constant string of racial slurs. The word "legacy" spat with such venom and a repeated meme of "old and insecure" without any actual basis are common responses normalized to the point where I use them as well.. Until someone attaches a political motivation then its all fucked.

@aki-k
Copy link

aki-k commented Jun 24, 2024

@mattatobin Neal Gompa, right?

@AnnieTheEagle
Copy link

@mattatobin

@AnnieTheEagle Are you completely disconnected and have not seen how the average computer user is just a pda/smartphone or game console user or television subscriber

My point wasn't about the average computer user. My point is that they don't expect those devices to be as customisable or usecase-covering as a desktop PC. In fact, that's why they prefer these "simpler" devices, because "it just works"

That's why Apple is worth over a trillion dollars! It just "works" (mostly... as long as you do it our way and only our approved way... and pay an absurd premium for devices we'll no longer support in 3-4 years and force you to buy another one! And don't even think about repairing it yourself!)

@mattatobin
Copy link

mattatobin commented Jun 24, 2024

@aki-k Don't attack people in the KDE-SIG, render them irrelevant as they grow naturally old.. and insecure. Better fate for em ;)

@AnnieTheEagle I am sorry for coming off more hostile than I intended. It just irks me, alot, that the majority of people who use a computer either don't actually need one or want to overwrite everything with their god damned cell phone. I had hoped as more people used computer technology that it would elevate their interest in it and the world as a whole.

But the world isn't elevated it is just automated more with computer control and the vast majority just want the surface service and appliance stuff they are supplementing or replacing their older service and appliance stuff with and THEN it becomes wrong to want more than that or something older or something completely different. If not the service and feature offered last month removed in the new version or update.

@aki-k
Copy link

aki-k commented Jun 24, 2024

@mattatobin What do you mean attack? He is the one who wanted Xorg gone from Fedora 40 Plasma Spin.

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

Are you saying people shouldn't talk about Lennart Poettering?

@Monsterovich
Copy link

Monsterovich commented Jun 24, 2024

@AnnieTheEagle

These features have uses, screen tearing can be quite annoying and standard V-sync doesn't solve the problem if whatever you're doing doesn't reach the FPS needed to reach V-sync.

Whaaaat? V-Sync completely eliminates the screen-tearing. VRR has no effect on screen-tearing, this technology was invented for smoother frame rates and it has its own limitations. You want some weird stuff, but you don't understand how technology works.

@mattatobin
Copy link

mattatobin commented Jun 24, 2024

@aki-k No, I am covering my ass because people have gone out of their way to attack people in my name .. either because they agree or because it will damage me in return I could never figure out because people were acting in my name but without my orders and knowledge. Been done before and in todays world it could happen again.

But yes, He is one responsible, with the reasoning that its even more of a dick move to pull xorg from KDE users mid-stream.. as if Fedora had a stable release or feature set. Its antithetical to how they build the system. But as a member of KDE project he is just pathfinding seeing just if users will broadly accept KDE without X11. With Wayland being forced down every corporate-relevant distro and the rest following cause they see little other option but Kudo is worse because he just wants what Gnome has and for KDE to be the selected winner..

It's another flavor swap.. Gnome and GTK4+ with KDE and QT6+ everything else remains the same.. the freedesktop nonsense his seat on the xorg board and xorg killing x11 save for xwayland until they decide all X11 software is too old and insecure and not worth supporting and xwayland dies too.. and everything will suck except with KDE deficiencies in functioning tech instead of Gnome deficiency in functioning style and experience.

tl;dr You wanna see how bad Wayland can get for everyone.. Put it in the hands of Kudo and KDE. Which is effectively Google and Apple anyway. That is who he actually serves.

@mattatobin
Copy link

mattatobin commented Jun 24, 2024

@Monsterovich Do I understand how this works? Likely yes but with huge gaps. I do know X11 tears by default I run picom, a compositor, fixes it right up no more tearing. I can play vidja games and it plays fine and shake windows around all i want no tearing I see.

picom --vsync --backend glx

@AnnieTheEagle
Copy link

AnnieTheEagle commented Jun 24, 2024

@Monsterovich

Whaaaat? V-Sync completely eliminates the screen-tearing. VRR has no effect on screen-tearing, this technology was invented for smoother frame rates and it has its own limitations. You want some weird stuff, but you don't understand how technology works.

I never said V-Sync doesn't solve tearing? In fact, I said it does...

But Variable Refresh Rate has benefits over V-Sync which some gamers prefer. My personal setup I don't particularly care, I personally just used V-Sync on X11 and never saw any noticeable tearing, as if a game can even reach frame rates above 240 (the refresh rate of my monitor), then I'd probably prefer that V-Sync keeps it down at a stable 240 FPS, rather than rendering far more than that and wasting resources.

I don't use Wayland for reasons totally outside of VRR and V-Sync (I use applications that just simply refuse to work on Wayland, and that is a dealbreaker for me -- and given these are legacy apps with little support, I doubt they will be ported to Wayland any time soon), but these are complaints I have seen from other people who are (after the success of Proton and the Steam Deck) keen on getting into gaming on Linux.

@mattatobin
Copy link

mattatobin commented Jun 24, 2024

There is NO gaming on Linux outside a few titles and temporary efforts.. This is Windows Gaming on Linux which is not the same thing and I could do without in its entirety.

Because that is ALL the Windows or Mac user or service consumer is supposed to care about.. Does it run Windows Games and the Web and has digital rights management and telemetry.. THAT IS ALL anyone gives a shit about. No one cares about any specific user's experience so long as the majority of people without a choice don't ever speak up about it and keep paying in money, data, or loyalty with defensive and offensive support if not all of the above.

I am just tired of it all. It isn't getting me a working display server or good software or a pre-2010s windows experience or acceptable replacement better suited to me.. I am gonna have to assemble that with what is available then learn how to make it better.. I literally give zero fucks about computer video games or how well someone can run a game not made for the OS it is being run on and won't until someone gives a shit about my needs and wants.

@AnnieTheEagle
Copy link

@mattatobin

There is NO gaming on Linux outside a few titles and temporary efforts.. This is Windows Gaming on Linux which is not the same thing and I could do without in its entirety.

This is just arguing semantics at this point... if people want to play games on Linux, whether they're Linux games, or Windows games through Wine (a lot of games have native Linux builds now!), it doesn't matter.

As a Linux user, you should be glad more people want to try out the OS, you should be welcoming...

I am just tired of it all.

This reads as "My thing is getting ruined by all these gamer peasants! >:(, how dare they enjoy MY operating system!". And at this point we're way off topic here, so I'm not going to continue this discussion anymore.

@Sinfaen
Copy link

Sinfaen commented Jun 25, 2024

looks like SSR is abandoned at this point ☹️

do people actively need xkill? I've honestly never needed it, just killed things from the terminal

@zarlo
Copy link

zarlo commented Jun 25, 2024

looks like SSR is abandoned at this point ☹️

do people actively need xkill? I've honestly never needed it, just killed things from the terminal

xkill is a use full tool, but yes its not needed but its still faster for when you dont know the name of the programme or have the pid, or dont know who owns the window

@zarlo
Copy link

zarlo commented Jun 25, 2024

There is NO gaming on Linux outside a few titles and temporary efforts.. This is Windows Gaming on Linux which is not the same thing and I could do without in its entirety.

that is just false

@lukefromdc
Copy link

lukefromdc commented Jun 25, 2024 via email

@mattatobin
Copy link

mattatobin commented Jun 25, 2024

@zarlo save for Steam and Windows Games on Linux and of course the classic linux and unix games.. Just how extensive IS the triple-A title selection outside things based on Valve Source Engine? Cause I doubt it is very many..

Besides, why should anyone make a game for linux when the windows version will work through steam.. maybe..

@Consolatis
Copy link

The derailing kicks hard in this gist.

@mattatobin
Copy link

mattatobin commented Jun 25, 2024

Games derail technical discussion like all consumption-media issues do. I wish people would be half as demanding for basic functionality not 3d games at a thousand fps at 32k definition.

@amatsagu
Copy link

amatsagu commented Jun 26, 2024

I don't know what to even say, it's such a copium... Today - if you use openSuse Tumbleweed, Arch or probably even latest release of Fedora in order to have latest packages - using wayland is quite comfortable. I'm not sure about KDE (only know it works) but latest Gnome, Sway or Hyprland works amazingly and we have Cosmic Desktop somewhere on horizon too. About apps - majority of those well known apps either just works or have replacement for wayland side, it's mostly up to whether OG dev(s) want & have time to make a switch. There's actually quite a lot of developers who decided they either don't want to or no longer have that much time to care about their tools/apps so then others pick up original idea and create wayland counterpart.

If you're average user, you can most likely use pure wayland, not even bother installing xwayland (which is added by default just in case*). I myself use pure wayland sway desktop, only games require xwayland because of wine/proton still being transported to wayland. Oh and yeah, linux supports nowadays quite a few games thanks to proton and realistically you can launch I would say every single game that doesn't has strong anti cheat (like Valorant's rootkit).

I know people still officially writes that things like lock screens or session managers have some trouble and are not officially supported but then you go to places like reddit unixporn and you can see a lot of people just have them working with wayland session so it's more like they're in beta than just not supported.

@mattatobin
Copy link

mattatobin commented Jun 26, 2024

@amatsagu You act like I am not capable of deciding precisely what I want to run on the systems I select or built.

Even if Wayland worked 100% as advertised either today or originally.. It still wouldn't be acceptable to me. Because its fundamental design and behavior is exactly the shit in Windows I got fed up with and killed any desire to pursue hackintoshs. I specifically want the X Window System. More than that I want it to survive Wayland and even evolve into an X12 or XII* whatever.

*=Mine, minemineminemine--MINE!

@amatsagu
Copy link

amatsagu commented Jun 27, 2024

What? I'm confused... Have you even try it in 2024 before you cry?
I'm using it everyday on my main PC and at work from few months and except games & some rare events when you have to emulate custom windows only application, full wayland works just fine. I use Firefox, Google Chrome, Spotify, Visual Studio Code, Gimp, Discord and others with no issue, also all the extra tools like login manager, lock screen, app picker, color picker, screenshots or video capture just works. You would need to find me specific reason(s) why not to use wayland, I know there are still few professional apps that require xwayland so they need that to work but otherwise, everything else just works smoothly.

I can't say Wayland is broken, sure it still misses few protocols but very important thing people seems to miss is that it is not broken if it ain't the same as X11, heck - main purpose of Wayland being the way it is was to fix all of technical debt introduced in X11. Imagine that not following same steps doesn't necessarily mean it's bad or broken. People seem to especially not like limited keybinds or screen capture thing but any IT Specialist who works with security will tell you that what Wayland does is amazing, it solves so many pitfals of X11 but we usually don't notice it. Pretty much all exploits troubling X11 doesn't exist on wayland and will never be as it's just not X11 mindset.

If you love X11 more, sure - go use it but please stop crying how wayland is broken because it is not, at this point it's more of your unfounded lies. Maybe it's not as visible when you're on PC desktop with just single FHD screen but going wayland is a huge improvement for people with multiple screens or laptop users. It has proper scaling (most of the time), no visual glitching, is more battery friendly, overall works slightly faster on modern CPUs, is far more secure & more.

@aki-k
Copy link

aki-k commented Jun 27, 2024

@amatsagu Please stop using the word(s) cry/crying when talking about mattatobin. It's embarrassing, to you.

@amatsagu
Copy link

@amatsagu Please stop using the word(s) cry/crying when talking about mattatobin. It's embarrassing, to you.

Oh I don't think I will, it just pisses me off when people who are hard lock in X11 age will say any other attempt is terrible but can never provide solid reasoning why. Thanks to people like him, we move some aspects so slowly over to wayland. While I have no intention of harming what X11 done for Linux in years, there's no point in hiding it's a one giant mess, filled with technical debt. From my personal experience and few other people + how linux community seems to generally react on reddit - wayland is just fine for most people and in those few edge cases you just can use xwayland but even that gets less and less of a requirement as months go by.

@aki-k
Copy link

aki-k commented Jun 27, 2024

@amatsagu Fedora KDE SIG tried to remove Xorg for Fedora 40 Plasma Spin. Their decision was overruled by Fedora FESCo. The Xorg support in Fedora 40 Plasma Spin is not provided by the SIG.

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

Of course this kind of infighting is not good for the OSS ecosystem.

If you want to run Xorg until the app incompatibilities with Wayland are ironed out, use Rocky Linux 9 which includes Xorg until the year 2032.

@mattatobin
Copy link

mattatobin commented Jun 27, 2024

@amatsagu Yes, in March Anaconda fucked up and override my package selection and installed Gnome.. It was pseudo-stable tho odd artifacts on secondary displays was noticeable cause I poked at it to make sure everything I am bitching about is up to date. Nothing annoys me more than working up a good bitch to pitch and finding out it was fixed six months ago.

That set me off on a detour to check out the other wayland offerings and also corRect my kickstart for MY actual choice and selection of packages. It's why I know Wayland proponents are full of shit. I run a modern GPU maybe not the highest multi-thousand dollar model but it is from this decade. I run multiple monitors from 1600x900 to 1080p to 2k. Wayland is a joke. For xorg all you need is a Window Manager like openbox that has enough understanding of multi-monitor to be able to get the one big desktop isn't one big monitor and it works great.

Once again, I will state. I have ZERO intention of using Wayland even if it was 100% flawless. I will go back to Windows first or just ditch computers all together while there is still a choice to do so. I want the X Window System, NOT Wayland. You can want Wayland and I will respect that but only so far as you respect that I specifically and directly want the X Window System.

@aki-k And what do I do after 2032 after I have sat for the next several years doing jack point shit.

This is why I am learning and starting to do stuff on this level so when 2032 (or 2029 in LTSC's case) comes along I am not fucked utterly cause I think all the previous fallbacks will be deader than dead by then.

@amatsagu
Copy link

amatsagu commented Jun 27, 2024

Just let me clarify something, we have few stations with RTX 4080 and 2x 2k, 27'' screens, running Hyprland and it works just fine. I first time hear anyone using Anaconda to do anything somehow related to desktop environment. So far it totally sounds like you made cursed af setup and installed a bunch of things in the way they were not supposed to be. Right now, all CPUs and GPUs made by AMD and Intel work flawlessly, about NVidia GPU - you usually need to install additional driver and then it largely work fine, there are known issues with team green but those are very similar problems that also happens on x11, just nvidia being uncooperative with linux desktop in general (but that is changing recently).

About other tools you mentioned higher like xkill, you have things like pkill for example that works just fine, every single "x-tool" has it's counterpart on wayland (at least up to this point I never found thing that were required but missing).

Xorg may be officially supported up to 2032 but you'll start to notice degrading performance and/or support of applications the longer you wait. Right now most devs seem to make updates for both x11 & wayland, largely thanks to libs like GTK3 just supporting both but with more time passing, devs will eventually focus more on wayland side or decide to only continue this branch. I have no solid data but my personal guess is that by 2026-2027, x11 will barely support any new applications, it will be kinda like using windows 8, with no support, no latest updates...

btw. Still waiting for real examples where wayland just fails, I know few very specific edge cases exists but it's none of what you wrote so far. Again, you're first person I heard using Anaconda to install any DE, it sounds wild it even succeeded at all. At this point I'm just curious why you hate wayland so much while majority really likes it, especially people with multiple screens or hidpi displays. Again, no clue about KDE but Gnome, Sway, River, Hyprland or Niri works flawlessly out of the box for amd & intel - with nvidia it will crash or be extremely bugged until you add recommended by creators patches (usually install extra, recommended driver).

PS: I'll write that just in case - if your hardware is really new, then you want latest possible linux kernel, so it's heavily recommended to use Arch, Nix or openSuse Tumbleweed (etc.), it will give you both latest kernel with "best" drivers but also latest wayland stuff so it's compatible with that new hardware, etc. Wayland on Debian or Ubuntu is a lot behind and can be missing critical protocols & support for newest hardware. Wayland is very dynamically changing, almost every week there are new fixes and ideas so only by using latest possible version you can get true image how it looks currently.

@Monsterovich
Copy link

Monsterovich commented Jun 27, 2024

@amatsagu

Just let me clarify something, we have few stations with RTX 4080

IMHO Huge GPUs with a dangerous 12whpwr connector.

Xorg may be officially supported up to 2032 but you'll start to notice degrading performance and/or support of applications the longer you wait.

You're not making any sense. Why would apps suddenly stop working? Unless Wayland shills are intentionally breaking support.

About other tools you mentioned higher like xkill, you have things like pkill for example that works just fine, every single "x-tool" has it's counterpart on wayland (at least up to this point I never found thing that were required but missing).

That's not the same. Wayland lacks the most important thing, which is a unified graphical display server. This would solve 90% of the complaints about the Wayland architecture, but so far Wayland remains only "on paper", and DE developers make up their own graphical servers.

Right now most devs seem to make updates for both x11 & wayland, largely thanks to libs like GTK3 just supporting both but with more time passing, devs will eventually focus more on wayland side or decide to only continue this branch.

Wayland is a fragmented piece of sh*t. I as a developer don't even want to touch it, even if I get paid for it. GTK, btw, is a "finished" framework (I don't count GTK4, nobody needs it except the GNOME cult). All we need is (maybe) a fork of GTK2/3, which will add patches like in gtk3-classic.

I have no solid data but my personal guess is that by 2026-2027, x11 will barely support any new applications, it will be kinda like using windows 8, with no support, no latest updates...

lmao, you are retarded.

btw. Still waiting for real examples where wayland just fails

Wayland literally fails at everything.

@amatsagu
Copy link

You're not making any sense. Why would apps suddenly stop working? Unless Wayland shills are intentionally breaking support.

Wayland works differently than x11, having to support both is only an extra burden on developers side and may be a problem in the future when they'll want to implement new stuff. Some elements may be easily done on x11 but be way harder on wayland and in reverse. Sooner or later, there will be point where devs of XYZ application will calculate it's not worth extra work to support both or decide it's too difficult to make it reliably work on both.

Wayland is a fragmented piece of sh*t. I as a developer don't even want to touch it, even if I get paid for it. GTK, btw, is a "finished" framework (I don't count GTK4, nobody needs it except the GNOME cult). All we need is (maybe) a fork of GTK2/3, which will add patches like in gtk3-classic.

Yeah, but not even as close as x11, guess why nobody wants to work on this sinking titanic man. People easily 100x smarter than all of us combined decided they simply don't want to keep working on it. I don't even mention that it's full of vulnerabilities where you can't fix most of them due to how its core built.

Last 2 points are just straight up garbage to even reply to @Monsterovich, somehow there's at least million of people using wayland everyday just fine but you talk like it would be something barely existing. Right now xorg is a living corpse that is barely patched to met modern hardware requirements.

@amatsagu
Copy link

Let me ask you, have you ever made from start to finish GUI application for linux? If not, then please shut up. It's really difficult to do advanced app on xorg, app that has more than just a couple of buttons and text input field. People use a lot of hacks and tricks to get by, they do things that shouldn't even be possible but they are as xorg has a lot of holes, no security at all so they can just hack it to their own needs (which is not good if you can't see).

@amatsagu
Copy link

amatsagu commented Jun 27, 2024

Anyway, looks like I can only be happy it works flawlessly for me and anyone I know + million(s) of other people, sucks to use your computer or be you looks like. Now go use your xclip to copy this and cry on mastodon or whatever you use in that paranoic room.

@Monsterovich
Copy link

Monsterovich commented Jun 27, 2024

@amatsagu

Wayland works differently than x11

Your "differently" = the architecture is sh*t

having to support both is only an extra burden on developers side and may be a problem in the future when they'll want to implement new stuff.

That's why Wayland needs to be ditched as soon as possible, because it's a source of problems. I'm all for it!

Yeah, but not even as close as x11

Now you are talking out of your ass. Xorg has literally only one implementation and all DE components run under the same server and are even interchangeable. Wayland is not even close to that functionality.

People easily 100x smarter than all of us combined decided they simply don't want to keep working on it.

I am 100 times smarter than these people and say Wayland is utter garbage.

I don't even mention that it's full of vulnerabilities where you can't fix most of them due to how its core built.

Wayland fans are like drug addicts seeing vulnerabilities in Xorg that have never affected anyone in 30+ years.

Last 2 points are just straight up garbage to even reply to @Monsterovich, somehow there's at least million of people using wayland everyday

Why not a hundred million then? I can come up with any number too.

modern hardware requirements.

"Every frame is perfect" - modern hardware requirements, ajajaja

@aki-k
Copy link

aki-k commented Jun 27, 2024

@amatsagu

Anyway, looks like I can only be happy it works flawlessly for me and anyone I know + million(s) of other people, sucks to use your computer or be you looks like. Now go use your xclip to copy this and cry on mastodon or whatever you use in that paranoic room.

It must be embarrassing to be you

@mattatobin
Copy link

mattatobin commented Jun 27, 2024

@amatsagu You obviously don't understand what you are talking about.. Unless it is a misunderstanding.. Anaconda is the Installer Redhat developed for use with yum/dnf and rpm. It isn't this other thing called Anaconda that has suddenly captured all the search results starting a few years back.

But Anaconda fucking up my kickstart or crashing on non-fatal errors or just ignoring it or not finding it is nothing new. My script posted way above is actually my chosen way of regenerating my system atm because it just dnf installroots to whereever I want and I can just add the entries to my grub. Basically manually doing a subset of what Anaconda does. But still if you are serious and want to say its my cursed setup and anaconda doesn't have anything to do with desktops.. I'll just let everyone else eat you alive ;)


In any event, I do have an Add-ons Site to code up and then I will redouble my Linux efforts. I suggest everyone else who wants to not just defer to me get started on their plans too on what to do about xorg and X11 and desktop toolkits and distros and the freedom or lack there of to run your system as you see fit with code that should reasonably work or when it doesn't it is taken seriously.

@amatsagu
Copy link

amatsagu commented Jun 27, 2024

@mattatobin Yes, looks like I misunderstood it when you mentioned anaconda. From this family, I'm only somewhat familiar with Fedora so I'll focus on it. yum/dnf package (rpm) other than def. slower than pacman or apt is perfectly fine, fedora is quite frequently updated so your packages are usually only 1-2 versions behind compared to mint or ubuntu that in some cases ranges even 15 versions...

I would assume it was 1 time bug then if you used dnf/yum. No clue if it's still a thing (but I guess so), last time I tried Fedora (v38 release), it had problem that any default DE in iso I picked, it had a bunch of smaller problems with incorrect or incomplete drivers, some libs were cropped or some codecs straight up not working. It was all fairly easy to fix by installing extra dependencies, I just avoid using Fedora due to their politics, I dislike them cropping some functionality that I take for granted or split into extra packages without clearly mentioning it. But assuming you download all cropped elements yourself - it should work just fine.

I can only recommend maybe trying clean install of latest stable release of Fedora and using Gnome/KDE (wayland) from graphical installer (do not install them manually), it probably installs a bunch of packages and there's just chance your own script(s) missed something. For example Gnome can be stripped from a LOT of functionality before is stops launching, you can remove nearly everything from it. Last time I used it (with Hyprland), I had this problem when I tried to compile - one of the libs installed with dnf had something cropped and just wouldn't compile (I'm not fluent in C++ so idk what it missed exactly), I ended up having to download whole lib files myself and doing force copy & paste in valid paths to make it work (manually, outside package manager).

About other people eating me alive - sure, if that makes them happier, go for it. I don't think you can reliably talk about those things with people whose IQ is below room temperature.

@aki-k
Copy link

aki-k commented Jun 27, 2024

@amatsagu

with people whose IQ is below room temperature

Hey, you chose that path

@Consolatis
Copy link

People easily 100x smarter than all of us combined decided they simply don't want to keep working on it.

I am 100 times smarter than these people and say Wayland is utter garbage.

Good argument. You convinced me.

@Lyky35
Copy link

Lyky35 commented Jun 27, 2024

those 100x smarter than all us combined are half kids that want to reinvent the wheel which is fine, other half is paid corpo that are 400x smarter than half the kids and us combined (playing 4d chess); and they do not want to help anyone especially not linux community. They want to help themselves to user data, and while at it implement ads for even more tracking&profit, and add even more drm.

They get boner from what Chinese and other authoritarian governments do to their users.

Shortly wayland some 10 years later still does not replace 1:1 x. X offers better experience.
I would ref. here for good summary:
https://www.dedoimedo.com/computers/wayland-2024.html

@mattatobin
Copy link

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

@amatsagu
Copy link

amatsagu commented Jun 27, 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.

Edit: Obviously you won't believe anything we say here anyway so maybe take a video from other random person I found: https://www.youtube.com/watch?v=rdPt8WB1lZw, they literally test most "bloated" and criticized in last years distro - Ubuntu. And even the "worst" distro turns out to be really bad at spying even tho it uses your unsafe wayland...

Edit(2): Link you provided not only talks about quite outdated stuff but also uses laptop from 2014, no wonder xorg works better on old software. Wayland uses a lot of modern calls that will most likely have to be emulated on old hardware, hence the performance difference, second thing is that man uses nvidia which sucks on linux desktops in general. Some people uses nvidia just fine while others were forced to go back to windows because both x11 and wayland DEs were glitching as hell, I have no idea why this specifically happens, probably different manufacturers does some slight changes triggering that. Lastly man uses KDE which yes - I did not test it myself yet (out of all) but I know it uses a bunch of custom portals and wrappers and it still appears to be in beta, KDE is not a good representation of wayland as a whole. KDE could just poorly integrate some portal or use outdated protocol for XYZ and you'll already will have bad time, nothing new - it's same as various tiling managers work on x11, they tends to vary a lot in performance. I'm also a bit confused because man shows image he uses 125% scaling but says x11 has better image quality which is against x11 itself. x11 by design is unable to do fractional scaling, it simply renders your image at much higher resolution (using more GPU & potentially* causing input lag), then downscales it to desired level - (for example 150% is x3 res render, then downscalled by 2: 3/2=1.5). Wayland is able to do proper fractional scaling, same as MacOS or Windows but it will only work correctly if all rendered apps on screen are wayland-native. I could literally launch you a live stream, from multiple machines (both desktops and laptops) but oldest model I have comes from 2017/2018, 2014 is too old for my standards (like cmon, its 10y, time to move on).

btw. Plasma 6.1 had a lot of stutter issue I read now due to their bug with using swap a lot for no reason, supposedly Plasma 6.2 fixes it and it now works far more smoothly, on pair with Gnome - reading comments on Arch wiki. Brodie Robertson also made video about it: https://www.youtube.com/watch?v=X_Sr9m3yXrE

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

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