Bug 765011 - support fractional scaling
support fractional scaling
Status: ASSIGNED
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
:
Depends on: 765008 791363
Blocks: 782742
  Show dependency tree
 
Reported: 2016-04-13 18:16 UTC by Matthias Clasen
Modified: 2017-12-29 17:56 UTC (History)
17 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments

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!

Note You need to log in before you can comment on or make changes to this bug.