• b000rg@lemmy.sdf.org
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Maybe this isn’t the right place to ask, but does anyone know why Wayland just started shitting the bed whenever I have multiple monitors connected aftera kennel update a couple weeks ago? I’m running Debian trixie with KDE Plasma and using the latest NVIDIA proprietary driver with a RTX 3050.

  • Frenchgeek@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Too bad Wayland is glacially slow when taking screenshots next to X11 (Had a python script taking screenshots of a Minecraft window and doing some image recognition at 60 fps on X11 and …3 on Wayland. I now need to rewrite it to stream the whole desktop as a webcam for the same thing.)

    • yardratianSoma@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      6 days ago

      My uneducated guess is maybe it should be written in C instead of python. On top of that, screen recording via OBS works great on Wayland, so Wayland can’t be fully to blame.

      • michaelmrose@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 days ago

        At least part of that is complete nonsense. Python often already does low level things in c and it was doing 60 fps under X so python is unlikely to be the bottleneck. You would need to profile it to determine the actual bottleneck.

    • dismay3915@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      7 days ago

      Wayland still lacking adoption and functionality for basic and essential needs after more 15 years and with such budgets, really speaks volumes about it’s architecture and decisions.

  • Flatearth_Habeebi@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    As a person who doesn’t really give a shit. I’ve even forgotten that I’m on Wayland. Everything I need works and that’s all that matters to me. Y’all can keep your wars to yourselves

      • Flatearth_Habeebi@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        6 days ago

        More power to you, friend. I honestly will never understand all the wars and politics in software, but it is what it is I guess.

          • Flatearth_Habeebi@lemmy.zip
            link
            fedilink
            arrow-up
            0
            ·
            6 days ago

            I’m going to tell you a secret and please don’t tell anyone:

            Tap for spoiler

            I don’t know what emacs does, and I’ve never cared to even look it up.

            • michaelmrose@lemmy.world
              link
              fedilink
              English
              arrow-up
              0
              ·
              6 days ago

              It’s a text editor with a lisp interpreter built in. The lisp interpreter means it can do basically anything from file management, to IRC, to email, to git. There are a bunch of addons and a virtuous interaction between good text editing and using the functionality to do other things. So if you improve say spell checking you magically get better and more ergonomic spell checking not only in your text editor but on IRC and email etc.

              Lisp is very very malleable and relatively easy to use so it has a fairly massive ecosystem compared to its relatively tiny userbase. It’s design and conservation of functionality for 30 years that you could have made a tiny workflow improvement 20 years ago and still benefit from it because your little tweak remains compatible with modern day emacs with little to no effort. Emacs users often disproportionately value it because over the years their environment has years of such little improvements particular to their usage.

              • certified_expert@lemmy.world
                link
                fedilink
                arrow-up
                0
                ·
                5 days ago

                That’s the key to the religion: because with the years you can tweak it to do what you want it to do, anything else looks inferior, and there you have it, the same pattern of all religions:
                /“my god is better than yours”/

                • michaelmrose@lemmy.world
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  11 hours ago

                  A religion is based on a set of nonsensical axioms that adherents believe and a connected history, origin story, and set of philosophies that cover a range of the same aspects of being a human being from morality to life purpose.

      • LordKitsuna@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 days ago

        Could you give some actual examples of the things that don’t work? I hear people say this a lot, but then they basically refuse to answer what’s not working. There was definitely a lot of wailing pain when it first transitioned, but these days, at least on plasma for me, I haven’t found anything that doesn’t work anymore. other than of course perhaps just some vague abandoned software that wants to do something crazy with the display

        • TideElysium@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          7 days ago

          Plasma does solve some problems itself but: screen recording, global hotkeys, clipboard management to name a few. They all have “solutions”, it just sucks to be made to jump through hoops sometimes. There’s a lot of desirable things in x11 that while crusty worked well, like xrandr and being able to script monitor config. It is niche! But if you used it, it’s annoying to be forced off it

          Here is a (biased but decent enough) list https://gist.github.com/probonopd/9feb7c20257af5dd915e3a9f2d1f2277

          • Azzu@leminal.space
            link
            fedilink
            arrow-up
            0
            ·
            7 days ago

            I guess those 3 are solved by KDE then. I only know Wayland through KDE and the 3 work perfectly fine for me, I didn’t even have to think about them when I used them.

            • TideElysium@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              7 days ago

              Try copying to your clipboard in vim without a plugin, or try starting to record without a (very shaky) OBS plugin. I’m not saying Wayland broke into my house and burgled me but their decision to create everything as distant APIs means that all the smaller DE/WMs have to implement it in a certain way. KDE does a great job of this, but I now have to choose between using HDR on KDE and having things that used to work fineon something like i3

              • Postimo@lemmy.zip
                link
                fedilink
                arrow-up
                1
                ·
                7 days ago

                I feel like it’s all made more frustrating to me too because it seems so many of the problems are in service of answering a threat vector I just don’t give a shit about.

                • TideElysium@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  6 days ago

                  Yeah… it almost makes me wish for an “unsafe mode” where Wayland allows all the things it didn’t allow for the sake of security, but given there was a way to run x11 rootless and many people didn’t, I’m guessing that would just make everyone use it in that way However, the security stuff feels so hypothetical to me right now. I’m on Wayland purely because it supports HDR, I can’t easily cite a single other benefit for myself

          • wltr@discuss.tchncs.de
            link
            fedilink
            arrow-up
            0
            ·
            7 days ago

            What exactly about these three? I’m really curious to understand.

            I never used X knowingly: by the time I’ve started understanding Linux more or so, I’ve been on Wayland already. So, in a way, I can say I never used X, even being on Linux on and off for almost two decades.

            Say, screen recording. It just works for me on Sway (I use wf-recorder) and it just works on Gnome. I have never thought of it as being broken. I could have missed anything though. Not something I use very often.

            What global hotkeys do you mean here? Mine work in all apps. So, I assume they’re global. Or is it something different?

            Not sure about clipboard: it just works too. There’s this ‘middle mouse click’ shit that I hate, as I accidentally paste some unnecessary information into, say, email. Upon scrolling, and accidentally pressing the scroll wheel. I’d love to disable it globally, but it just there, working. I assume that’s a feature for some folks, but I passionately hate it and have no use for.

            • KubeRoot@discuss.tchncs.de
              link
              fedilink
              English
              arrow-up
              0
              ·
              7 days ago

              Not OP, but wanted to address some questions:

              EDIT: I just realized in the linked gist they’re basically complaining Wayland doesn’t have “builtin” support for things like keylogging, and generally uses portals for features. Yes, some DEs may choose not to implement specific features, and apparently that’s Wayland’s fault?

              Screen recording works, I think it’s only existing X software that doesn’t. In my experience there’s still some jank and limitations that might or might not be related to Wayland. After a few days of runtime with periods of sleep mode, screencasting through the portal seems to break until pipewire is restarted. I don’t know if there’s a way to capture an application and its audio automatically.

              Global hotkeys refer to hotkeys that can be activated while the application isn’t focused. Wayland has global hotkeys, but some people don’t like the implementation and refuse to use it. OBS, for example, has an unofficial plugin implementing them, but the actual project refuses because they can’t display and set hotkeys from their own setting menu, and have no good way to support multiple profiles with separate bindings.

              I also don’t know what they mean by clipboard management, but I do know there’s some jank. As a weirdly specific example, when playing Minecraft with patched glfw with native Wayland support, pasting into chat doesn’t work correctly, it seems to always paste the text that was in the clipboard when the game was opened, and not update when copying things from outside the game (but I think it works when copying something inside the game itself). I don’t know if this is an actual Wayland issue, or a case of a broken client implementation, but the lack of software support is still a type of issue.

              • FishFace@piefed.social
                link
                fedilink
                English
                arrow-up
                1
                ·
                7 days ago

                Yes, some DEs may choose not to implement specific features, and apparently that’s Wayland’s fault?

                Kind of. For a long time a mainstream setup like Gnome on Wayland lacked features because they weren’t yet incorporated into Gnome. But more generally, Wayland deliberately didn’t implement a bunch of features that X had, or had external things that accomplished. That pushed the responsibility for implementing it onto each and every window manager. Smaller WMs that would have had all of those features for free on X now have a big burden to achieve the same bar on Wayland, and so many don’t manage it. That’s due to the choices that went into Wayland.

                • KubeRoot@discuss.tchncs.de
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  7 days ago

                  AFAIK all of Wayland is pushed onto the WM, because Wayland is just a set of protocols. It has some libraries, I think official ones, to help with implementing those protocols, but ultimately that’s a design choice that also means WMs don’t have to have those features, especially relevant for atypical WMs where the concept of windows might not exist, displays might not be two dimensional, input might be neither a mouse nor a keyboard.

                  To my understanding, if somebody wants an unusual setup, on Wayland they might need to figure out implementation of protocols for their ideas. On X11, they might not be able to do anything because it enforces certain ideas of how a graphical environment works.

                  That’s simply not a failure of Wayland, it’s a tradeoff they chose, and it seems dishonest when people say things “don’t work on Wayland” because the responsibility is deliberately moved to a portal or something.

  • palordrolap@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    7 days ago

    I know how LongtimeUser4 feels. His use case is ludicrous, sure, but xkcd’s ideas don’t come out of nothing.

    I am dreading trying to rewrite my scripts that currently rely on xdotool and wmctrl. When last I looked into it, the equivalents didn’t cover the features I use, and the rationale from Wayland seems to be “why would you want to do that, old man?”