Resuming from screen lock with a multimonitor setup causes all windows to migrate to the "primary screen"

Bug #1574251 reported by Francis Galiegue
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Hardware:

* Dell M3800; builtin screen is a 15", 1920x1080 screen;
* an external display connected via HDMI, brand ASUS, same resolution;
* the configuration via settings is that the screen on the laptop is on the left and the ASUS screen on the right.

The bug did not appear with 15.10; only starting with 16.04 did this start to happen. This is a laptop with a nVidia chipset, and it doesn't matter whether I use nouveau or the proprietary nVidia driver.

When the screen locks after inactivity, or I lock it explicitly, and then some time later (for some definition of "later") log back in, all windows have migrated to the laptop screen. This is annoying since it means I have to move all the windows over again.

I am not sure what details I should give. I only noticed that compared to 15.10 which did not exhibit the bug, the ASUS screen takes longer to "wake up" again... My hunch here is that the HDMI port was deactivated.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
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:

.tmp.unity_support_test.1:

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: Sun Apr 24 14:43:24 2016
DistUpgraded: 2016-04-23 03:26:23,168 DEBUG icon theme changed, re-reading
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.8, 4.4.0-21-generic, x86_64: installed
 nvidia-361, 361.42, 4.4.0-21-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Dell 4th Gen Core Processor Integrated Graphics Controller [1028:060d]
InstallationDate: Installed on 2015-07-16 (282 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: Dell Inc. Dell Precision M3800
ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=b8f6e64b-30d4-4621-8885-8079631fbd0e ro rootflags=subvol=@ quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UnitySupportTest: Error: command ['/usr/lib/nux/unity_support_test', '-p', '-f'] failed with exit code 1: Error: unable to create the OpenGL context
UpgradeStatus: Upgraded to xenial on 2016-04-23 (1 days ago)
dmi.bios.date: 01/08/2015
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: Dell Precision M3800
dmi.board.vendor: Dell Inc.
dmi.board.version: A09
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: Not Specified
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd01/08/2015:svnDellInc.:pnDellPrecisionM3800:pvrA09:rvnDellInc.:rnDellPrecisionM3800:rvrA09:cvnDellInc.:ct8:cvrNotSpecified:
dmi.product.name: Dell Precision M3800
dmi.product.version: A09
dmi.sys.vendor: Dell Inc.
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: Sat Apr 23 19:16:20 2016
xserver.configfile: default
xserver.errors:

xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 4589
 vendor AUO
xserver.version: 2:1.18.3-1ubuntu2

Revision history for this message
Francis Galiegue (fgaliegue) wrote :
Revision history for this message
Francis Galiegue (fgaliegue) wrote :

I have tried another configuration. This time, only the ASUS is active. And on "wake up", the laptop screen activates before the OS realizes that "oh no, this is not it, in fact only the other screen is active".

Revision history for this message
Francis Galiegue (fgaliegue) wrote :

OK, in fact the problem seems to be more general. It occurs each time the screen "go to sleep".

For more details, please see this question on askubuntu.com:

http://askubuntu.com/q/760998/173553

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

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

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Brudin (andreas-brudin) wrote :

I have the exact same behavior after upgrading from 15.10 to 16.04.

Changed in xorg (Ubuntu):
importance: Undecided → Medium
Revision history for this message
amias (amias) wrote :

this issue also effects me with 16.04 on 4k version of the same laptop and an external 4k screen running on displayport. It seems like the screens are not woken up fast enough and timeout causing the windows to be moved from them. I wonder if the timeouts could be adjusted upwards for high res screens.

it has got worse since 15.10

affects: xorg (Ubuntu) → compiz (Ubuntu)
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.