Bug 1818837 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Jonathan Kew [:jfkthame] from comment #10)
> I'm a bit surprised that we report a devicePixelRatio of 2 there; I thought we'd changed things to handle fractional dPR at some point, which would likely produce a better result here. 

Following up on this note -- I believe we **do support fractional dPR in general**, but on Wayland in particular, there are platform-level issues, with a fix making its way to users.  See https://www.phoronix.com/news/Wayland-Fractional-Scale-Ready regarding a patch that was merged in Nov 2022 (which I suspect won't make it to Ubuntu 22.04 users like myself).

So in the meantime, I assume that the OS has a pile of hacks that are partly/poorly faking support for fractional scaling, by doing whole-number scaling and then scaling up/down, and stuff like that.
(In reply to Jonathan Kew [:jfkthame] from comment #10)
> I'm a bit surprised that we report a devicePixelRatio of 2 there; I thought we'd changed things to handle fractional dPR at some point, which would likely produce a better result here. 

Following up on this note -- I believe we **do support fractional dPR in general**, but on Wayland in particular, there are platform-level issues, with a fix making its way to users.  See https://www.phoronix.com/news/Wayland-Fractional-Scale-Ready regarding a patch that was merged in Nov 2022 (which I suspect won't make it to Ubuntu 22.04 users like myself).

So in the meantime, I assume that the OS has a pile of hacks that are partly/poorly faking support for fractional scaling, by e.g. pretending we've got a whole-number scale factor and then doing a supplemental scale on top of that.

Back to Bug 1818837 Comment 11