If anyone wants to give an ELI5 or a link to a video that ELI5 I’d be incredibly thankful

I swear that all the stuff I find is like super in depth technical stuff that just loses me in no time flat

  • SavedKriss@lemmy.world
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    4 months ago

    Like you are 5: Wayland is a bunch of commands that your computer needs to draw the things that appear on your monitor.

    • infeeeee@lemm.ee
      link
      fedilink
      arrow-up
      12
      ·
      4 months ago

      The important part that they are a bunch of new commands. We had old commands for this things, but they were written a long-long time ago, and computers evolved a lot since that, we can’t fix the old commands anymore.

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    2
    ·
    4 months ago

    Programs running graphically (Firefox, your file browser, etc.) need a way to tell the system “draw these pixels here”. That’s what the display server does; it takes all these applications, works out where their windows are and manages that pixel data.

    XOrg has historically been the display server in common use, but it’s very old and very cobbled together. It generally struggles with “modern” things that must people expect today. Multimonitor setups, vsync, hdr and all that. They work, but support is hacked together and brittle.

    Wayland is a replacement for XOrg that was designed from scratch to fix a lot of these issues. But it’s been an uphill battle because XOrg is the final boss of legacy codebases.

    tl;dr They’re both software that manages drawing pixels from applications to the display.

    • Gormadt@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      The TLDR was really helpful NGL

      So it’s software that handles software wanting to display things on the screen. Because having each piece of software do it itself would be not only chaos but a massive security concern. And it’s a big deal because it fixes (by replacing) the old software with something that’s easier to work with than the old ways of doing things (due to all new code that’s not spaghetti that’s hacked together over decades).

      Am I close?

      • loutr@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        Because having each piece of software do it itself would be not only chaos but a massive security concern.

        Not really, the main point is that (most) apps don’t know where they are on the screen, whether they’re minimized, on the active workspace, … and they don’t care either. That’s the responsibility of the window manager.

        The app tells the display server “I need a window to display these pixels” and that’s it. And the window manager, well, manages these windows.

        On the topic of security, X11 doesn’t handle security at all, that’s one of the main issues. So any graphical app can read the other windows’ pixels, grab everything you type, everything you copy, … OTOH Wayland isolates apps so they can’t do that by default. Apps that really need to (screenshot apps, …) can use “portals” to ask for these permissions.

        • Pennomi@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          4 months ago

          And the X11 Protocol was released in 1987. We’re not replacing Xorg specifically as much as we are replacing X11.

      • rtxn@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        4 months ago

        That hill has a name. GNOME. Wayland’s governance on the whole is a fucking disaster (alternatively, the best sitcom you’ll ever see), but GNOME is a particularly malignant growth on the project’s taint, with completely baseless NACKs that have delayed some protocols by months, and missing/incomplete features in Mutter.

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    4 months ago

    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.

  • Björn Tantau@swg-empire.de
    link
    fedilink
    arrow-up
    11
    arrow-down
    2
    ·
    4 months ago

    It’s a standard to display programs and let them interact with each other. The old way is X11 which is a big program handling all of that. With Wayland every desktop and window manager (like KDE, Gnome, i3wm, Sway, etc) take up the role of Xorg themselves, giving them better control.

    Every program has to be changed to work with Wayland. Those that don’t run through Xwayland, a program mimicking the old X11 standards on Wayland.

  • knightly the Sneptaur@pawb.social
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    Super-short version:

    The system that Linux uses to draw anything on the screen (showing the desktop, your windows, their contents, etc) is called a display server.

    Since the 80’s, Linux has been using a display server called the X Window System (or x11), but it’s ancient and has limitations that can’t be fixed without breaking everything that depends on it.

    The Wayland compositor is the new display server that will be replacing x11, improving security and adding support for newer features like HDR. It’s nearly ready for a full release now, and is already the default for some Linux distributions.

    • superfes@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      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.

  • sorrybookbroke@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    4
    ·
    4 months ago

    Wayland is a display protocall. What does that mean? Well, it describes how a program on linux tha displays graphics to a user should work. Examples of programs which do this include kwin, mutter, and sway. It’s why you see stuff on your monitor and why when you open an app, it’s in a window, which can be moved.

    All that along with a good amount of supplementary tools, makes up wayland.

    Currently we are transitioning from a 40 year old protocal called X11 which has many issues and few people willing to work on. Wayland offers a codebase without the spaghetti, more security, easier feature development, and to a point backwards compatibility.

  • devfuuu@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    4 months ago

    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@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      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@lemmy.institute
        link
        fedilink
        arrow-up
        1
        ·
        4 months ago

        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.

  • shrugs@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I’ll try to explain:

    In the past we only had text terminals without a graphical interface ~1990 (sh / bash / tty). so the display server (Xorg / formaly known as X11) was born. it’s a piece of software that allows programs to not only print text to screen but to draw complex geometrical shapes. This allowed for gui programs that use frameworks like qt or gtk or motif… to draw buttons and shit using Xorg.

    For having mutliple “windows” / “programs” running they invented a window manager, that drew a border around the windows with some min / max /close buttons and the modern gui was good to go. btw. the next step are desktop environments like kde or gnome but that would be too much for this post.

    Back to display server (Xorg) and window manager (kwin, mutter, metacity, dwm, awesome, i3…): the design of xorg is super old and has many shortcomings like hdr, variable refreshrate or security: every window can read the contents of or produce input for other windows which is a nightmare for todays security standards.

    So wayland was invented to use state of the art concepts and design. Here comes the big problem: State of the art concepts required wayland to not be a display manager like Xorg. wayland is more like a protocol that defines how to draw windows, resize and close them or how they are allowed to talk to each other. Since wayland is only a protocol+ the window manager now needs to do the heavy lifting of coordinating this protocol, drawing and stuff like that, which in turn results in way less window managers that support wayland because they are complex as hell.

    Since modern software needs to support a heck of a lot of different ways for applications to interact with each other rewriting these functionality for wayland needs time. thats the reason desktop sharing/recording or muting your mic with a keyboard shortcut when the webex window was not in focus wasn’t possible at first. new solutiones needed to be developed for that (pipewire for example). Many programs would run in an xorg window that was implemented as a wayland window (xwayland) which made transitioning to wayland much easier but introduced new problems.

    At the moment we are in a transitional phase. many programs already work without problems, but many software still require features wayland doesn’t have and might never implement. Everyone needing that software is hating on wayland. everyone needing variable refreshrate, fractional scaling or security prefers to use wayland. And the fighting begins.

    Disclaimer: There might be errors, simplifications or misunderstandings on my side but thats the way i understood if. Feel free to correct any mistakes on my part.

  • sabin@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    In short it’s essentially a protocol that defines what type of requests must be sent between applications and a compositor.