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 788049 - HiDPI Regressions in X11
HiDPI Regressions in X11
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
3.26.x
Other Linux
: Normal critical
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-22 15:03 UTC by Jeremy Soller
Modified: 2017-09-25 21:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Gnome Shell is not scaling correctly under xorg (1.04 MB, image/png)
2017-09-22 15:26 UTC, David Jordan
  Details
Remove unscaled-font-dpi setting from X11 backend (611 bytes, patch)
2017-09-25 20:04 UTC, Jeremy Soller
committed Details | Review

Description Jeremy Soller 2017-09-22 15:03:15 UTC
X11 GNOME sessions are now experiencing serious regressions in HiDPI functionality.

- GNOME Initial Setup and GDM are not correctly scaled
- GNOME Shell is not correctly scaled until restarted with the `r` command
- Windows are not correctly scaled until `gsettings reset org.gnome.desktop.interface scaling-factor` is run, presumably causing the scale of windows to be recalculated
Comment 1 David Jordan 2017-09-22 15:26:22 UTC
Created attachment 360267 [details]
Gnome Shell is not scaling correctly under xorg
Comment 2 David Jordan 2017-09-22 15:35:55 UTC
Related to this, in X11 setting the display scaling settings in Gnome Control Center doesn't actually take effect until the second time the scale factor is applied.
Comment 3 David Jordan 2017-09-22 18:01:23 UTC
(In reply to David Jordan from comment #2)
> Related to this, in X11 setting the display scaling settings in Gnome
> Control Center doesn't actually take effect until the second time the scale
> factor is applied.

Actually this bit is fixed by the patches for https://bugzilla.gnome.org/show_bug.cgi?id=787477

I can still confirm that GNOME Initial Setup and GDM aren't scaling correctly and GNOME Shell's text is tiny at every login until restarted with the 'r' command.
Comment 4 Jeremy Soller 2017-09-25 20:02:34 UTC
This appears to be caused by the X11 backend for Clutter utilizing the `unscaled-font-dpi` setting. This overrides settings done to the `font-dpi` setting, causing font to be improperly scaled. I will attach a patch.
Comment 5 Jeremy Soller 2017-09-25 20:04:22 UTC
Created attachment 360383 [details] [review]
Remove unscaled-font-dpi setting from X11 backend

This is the simplest method I have found to fix the scaling issues.
Comment 6 Jonas Ådahl 2017-09-25 20:39:14 UTC
Review of attachment 360383 [details] [review]:

Good catch, we can't have Xsettings continue poking at us from behind like this.
Comment 7 Iain Lane 2017-09-25 21:00:43 UTC
The following fixes have been pushed:
Comment 8 Iain Lane 2017-09-25 21:01:06 UTC
The following fix has been pushed:
ea214fb Remove unscaled-font-dpi setting from X11 backend