Firefox 121 Now Available With Wayland Enabled By Default

3 years ago by darth_tiktaalik to c/linux

blackdeth 35 points 3 years ago

I am new to Linux. What's the differences between Xorg and Wayland?

path: 0 6133982, hotness: undefined, score: 35, children: 21
possiblylinux127 50 points 3 years ago

Both are display servers which is software that allows programs to write to the screen. X is older and was created back in 1984 at MIT and Wayland is a much newer protocol that is designed to work better on newer (post 90's) hardware.

The biggest difference is that Wayland basicly allows your desktop direct access to the screen and X has a server that runs and allows your desktop to connect to it. X was originally designed to run remotely as back in the day there was one big commuter that many people connected to.

If this is all very confusing you probably should just stick to your distros defaults. Most of the time you don't need to care.

path: 0 6133982 6136044, hotness: undefined, score: 50, children: 2
Rustmilian 27 points 3 years ago
path: 0 6133982 6136044 6139070, hotness: undefined, score: 27, children: 1
possiblylinux127 5 points 3 years ago

That's a good way to put it, thank you

path: 0 6133982 6136044 6139070 6140359, hotness: undefined, score: 5, children: 0
randomperson 22 points 3 years ago

From a user perspective, Wayland is smoother and looks nicer.

path: 0 6133982 6135695, hotness: undefined, score: 22, children: 0
baseless_discourse 20 points 3 years ago

xorg is a old implementation of x11, which is basically abandon-ware right now. No one is adding feature to it, testing it, or fixing security vulnerabilities. It also lack some common-sense security feature: for example every program can get every input (keyboard and cursor location) without root, so a key logger is trivial to implement in xorg.

Wayland is newer, with more features (reasonable multi-monitor support, one-to-one gestures, etc). But many application framework and hardware have poor support for it, because it is slightly newer (developed on 2008, so not that new any more). Notably, electron and nvidia are typically the worst offender, like everything on linux, but both has come a long way.

I have wayland on my laptop, since one-to-one gesture is a must for me, and I present quite often using that laptop. My desktop is on xorg, since I have a nvidia GPU and use quite a lot of electron app.

path: 0 6133982 6146344, hotness: undefined, score: 20, children: 4
avapa 6 points 3 years ago

AMD GPU + KDE Plasma with Wayland finally gets me close enough to the smoothness of Windows, especially the per-display settings for fractional scaling and high refresh rate were sorely lacking on Linux. It’s not perfect yet (and neither is Windows’ implementation) but it improved the Linux desktop experience a ton!

path: 0 6133982 6146344 6147817, hotness: undefined, score: 6, children: 0
elbarto777 6 points 3 years ago
path: 0 6133982 6146344 6148025, hotness: undefined, score: 6, children: 2
wfh 3 points 3 years ago

It's like scrolling on your phone, where the content on your screen follows exactly your fingers movements. On Wayland you can do the same with a trackpad, like for example when scrolling, switching workspaces or invoking the activities overview. It feels much nicer, more immediate and more natural than on X.org, where gestures are just triggering a shortcut after a set distance.

path: 0 6133982 6146344 6148025 6150053, hotness: undefined, score: 3, children: 1
baseless_discourse 3 points 3 years ago

I would add, even my last Windows machine surface laptop 2 with latest windows 11 don't have this feature. it is so awkward, I just stopped using gesture all together.

So it is pretty great linux has that.

path: 0 6133982 6146344 6148025 6150053 6150819, hotness: undefined, score: 3, children: 0
azvasKvklenko 9 points 3 years ago

Desktop Linux is in its never-ending process of replacing old displaying system with new one. The process is long and not really transparent, because the two displaying systems were designed in completely different times for different hardware and with different security concerns in mind, therefore the X11 clients (all the software that was ever made or ported to Linux) are very much incompatible with Wayland. For backwards compatibility there’s Xwayland, which provides full blown Xorg server running on top of Wayland compositor with all the things X11 app requires. Until now, Firefox, even though had its Wayland backend as WIP feature (possible to activate with environment variable MOZ_ENABLE_WAYLAND=1) it defaulted to Xwayland on Wayland sessions. It now uses native Wayland backend by default providing better efficiency, DPI scaling, touchpad gestures etc

path: 0 6133982 6148414, hotness: undefined, score: 9, children: 0
mauwuro 5 points 3 years ago

I'm not an erudite so feel free to correct me c:

Wayland is a new implementation on how your system draws windows and components in your computer (I'm not sure if it's responsible for the content) and it tries a different way to do it compared with xorg.

Xorg is the old implementation, and it has been patched to support most of the new features, and Wayland is trying to get the same features xorg has and some extras.

As a Linux user I have noted that sharing screen is more private in Wayland, also I think multi monitor refresh rate was a problem in xorg. One common issue with Wayland is the GPU compatibility, as far as I know Wayland runs better in AMD GPU I think is because of Mesa integration.

path: 0 6133982 6144985, hotness: undefined, score: 5, children: 0
boerbiet 4 points 3 years ago path: 0 6133982 6134414, hotness: undefined, score: 4, children: 0
blackdeth 3 points 3 years ago

Thanks for all the responses. All of them have been so helpful. What I'm getting is that at this moment Wayland can be seen as a successor to Xorg?

path: 0 6133982 6149818, hotness: undefined, score: 3, children: 1
baseless_discourse 3 points 3 years ago

Yes, exactly, I think it is pretty clear that the linux community is moving towards wayland. Most distro and desktop environment are all in the process of slowly removing xorg.

path: 0 6133982 6149818 6150917, hotness: undefined, score: 3, children: 0
Vincent 2 points 3 years ago

I wouldn't worry about it too much; there's not really anything you need to do as a user anyway.

path: 0 6133982 6137554, hotness: undefined, score: 2, children: 0
yrmyli 1 point 3 years ago

Xorg = Massive screen tearing

Wayland = No screen tearing

Xorg = Nvidia friendly

Wayland = Fuck you nvidia!

path: 0 6133982 6180593, hotness: undefined, score: 1, children: 0
skullgiver 1 point 3 years ago

[This comment has been deleted by an automated system]

path: 0 6133982 6173319, hotness: undefined, score: 1, children: 0
lurch -19 points 3 years ago

For a user: In Wayland programs are supposed to draw their own title bar. Java aplications and old applications must use a backwards compatibility layer that can cause flicker and bad font rendering. The terminology is different (compositor = window manager). Some niche new programs may only run on Wayland. Wayland hasn't been adopted by BSD (AFAIK).

For a programners: Wayland has more modern, tidy code, but not all toolkits support it natively and few are easy. If you code exclusively for Wayland, a lot of users won't use your program at the moment.

path: 0 6133982 6135628, hotness: undefined, score: -19, children: 3
BautAufWasEuchAufbaut 13 points 3 years ago

In Wayland programs are supposed to draw their own title bar

That's incorrect. GNOME does it like this, Plasma doesn't. KDE came up with a standard so a program can communicate this to the DE, GNOME slept on it. That's why e.g. mpv doesn't run well on GNOME.

path: 0 6133982 6135628 6136148, hotness: undefined, score: 13, children: 0
Rustmilian 7 points 3 years ago
path: 0 6133982 6135628 6139903, hotness: undefined, score: 7, children: 0
deathmetal27 3 points 3 years ago path: 0 6133982 6135628 6149979, hotness: undefined, score: 3, children: 0
PerogiBoi 35 points 3 years ago

I love Wayland because it simply tastes the best.

path: 0 6137018, hotness: undefined, score: 35, children: 0
autotldr 13 points 3 years ago

This is the best summary I could come up with:


Ahead of tomorrow's official announcement, the Mozilla Firefox 121.0 release binaries have hit the mirrors and it's keeping to the most exciting Christmas gift for Linux desktop users: Wayland support enabled by default!

Firefox 121 is ready to go with allowing Wayland support to be used by default on modern Linux desktops rather than defaulting to XWayland.

Some Linux distributions and package builds have been using the native Wayland path for a while but now it's great to see the upstream builds make this default change as we get ready to embark on the 2024 Linux desktop.

X.Org/X11 support remains in place for those not using a Wayland-based desktop enviornment.

Firefox 121 also adds Voice Control command support on macOS, adds an option to always force-underline links within websites, Firefox now includes a floating button to help in creation within PDFs, various CSS feature additions, and other developer enhancements.

Firefox 121 also now supports tail call elimination in WebAssembly for enhancing support for functional languages.


The original article contains 198 words, the summary contains 165 words. Saved 17%. I'm a bot and I'm open source!

path: 0 6132345, hotness: undefined, score: 13, children: 0
Toldry 11 points 3 years ago

I asked chatGPT what Wayland is since the article contains no explanation

In this context, "Wayland" refers to a protocol and a display server protocol used in Linux operating systems. It's an alternative to the more established X Window System (X11). The article highlights that Firefox version 121.0 has integrated support for Wayland by default, indicating that the browser can now utilize Wayland's capabilities directly on modern Linux desktops without relying on XWayland compatibility layer, thereby enhancing performance and compatibility with the native display server protocol.

path: 0 6147584, hotness: undefined, score: 11, children: 2
lseif 11 points 3 years ago

how many people know what wayland is? pls use this comment as a poll ;)

