GNOME Bugzilla – Bug 765011
support fractional scaling
Last modified: 2019-03-02 22:49:03 UTC
Say, 3/2 or 2/0.75. By upscaling in the client, and downscaling between framebuffer and screen. This requires input transformation to work.
What's the state of this bug? Is there anything I could do to help? I just unpacked my new 27" 4k screen and I'm using two screens now. The old one, however, is low-dpi and thus, GNOME is not really usable for me at the moment when using the 4k resolution for the new one. Windows 10, however, works out of the box by scaling the 4k screen by 150% (according to the settings). It would be really great to have the same ability in GNOME. Hence my interest to help :)
Olaf if you're interested in helping out, see also Bug 768133 ...
The code for this is stored in these repos: - https://github.com/3v1n0/mutter/commits/wip/resource-scale - https://github.com/3v1n0/gnome-shell/commits/wip/resource-scale I've kept the granularity of commits quite high for better reviewing, but I'll squash/remove them a bit before final merge. I think most of things work now, the part I've to finish is just the one related to create_cairo_pattern_of_background_image. I'm now out for two weeks, but I hope I could get the commits reviewed in the mean time. Cheers
I am just wondering: will these patches make it to gnome 3.28? Will gnome 3.28 officially support fractional scaling? IMHO, it is an important issue for the linux desktop.
That's the plan... The branches needs a bit of cleanup of the commits, but code-wise should be fine. I've also fixed the missing parts I was mentioning in my previous commit, so I don't see blockers.
Thanks for the news, Marco. Keep up to good work!
What is the situation of this now? Now when I am writing this, Macro has made the last commits in Dec 23. The feature freeze is getting closer. I am just curious if we can except officially supported fractional scaling for Gnome 3.28, and thus Ubuntu 18.04 and Fedora 28?
Merge proposals are moved to gitlab: - https://gitlab.gnome.org/GNOME/mutter/merge_requests/3 - https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5
Fixed via: - https://gitlab.gnome.org/GNOME/mutter/merge_requests/3 - https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/5