The biggest thing I can think of is that X11 is more flexible when it comes to specifying custom resolutions; which some people use to output 240p on CRT TVs for emulation. AFAIK, there is currently no real equivalent for xrandr on any Wayland compositor.

I’ve also noticed that Grsync’s password prompt is broken on Wayland. Thankfully, it has a feature that lets you preview the command it’s about to run, so that you can copy and paste it into a terminal.

Being a KDE user on EndeavourOS, I use Wayland everyday. I switched over a few years ago for Waydroid, but now X11 isn’t even an option for me with the current release of KDE.

  • Alavi@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Just looking at these comments, and the fact that wayland still isn’t as good as x11 after all these years (10, 15?) And all this budget shows that wayland is architectually wrong and will never be actually good.

    Any software engineer will understand this. If your project is still in basically beta after more than a decade and that much budget, and it’s only selling point is that “but it’s slightly better than the decades old legacy system”, that project has been architectually wrong, and also definitely has awful management, and you call it failed.

    • underscores@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      down voted for telling the truth. I use Wayland on my laptop and it works fine, but x11 is honestly still the defacto window system

      I have to use x11 on my desktop (yes Nvidia) and it’s a nightmare. I try it every now and then though

    • TehPers@beehaw.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      15 days ago

      it’s only selling point is that “but it’s slightly better than the decades old legacy system”

      I was sold when I could setup my 1440p@144Hz horizontal monitor and 4k@60Hz vertical monitor in Wayland without any issues. This was after hours trying to get it to work with X11 (and giving up).

      The rest of your comment reads like ragebait, tbh. What, exactly, isn’t as good? What indicates it’s still in beta? What are the flaws? That was the whole point of the post, and “it has problems trust me” is not very helpful.

      • Alavi@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        15 days ago

        read the rest of the comments for that.

        it’s still very unpolished and fragmented from my experience.

  • MalReynolds@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    So, just discovering the joys of virtual monitors available in the kernel now. NAS now has and gives me sunshine. Bazzite lets you put your own monitors’ (ujust setup-sunshine - Configure Virtual Monitor) edid into initramfs so sunshine (and KDE remote access if you want laggy but cut and paste enabled) work without a monitor connection (or dongle), very cool. Just thought I should spread the news and this is vaguely associated.

    Not really relevant to the X11 question, except that it provides a (superior) workaround for some issues…

    To the actual question, xtool for automating UI stuff hasn’t been completely replicated, but given it’s an insecure horrible solution I’m OK. Also running a program through a remote connection on a beefier machine was useful at times, is there an equivalent other than remote access?

    • redjard@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      Is there an equivalent other than remote access?

      Yes, there is waypipe. Very close analog to ssh -X, arguably better. Even lets me access my local clipboard in wl-copy/wl-paste commands on the remote.
      It’s not part of ssh though, so needs to be installed on server and client.

      I found waypipe to be way more responsive than X11, and just … better somehow. More integrated into the other programs.

      When using it, take care that pam is enabled in sshd. Else it won’t initialize the proper xdg environment which wayland stuff doesn’t like.

      • HubertManne@piefed.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        thanks. I have not done a workstation in awhile except for my wife and keep on thinking about doing it. This funtion is one that gives me a bit more motivation.

        • redjard@reddthat.com
          link
          fedilink
          arrow-up
          0
          ·
          16 days ago

          Btw. for now you can also still use X for this, it works just fine via xWayland on wayland desktops, and programs still generally support both x11 and wayland.

          • HubertManne@piefed.social
            link
            fedilink
            English
            arrow-up
            0
            ·
            16 days ago

            yeah we had beefy graphics workstations at a place I worked and we would do this all the time. I sorta thought it had went the way of the dodo.

  • amorpheus@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Run on older video cards.

    My home server has a basic Quadro K420. Since the latest KDE forced it onto Wayland, it’s unusable even for the short remote sessions I need the GUI for. Chrome hangs if I don’t disable HW acceleration, within minutes Firefox leaks memory to the point where the kernel panics, Transmission’s window gets garbled like I’m watching a coded PayTV channel.

    Installed xfce and everything is back to normal. Of course nVidia shares some of the blame here, but it’s clearly working on one windowing system and not on the other.

    • swelter_spark@reddthat.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      Isn’t there a version of xscreensaver that works with Wayland? Besides that, there’s Wayfire’s rotating cube.

    • MangoCat@lemmy.sdf.org
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      There’s no timed desktop lock?

      The technical reasons for a screensaver pretty much vanished 10+ years ago, the security aspects are stronger than ever.

      • Maki@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        15 days ago

        Sometimes you just want to have a screen showing you pretty colours on a random rotation. kde’s plasma just goes dark and kicks back to login, and kwin then crashes 9 out of 10 times on resume. Problems I never had with xscreensaver on openbox.

    • mrbigmouth502@piefed.zipOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      14 days ago

      KWin doesn’t support them, and the KDE devs in their stubbornness see no reason to. I really have a love/hate relationship with this DE.

      • Maki@lemmy.blahaj.zone
        link
        fedilink
        arrow-up
        0
        ·
        14 days ago

        Same. Unfortunately a few family members decided it was what they wanted for their first foray into linux and I have to try to support it for them.

  • Aria@lemmygrad.ml
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    Wayland can sorta do all three, but they’re effort to set up and sometimes have bugs, whereas it was perfect under X:
    1: Rotate, flip or scale a display.
    2: View a window on a different computer
    2.5: View a window on a different computer that’s already alive.
    3: Overlap two displays.

  • fartsparkles@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    In general, it’s things that Wayland chose not to do so as to have a better security model.

    For instance multi window apps can’t tell the compositor where to put their windows such as snapping a window to another or following a window. Apps can’t read other windows. It’s a good thing for security but it breaks some older tools and workflows.

    There’s others like multiple mouse cursors, registering global hotkeys, overscan correction etc but many of these things are being addressed and new standards are being drafted, it just takes time.

    I moved to Wayland very early on and, honestly, I’ve not had any problems but I don’t have a complicated or special setup.

    • 2ndDegreeOWO@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      No global hotkeys is a dealbreaker for me, though.

      Once you get used to using custom global hotkeys as part of your workflow, you can never go back.

      • TwilightKiddy@scribe.disroot.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        16 days ago

        It’s not about creating global hotkeys, it’s about registering them from a running program. There is nothing preventing you from creating a compositor-level keybinding, but an app cannot do that unless it figures out what compositor you are running and then handles the configuration for each and every compositor in existance.

        • mrbigmouth502@piefed.zipOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          16 days ago

          I wouldn’t worry about supporting every compositor in existence. Ideally, the Wayland spec would be unified, but it’s not.

          I feel like if someone created a compositor with an extension for that feature, it’d eventually become popular enough that people would start implementing that extension in other compositors.

          • TwilightKiddy@scribe.disroot.org
            link
            fedilink
            English
            arrow-up
            0
            ·
            16 days ago

            I wouldn’t want that. I’m fairly content with the fact that no random apps can grab my keystrokes unless that specific app is focused. From what I heard, for most people the only global keybind they want is muting their microphone. You can implement that yourself with absolutely no trouble, it will usually be the first example in the global keybinds configuration docs for pretty much any compositor. People who don’t want to deal with writing configs can use KDE where you have a GUI to configure the same thing.

            • mrbigmouth502@piefed.zipOP
              link
              fedilink
              English
              arrow-up
              0
              ·
              16 days ago

              Like I said in a different comment, if such a feature exists, it should be an opt-in thing. It shouldn’t be something that’s enabled by default. Heck, I think you could use a permissions-based model where you could specify which apps can read your keystrokes, and which can’t.

    • mrbigmouth502@piefed.zipOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      16 days ago

      It would be nice if end users had more choice in the matter. It’d be cool if someone made a Wayland compositor that allowed some of these features as an opt-in thing.

      • fartsparkles@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        Users do have choice, X11 still exists, there’s lots of distros to choose from, but Wayland is the culmination of 40 years of learnings from the X11 project.

        Linux hosts with desktop managers/window managers were loved by security testers and threat actors for how darn easy it was to get spyware running - logging all keystrokes, recording the whole screen, etc. X11 gave all apps the keys to the kingdom regardless of security policy.

        Wayland is vastly more secure. Sure, there’s work to be done to build out a few edge cases - they’re known and have been in discussion for years at this point - it just takes time.

        X11 had 40 years, Wayland had only had 18. With most mainstream distros switching display server, we should have the remaining sticking points ironed out in the next couple of years.

        • mrbigmouth502@piefed.zipOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          16 days ago

          Users do have choice, X11 still exists

          Not if you want to use KDE on Arch or derivatives.

          It is nice that Wayland is more secure, and that’s one of the reasons I started using it before my DE started mandating it. But, it’d be nice if I could keep most of that security, while having the option to enable certain things that are disabled for security by default where I need them.

          Going back to X11 and its total lack of security isn’t an ideal option, and I can’t even use my preferred DE with it on my preferred distro.

          • fartsparkles@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            edit-2
            15 days ago

            Not if you want to use KDE on Arch or derivatives.

            SonicDE is in the AUR. For people who want continued X11 support for KDE, it looks like this is the project to follow (and vote on in the AUR to promote it to the main packages repos).

      • redjard@reddthat.com
        link
        fedilink
        arrow-up
        0
        ·
        16 days ago

        wayland dwms can and do absolutely implement that. For example kwin has a setting to let programs access keyboard input in the X11 way for the old method of global shortcuts. And to disable the framebuffer for fullscreen games.

        If you wanted, you could probably write a wayland compositor that has all the X11 apis that old management tools use. Wayland is just an api at the end of the day.

    • redjard@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      For instance multi window apps can’t tell the compositor where to put their windows

      They can have positions lf existing windows saved and restored (still rolling out), and I think can ask for some details of initial placement outside of that too.
      Of course still very limited and not handling the specific cases you mentioned.

      registering global hotkeys

      Setting up hotkeys is possible, just in a very different way. You have to have the desktop environment forward it, and for now specifics differ from de to de. Generally they can all bind actions though. A safe minimum-viable way should be to add shortcuttable actions to the desktop file I think, though the qt shortcut stuff should also generally work I think.

      overscan correction

      kwin at least has had that for a while


      Personally for me I used to have a script invoked by tilting the sceoll wheel that’d send a shortcut (e.g. ctrl+page-up/down) to the window under the cursor without focussing it, letting me change tabs of unfocussed windows.
      I think I did that by quickly changing input focus, sending it, then changing it back, with xdotool etc…
      On wayland I’ve tried implementing that via kwin scripting a few times, but found it so hard to debug and to work with in comparison I never managed to recreate that simple tool.

      Having universal posix-like tools to affect the window manager and user input from console is definitely something I miss occasionally.
      Largely this is just a lack of wayland tools I am sure. And I must admit it’s been a while since I last tried.

  • fum@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    Screen saver? At least I haven’t found one yet for Gnome. Or is this a gnome issue?

    • mrbigmouth502@piefed.zipOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      14 days ago

      KDE doesn’t have them either, and they’re something I sorely mess. Whenever I emulate or virtualize Windows, sometimes I like to let it go idle and just watch its screensavers.

  • vividspecter@aussie.zone
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    AFAIK, there is currently no real equivalent for xrandr on any Wayland compositor.

    Normally, you override the EDID rather than specifying modelines manually. Sway also has some limited custom resolution support, but it’s just resolution and refresh rate, and not precise timings. Apparently the DRM backend supports modelines, but that’s not really Wayland by my understanding, more like Steam’s gamescope mode.

    I’ve also noticed that Grsync’s password prompt is broken on Wayland.

    Forcing XWayland may help here. Otherwise, I assume the application is run as root which generally causes some issues with Wayland but potentially can be made to work.

  • ExtremeUnicorn@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    16 days ago

    Correct me if this is no longer the case, but:

    Starting an old game fullscreen and having the lower resolution fill the HD/4K or what have you display and not just display a small box at 1:1 ratio with black borders all around. (Might also be AMD-related, not sure? X can do it, though.)

    Allow custom key maps with multiple level modifiers that are unconditionally accepted system-wide and not just in all applications except for that one that just won’t take that key combination.

  • octobob@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    The switch 2 emulator told me to only run it in X11 as wayland still has performance issues. I didn’t really notice much difference running it in xwayland tho

  • flameleaf@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    Automated window positioning through tools like wmctrl and xdotool. There are replacements on Wayland but they’re either missing features or are tied to a specific window manager.

    I use Xfce, and I like writing bash scripts that can work anywhere.

    • redjard@reddthat.com
      link
      fedilink
      arrow-up
      0
      ·
      16 days ago

      that can work anywhere

      prob more people using KDE now than X11 ;)

      Universal stuff for those (under wayland) compositor-specific functionalities kinda became impossible when wayland became standard.

      In some cases there’s tools that support kwin, mutter, and wlroots, which is now as close to universal as you can probably get for things without standardized wayland api.

      • flameleaf@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        15 days ago

        Interesting how introducing a new standard made it impossible to have a standard.

        By the time Xfce supports it maybe it’ll be in a more stable state. Not interested in switching to KDE.

        • redjard@reddthat.com
          link
          fedilink
          arrow-up
          0
          ·
          15 days ago

          Xfce does support wayland, though in earlier stages than most, who had it somewhat stable it for like 3-4 years now. Xfce started experimentally with 4.20, and should be stabelizing it right now. If you update to 4.22 unstable it might just work just fine.

  • sbird@retrofed.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    16 days ago

    There are a few things that don’t work very well, mostly to do with multi window apps and how some older apps need to run through XWayland (which 99% of the time it works brilliantly! There are a couple weird issues, but most of those are easily fixable through some command argument before opening an app)

    I an also running EndeavourOS (which is awesome!) with Niri + Noctalia (which also uses Wayland), and I have no issues :D