Firefox Is Going To Try And Ship With Wayland Enabled By Default

https://lemmy.linuxuserspace.show/post/70078

Firefox Is Going To Try And Ship With Wayland Enabled By Default - Lemmy for LUS

Think twice about Wayland. It breaks everything!

Think twice about Wayland. It breaks everything! GitHub Gist: instantly share code, notes, and snippets.

Gist
Just don’t use it instead of sharing crazy ramblings on news about it.

concise list of criticisms
“ramblings”

This is why wheyland is destined to fail. The fact that criticisms can be dismissed as ramblings explains a lot of things.

This is a rambling of how Wayland supposedly forces everybody to use GNOME, which is BS.

The rant even includes an admission that the author didn’t even know what Wayland was when it was written.

Judging by post & history. They are just a troll. As for this article. I don’t understand why anyone bothers sharing it. It is one of the most hot garbage ones I have seen. Most of this article gives arguments that are either old, have no relevance here or are just plainly cherrypicked (the jitsi one for example, open the link and see the last comment, that they quoted). Most things are also application side issue with no relevance for wayland devs. “Oh my app does not work in wayland? Must be wayland’s fault!” This is a rubbish logicless argument. If one wants to not use Wayland, they are welcome. But things like “Boycott Wayland” are irritating to those who do want to use Wayland because they know how Xorg is.

Oh my app does not work in wayland? Must be wayland’s fault!

Aka Python 3 isn’t Turing complete

Seems they need some updates. OBS, Zoom and Xfce are all happy to work toward Wayland, and OBS/Zoom both work pretty well on it, so 🤷

And no telling what else has changed since; checks notes; 2016?

Obs works fine for me, what’s the issue,?

There really isn’t one. Wayland is maturing and app support is following.

This is the way things always go in open source. I’m betting soon there will be a distro that will announce a never Wayland stance just like Devuan prior.

last i checked (a week ago) screen capture in OBS wasn’t working on Wayland KDE
It’s been working for a while unless I’m misunderstanding what you mean by screen capture. But I’ve been using OBS on KDE Wayland capturing via portals for months now with issues.
It works. You simply need the kde portal and pipewire installed
I just tried it. Create a “Screen capture (PipeWire)” source, there’s a popup asking you to pick a display or “Full Workspace” which shares everything.

Please add more examples to the list.

How about an example of Wayland forcing me to use GNOME like this rant alleges? I hate GNOME but have been using KDE with Wayland for like two years now.

Same. Not to mention that there’s window managers in development if people prefer that. Some examples I know include Sway for those who want something like i3, Wayfire for those who miss Compiz and Hyprland for a more polished tiled experience. Hyprland in particular I’d recommend as I’ve personally had no luck with X.org compositors like Picom - didn’t work with my GPU.
The one that bother me the most about Wayland is the future of *BSD desktop. Can you run Wayland on NetBSD/FreeBSD yet? Also, currently you can run x server on Mac so you can run X11 apps remotely for example. Is there any attempt to make waypipe work on MacOS?

Yes, FreeBSD already allows running Wayland. On my FreeBSD box, I have run it just fine.

OpenBSD are also working towards it.

I’m not sure about NetBSD.

FreeBSD runs Wayland just fine. I run it on one of my boxes.

OpenBSD is also working on Wayland support.

NetBSD I’m unsure of, as their development pace is quite slow.

Literally just posted a response to this article: feddit.uk/post/4608014
A response to the "Boycott Wayland" article - Feddit UK

Link to article: https://gist.github.com/probonopd/9feb7c20257af5dd915e3a9f2d1f2277?permalink_comment_id=4749746 [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 [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. * 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. * 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 [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? * 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

it’s weird how this gist was updated 3 hours ago but still contains lots of claims that haven’t been accurate for years

I’m so traumatized by how tech everything goes, that I read “Firefox is going to try (…)” and immediately braced for some dystopian bullshit.

Then saw “Wayland” and relaxed. I have no hot takes about Wayland lmao.

The fuck is this title lol
@leo KDE with Wayland was all crashy when I tried it. If Wayland windowing is as buggy and crashy as their browser we'll all need to switch to Windows or Mac just to get any work done.

KDE currently marks Wayland support as experimental. They are expecting full readiness by Plasma 6 ( next quarter ).

Firefox has had Wayland marked as experimental for some time. They are expecting full readiness by…hey, look at that—they say that it is ready now.

So run Firefox on GNOME and enjoy the Wayland I guess.

I’m daily driving Firefox with Wayland on KDE Plasma since years, not on Xwayland, and can’t remember it not working well. This on two different distributions (Arch and NixOS). Not saying this is your fault but your experience is not representative for everyone
@Laser My experience is representative for enough people to show that Linux Desktop is a mess and is not suitable for production work. I don't identify myself by my choice of software. I just want to get work done.

I suppose it really depends on when you tried it. Ubuntu 23.10 has been working quite well on Wayland. I haven’t once failed down to X, and the only papercut I run into now is with differently scaled displays (100% and 150%) where OBS will crash the session when moving back and forth.

Everything else seems good as I haven’t really seen anything else break at all and I use Firefox, Kdenlive, Audacity, lots of chat apps, and played some games. Specifically, playing Vivaldia 2 while I was remotely compiling Gentoo using OBS to livestream.

@leo Leo, you have Stockholm syndrome. Linux Desktop is a disaster.
@leo Firefox keeps locking up the RAM. Good job, Mozilla. I need to install 128 GB of RAM just to use your browser.