Display settings not saved across sessions if fractional scaling is used

Bug #1852860 reported by Prashant Deva on 2019-11-16
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Medium
Unassigned
mutter (Ubuntu)
Medium
Unassigned

Bug Description

I am using:

- Ubuntu 19.10
- Nvidia gtx1080
- nvidia xserver installed
- two 4k monitors

I changed the scaling and order of monitors in Ubuntu Display settings.

However when I reboot or logout/login the display settings reset and i have to set them all over again each time.

Prashant Deva (prashant-deva) wrote :

Updating, I have narrowed down the bug further.

So the settings are not persisted when fractional scaling is used.

If i enable fractional scaling and then change the scaling, display settings are not persisted across sessions.

If i simply enable fractional scaling, but dont change the scaling (leaving it at 100%), but change other display settings, like location of monitors, they are indeed persisted.

Sebastien Bacher (seb128) wrote :

Thank you for your bug report. What desktop environment do you use? Is that under Xorg or wayland? Could you add a 'journalctl -b 0' log from a session which failed to restore the configuration?

Changed in grub2 (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Prashant Deva (prashant-deva) wrote :

attaching log as requested.

desktop environment is gnome with xorg

Sebastien Bacher (seb128) wrote :

The log has that error
gnome-shell[1789]: Failed to read monitors config file '/home/pdeva/.config/monitors.xml': Logical monitors not adjacent

Could you maybe attach the corresponding file to the bug?

It would also be better if you could report the issue upstream on https://gitlab.gnome.org/GNOME/gnome-shell/issues

Prashant Deva (prashant-deva) wrote :

attaching monitors.xml.
this is after making changes to display that trigger the reset bug on restart

vaughn (vaughnd) wrote :

Nice find. I have the same problem: syslog.1:Nov 18 17:21:42 vaughn-linux gnome-shell[2779]: Failed to read monitors config file '/home/vaughn/.config/monitors.xml': Logical monitors not adjacent

I have a 3840x2160 at 150% and 2560x1440 monitor at 100% and have to set up displays each time I log in. Monitors.xml attached.

affects: grub2 (Ubuntu) → gnome-shell (Ubuntu)
Changed in gnome-shell (Ubuntu):
status: Incomplete → New
tags: added: desktop-lts-wishlist
tags: added: xrandr-scaling
Changed in gnome-shell (Ubuntu):
importance: Low → Medium
status: New → Confirmed
Changed in mutter (Ubuntu):
status: New → Confirmed
summary: - Display settings not saved across sessions
+ Display settings not saved across sessions if fractional scaling is used
tags: added: eoan
Changed in mutter (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers