FS#71214 - [Wayland] Fractional scaling with dual monitors doesn't work on gnome 40.2

Attached to Project: Arch Linux
Opened by Santiago Pastorino (spastorino) - Thursday, 10 June 2021, 21:35 GMT
Last edited by David Thurstenson (thurstylark) - Wednesday, 23 March 2022, 19:31 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After upgrading gnome-shell, gnome-shell-extensions and mutter from 40.1 to 40.2, fractional scaling doesn't work anymore. The solution I've found is to revert all those packages to 40.1.
This task depends upon

Closed by  David Thurstenson (thurstylark)
Wednesday, 23 March 2022, 19:31 GMT
Reason for closing:  Fixed
Comment by Santiago Pastorino (spastorino) - Saturday, 12 June 2021, 22:26 GMT
Just had some time to re-install 40.2, try again and check out the logs. The session ends starting as an X11 session.

gnome-shell segfaults in libglib, see the logs below ...

```
Jun 12 19:16:32 galago audit[570]: ANOM_ABEND auid=120 uid=120 gid=120 ses=1 pid=570 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=11 res=1
Jun 12 19:16:32 galago kernel: gnome-shell[570]: segfault at 200000009 ip 00007f7ccc28c2e2 sp 00007ffddd9198e0 error 4 in libglib-2.0.so.0.6800.2[7f7ccc236000+8c000]
Jun 12 19:16:32 galago kernel: Code: 00 b8 a0 00 00 00 4c 0f 42 f8 49 c1 e1 02 4d 89 fd 4d 89 c7 4d 89 f0 4d 89 ce 66 0f 1f 44 00 00 44 8b 15 79 0c 0c 00 48 89 dd <4a> 8b 1c 03 45 85 d2 74 25 48 8b 74 24 10 48 89 ef 4c 89 44 24 18
Jun 12 19:16:32 galago kernel: audit: type=1701 audit(1623536192.481:96): auid=120 uid=120 gid=120 ses=1 pid=570 comm="gnome-shell" exe="/usr/bin/gnome-shell" sig=11 res=1
Jun 12 19:16:32 galago gsd-keyboard[721]: Error reading events from display: Broken pipe
Jun 12 19:16:32 galago gsd-media-keys[731]: Error reading events from display: Broken pipe
Jun 12 19:16:32 galago org.gnome.Shell.desktop[622]: (EE) failed to read Wayland events: Broken pipe
Jun 12 19:16:32 galago gsd-color[720]: Error reading events from display: Broken pipe
Jun 12 19:16:32 galago gsd-power[751]: Error reading events from display: Broken pipe
Jun 12 19:16:32 galago gsd-wacom[719]: Error reading events from display: Broken pipe
Jun 12 19:16:32 galago gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session[562]: gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session[562]: gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session[562]: gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session[562]: gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Jun 12 19:16:32 galago polkitd[484]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.25, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jun 12 19:16:32 galago org.gnome.SettingsDaemon.Wacom.desktop[976]: Unable to init server: Could not connect: Connection refused
Jun 12 19:16:32 galago org.gnome.SettingsDaemon.Wacom.desktop[976]: Cannot open display:
Jun 12 19:16:32 galago gnome-session[562]: gnome-session-binary[562]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
Jun 12 19:16:32 galago gnome-session-binary[562]: WARNING: Application 'org.gnome.Shell.desktop' killed by signal 11
Jun 12 19:16:32 galago gnome-session-binary[562]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jun 12 19:16:32 galago gnome-session[562]: gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
Jun 12 19:16:32 galago gnome-session-binary[562]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1
Jun 12 19:16:32 galago org.gnome.SettingsDaemon.Keyboard.desktop[979]: Unable to init server: Could not connect: Connection refused
Jun 12 19:16:32 galago org.gnome.SettingsDaemon.Keyboard.desktop[979]: Cannot open display:
Jun 12 19:16:32 galago kernel: rfkill: input handler enabled
Jun 12 19:16:32 galago /usr/lib/gdm-wayland-session[612]: dbus-daemon[612]: Reloaded configuration
Jun 12 19:16:32 galago audit[518]: USER_END pid=518 uid=0 auid=120 ses=1 msg='op=PAM:session_close grantors=pam_loginuid,pam_keyinit,pam_succeed_if,pam_permit,pam_systemd,pam_env acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=gala>
Jun 12 19:16:32 galago audit[518]: CRED_DISP pid=518 uid=0 auid=120 ses=1 msg='op=PAM:setcred grantors=pam_permit acct="gdm" exe="/usr/lib/gdm-session-worker" hostname=galago addr=? terminal=/dev/tty1 res=success'
Jun 12 19:16:32 galago gdm[489]: Gdm: GdmDisplay: Session never registered, failing
```
Comment by Santiago Pastorino (spastorino) - Monday, 14 June 2021, 02:01 GMT
This was really this https://gitlab.gnome.org/GNOME/mutter/-/issues/1846 issue and was fixed by 40.2-2.
Comment by mattia (nTia89) - Sunday, 20 March 2022, 15:27 GMT
I cannot reproduce the issue. Is it still valid for you?
Comment by Santiago Pastorino (spastorino) - Sunday, 20 March 2022, 22:41 GMT
This is not a problem anymore.

Loading...