Link to article: https://gist.github.com/probonopd/9feb7c20257af5dd915e3a9f2d1f2277?permalink_comment_id=4749746

This OUTDATED article gets posted all the time. The full story is the guy is a massive FreeBSD fan so he is trying to convince more people to keep on using Xorg because he wants to make sure it isn’t abandoned. Reason for that being that Wayland is built with Linux in mind and would not work under FreeBSD without a lot of effort bwing put in as it uses some Linux-specific components or libraries.

Let’s go through the article point by point:

Wayland is broken by design:
  • A crash in the window manager takes down all running applications: Yes, because the compositor IS the server, window manager AND compositor at the same time.

  • You cannot do a lot of things: What, like allowing Windows to see your keystrokes, which makes developing a keylogger absolutely trivial?

  • There is not /usr/bin/wayland: Yes, because Wayland is a set of protocols, which a bunch of projects can implement as few or as many of, as they see fit, thus avoiding the issue of “unmaintainable mess” that has plagued Xorg for years.

  • It offloads work to the window manager: Again, yes, that’s a part of its structure: do the protocols, then let the compositor implement them. That way, you have multiple implementations running simultaneously that are well integrated with their window managers and thus more efficient and performant. It also means that when a compositor suffers from too much cruft, we can just make a new one, while application developers wouldn’t really have anything to change because if their application works on Wayland, then it works on different compositors (unless it is made specifically for GNOME, or specifically for wlroots, like wlr-randr)

so what works on DE 1, doesn’t necessarily work on DE 2: True, because oftentimes, it doesn’t need to. Not implementing features can lead to a more lean and streamlined software solution. However, sometimes features are necessary and only implemented in some compositors. This usually happens because the universal solution is not ready. KDE are often known to do this with Plasma and KWin.

  • Wayland breaks screen recording applications: Correction: The following screen recording applications were not built to support Wayland (because Wayland is new to them or they just decided not to, or they were either too busy or too irresponsible enough to realise Wayland is coming, and has been for over 10 years. In defence of the devs, they probably wanted to make sure Wayland will become stable enough, but it has been the default even on Debian for many years now, so…

In terms of the applications, I’m not aware of many of them, and for this sort of application, I’m sire alot of work is required to change the graphical backend, so I understood that some smaller projects gave up, but OBS has been working on Wayland for quite a while. Is it perfect? I don’t think so, but back when Brodie Robertson was using Hyprland, he was recording his videos using OBS. This article is quite outdated.

  • Wayland breaks screen sharing applications:

As the update shows, Jitsi now does work on Wayland.

Zoom only seemed to work on gnome, BUT if you open up the Link to the zoom issue and read through the comments, there is clearly a person that clearly states that they changed /etc/os-release from PureOS to debian and it worked for them, all because of some pointless limitations enforced by the Zoom developers. As the person posting the issue states “Currently, the zoom application has put an arbirtrary restriction on screensharing so it ONLY works on GNOME, when the api being used works on all wayland desktops.” Read that again. It’s a pointless restriction put there by the Zoom team because they couldn’t be bothered to test anything non-GNOME.

And the last issue is a problem with the article writer’s own appimage. I don’t know about that one.

  • Wayland breaks automation software

As stated IN YOUR FACE, it is an application that works on X11 only. Yes, Wayland is not made to use such applications, but it doesn’t mean they can’t exist. Every heard of ydotool (remember that name)? Now you have.

Next up, we have 3 issues about GNOME and KDE global menus (1 for GNOME, 2 for KDE). From the little I know about global menus and using these projects, as well as considering that they are both incredibly stable on Wayland and Fedora KDE will be dropping Xorg completely, I think it’s safe to assume these issues have probably been fixed. Please correct me if I’m wrong.

  • Wayland breaks AppImages that don’t ship a special QT plugin: Great! Just ship the plugins then! Problem solved! Also, quote from the article: “However, there is a workaround: “AppImages which ship just the XCB plugin will automatically fallback to running in xwayland mode” (see below).”

  • Wayland breaks Redshift: Once again, a program built for Xorg doesn’t always work on Wayland. Especially if it works with the compositor, like a colour temperature control application, or a wallpaper setter. The article quotes that “Redshift does not support Wayland since it offers no way to adjust the color temperature” which is not true, as proven by Redshift alternatives like Gammastep.

  • Wayland breaks global hotkeys: I present to you: Hyprland (where you can get global hotkeys). Now, it is normally not allowed by design, as a security measure, but Hyprland has not allowed that to stop them from implementing a solution where you can choose keys that will be passed on to the application. Boom, problem solved. Unfortunately, it doesn’t seem to be implemented anywhere else, as far as I know.

  • Wayland does not work for XFCE: Come back to me in late 2024 after XFCE 4.20, which will introduce Wayland support, has been released. Also, https://wiki.xfce.org/releng/wayland_roadmap

  • Wayland does not work properly on Nvidia Hardware: It keeps on getting closer but is not there yet, or so I’ve heard. Apparently, the issue is with the proprietary drivers, as noveau works well. But I use AMD, so I’m only working off rumours and opinions here.

  • Wayland does not work properly on Intel hardware: Again, I’m using AMD, so I can’t confirm or deny this, but considering the Intel drivers are open source, and I’ve heard about many, many improvements made on the Intel side of things, I think it would be reasonable to assume it has been fixed.

Edit: As multiple Intel users have pointed out in the comments, there seem to be no issues on Wayland with Intel hardware.

  • Wayland prevents GUI applications from running as root: This one has been crossed out as the article writer admits there is a solution

  • Wayland is biased towards Linux and breaks BSD: Arguments seem valid, and I’m guessing, are correct. This one is likely true and will remain so for the foreseeable future.

Edit: And yet, it seems that there are Wayland compositors for FreeBSD, so the above might only be true for OpenBSD and others.

  • Wayland complicates server side decorations: From what I’ve heard, this is true, mainly something to do with some GNOME agenda, as the article states. I think that one is true.

  • Wayland breaks windows raising/activating themselves: The linked issue is closed and seems to be resolved. There is a mention of a WIP protocol at the time (2019) that woukd fix this. I had difficulty following the discussion, but I think this has been fixed.

  • Wayland breaks RescueTime: Because RescueTime depends on X11-only tools like xprop.

  • Wayland breaks window manager: What you’re describing is Wayland breaking X11-only tools for doing various tasks in a window manager. They are X11 tools, so of course they don’t work on Wayland. I’m not sure if there are alternatives, but I’d guess there probably are. I know for a fact that Xrandr has alternatives like wlr-randr and kanshi for wlroots.

  • Wayland requires {instert WM here} to implement Xorg-like functionality:Yes, it does.

Quote from article: "As it currently stands minor WMs and DEs do not even intend to support Wayland given the sheer complexity of writing all the code required to support the above features. "

DEs: GNOME, KDE, MATE, XFCE, Cinnamon, Budgie, Enlightenment, and recently even Pantheon have either announced to start work on, have started work on, or already support Wayland.

Window managers: Qtile is doing it. Xmonad wants to hire a dev to do it. Dwm has a spiritual successor called dwl. i3 has a drop-in replacement called sway. Openbox has 2 spiritual successors called labwc and waybox. Now you might notice one of the biggest WMs is missing on here: AwesomeWM, which is such a shame. The Awesome devs have said they would be okay with someone taking on that challenge (which has already been attempted, as evidenced by the existence of way-cooler), but it seems that they wouldn’t do it themselves.

As for the projects mentioned in the article, (JWM, TWM, XDM, IceWM) they are too small and obscure, and will likely fade away with Xorg.

  • Wayland breaks _NET_WM_STATE_SKIP_TASKBAR protocol I don’t know about that one, ao I’ll assume it is still the case. Edit: Ignoring the fact that the link is broken, it basically just links to a docs change where skipTaskbar is marked as unsupported on Linux. Link: https://github.com/electron/electron/pull/33226

  • Wayland breaks NoMachine NX The link points to a page that has this marked as “SOLVED, Released in version 8” so I’m guessing it has been solved.

  • Wayland breaks Xclip: As you said it yourself, Xclip is an X11 application, so it doesn’t work on Wayland. Of course it wouldn’t work on Wayland. With Wayland, we’re trying to prevent what happened with Xorg from happening again, or am I wrong?

Edit: As pointed out by some people in the comments, there are also alternatives to xclip like wl-clipboard.

  • Wayland breaks SUDO_ASKPASS: That link seems to point to the way this issue has been resolved so I don’t see your point.

  • Wayland breaks X11 atoms: I lack knowledge on the topic so will assume this to be a valid argument

  • Wayland break games: I’m 99% sure you can disable Vsync??? But I’m not a gamer. Also, WINE on Wayland is getting better and better. Soon enough, I hope the subpar performance will become better performance (when compared to Xorg)

  • Wayland breaks xdotool: Well, yes. There is ydotool, but you’re looking for a 1-to-1 replacement and I’m not sure if ydotool fits the bill for that.

  • Wayland breaks xkill: Well, yes. Again. It is an X application, so of course it does. Though for some reason I remember it working once on wayland. Must have been an xwayland app, or maybe I’m just misremembering this.

  • Wayland breaks screensavers: Yeah, that seems to be the case.

  • Wayland breaks setting the window position: That is a WIP for Plasma, not sure about any other projects, so assume true for anything else.

  • Wayland breaks color management: Not anymore. That is being actively worked on.

  • Wayland breaks DRM leasing: While not rhat familiar with the issue, my understanding of the topic is the article is correct: not all compositors support it.

  • Wayland breaks in-home streaming: Not familiar with this, so will assume true.

  • Wayland breaks NetWM/EWMH: Yeah, that seems to be the case.

  • Wayland breaks window icons: Yeah, that seems to be the case, as said in the article, when no .desktop files are used.

And that concludes my response to this article based on my fairly limited knowledge on the topic. If I got anything wrong, please, please let me know. As you can see my knowledge is quite limited, and as such, any corrections (preferably backed up with evidence) would be appreciated

  • @[email protected]
    link
    fedilink
    7
    edit-2
    2 years ago

    A crash in the window manager takes down all running applications: Yes, because the compositor IS the server, window manager AND compositor at the same time.

    I still would have preffered a modular approach, where compositor, window manager, server/mouse+keyboard are plugable. Well, it’s probably possible with Wayland, but the ecosystem is not there yet.

  • @[email protected]
    link
    fedilink
    202 years ago

    Wayland is great! Except for all list of not-a-bugs that I’d like to see fixed. Still, I’m not going back to X, so take that how you will.

    What are the not-a-bugs? Things like covering up a Wayland window will block it’s rendering thread indefinitely with no way to detect it happens to handle it. This can lock up some games, or cause you to time out in a networked application. Some Wayland core folks don’t want applications to know if their window is visible or not because it’s mild information about a user’s attention that should be private. Every game dev on the other hand is asking “WTF!?” as it causes their games to break randomly.

    Another mild example is that windows cannot be raised except by the user or by launching them. This is supposed to be a mild security precaution so a program can’t pop up a legitimate looking dialog over another application and trick the user. Realistically it means that applications can’t open and focus URL in your web or file browser. Instead they have to give you a notification telling you “Firefox is Ready” and make you do it manually.

    A lot of this is slowly (painfully?) changing, and the adversarial nature is a bit frustrating. Wayland fixes so many little things that I find it well worth it though, and I say that as a game developer frustrated by many of the core design decisions.

    • Domi
      link
      fedilink
      18
      edit-2
      2 years ago

      Another mild example is that windows cannot be raised except by the user or by launching them. This is supposed to be a mild security precaution so a program can’t pop up a legitimate looking dialog over another application and trick the user. Realistically it means that applications can’t open and focus URL in your web or file browser. Instead they have to give you a notification telling you “Firefox is Ready” and make you do it manually.

      I would like them to keep that behaviour. At least make it an option or allow whitelisting certain applications. Nothing I hate more in an OS than windows stealing focus without asking.

      • TurboWafflz
        link
        fedilink
        42 years ago

        Focus stealing is one of the worst things in the world, I am so glad I haven’t had to deal with it since I switched to wayland. (Except for stupid firefox tabs stealing focus from other tabs, that still happens obviously and happened to me during a test for my university and almost invalidated my score)

    • @[email protected]
      link
      fedilink
      12 years ago

      What are the not-a-bugs? Things like covering up a Wayland window will block it’s rendering thread indefinitely with no way to detect it happens to handle it. This can lock up some games, or cause you to time out in a networked application. Some Wayland core folks don’t want applications to know if their window is visible or not because it’s mild information about a user’s attention that should be private. Every game dev on the other hand is asking “WTF!?” as it causes their games to break randomly

      Please don’t make up what “Wayland core folks” think. You don’t know it, and your claims are waay off.

      It’s not about security. It was intended to allow the compositor to throttle apps to improve efficiency… Which of course in practice doesn’t work like this at all, because OpenGL swap buffers and Vulkan FIFO presentation modes were never intended to be used this way.

      As for why that hasn’t been fixed yet, it’s not as big of a problem anymore:

      • Mesa (at least for Vulkan) and Xwayland gurantee one frame per second as a minimum refresh rate
      • toolkits and libraries use mailbox presentation internally and check frame callbacks themselves for when to render
      • xdg shell now contains a flag for apps to know to inhibit rendering because they’re hidden. That doesn’t guarantee that presentation won’t otherwise block though
      • a (set of) protocol(s) is being worked on to replace frame callbacks with a mechanism actually suited for OpenGL and Vulkan

      Another mild example is that windows cannot be raised except by the user or by launching them. This is supposed to be a mild security precaution so a program can’t pop up a legitimate looking dialog over another application and trick the user. Realistically it means that applications can’t open and focus URL in your web or file browser. Instead they have to give you a notification telling you “Firefox is Ready” and make you do it manually.

      That’s not even close to how activation works on Wayland, and no, it’s not just a security thing, it’s a usability thing. Apps can only raise themselves if the currently focused app gives them focus, so that random apps can’t cover up what you’re working on just cause they need to show you an ad or an “important” pop up question or whatever. If it doesn’t work for a specific app, make a bug report about it to the app.

    • @[email protected]
      link
      fedilink
      102 years ago

      Some Wayland core folks don’t want applications to know if their window is visible or not because it’s mild information about a user’s attention that should be private.

      I do like that. I have encountered a number of bullshit things like HR mindless training videos (ok, the fourth time I’ve seen this guy contemplate accepting a bribe… I get it. Don’t accept bribes! Leave that shit to Clarence Thomas) or ad playbacks that refuse to proceed unless they are focused. It’s annoying as hell. The problem you point out also sounds really annoying.

  • kopper [they/them]
    link
    fedilink
    English
    62
    edit-2
    2 years ago

    TLDR of linked gist: wayland is not X therefore it is bad. end of.

    Wayland breaks Xclip: As you said it yourself, Xclip is an X11 application, so it doesn’t work on Wayland. Of course it wouldn’t work on Wayland. With Wayland, we’re trying to prevent what happened with Xorg from happening again, or am I wrong?

    also, https://github.com/bugaevc/wl-clipboard. perhaps all OP (of gist) needs is a simple shim that can convert calls to xclip to wl-copy/paste? that doesn’t seem too hard to make compared to keeping X.org alive I’d say (perhaps they should try making it if it’s that much of a problem)

    Wayland breaks screensavers: Yeah, that seems to be the case.

    from the dev of xscreensaver at https://www.jwz.org/blog/2023/09/wayland-and-screen-savers/ :

    […] Adding screen savers to Wayland is not simply a matter of “port the XScreenSaver daemon”, because under the Wayland model, screen blanking and locking should not be a third-party user-space app; much of the logic must be embedded into the display manager itself. This is a good thing! It is a better model than what we have under X11. […]

    […] Under X11, you run XScreenSaver, which is a user-space program that tries really hard to keep the screen locked and never crash. It is very good at this, but that it needs to try so hard in the first place is a fundamental design flaw of X11. […]

    other people can comment on the parts they know about, these are two i know of off the top of my head

          • @[email protected]
            link
            fedilink
            12
            edit-2
            2 years ago

            In the modern era, the main purpose of a screen saver is to lock the screen, and has been for most users for a long time. Many of us would also like to have pretty pictures on our locked screens.

            It no longer has anything to do with preventing burn-in, so you’re right from a certain point of view.

            • magic_lobster_party
              link
              fedilink
              32 years ago

              But locking the screen is not the purpose of xscreensaver. It’s mostly just an overlay with animations.

              • @[email protected]
                link
                fedilink
                62 years ago

                To quote its author

                On X11 systems, XScreenSaver is two things: it is both a large collection of screen savers; and it is also the framework for blanking and locking the screen.

            • th3raid0r
              link
              fedilink
              32 years ago

              I dunno, my OLED panel has some notable image retention issues - and a screensaver does appear to help in that regard.

        • Strit
          link
          fedilink
          112 years ago

          Screenlocking works just fine. That was not the issue mentioned.

      • @[email protected]
        link
        fedilink
        242 years ago

        businesses that want to put their logo or slogan bouncing around on monitors of inactive computers

        that’s about it

      • TimeSquirrel
        link
        fedilink
        62 years ago

        I still install the MatrixGL screensaver every once in a while for shits and giggles on a new install until the gimmick wears out.

      • th3raid0r
        link
        fedilink
        32 years ago

        Eh, I went back to screen savers due to my use of OLED panels. Better than a static lock-screen image for sure.

  • andrew0
    link
    fedilink
    1012 years ago

    What a stupid article. It’s like saying “stop using electric vehicles because you can’t use gas stations”. I don’t understand why he’s so adamant about this? It’s not like Wayland had about 20 years of extra time to develop like X11. People keep working on it, and it takes time to polish things.

    • @[email protected]
      link
      fedilink
      English
      52 years ago

      The article is 3 years old and some things are only presently being fixed NOW and due to filter down to stable distros in 2024. Furthermore wayland proponents have been claiming its totally ready for prime time and not broken at all since 2015 while promoting AMD GPUs that at that point in time still sucked hairy balls.

  • @[email protected]
    link
    fedilink
    162 years ago

    I don’t think a good response to " breaks " is to say "yes, because was designed to work with and hasn’t been updated to use ". Part of the task of replacing something old - onerous though it be - is to provide a smooth route to support old programs and functionality.

    Wayland deliberately broke everything, but then was rolled out prematurely at least on some distros, before giving the vast X ecosystem enough time (which was guaranteed to be a long time, due to how large and entrenched it was) to update. Besides which, the “OUTDATED” post has an awful lot of things you acknowledge are still issues!

    • @[email protected]
      link
      fedilink
      62 years ago

      I would argue that promoting Wayland as production ready is still premature considering the number of excuses Wayland proponents have to make who is at fault for Wayland’s shortcomings (Nvidia seems to be a big one but people who have needs the short-sighted protocol design didn’t account for are a close second).

    • Strit
      link
      fedilink
      232 years ago

      The problem, as I see it, is that the author of the original Gist does not really want wayland replacements for what he has, but rather what he has to also work on wayland.

      Wayland didn’t break everything. It broke what relied on X11 specific stuff, which turned out to be a lot of things. The vast majority of issues still present with Wayland are edge-cases that will only see the light of day when the people with those edge-cases start using wayland. And as long as distros default to X11, that won’t happen. So that distros, like Fedora, started defaulting to Wayland “early” on (yes I put early in quotes, because it’s only perceived as early) is actually a good thing. Makes the compositor developers aware of edge-cases they can’t catch themselves.

      I’vge been using Wayland exclusively for over a year and apart from a couple of small bugs, not even missing functions, I haven’t experienced any issues relating to Wayland directly. But that’s for my use case. YMMV as always.

      • be_excellent_to_each_other
        link
        fedilink
        112 years ago

        The problem, as I see it, is that the author of the original Gist does not really want wayland replacements for what he has, but rather what he has to also work on wayland.

        It’s like the Windows users expecting to use all the same software on Linux when they move over problem, but in microcosm.

    • RT Redréovič
      link
      fedilink
      92 years ago

      The main issue here is not that some of the issues that are mentioned there are not genuine. They indeed are genuine and have mostly already been notified to the devs working on the protocols and the compositors. The issue here is how those are presented. By creating this almost cultish “battle between the 2 display servers” thing is not productive and demoralizes developers. Making criticism is one thing and productive but “boycotting” is not. And certainly not in the bad faith way the author of that article has done. I myself have both X and WL setups and I alternate between them frequently. I am not sitting here “boycotting” one display server in a prejudiced manner. This is Linux, not Windows or MacOS. Users are free to continue using Xorg and develop it according to them if they do not like something else. And similarly, they are free to use Wayland.

  • @[email protected]
    link
    fedilink
    132 years ago

    idk i feel the window manager space its losing a lot with wayland and i didnt have a great experience with any wayland versions of existing WM. without even talking about the nvidia shitshow, does sway still call you a bitch for even trying to run it on nvidia?? imma stick to dwm as long as it works

    • @[email protected]OP
      link
      fedilink
      22 years ago

      I didn’t have a great experience

      Neither did I. I use Qtile, and I’m waiting for some things on Wayland to improve. It’s close, but not there yet.

      • @[email protected]
        link
        fedilink
        2
        edit-2
        2 years ago

        i just tried again, its literally impossibile to compile dwl on ubuntu 22 since libwlroots-dev is too old so youd have to compile that manually… stuff like this is what keeps me away from wayland for now

          • @[email protected]
            link
            fedilink
            1
            edit-2
            2 years ago

            yeah you need wlroots 16 which is not there, trying now to compile from source but you also need to compile wayland manually…

            edit

            tried anyway and after compiling libdrm wayland-server pixman and other stuff i give up. this is not worth it

      • r00ty
        link
        fedilink
        32 years ago

        I think this is ultimately the answer. I’m not going to judge wayland until I see it as ready and can truly replace X in all use cases.

        I sometimes feel like the distros switching now is premature. But, maybe they know something I don’t.

        • @[email protected]
          link
          fedilink
          English
          12 years ago

          I believe they try to force it asap to make pressure on applications developers to really speed things up.

          When I dumped windows for the first time (maybe about 5-6 years ago) I immediately stumbled upon articles about bad wayland needing decades to mature. And here I am couple years later running linux on wayland quite happily.

        • @[email protected]OP
          link
          fedilink
          82 years ago

          Fedora is switching because Fedora is always trying to be first at everything. And because things are very close tp perfect, it means that when Fedora makes the switch, a bunch of users will use Wayland more, helping iron out the last few bugs and issues.

    • RT Redréovič
      link
      fedilink
      32 years ago

      No, running sway with the --unsupported-gpu flag launches it without any remarks about your hardware. It’s been like this for a good while.

    • @[email protected]OP
      link
      fedilink
      132 years ago

      Oh yeah, I forgot about the work on Plasma and QT6.

      I didn’t know that about FreeBSD. Will add it.

    • @[email protected]
      link
      fedilink
      11
      edit-2
      2 years ago

      FreeBSD’s Wayland support is through a Linux compatibility library. The major Wayland implementations are Linux only and there’s no way around it other than implementing Linux libraries like FreeBSD did.

      • qwesx
        link
        fedilink
        4
        edit-2
        2 years ago

        That something entirely different than the protocol being biased towards Linux. It’s like complaining that TCP/IP is biased towards Linux because the Linux kernel’s networking module can’t be used in BSD kernels.

        • @[email protected]
          link
          fedilink
          1
          edit-2
          2 years ago

          Clearly biased towards BSD as both MacOS and Windows started off with the BSD TCP/IP stack.

          Many operating systems use the WiFi from BSD as well.

    • @[email protected]OP
      link
      fedilink
      12 years ago

      Because it is the replacement for Xorg and X11 as a whole. This is like expecting all Unix applications to work on Linux. No, some things need to be ported or rewritten. I don’t want to force adoption of Wayland. Heck, I’m on Xorg because Qtile’s Wayland session is missing a thing or two I need (they’re in development but not there yet). I’m just tired of people pretending this article is accurate and up to date so I wanted to set some things clear. Granted, I didn’t do it that well, but I tried.

      Also, whoever calls Wayland X12 is lying to themselves and everyone else. The only way in which such naming would make sense is if you consider the fact that the X11 maintainers (pretty much all of them RedHat employees) were sick and tired of maintaining it, so they started Wayland to replace X11 (NOT as a drop in replacement, mind you). So the only way such naming wpuld make sense is if you consoder the fact that Wayland developers and maintainers were the same people that were maintaining Xorg until they just gave up.

      • Fedora
        link
        fedilink
        1
        edit-2
        2 years ago

        Some people including myself call Wayland X12 because Wayland is a subset of the X12 protocol made by the X11 maintainers, and as such is as close to an X11 successor as you can get.

    • bluGill
      link
      fedilink
      12 years ago

      Because the people who developed X11 (that is Xorg) haven declared that. Maybe they should have named it X12, but they didn’t for whatever reason. However the people doing the work have already given up on working on X11 they gave up on X11 beyond the bare minimum almost 10 years ago because some real issues with X11 as a protocol are not fixable.

      There were other attempts to a successor to X11, but they never got the support of people doing the work on X11 (in part because they didn’t understand the problem with X11 and so kept many bad things while ‘fixing’ things that were not broken)

      Which is to say: you have two choices: get involved with continuing X11 development, or jump to Wayland. Throw a couple million $$$ per year at X11 (either pay developers, or convince a dozen developers to maintain X11) and I’ll retract my statement, until then X11 is dead. If you cannot do that then Wayland is your only option.

  • @[email protected]
    link
    fedilink
    26
    edit-2
    2 years ago

    Wayland … uses some Linux-specific components or libraries

    No. Wayland is a protocol, not software.

    • @[email protected]
      link
      fedilink
      English
      4
      edit-2
      2 years ago

      Yeah, I was going to ask if the Wayland protocol included some Linux-kernel-specific data structures or something that would make it somehow more awkward to implement on non-Linux kernels or something.

      Like if I created a protocol that included sending data encoded using the Python serialization framework called “pickle”, one could say that was a Python-specific protocol in that while it would be possible to use that protocol from other languages, it would be very weird and awkward to do so at best.

      Not really knowing much about the specifics of Wayland, I wouldn’t truly know if there could possibly be anything Linux-specific in Wayland. But as far as I know, it’s entirely possible theshatterstone54 knows something I don’t.

    • @[email protected]
      link
      fedilink
      4
      edit-2
      2 years ago

      What they are talking about is that some of the Wayland compositors rely on things like libinput and libdrm which are Linux specific.

      This is not “Wayland” really but, from the point of view of a regular user, it may as well be. As the OP points out, there is no /usr/bin/Wayland

      It is not really a great criticism although it must be frustrating for the BSD folks and others. Of course, the answer like always is to contribute. Nothing stopping anybody from taking wlroots ( or whatever ) and adding abstractions that make it more portable.

      Non-Linux operating systems have already added Wayland support ( like Haiku ). If I had the time, I would add it to SerenityOS myself.

      Actually, if I had the time, I might write a WaylandServer for X. First, it would be funny. Second, the people that do not want to move could stay on X forever even when everything stops supporting it. I would have to make sure that my WaylandServer could run XWayland of course.

  • RT Redréovič
    link
    fedilink
    132 years ago

    Amazing text! I was just commenting how ridiculous the article is this morning and now you have written a more lenghty criticism.

    As for the Zoom bit. I will add my 2 years experience of using it on Wayland on Artix as well as Void Linux - I never used Gnome and it worked fine on Sway and River on my iGPU. In between a few updates I did face a few crashes of zoom when rendering on my nvidia gpu but it was still fine. I have not used zoom in over an year so I can’t comment on how it is now.

    As for “wayland does not work properly on nvidia.” Solely nvidia is blame. They have been pushing out patches to bring out more support but it’s just nvidia who can fix that in the end. While I would not want to assume what hardware the author uses. Wayland works like butter on my Intel hardware.

    Great alternatives for xclip and many other X-tools are already in the market.

    The VSync issue on wayland is genuine. Disabling it in-game does not affect anything because it is enforced by the compositor. VSync is an integral part of Wayland Compositioning (acc. to the wlroots dev) but a solution to automatically disable it in full screen applications, etc is down the pipeline and work is ongoing. I have not been following it but I think some fixes were already released, I could be wrong.

    As for X11 Atoms: https://stackoverflow.com/questions/41005297/x-to-wayland-what-about-atoms Just boils down to the application dev’s willingness to port the app to Wayland. The author of the ‘boycott wayland’ article seems to just want wayland to implement Xorg 1:1 for it to not fail their stupid standard of what-should-be-boycotted. And at that point Wayland is not Wayland but Xorg.

    Most of the arguments presented in the ‘Boycott Wayland’ article are either generic issues being worked upon by the devs or things that don’t have much relevance but put down in a manner as if to almost fear-monger that Wayland is the spawn of the devil and must not be used at all.

    • @[email protected]
      link
      fedilink
      42 years ago

      As for “wayland does not work properly on nvidia.” Solely nvidia is blame.

      Nobody but Wayland apologists cares who is to blame. If it doesn’t work on their hardware that clearly is an issue with the idea that Wayland should completely replace X11/xorg because out of Wayland and Nvidia if one of those two goes away it will be Wayland, not Nvidia.

      • RT Redréovič
        link
        fedilink
        132 years ago

        You clearly do not know what you are talking about so I have no interest in giving more value to your already worthless comment. It is amusing that you must introduce the term “Wayland Apologist” as if that has any meaning in this sector.

        • @[email protected]
          link
          fedilink
          42 years ago

          So I guess you don’t have anything but insults then to refute that blame is at best a secondary issue and most likely a complete non-issue for people on whose systems Wayland won’t work. Unless all you care about is playing blame games but not about the actual practical issues blame is irrelevant.

          • @[email protected]
            link
            fedilink
            English
            72 years ago

            I mean, you started your comment by saying “Wayland apologists” - I’m not sure why you thought it would go over just fine.

            Which is unfortunate that you did, the Linux community already has quite a bit of hate for Nvidia (for good reason) but comments like these tend to just make people who use Nvidia hardware look bad. I say this as someone who made the exact same position on the argument (so to speak) in a similar thread a few days ago.

  • be_excellent_to_each_other
    link
    fedilink
    482 years ago

    Wayland does not work properly on Intel hardware: Again, I’m using AMD, so I can’t confirm or deny this, but considering the Intel drivers are open source, and I’ve heard about many, many improvements made on the Intel side of things, I think it would be reasonable to assume it has been fixed.

    Posting this from Plasma Wayland on Intel right now. If something is broken, it’s something not apparent to me.

    • @[email protected]
      link
      fedilink
      12 years ago

      Dual monitor? Wayland on my intel works fine for single screen, but as soon as I plug in a 4k monitor, it gets black cube shadow like artifacts in KDE Plasma 5. A couple of kernel command line options for the module has not helped, either.

      • be_excellent_to_each_other
        link
        fedilink
        12 years ago

        I’m fairly sure I have run this system dual-monitor though I don’t do it routinely. I’ll check sometime this weekend and let you know, if you are interested for comparison’s sake.

          • @[email protected]
            link
            fedilink
            English
            2
            edit-2
            2 years ago

            I’ve just finished watching Generation Kill on a Thinkpad T480s (i7-8650u). It was plugged into the TV, and it plus the laptops screen worked fine.

            Running arch, gnome, waylandVideoSnapshot_20231118_062333

            Imagepipe_0

          • be_excellent_to_each_other
            link
            fedilink
            2
            edit-2
            2 years ago

            Worked with no drama, for me at least. Hooked it to my TV because that was most convenient. USB-C to HDMI adapter, I just had to tell it where they were in relation to each other and set scaling on the TV. Fonts look a little screwy on that dialogue box, but only in the screenshot - and when composing this post I realized even there they look OK if I don’t view that part of the screenshot on the 4K display.

            Edit: No, untrue. I think I had the wrong glasses on. The fonts on the 1080p display are fine in reality, but the screenshot is distorting everything on that panel a bit. Again, screenshot only though. All good otherwise. I can’t see any other problem after using it a bit like this though.

            • @[email protected]
              link
              fedilink
              12 years ago

              I would love to see your kernel options line from grub, assuming it doesn’t have any secrets in it. Please.

              • be_excellent_to_each_other
                link
                fedilink
                12 years ago

                No problem, I’ve done no magic of any kind there. This is what the manjaro installer created only.

                cat /proc/cmdline

                BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64 root=UUID=99ed8aec-cdfc-44d6-8217-c85d3db09036 rw quiet cryptdevice=UUID=9bca8872-3f01-472a-b196-ef19cde6b5f8:luks-9bca8872-3f01-472a-b196-ef19cde6b5f8 root=/dev/mapper/luks-9bca8872-3f01-472a-b196-ef19cde6b5f8 udev.log_priority=3

                • @[email protected]
                  link
                  fedilink
                  12 years ago

                  Thank you. I figured there be some modeset style options, but nah, you have none. I consider you quite lucky and admit to being a little jealous. :)

    • @[email protected]OP
      link
      fedilink
      42 years ago

      Well, I’ll agree with you. I’m okay with them being a thing that exists, as long as I can disable them.

      • immibis
        link
        fedilink
        12 years ago

        @weketi6945 “Many of the features which were removed from GNOME like desktop icons and system tray was because their code was complicated so they just removed them.”

        holy hell, they removed DESKTOP ICONS? Gnome is a joke.

      • immibis
        link
        fedilink
        12 years ago

        @weketi6945 So CSD is the only thing that universally works. If you do not implement your own close buttons in your app, GNOME users won’t be able to close your app. Of course the GNOME ToolKit has built-in close buttons. This is stupid because you shouldn’t have to use the GNOME ToolKit.

        One way this could resolve is that half the apps won’t draw CSD, and won’t be closeable on GNOME, and enough people will complain to GNOME that they add SSDs, or they will stop using GNOME.

        Another way it could resolve is that Wayland doesn’t catch on because “close buttons are broken.”

  • lurch (he/him)
    link
    fedilink
    3
    edit-2
    2 years ago

    I often switch between Wayland and X. My only concern is java does not yet support Wayland and old native libraries (e.g. 3D stuff for no longer maintained Java games) will probably break, once Java actually switches. Java and some Java games work with the xwayland compatibility layer, for now, but there are glitches sometimes. There are multiple projects porting Java stuff (e.g. Swing) to Wayland. All unofficial and incomplete.

    • Björn Tantau
      link
      fedilink
      32 years ago

      For some reason I had assumed that this would easily be handled by Java’s write once run everywhere paradigm.

      • lurch (he/him)
        link
        fedilink
        4
        edit-2
        2 years ago

        I think that’s only true for the programs, not for the JVM/JRE code. The JVM/JRE doesn’t support Wayland without the xwayland compatibility layer. Also, some games use “native” libs that do optimized 3D stuff. Those are special Java classes, not part of the JVM/JRE that interface with C libs, kernels, system calls and hardware directly. Some will stop working without an X window to connect to. Some are long forgotten and won’t be ported.

    • RT Redréovič
      link
      fedilink
      22 years ago

      There are some hacky methods to make some Java software use Wayland. Iirc, https://github.com/openjdk/wakefield is the jvm version I used to test it on Minecraft and Mindustry. I did not really get that far, but it has been quite some time since I tested it so I do not remember exactly what the results were. Otherwise it is possible the subjected software itself needs extra editing to make it work on Wayland.

    • @[email protected]OP
      link
      fedilink
      22 years ago

      Yeah, I don’t know about Java. I often switch between X and Wayland myself, but I’m mostly on X because I use a tiling window manager (Qtile) which has a Wayland version but is still ironing out some issues before I can switch full time.

  • Presi300
    link
    fedilink
    English
    82 years ago

    Wayland on intel is the same as it is on AMD, and has been for years now… I don’t really get why they would say that it’s broken…