• bleistift2
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 days ago

    I’m not a super-savvy user. Can someone explain to me why I should care about X vs Wayland? Everything seems to work with X, and as I’ve just read, many programs don’t support Wayland. So will this transition just lead to lots of broken software once someone decides they won’t ship with X by default anymore?

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      arrow-down
      1
      ·
      edit-2
      1 day ago

      X is broken and the people who understand it at a deep level are pretty much all dead. What’s worse is that the code base is massive and doesn’t follow modern code practices.

      Wayland is different as there is no codebase. It is simply a set of standards that allow apps to connect to a desktop.

      The X model:

      App -> window manager -> X server -> hardware

      The Wayland model:

      App -> desktop -> hardware

      This sounds like it wouldn’t be that big of improvement but unlike X Wayland is designed to take advantage of the modern GPU horse power. X was originally designed to run on UNIX mainframes so to make it run like it does took a bunch of Jacky work arounds.

      • jsonjson@lemmy.sdf.org
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        1 day ago

        Many of the people that maintain X are the same people working on Wayland implementations. They’re pushing people towards the new thing because it makes their lives easier, and that’s also the nature of engineer driven product development, it’s not going to consider all the edge cases underserved from replacing legacy software because there’s nobody to keep them in check.

    • RoyaltyInTraining@lemmy.world
      link
      fedilink
      arrow-up
      15
      arrow-down
      2
      ·
      2 days ago

      Wayland is basically the direct successor to X11. It basically fixes tearing, makes HDR possible, makes scaling way better, and is all-round just better prepared for the future. I’ve been using it for years without much trouble. The only issues I keep having are scripts which expect x11-specific tools to be there, but that seems to be quickly solving itself while people realize that x11 is quickly loosing support. If you want to try it, I recommend setting up a fresh installation of a distro with KDE, Gnome, Sway, or Hyprland, just to make sure all the right dependencies are installed.

    • Ketata Mohamed@mastodon.tn
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      2 days ago

      @bleistift2 @addie Wayland will be the only display server, it’s impossible to deny it, for example KDE defaults to Wayland & Gnome is 100% detached from X11, the deletion of X11 is coming in the future
      plus, X11 is full of spaghetti code and no one, and I mean no one, supports it anymore, Wayland came to correct that, plus if you have a laptop with a hybrid GPU, you must switch manually between for example Nvidia & Intel, on Wayland everything is done automatically, etc

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Wayland isn’t a display server, it is a protocol. There is no source code for Wayland only a set of standards.

      • bleistift2
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        2 days ago

        if you have a laptop with a hybrid GPU

        That is something I really care about. Thanks!

        [Edit: I just checked. Something is handling the switch automatically on my system]

        • Ketata Mohamed@mastodon.tn
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 days ago

          @bleistift2 I recently contacted the EOS support on their forum because the gaming performance is different pre-SSD to post-SSD death, they mistakingly adviced me to install tools like EnvyControl to switch the GPU, after switching to Nvidia only, no game could run, but on hybrid, the majority of my games ran & using mangohud and their own settings, the Nvidia was used

          • Ketata Mohamed@mastodon.tn
            link
            fedilink
            arrow-up
            1
            ·
            2 days ago

            @bleistift2 why I am throwing pre-SSD & post-SSD death? it’s because at 17 October, my SSD totally died without warning, I tried everything, even trying a data restore company, 100% dead, so I bought a new SSD, just avoid Patriot SSDs like Corona (I was about to write the plague but Corona is more recent)

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      2
      arrow-down
      7
      ·
      2 days ago

      You basically shouldn’t until you are forced to move. Almost all of the improvements so far are in the internal architecture.

      You might notice some tiny differences if you switch, like logging in doesn’t show a black screen at any point, and window choosers when screen sharing show a (totally broken) grid of previews instead of a plain list of window titles.

      Hopefully when X is fully dead (give it another 10 years) we’ll see some actual improvements, e.g. RDP-style remote desktop, good support for multi-monitor, HDR, HiDPI, etc.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        5
        ·
        1 day ago

        I’m not sure if you have been paying attention but Wayland has come very far in the last year or two. It has XDG portals for screen sharing, HDR (early support), display scaling and plenty of other stuff.