path: 0 6147584 6147935, hotness: undefined, score: 11, children: 0
lemmy_99c4zb3e3 2 points 3 years ago
path: 0 6147584 6161888, hotness: undefined, score: 2, children: 0
flubba86 11 points 3 years ago

Have they fixed the copy+paste problem from the Firefox address bar under Wayland in KDE plasma yet? I've been holding off switching to Wayland in my Plasma desktop because of that one Firefox issue.

Edit: Nope still broken: https://bugzilla.mozilla.org/...

It's been reported and easily reproduced for more than 3 years: https://bugzilla.mozilla.org/...

path: 0 6149713, hotness: undefined, score: 11, children: 0
nitrolife 6 points 3 years ago

Eh, the era when it was possible to throw the interface through an SSH session is over. Sadly. Or maybe I'm just too old. XD

path: 0 6147720, hotness: undefined, score: 6, children: 5
azvasKvklenko 18 points 3 years ago path: 0 6147720 6148339, hotness: undefined, score: 18, children: 4
nitrolife 8 points 3 years ago

Thanks. Not full wayland protocol support and have a bugs, but something is greater than nothing. UPD: The utilization of the Internet channel has also increased

path: 0 6147720 6148339 6148390, hotness: undefined, score: 8, children: 3
arc 6 points 3 years ago

