Elektrine lite

← Feed

@python@lemmy.world

2026-11-03 06:35 UTC

To any trans girls who decided to peek into the comments: What’s actually the difference between X11 and Wayland? I always hear the latter is the more modern standard and that I should be switching to it, but also it feels like X11 is just way more stable and well supported, why can’t I stay on there just a while longer?

Replies (11)

  • Not a trans girl but I can answer. Wayland is just a library with simple interaction with the display. X11 is a suite of programs for displaying the desktop environment. A Wayland compositor has to implement every utility from X11, that is why it can feel less supported. X11 has some underlying problems like keypresses being served to every application which makes it exploitable for a keylogger.

    Open ##5501884

  • @edinbruh@feddit.it 2026-11-03 07:35

    Not a trans girl but Wayland and x11 are display server protocols. A display server is the program that draws windows and stuff on the screen (plus some other things related to desktop environments), and these protocols are how the applications controllo their windows. X11 is very old and based on obsolete ideas. It is a less efficient protocol than Wayland, and has many security issues. The most prominent one is that any unprivileged program can read the entire screen and record any input. X11 development has for a long time revolved around a single display server that everyone used, called x.org, this is partly why it developed so fast. However the codebase is a mess because it started so long ago and developed so fast, so it’s almost untouchable. That’s why modern features like hdr and real multi display support will never arrive. Wayland is the modern protocol that will replace x11. It is built from the ground up to avoid the mistakes made by x11. Because of this, development is often stuck discussing esoteric scenarios, to make sure everything is perfect before adding it to the protocol. Unlike x11 there is not a single Wayland server, and this is why you will see differences between implementations. Unlike x11, Wayland is designed around modern computers. Unless you are using something that specifically only works on x11, you should use Wayland.

    Open ##5501954

  • @rumschlumpel@feddit.org 2026-11-03 08:46

    why can’t I stay on there just a while longer? You totally can, though. AFAIK, the security-relevant scenarios where Wayland makes a difference are super esoteric, the performance differences are slight and on most desktop environments it doesn’t have anywhere near feature parity, so it’s more about which desktop environment you like and how far along it is with developing a Wayland version (if it does so at all).

    Open ##5502100

  • @TerHu@lemmy.dbzer0.com 2026-11-03 09:06

    The other comments explained the differences quite well. I just wanted to mention that whilst, yes, Wayland is the future, and it works great for me, it does still lack some important features. AFAIK, accessibility is considerably worse on Wayland so far, which is why e.g. visually impaired folks fare better with X11. (at least it was that way not too long ago)

    Open ##5502162

  • @umbraroze@piefed.social 2026-11-03 09:50

    X11 is a decades old protocol. People kept saying “can you please support this one new hot thing?” and the devs were like “fuck, let me think of something. [furious duct taping] There, it works! Kinda.” Yes, it’s “stable”, by some definition of stable anyway. Also with loads of technical debt. You can keep extending it, but it’s a painful, janky process every single time. Wayland is a clean break from all of that with a more modern approach. But, of course, it’s newer, and with a clean break you want software to be ported over to best utilise Wayland, and there’s going to be a lot of work until you can finally drop the X11 compatibility layer. But I don’t think there’s anything wrong with the idea of X11 backwards compatibility at the moment. Or staying with X11 until Wayland runs on your hardware. But when the app toolkits eventually support both, I think targeting new software exclusively for X11, or further development of X11 itself, is starting to look less and less sensible as time goes on.

    Open ##5502359

  • X11 users are pee drinkers Wayland users are based and awesome that is the gist of it

    Open ##5502576

  • The biggest benefits Wayland has currently (at least obvious ones to end users) is multi monitor fractional scaling and HDR

    Open ##5502596

  • @Jankatarch@lemmy.world 2026-11-03 11:45

    Hi, trans girl here who messed with libwayland and x11 a bit before. Wayland has the compositor and server combined so there’s less overhead. Here’s the X11 architecture. Let’s say you pressed the fullscreen button with your mouse: First the evdev driver will get your mouse input and send to X server. X server tells the X client that someone just clicked so-and-so coordinates. X server HAS to assume which client because windows may be on top of each other, and only compositor (our renderer) calculates those. The X client re-arranges everything after fullscreen, sends X server what changed. X server calculates which area of the change was in, asks compositor to render that area again. Compositor calculates that all windows fall behind the fullscreen window, renders the one on top, sends X server what changed. X server does the graphics displaying part from there. Now here’s Wayland architecture You press fullscreen with mouse, evdev sends it to Wayland compositor Compositor knows what windows are where, knows which client was clicked. Sends it to them. Client realizes they are being fullscreened, they actually render it themselves too. They actually have a shared buffer that the compositor can access too and output their rendering there. Compositor already has the changes in shares buffers, recomposes them based on all the clients’ new rendering. So now some redundant steps are gone, and also the shared buffer is nice too. Overall, wayland uses less resources for more work.

    Open ##5502690

  • @Seralth@piefed.seralth.com 2026-11-03 15:25

    Calling x11 well supported at this point is like calling a 1977 Pontiac firebird trans Am. Well supported It’s liked, there’s lots of information about it. But any real support died for fucking ever again. And the only people claiming otherwise have their heads buried deep in the sand. Even calling it stable has a lot of ifs to it at this point. If your on a old system, only doing basic things, with a well trodden and documented track record. Then yeah it’s more solid then a block of solid rock. But half the reason it’s “stable” is because it’s a duct taped mess that is basically a bat shit insane house of cards one bad day from falling apart. But we know every fault, trick, and piece of duct tape. So the chance of it falling apart is almost zero. Waylands problem tends to be it just refuses to hurry the fuck up and actually get any real work done. But what does get done tends to get done more right then x11 and quickly fixed up as issues come up. So long as the gnome team shuts the fuck up and doesn’t interject. If they do then all bets are off.

    Open ##5504231

  • @Hedup@lemmy.world 2026-11-03 18:41

    I have bunch of configs and scripts that over the years have bonded me permanently to X11. Unfortunate reality.

    Open ##5504789

  • @john_tech@lemmy.zip 2026-11-04 09:14

    Not trans but… X11 lets anyone do anything. That’s bad. A window can type for you and see what you’re typing. Windows level opsec Wayland only lets root do weird stuff. That’s good. You need privileges to see what a given person is typing or to move their mouse However, Wayland is still undercooked. It doesn’t have standardized remote desktop functionality, for example. So it’s really more of a “what are you willing to sacrifice” thing. Do you want security or features? There’s also internal differences but to the end user those don’t really matter

    Open ##5509487