3 ms·
> Wayland DOES work with fractional scaling values. It's labeled "experimental" right now but in my personal experience it works fine on both GNOME and KDE. I'
by ndiddy 4y ago
> Wayland DOES work with fractional scaling values. It's labeled "experimental" right now but in my personal experience it works fine on both GNOME and KDE.
I'm not sure about how it works in KDE, but at least in GNOME the way it works is kind of a hack IMO. When you do a 150% scale, it renders to a framebuffer at 3x the resolution of your display and then scales the framebuffer down by 1/2, which compromises the video quality, as well as wasting CPU (and battery life if you use a laptop).
- Gigachad 4y agoIs this true for all windows or only ones running in Xwayland?
- diffeomorphism 4y ago> When you do a 150% scale, it renders to a framebuffer at 3x the resolution of your display and then scales the framebuffer down by 1/2, which compromises the video quality, Isn't that exactly how apple does fractional scaling? > https://news.ycombinator.com/item?id=19052960 https://news.ycombinator.com/item?id=19052960
- vetinari 4y agoIt is exactly how Apple does fractional scaling. There is also some kind of belief, that scaling down framebuffer is somehow demanding. It isn't. The output encoder (the modern equivalent of VGA DAC) can do it on the fly. For several overlaid planes, each at different scale, at once (one of these planes is going to be your cursor).
- zamadatix 4y agoThat's just how GNOME/GTK handles scaling on any platform, it's unrelated to what the underlying display server can do. Windows DWM, Android's SurfaceFlinger, and Wayland allow for true native per display fractional scaling but it's still up to each app to actually use it.