If you look at any modern desktop application, e.g. those built over GTK or QT, then they're basically rendering stuff into a pixmap and pushing it over the wire. All of the drawing primitives made X11 efficient once upon a time are useless, obsolete junk, completely inadequate for a modern experience. Instead, X11 is pushing big fat pixmaps around and it is not efficient at all.

So I doubt it makes any difference to bandwidth except in a positive sense. I bet if you ran a Wayland desktop over RDP it would be more efficient than X11 forwarding. Not familiar with waypipe but it seems more like a proxy between a server and a client so it's probably more dependent on the client's use/abuse of calls to the server than RDP is when implemented by a server.

path: 0 6147720 6148339 6148390 6153072, hotness: undefined, score: 6, children: 0
LeFantome 4 points 3 years ago

What kind of bugs are you running into? The original Waypipe proposal claimed that it was pushing less data than X. Let’s hope it gets faster in the future.

path: 0 6147720 6148339 6148390 6150211, hotness: undefined, score: 4, children: 1
nitrolife 2 points 3 years ago

Short command wasn't work in my env. I can run only with full sockets path. May be I do something wrong.

path: 0 6147720 6148339 6148390 6150211 6151786, hotness: undefined, score: 2, children: 0
vaselined 6 points 3 years ago

So should I remove the environment variable?

path: 0 6149011, hotness: undefined, score: 6, children: 1
KarnaSubarna 5 points 3 years ago

Yes, you should.

path: 0 6149011 6150102, hotness: undefined, score: 5, children: 0
Mari 3 points 3 years ago

Nice now we just need GNOME search working :)

path: 0 6161583, hotness: undefined, score: 3, children: 0
linux
linux

@lemmy.ml

login for more options
68121
9467
5670

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...