Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

refalo ,

Just don't ask what hyprland is.

Omgboom ,

Wayland Jennings, a great country singer

Melvin_Ferd ,
devfuuu ,

So you wanna go from home to school. The whole distance/trip can be done on a bus or your moms car. That's a means of transportation. But, now people are creating a train and soon you will have another means of transportation that you can go to school with, by train.

That's it, Wayland is another means of transportation (newer) than the older means of transportation that existed for a long time, x11 or xorg.

The route is how can applications show stuff on a screen, what transport should they use.

Gormadt OP ,
@Gormadt@lemmy.blahaj.zone avatar

Okay I think I'm following so far

And the whole "show stuff on screen" thing

I'm guessing it's kinda like: you've got a couple people sitting there wanting to play with Legos and only so much room to play. They don't have direct access to the play area because of security reasons so they have to ask someone to place the Legos for them. Wayland, X11, and Xorg are all different people they can talk to to place the Legos in a way where no one is fighting for space.

So basically it's a new way for programs to negotiate who has what part of the screen?

I'm guessing Wayland is either more feature rich or lighter on resources and that's why it's a big deal?

redcalcium ,

It's an entirely different design than X11. It gains features not possible to implement on X11, while losing many features exists in X11. People that like those new features love Wayland, while people that use those missing features hate it.

Gormadt OP ,
@Gormadt@lemmy.blahaj.zone avatar

What kinds of features does it gain and lose?

redcalcium ,

The most obvious, user-visible loss of features are applications no longer able to grab/mess with contents of another application's window. Screen sharing and remote desktop was broken for a long time in wayland until it's fixed via pipewire recently. Under X11, rendering is free-for-all, where any app is free to do whatever it wants to other app's window. Heck, you can even tell mpv to play video on a cell in librecalc if you feel like it. Such shenanigans is now impossible in wayland because it's a big security risk (though I'm not sure if it's actually exploited in the wild).

The most hyped feature of wayland is better support for high resolution "retina" display. Also, you can use multiple monitors with different dpi/scaling in wayland. IIRC it's not possible on X11, though you can use xrandr to force the scaling on each monitor, though it'll result in blurry texts because the scaling is not done natively.

devfuuu , (edited )

Yeah, it's a new way that programs use to draw their stuff on the screens.

In the middle usually are other stuff that abstract away that part from normal application development, so in general, most applications don't need to care with the low level thing that is being used to draw their stuff, but there is always somethings that some apps will do to bypass or expect to work in a certain way, so sometimes changes and time are need to adjust those applications to play well with the new way of drawing.

The core idea of why Wayland matters is that it is designed to take advantage of the hardware features and how hardware is designed in this century. On xorg, since it was designed around the architecture and expectations of what people thought things should work in the 70s, it was becoming really hard to add features related to how newer hardware worked. Things like multiple gpus, prime architectures, multiple surfaces/screens with multiple aspect ratios and dpis, varying refresh rates, taking advantage of hardware acceleration for graphics drawing, etc, were all really hard things to do because the code had multiple concepts not applicable to the modern age. So, essentially developers were already bypassing 99% of the internals of xorg architecture and hacking things in a very hard way. They basically decided/experimented with stripping apart all the things they didn't need and didn't matter and reduced it to the most basic and core thing that mattered: "how to push these pixels to that surface".

It ended up being a successful experiment, in that it showed it was possible to do.

Now, in the current world, there are solutions that need to be implemented to bring some features up to speed since the wayland thing is so core and barebones. And this is a good thing. It allows developers and applications to think really hard about what they need to do and how they should do and how things should work across all toolkits and desktop environments. Obviously this takes time to make decisions and ensure everyone is onboard, experiment and reiterate on it until good solutions are found.

This last point is what makes end users frustrated when trying wayland because some things are lacking or not ready yet. For the general use, users without really specific needs, they can already use wayland now, but for others they can't because of their particular needs or specific hardware situation.

If xorg is working for you, then there's no need to worry. If it's invisible to you then most likely you shouldn't care, because the desktop environments are changing their sessions to use wayland by default and most users will not perceive any difference. If users see problems and then notice that it's related to using wayland they can choose explicitly to use the xorg version since it will still work for a while.

Hope I didn't make it too complicated now.

sxan ,
@sxan@midwest.social avatar

The part about negotiation is a bit off-track.

On one end, in the kernel, there's a big array of pixels that is a picture that gets drawn on your monitor (or monitors). On the other end are a bunch of programs that want to draw stuff, like pictures of your friends and web pages. In between is software that decides how the stuff the softwares want to draw get put into the pixel array. This is Wayland; it was written to replace Xorg, which is what did that job for decades prior to Wayland.

If you understand the concepts of Xorg and window managers, Wayland + a compositor = Xorg + a window manager. Wayland abdicated a lot of work to the compositors, making it simpler and easier to maintain (and compositors more complex and harder). But together, they all do basically the same job. If one of the compositors implemented a network protocol, then you could declare equivalency.

Rustmilian , (edited )
@Rustmilian@lemmy.world avatar

Display Server + Compositor + Window Manager = Wayland Compositor = Implementation of Wayland Protocol

Display Server = Xorg = X11 Implementation

Xorg + Separate Compositor + Separate Window Manger = the X11 equivalent of a Wayland Compositor

possiblylinux127 ,
@possiblylinux127@lemmy.zip avatar

What is Wayland? It is such a basic concept I don't need to explain it to you. Of course I understand it.

Upstream7564 ,

I rly don't know what it is ;-;

dylanmorgan ,

Okay, I’m not OP but a follow up question that occurs to me reading the explanations of what Wayland is, is are there any distros or spins of distros that use Wayland by default?

smeg ,

I think SteamOS3 does (though you can only use that on a Steam Deck)

clubb ,
@clubb@lemmy.world avatar

Stuff like holoiso exist

roflo1 ,
Limitless_screaming ,
@Limitless_screaming@kbin.social avatar

Fedora uses it by default on KDE Plasma and Gnome. It even removed Xorg support for Gnome (and maybe Plasma. Can't remember). Ubuntu uses it by default with Gnome. Any distro which leaves the DEs on their default settings gets Plasma and Gnome running Wayland by default.

merthyr1831 ,

The end goal of wayland is that you shouldn't ever have to know what it is.

SitD ,

it's like fight club, but don't tell them i told you 😳💦

yesman ,

Waland is the British half of the mega corp Waland-Yutani. Sometimes called Wa-Yu, or simply "the company"

Founded by Charles Bishop Wayland, the totally not evil billionaire industrialist, Wayland LLC was known for energy production, computer technology, and planetary terraforming before it was acquired in a hostile takeover by the Japanese Yutani corp in 2099.

cyborganism ,

Aw dang. You beat me to it.

Ixoid ,

Building Better Worlds.

Damage ,

No matter! Pick a side now an join the jihad!

platypus_plumba ,

It's not even hard picking sides when Wayland sucks so bad....

(I don't know what Wayland is either)

xrtxn ,

Wrong choice buddy (wayland is the best thing ever happened trust me 100%!!!)

Mango ,

I love this whole comment thread.

Titou ,
@Titou@sh.itjust.works avatar

it's Xorg's opponent. The challenger.

AA5B ,

Does it have more ships, more planetary systems under its thrall?

sebinspace ,

now you’re speaking my language

boredsquirrel ,

It is the Way

superfes ,
superfes ,

Wayland is the replacement for X11, it's getting pretty close to what I consider pretty good, I only have 2 more desires for Wayland, I'd like it to be able to remember where my windows were placed, and I'd like scaling to not suck.

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Remembering window placements should be possible on KDE with Kwin rules. Maybe your window manager has something similar.

superfes ,

I'm using KWin, and you could for example start every Firefox window at the same specific position, but it would be better if it could just be where I put it last time, because even if I pop every window in the same place or not, the instant you have more than one window, it's useless. Remembering would be preferential.

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Easy. Just create a rule not matching a particular window and set position to "Remember".

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Why the downvote?

superfes ,

The exact same problem remains unsolved by your second recommendation, obvious trolling at this point.

Feel certain that if KWin could solve the problem, I wouldn't list it as a problem.

bjoern_tantau ,
@bjoern_tantau@swg-empire.de avatar

Just tried it myself on Plasma 6.0.4 on Wayland. OpenSUSE Tumbleweed. Works perfectly fine.

https://swg-empire.de/pictrs/image/8e4f3f25-0561-450e-b89c-123361083e33.png

superfes ,

For a single window.

acockworkorange ,

These guys are nuts. Wayland is a town in the Midwest of the USA.

AA5B ,

No, it’s in Massachusetts, just west of Boston

acockworkorange ,

Your honor, I’d like to plead ignorance.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linuxmemes@lemmy.world
  • random
  • incremental_games
  • meta
  • All magazines