Screen configuration is not preserved when logging out and logging back in

Bug #1578243 reported by Jonathan Kamens
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unity-settings-daemon (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

I have two identical monitors, with the dock on the left-hand side of the left monitor and the stickiness of the middle edge between the two monitors disabled.

When I log out and immediately log back in, my monitor configuration changes and now both monitors are mirroring the same content. I have to hit Command-P to get them to switch back to the non-mirrored configuration they were displaying immediately before I logged out.

This happens consistently, every time I log out and log back in.

The monitor configuration should be preserved when I log out and log back in.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: unity 7.4.0+16.04.20160415-0ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-21.37-generic 4.4.6
Uname: Linux 4.4.0-21-generic x86_64
.tmp.unity_support_test.0:

ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Wed May 4 10:27:26 2016
DistUpgraded: 2016-04-28 15:18:23,890 DEBUG icon theme changed, re-reading
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 virtualbox, 5.0.18, 4.2.0-35-generic, x86_64: installed
 virtualbox, 5.0.18, 4.4.0-21-generic, x86_64: installed
GraphicsCard:
 Intel Corporation Crystal Well Integrated Graphics Controller [8086:0d26] (rev 08) (prog-if 00 [VGA controller])
   Subsystem: CLEVO/KAPOK Computer Crystal Well Integrated Graphics Controller [1558:7410]
MachineType: System76, Inc. Galago UltraPro
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=UUID=821f94aa-97e2-4384-8494-9f510a75877b ro i915.disable_power_well=0 quiet splash vt.handoff=7
SourcePackage: unity
UpgradeStatus: Upgraded to xenial on 2016-04-28 (5 days ago)
dmi.bios.date: 12/12/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.5
dmi.board.asset.tag: Tag 12345
dmi.board.name: W740SU
dmi.board.vendor: Notebook
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: Notebook
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.5:bd12/12/2013:svnSystem76,Inc.:pnGalagoUltraPro:pvrgalu1:rvnNotebook:rnW740SU:rvrNotApplicable:cvnNotebook:ct9:cvrN/A:
dmi.product.name: Galago UltraPro
dmi.product.version: galu1
dmi.sys.vendor: System76, Inc.
upstart.unity7.log: JavaScript error: , line 0: uncaught exception: 2147746065
version.compiz: compiz 1:0.9.12.2+16.04.20160415-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.libgl1-mesa-dri: libgl1-mesa-dri 11.2.0-1ubuntu2
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 11.2.0-1ubuntu2
version.xserver-xorg-core: xserver-xorg-core 2:1.18.3-1ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.1-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.0-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-1build2
xserver.bootTime: Wed May 4 10:20:25 2016
xserver.configfile: default
xserver.errors: Failed to load module "nvidia" (module does not exist, 0)
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 4413
 vendor AUO
xserver.version: 2:1.18.3-1ubuntu2

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. You wrote "When I log out and immediately log back in", does it mean it only happens when you log back directly? what if you wait 30 seconds? Could you add your ~/.cache/upstart/unity-settings-daemon.log and ~/.config/monitors.xml to the bug?

affects: unity (Ubuntu) → unity-settings-daemon (Ubuntu)
Changed in unity-settings-daemon (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jonathan Kamens (jik) wrote :

>You wrote "When I log out and immediately log back in", does it mean it only happens when you log back directly? what if you wait 30 seconds?

Same problem.

>Could you add your ~/.cache/upstart/unity-settings-daemon.log and ~/.config/monitors.xml to the bug?

There is no unity-settings-daemon.log for some reason, there are just the compressed ones, so I've attached the .1.gz file.

I will attach monitors.xml in a moment.

Revision history for this message
Jonathan Kamens (jik) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity-settings-daemon (Ubuntu) because there has been no activity for 60 days.]

Changed in unity-settings-daemon (Ubuntu):
status: Incomplete → Expired
Jonathan Kamens (jik)
Changed in unity-settings-daemon (Ubuntu):
status: Expired → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unity-settings-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Donjan Rodic (bryonak) wrote :

Just upgraded from 14.04 to 16.04.1 and found this (and the workaround) via googling.

I drop my laptop on a dock with two vertically oriented (rotated to portrait) monitors. This was working fine before, now it lights them up without the rotation. Rotating them manually via System Settings -> Displays, undocking and docking again reverts to the wrong (landscape) orientation.

The ~/.config/monitors.xml looks fine but seems to be ignored.
Reloading the settings with

  killall unity-settings-daemon

gives me the correct orientation, which is read from the monitor.xml (editing the file by hand and killing u-s-d accepts whatever changes I make), it just doesn't get triggered on docking changes.

That's the workaround for now: kill u-s-d every time I dock to the workplace.
It would be nice for patchlvl 1 LTS upgrades to not break such basic stuff.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.