Live data from Hacker News

PSA: Firefox Nightly now with experimental Wayland support

glandium.org

41–50 of 101 posts

Re: PSA: Firefox Nightly now with experimental Wayland support

#41

Fedora 29 has a “firefox-wayland” package that runs the latest stable release of Firefox (63 as of now) on Wayland (instead of XWayland). I’ve been using it for a long while and it’s been great!

The post does mention that it was possible already to build your own Firefox for Wayland, and that's what Fedora does. The point is that the “official” package from mozilla.org now supports Wayland out-of-the-box :)

Re: PSA: Firefox Nightly now with experimental Wayland support

#42

Earlier quoted context omitted.

Single core perf has become more than 50% better on desktop since Sandy Bridge, and it should be even more than that in TDP constrained environments like laptops because of reduced power consumption, which is partly why we now have quad core / eight thread ultrabooks. The total performance of such a device would almost certainly be more than double an X220 in a slimmer package. Maybe 4x is your cut-off point for wher…

There is noticeable on a benchmark and noticeable in actual use. In actual use newer machines don't seem to come with much improvement in performance for a lot of tasks. For me my limited supply of money is the primary constraint. I'll probably upgrade when my machine stops working.

Even when not having monetary constraints, it's probably better for everybody to upgrade only when needed :)

Re: PSA: Firefox Nightly now with experimental Wayland support

#43
post #39

Chromium also just declared experimental Wayland support: https://bugs.chromium.org/p/chromium/issues/detail?id=578890...

If I'm reading this correctly, you have to build your own Chromium to test it, which is what you had to do for Firefox... until today. Now you can just download it.

Re: PSA: Firefox Nightly now with experimental Wayland support

#45
post #18

Great! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scalin…

No quality HiDPI support just yet. Not with GL acceleration, anyway. There is a patch on the bugzilla (in the 'wayland' tracking issue) but it's very buggy.

Re: PSA: Firefox Nightly now with experimental Wayland support

#46
post #18

Great! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scalin…

PSA: there's fractional scaling for text even with Xorg, and most applications scale their UI accordingly. I like to set Gnome's full scaling to 1 and text scaling to 1.5.

    gsettings set org.gnome.desktop.interface scaling-factor 1
    gsettings set org.gnome.desktop.interface text-scaling-factor 1.5
Some applications also depend on Xft and X root window DPI.

.Xresources:

    Xft.dpi:	        144
    Xft.hinting:	1
    Xft.hintstyle:	hintslight
    Xft.antialias:	1
    Xft.rgba:	        none
    Xcursor.size:	48
    Xcursor.theme:	Adwaita
xrandr dpi (in my i3 startup config):

    $ xrandr --dpi 144
I have a smaller secondary monitor. I just render it at 1.5x resolution and scale down:

    $ xrandr --output DP-2-2 --scale 1.5x1.5 --pos 0x0
At least for me, the result is perfect HiDPI support (Chrome, GTK, Qt and IntelliJ respect it).

Re: PSA: Firefox Nightly now with experimental Wayland support

#47
post #46
post #18

Great! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scalin…

PSA: there's fractional scaling for text even with Xorg, and most applications scale their UI accordingly. I like to set Gnome's full scaling to 1 and text scaling to 1.5. gsettings set org.gnome.desktop.interface scaling-factor 1 gsettings set org.gnome.desktop.interface text-scaling-factor 1.5 Some applications also depend on Xft and X root window DPI. .Xresources: Xft.dpi: 144 Xft.hinting: 1 Xft.hintstyle: hintsli…

Do you happen to know by chance what scaling algorithm is used?

Re: PSA: Firefox Nightly now with experimental Wayland support

#48
post #18

Great! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scalin…

Wayland has been a nightmare for me since upgrading to ubuntu 18.04

I had to disable it because videos would not play for long without freezing either on the browser or vlc. Only a hard restart of the machine would resolve this.

Re: PSA: Firefox Nightly now with experimental Wayland support

#49
post #18

Great! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scalin…

My FHD screen is just a touch too small to be comfortable at native resolution, while 1.5x makes things too big. Also, I find Firefox's built-in scaling to be much better quality than scaling using Gnome. It could be better exposed; the `layout.css.devPixelsPerPx` property in about:config is what you need to tweak.

So I keep Gnome at 1.0x, and Firefox at 1.25x, which as an extra bonus means that "80%" scaling takes Firefox back to native scale again.

Re: PSA: Firefox Nightly now with experimental Wayland support

#50
post #18

Great! I recently set up desktop Linux, and was disappointed to find poor support for fractional scaling on HiDPI screens, which I’m used to coming from retina MacBook Pro. Gnome under X11 only has 1x, 2x and 3x scaling. In Wayland, Gnome has experimental support for fractional scaling - including 1.75x, the size I’m used to. However, Xwayland apps like Firefox stable (and chrome) render blurry with fractional scalin…

While it's not as conveninent as desktop-wide fractional scaling, note that in particular Firefox has already had HiDPI support via the layout.css.devPixelsPerPx config variable, which you can set through about:config.
Post reply on HN