5 ms·
Also, there are no guarantees that any mainstream browser will ever use the Wayland protocol directly without going through an X compatibility layer like XWayla
by hollerith 9y ago
Also, there are no guarantees that any mainstream browser will ever use the Wayland protocol directly without going through an X compatibility layer like XWayland. And XWayland consists of most or all of the X11 code base.
Yes, Firefox and Chrome are open source, but they're atypical of open source projects in that (a) the amount of implementation effort required to make the kind of changes under discussion here are much larger than for typical open-source projects and (b) institutional users and knowledgeable (or simply well-advised) individual users of Firefox and Chrome won't use your fork unless you have a credible story about how you can protect them from 0days. I know of no fork of either Firefox or Chrome that has ever had a credible story, but I've spent only a couple of hours looking.
Google has their own replacement for X11 which they use in some Chromebooks, which reduces the probability that they'll throw in behind Wayland.
Not every OS install needs a mainstream browser (in-vehicle entertainment systems do not seem to: they're heavy users of Wayland) but if your OS install does, and you're waiting for Wayland (more precisely, software that uses the Wayland protocol) to replace xorg or X11, you might be waiting a long time.
"mainstream": provides a decent experience on most popular web sites including e-commerce sites.
- shmerl 9y agoAren't Google using Wayland in ChromeOS? If not, it's pretty bad and just another rift like their SurfaceFlinger on Android. I'm also waiting for Firefox to start supporting Wayland without X11, but it's progressing really slowly. Besides browsers another very major work is required for Wine. It's not even moving anywhere now, since developers aren't sure how to address it. They are too dependent on X11 for windows placements and etc. So XWayland will need to be adequate, to address these cases, including gaming, until the time major projects will complete all that work.
- hollerith 9y ago>Aren't Google using Wayland in ChromeOS? Not the last I heard (579 days ago): https://news.ycombinator.com/item?id=10996545 https://news.ycombinator.com/item?id=10996545
- kllrnohj 9y ago> Aren't Google using Wayland in ChromeOS? If not, it's pretty bad and just another rift like their SurfaceFlinger on Android. Except SurfaceFlinger predates Wayland by years. Kinda hard to use something that doesn't exist. ;) At the time the complaint was that Android didn't use X11 but I think it's safe to say that was a good decision at the time. As for merging them at this point they both have too much inertia combined with some fundamental design differences that'd be hard to reconcile.
- shmerl 9y agoTheir main failure wasn't just the fact that they didn't collaborate with Wayland (which wasn't a lot later by the way), but the fact that they didn't want to work on big problem that benefits Linux as a whole (replacing X11), but made something that benefits only them, and that created a huge and damaging rift. That they can be blamed for. In contrast, Nokia didn't want to make such rift, and until it went bust, used common graphics stack (with SailfishOS becoming Meego descendant, using Wayland).
- kllrnohj 9y ago> (which wasn't a lot later by the way) Wayland was started the same year that Android shipped and Wayland didn't have it's first release until 4 years later. That's obviously way too late for Android to have used it or collaborated on it. > but the fact that they didn't want to work on big problem that benefits Linux as a whole (replacing X11), but made something that benefits only them, and that created a huge and damaging rift. That they can be blamed for. At the time nobody wanted a replacement to X11. That was a big complaint against Wayland, too. Getting into mailing list wars and trying to make everyone happy ensures you end up like Nokia - too late to matter and with no more money. That's not helpful to anyone. Also please explain how Google created a "huge and damaging rift"? What damage resulted from this at all?
- shmerl 9y ago> Also please explain how Google created a "huge and damaging rift"? What damage resulted from this at all? Hardware becoming Android only. See https://lwn.net/Articles/504865/ https://lwn.net/Articles/504865/ A major part of that problem is that rift that created incompatibility and prevented reusing of the existing progress. That was the whole reason for making libhybris, to unblock that issue.
- Jasper_ 9y agoGoogle is only using Wayland in ChromeOS for their Exosphere component to embed Android apps. https://bugs.chromium.org/p/chromium/issues/detail?id=549781 https://bugs.chromium.org/p/chromium/issues/detail?id=549781
- jhasse 9y ago> Also, there are no guarantees that any mainstream browser will ever use the Wayland protocol directly without going through an X compatibility layer like XWayland. There's already a Wayland version of Firefox available: https://firefox-flatpak.mojefedora.cz/ https://firefox-flatpak.mojefedora.cz/ Relevant bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=635134 https://bugzilla.mozilla.org/show_bug.cgi?id=635134
- hollerith 9y agoOK, even though "As expected it is not stable nor usable yet"[1], that make me more optimistic. Thanks. [1]: https://project-insanity.org/blog/2017/02/14/try-out-firefox-on-wayland-easily/ https://project-insanity.org/blog/2017/02/14/try-out-firefox...