Wayland. It comes up a lot: “Bug X fixed in the Plasma Wayland session.” “The Plasma Wayland session has now gained support for feature Y.” And it’s in the news quite …

  • Kool_Newt@lemm.ee
    link
    fedilink
    English
    arrow-up
    18
    ·
    1 year ago

    I have to use Slack for work and screen sharing doesn’t work when I’m using Wayland.

    • daq@lemmy.sdf.org
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      Don’t let Slack launch at startup. As long as it launches after pipewire - everything works. Your can also restart it to fix sharing issue, but that can be a birch if you already started a call.

    • eksb@programming.dev
      link
      fedilink
      English
      arrow-up
      11
      ·
      1 year ago

      I started running OBS with a virtual camera to do screen sharing. It is so much nicer to manage sharing with OBS than with Slack/Google Meet/Discord.

      • RiotRick@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Oh, that sounds like an interesting idea. Currently stuck with teams at work. Screen sharing does work under wayland. But definitely going to try this.

  • BaumGeist@lemmy.ml
    link
    fedilink
    arrow-up
    17
    arrow-down
    5
    ·
    1 year ago
    1. Stagnation isn’t evil, it’s just part of tech. Once tech solves the problem it set out to, it should stagnate. Adding more bells and whistles makes things better less often than it makes them bloated and more prone to breaking. On the flipside, software that hasn’t changed much other than bugfixes and security patches is the backbone of a loooot of our tech infrastructure.

    2. I fail to see how the architectural difference fundamentally solves the issue of changes breaking compatibility. Now instead of breaking compatibility with the server, you’re “only” breaking compatibility with the compositor. But that’s okay because at least there are other compositors that fulfill this use case… oops switching to that compositor broke 3 of your other apps, well lets try another! … and now my pc won’t communicate with my GPU… well, we can always… and so on and so on.

    Not saying that wayland is bad nor that X is better, but these are the two most common “cases against X/for wayland” that I hear and I just don’t buy it. As much as I argued against it, I love trying new and different software and eking every last bit of performance out of my 8 year old PCs, I can’t wait to give Wayland a try and see if there’s a noticeable difference… I just wish these two arguments would go away already

    • verdigris@lemmy.ml
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      1 year ago

      The issue is that X was never a mature, feature-complete, stable project. It was always a hideous and bloated hodgepodge of disparate and barely working patches. The entire point of Wayland is to do exactly what you say tech should do: solve the particular problem (graphics server) well and cleanly, and limit itself to a definable set of features so it can actually reach that point of stability.

    • 0x0@social.rocketsfall.net
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      1 year ago

      As I understand it, Wayland offloads a ton of stuff that was core to X11 (like input device handling) directly to the compositor. The end result is every compositor handling things differently. Compare something like i3 to Sway. Sway has to handle input, displays, keyboard layouts, etc directly in its config. If I switch to Hyprland I then have to learn Hyprland’s configuration options for doing the same. Meanwhile, switching from i3 to dwm requires only setting up the WM to behave how I want - no setting up keyboards, mice, etc. It just feels clunky to work with Wayland compositors, frankly.

      Also when something breaks in Wayland the fix is almost always hard to find or incredibly obscure because the fix isn’t for Wayland- it’s for the compositor. If your compositor isn’t popular then good luck!

      • jack@monero.town
        link
        fedilink
        arrow-up
        4
        arrow-down
        1
        ·
        1 year ago

        Can someone debunk this please? It feels like something is overlooked here

        • chaorace@lemmy.sdf.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          1 year ago

          They got all of the basic facts right and their general experience mostly mirrors my own, though in my case the majority of problems encountered apply to Wayland in general and are rarely compositor-specific. That is to say that I can usually Google “[APP]” [FEATURE] not working “Wayland” and find people from a variety of different Wayland compositors all experiencing the same thing[1]. Maybe I just got lucky when I chose my specific compositor?

          In fact, despite being on Wayland for about a year now, the only compositor-specific issue I’ve ever encountered is a broken controller configuration overlay when using Steam’s Big Picture Mode. It’s actually super frustrating because I have absolutely no idea if it’s an issue specific to my compositor, wl-roots, or something unique about my configuration. All I really know is that it works correctly if I launch Steam in a nested gamescope compositor, so it’s not a bug in the protocol nor xwayland.


          1. Some recent examples: broken Steam Controller cursor, busted SDL in TF2, Invisible Emacs cursor ↩︎

          • jack@monero.town
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            Thanks for sharing your experience. If the majority of issues are Wayland-wide right now instead of compositor-specific, then that is good in my opinion. These issues get fixed once at the protocol level and are then solved for everyone. Compositors should principally just work, given that they implemented the protocol correctly.

  • const_void@lemmy.ml
    link
    fedilink
    arrow-up
    11
    ·
    1 year ago

    Great article. I’m currently still on X because Plasma 5 doesn’t handle fractional scaling well. As soon as that changes (Plasma 6?) I’ll be jumping over to Wayland.

  • Hairyblue@kbin.social
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 year ago

    I want to switch to Wayland. I try it every month to see if it is working with my system and so far it is not.

    Ubuntu 23.04/Nvidia 3080/Steam. It use to work with the old big picture mode but when steam went to the new one, Wayland broke for me.

    • d_k_bo@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      That’s weird. I thought Steam doesn’t support Wayland at all and runs using XWayland.

    • mranderson17@infosec.pub
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Gamescope makes the experience a lot better with steam at least for me in swaywm. I experimented with running each game in gamescope using launch options but with gamescope’s mediocre support of the steam overlay some multiplayer invite stuff doesn’t work correctly. Running steam in bigpicture within gamescope pretty much solves all these issues and seems to improve performance too.

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    So most complaints you read about Wayland missing this or that (such as fractional scaling, or screen sharing, or global shortcuts) from over a year or two ago are likely to be wrong today.

    Is fractional scaling in Wayland really working now? I tried it a while ago and everything was blurry mess.

      • redcalcium@lemmy.institute
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Just tried it on my laptop and xwayland apps are still blurry mess, even after restart. However, all apps I use now has Wayland support that can be enabled with some flags or environmental variables, so they are actually usable now with fractional scaling. Finally I can use my laptop with 175% scaling, which is much more comfortable than 200% scaling.

        • nora@slrpnk.net
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          In display settings check the box to allow x11 apps to scale themselves instead of the compositor. Your cursor will still be blurry but the app content itself will be fine. A few apps like steam won’t scale without some kind of launch flag though.