5 ms·
Wayland is supposed to have fractional scaling now. I think wdisplays lets you configure it. #1 was was never solved by X11 properly, and I'm forced either hav
by galkk 3y ago
Wayland is supposed to have fractional scaling now. I think wdisplays lets you configure it.
#1 was was never solved by X11 properly, and I'm forced either have large fonts on 27" 2K and ok fonts on 4K 32" or ok fonts on 27" and small on 32", because I'm limited by one Xft.dpi
- thtas 3y agoI found fractional scaling to be way better handled under X11. If you fractional scale under wayland you get terrible blurriness everywhere as if they're upscaling instead of downscaling.
- zdragnar 3y agoI've had the opposite experience, but I've really only used swaywm in Wayland, so maybe it is an issue specific to a DE?
- mksybr 3y agowith i3 i use an xrandr oneline to set the fractional scaling and it works great. xrandr --output DP-2 --scale 0.6x0.6
- maxdamantus 3y agoThis will still result in bluriness, since it is scaling the already rasterised image, instead of informing the application to render at a different pixel resolution. X11/Xorg has long supported proper per-display fractional scaling, since the usual resolution in 96 DPI, which can easily be multiplied by 1/0.6 and set per-display using `xrandr --dpi 160/DP-2`. It is still however up to frameworks (Gtk, Qt) to detect and implement this. I've seen Qt applications handle this automatically, but not Gtk. My last Wayland-related post on HN [0] was about how it handled this worse than X11 due to lack of proper fractional scaling. AAIU, this has since been added to the protocol, but based on sibling posts, it sounds like framework support is still in the same state as in X11 (ie, works in Qt, not in Gtk). [0] https://news.ycombinator.com/item?id=32021261 https://news.ycombinator.com/item?id=32021261
- mksybr 3y agoI guess my eye sight is worse than I thought; I have to zoom in a lot to notice any blurriness. `xrandr --dpi 160/DP-2` doesn't seem to do anything for me.
- galkk 3y agoThis is blurry af, it doesn't work.
- kaba0 3y agoThat seems to be just xwayland windows that you use. “Normal” wayland apps scale well even in fractions.