Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've had the opposite experience, but I've really only used swaywm in Wayland, so maybe it is an issue specific to a DE?


with i3 i use an xrandr oneline to set the fractional scaling and it works great.

  xrandr --output DP-2 --scale 0.6x0.6


This 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


I 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.


This is blurry af, it doesn't work.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: