After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765011 - support fractional scaling
support fractional scaling
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on: 765008 791363
Blocks: 782742
 
 
Reported: 2016-04-13 18:16 UTC by Matthias Clasen
Modified: 2019-03-02 22:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2016-04-13 18:16:43 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.
Comment 1 Olaf Leidinger 2017-01-15 21:42:57 UTC
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 :)
Comment 2 Michael Vorburger 2017-01-16 10:17:53 UTC
Olaf if you're interested in helping out, see also Bug 768133 ...
Comment 3 Marco Trevisan (Treviño) 2017-10-28 10:46:06 UTC
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
Comment 4 Frédéric Parrenin 2017-11-28 13:40:33 UTC
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.
Comment 5 Marco Trevisan (Treviño) 2017-11-28 17:55:06 UTC
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.
Comment 6 Frédéric Parrenin 2017-11-28 18:42:54 UTC
Thanks for the news, Marco.
Keep up to good work!
Comment 7 Iiro Laiho 2018-01-12 20:30:39 UTC
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?
Comment 8 Marco Trevisan (Treviño) 2018-01-25 16:29:37 UTC
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