|
|
Log in / Subscribe / Register

Not GNOME-specific

Not GNOME-specific

Posted Jan 16, 2026 9:14 UTC (Fri) by daenzer (subscriber, #7050)
In reply to: Not GNOME-specific by peniblec
Parent article: Firefox 147 released

> I don’t think that’s the case, ISTR the blur being there for a while (I want to say, for as long as I’ve made the jump from {22.04 + GNOME + X11} to {24.04 + Plasma + Wayland}

That indicates FIrefox isn't actually using the fractional scaling protocol for you. You can run it with the environment variable WAYLAND_DEBUG=client and look for wp_fractional_scale_manager_v1#<ID>.get_fractional_scale in the resulting stderr output to check.

Firefox only started enabling widget.wayland.fractional-scale.enabled (might want to check that on about:config) by default in 146 (IME it was quite buggy in older versions).

> FWIW, it’s possible this blur I describe is not exclusive to Firefox?

Any app which doesn't use the fractional scaling protocol will look blurry with any non-integral scaling factor. The fractional scaling protocol allows for pixel-perfect crisp output at any scaling factor.

> Firefox looks crisp enough when I move its windows over to the external screen.

Could just be that 175% results in less noticeable blur than 125%.


to post comments

Not GNOME-specific

Posted Jan 20, 2026 7:42 UTC (Tue) by peniblec (subscriber, #111147) [Link] (5 responses)

(Sorry for the delayed answer, I have limited access to that setup. FWIW, I think you’ve given me enough pointers that I could probably reach the bottom of that rabbit hole by myself, so feel free to disengage!)

I don’t think that’s the case, ISTR the blur being there for a while (I want to say, for as long as I’ve made the jump from {22.04 + GNOME + X11} to {24.04 + Plasma + Wayland}

That indicates FIrefox isn’t actually using the fractional scaling protocol for you. You can run it with the environment variable WAYLAND_DEBUG=client and look for wp_fractional_scale_manager_v1#<ID>.get_fractional_scale in the resulting stderr output to check.

I do spot

  -> wp_fractional_scale_manager_v1@36.get_fractional_scale(new id wp_fractional_scale_v1@67, wl_surface@57)

in there; don’t know if that’s enough to draw conclusions (about:config says widget.wayland.fractional-scale.enabled is true).

Not GNOME-specific

Posted Jan 20, 2026 8:35 UTC (Tue) by daenzer (subscriber, #7050) [Link] (4 responses)

> I do spot
>
> -> wp_fractional_scale_manager_v1@36.get_fractional_scale(new id wp_fractional_scale_v1@67, wl_surface@57)
>
> in there; don’t know if that’s enough to draw conclusions (about:config says widget.wayland.fractional-scale.enabled is true).

That seems to confirm Firefox is using the protocol, so blur is unexpected.

Maybe it's a KWin 5.x specific issue. E.g. maybe it used yet another slightly different rounding algorithm, or didn't align sub-surface pixels to the physical pixel grid. Is the blur uniform, or does it vary across one or both window axis like a wave?

Not GNOME-specific

Posted Jan 20, 2026 18:08 UTC (Tue) by peniblec (subscriber, #111147) [Link] (3 responses)

Maybe it’s a KWin 5.x specific issue. E.g. maybe it used yet another slightly different rounding algorithm, or didn’t align sub-surface pixels to the physical pixel grid. Is the blur uniform, or does it vary across one or both window axis like a wave?

I would say “uniform”? I’ve taken a couple of screenshots, and to my surprise they do seem to showcase the issue?

First, comparing whole-workspace screenshots of

  • two Firefox windows showing the same content:
    • the left window (built-in screen @125%) has these half-opacity 1-2-pixel lines above & below solid stretches, e.g. the brown rounded heading backgrounds, the “L” in “Welcome to LWN.net”;
    • the right window (external monitor @175%) shows no such lines around these solid horizontal stretches.
  • two Konsole windows showing the same content: funnily enough, the symptom seems reversed, tho FWIW I find the half-opacity lines (e.g. around man’s press h for help or q to quit inverse-video decoration) less aggravating on the external monitor…

And the more bizarre comparison, perhaps:

The blur on the built-in monitor just goes away if I disconnect the external monitor. That matches my experience (that I hadn’t really thought twice about) that roaming with that laptop at 125% feels just fine, but that same setting feels off once docked.

Not sure how reliable those observations are; given all the software layers involved¹, I don’t hold much faith that Spectacle should accurately reproduce what my eyes perceive; still, since the screenshots did show something, figured I’d show them.

¹ Case in point, the dimensions Spectacle chooses for screenshots of the built-in screen confuse me: the screen is consistenly always 1920×1080@125%, but its dimensions in screenshots are 1920×1080 when shooting just that screen, and 2688×1512 when shooting both screens.

Not GNOME-specific

Posted Jan 20, 2026 18:46 UTC (Tue) by excors (subscriber, #95769) [Link] (2 responses)

In your second set of screenshots, it's not just Firefox, the whole Plasma taskbar is slightly different - it looks like everything has been shifted downwards by exactly 0.5 pixels. The taskbar icons are already quite blurry, and the shift makes some of them better and some of them worse; but it makes Firefox consistently worse.

I wonder if it depends on the offset between the two displays? The 1920x1080 display has origin (0,0) when it's the only monitor, but perhaps an odd number like (0,123) when the second monitor is added, and maybe that confuses the scaling maths. If that was the case, perhaps changing the offset between them (e.g. so the top edges are aligned) might improve things. (I have no knowledge of the software though, I'm just guessing based on the visible behaviour.)

Not GNOME-specific

Posted Jan 21, 2026 8:17 UTC (Wed) by daenzer (subscriber, #7050) [Link] (1 responses)

Agreed, looks like the blur is due to the vertical position of the built-in output not being aligned to the physical pixel grid, i.e. a KWin issue.

I guess it's unlikely this will be fixed in KWin 5.x at this point, so I'd suggest:

* See if you can manually round the position to an integer in a configuration file.
* Maybe try if it can still happen with KWin 6.x, and report it upstream if so.

Not GNOME-specific

Posted Jan 22, 2026 7:40 UTC (Thu) by peniblec (subscriber, #111147) [Link]

Kudos to you both, the blur does go away if I align both monitors to "y": 0! Didn’t mean to nerd-snipe anyone when I answered daenzer’s initial comment, so thanks ever so much for lifting that curse off my screen 🙇

(FTR, did not need to locate config files - just aligned both monitors along the top edge in Plasma’s Display Configuration GUI until both screens showed (…, 0). Curiosity got the best of me tho and FTR², the config files seem to be under ${XDG_DATA_HOME:-~/.local/share}/kscreen; thank Eris for find -newermt '2 minutes ago')

It’ll be interesting to see how things evolve in 6.x. Will patiently wait for 26.04 for that tho; trying to minimize boat-rocking on that workstation. Prefer to use my Tumbleweed home rig for reproducing & reporting bugs upstream, tho that desktop sports a simpler setup (one single “LoDPI” monitor) which has proved less janky thus far.

Again, thanks a bunch for your time!


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds