On Ubuntu XWayland based windows are blurry when using fractional scaling

Environment: Ubuntu 24.04, wayland 1.34-1, mutter 46.2-1ubuntu0.24.04.2, gdm3 46.0-2ubuntu1, xwayland 2:23.2.6-1.

This is particularly noticeable with electron apps. But others as well.

This issue has been brought up many times and seems to be a wayland limitation when scaling x11 app windows, which is needed on screens with higher density pixels.

The only reason why i bring it up again, and I apologize if this gets tiring, is that Cosmic Alpha 2 allows to scale x11 apps at their native resolutions per COSMIC DE Alpha 2 Released, This is What's New - OMG! Ubuntu , which would mean they are not blurry. If the apps support it I assume even when using high density pixel displays these would be scaled properly and show sharp and at the right size (adopted scaling or fractional scaling factor). If they do not support it they would render sharp but at 100% scale and appear small.

This could be added as an option in gnome. If the app doesn’t scale properly the user would then know to either launch it with the correction scaling options, or stop using the app and find an alternative. It would avoid hiding the issue, and get more bug reports out do the app maintainers.

I think the OS implemented feature could eventually help drive improvements into the affected apps. While the OS might not be able to solve the issue, at least it could make it visible.

Looks like HiDPI aware X11 clients with Xwayland / fractional scaling (#1318) · Issues · xorg / xserver · GitLab is trying to address this issue on the backend.

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.