Xinerama secondary screen still exists when unplugging cable

Bug #688403 reported by Fabian Alenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I have an external monitor attached with an HDMI cable to my laptop. I use Xinerama to use both monitors simultaneously. This works well, except for when I unplug the HDMI cable. I would expect xorg to reset itself to single screen mode. It blinks black as if it tries to reset, but the secondary screen still exists as it's possible to drag the mouse pointer out of the screen and applications that were on the secondary screen become invisible and are impossible to move. It would be nice if xorg could reset itself into single screen mode and automatically move all applications that resided on the secondary screen to the primary one when I unplug the cable.

Using Ubuntu 10.10 with fglrx.

xorg:
  Installed: 1:7.5+6ubuntu3
  Candidate: 1:7.5+6ubuntu3

fglrx:
  Installed: 2:8.780-0ubuntu2
  Candidate: 2:8.780-0ubuntu2

What you expected to happen:
That the secondary screen be disabled when unplugging HDMI cable in Xinerama.

What happened instead:
The secondary screen remained active even though I couldn't see it and applications that were on that screen became invisible and impossible to move.
---
.tmp.unity.support.test.1:

ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,compiztoolbox,decor,grid,imgpng,place,regex,snap,vpswitch,resize,unitymtgrabhandles,gnomecompat,session,move,mousepoll,wall,animation,fade,expo,workarounds,scale,ezoom,unityshell]
CompositorRunning: None
DistUpgraded: Fresh install
DistroCodename: oneiric
DistroRelease: Ubuntu 11.10
DistroVariant: ubuntu
DkmsStatus: fglrx, 8.881, 3.0.0-12-generic, x86_64: installed
GraphicsCard:
 ATI Technologies Inc Madison [Mobility Radeon HD 5000 Series] [1002:68c0] (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:02fe]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
JockeyStatus:
 xorg:fglrx_updates - ATI/AMD proprietary FGLRX graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
 xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Enabled, In use)
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
 Bus 001 Device 003: ID 0c45:640f Microdia
MachineType: Dell Inc. Studio XPS 1645
NonfreeKernelModules: fglrx
Package: fglrx-installer (not installed)
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=af25bdc7-2d7a-468e-ba6a-9410d6428cc5 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Tags: oneiric running-unity ubuntu
Uname: Linux 3.0.0-12-generic x86_64
UnitySupportTest: Error: command ['/usr/lib/nux/unity_support_test', '-p', '-f'] failed with exit code 1: Error: no composite extension
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 05/11/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0VV228
dmi.board.vendor: Dell Inc.
dmi.board.version: A09
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A09
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd05/11/2010:svnDellInc.:pnStudioXPS1645:pvrA09:rvnDellInc.:rn0VV228:rvrA09:cvnDellInc.:ct8:cvrA09:
dmi.product.name: Studio XPS 1645
dmi.product.version: A09
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5
version.fglrx-installer: fglrx-installer N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1

Revision history for this message
Bryce Harrington (bryce) wrote :

Due to Xinerama's design, monitor hotplugging can't work there. However, it does work with XRANDR and KMS.

fglrx now supports XRANDR 1.2 (but not KMS). I can't easily test this on my own hardware but suspect it should work properly now. Would you mind testing oneiric (using fglrx with RANDR and not Xinerama) and report if it is indeed working?

If it isn't working, please update the bug report with newer info by running the command:
  apport-collect 688403

affects: xorg-server (Ubuntu) → fglrx-installer (Ubuntu)
Changed in fglrx-installer (Ubuntu):
status: New → Incomplete
Revision history for this message
Fabian Alenius (fabian-alenius) wrote : BootDmesg.txt

apport information

tags: added: apport-collected oneiric running-unity ubuntu
description: updated
Revision history for this message
Fabian Alenius (fabian-alenius) wrote : BootLog.gz

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : DpkgLog.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : GconfCompiz.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : LightdmLog.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : Lspci.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : ProcModules.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : UdevDb.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : UdevLog.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : XorgConf.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : XorgLog.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : XorgLogOld.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote : xdpyinfo.txt

apport information

Revision history for this message
Fabian Alenius (fabian-alenius) wrote :

Hi, I didn't read your comment properly and collected with Xinerama enabled with which monitor hotplugging still doesn't work as you said. :-) Unfortunately the only multi display alternative I can get to work without Xinerama is the cloning so I can't really test if the hotplugging works.

Revision history for this message
Fabian Alenius (fabian-alenius) wrote :

Should perhaps be a bit more specific, when I enable Multi-Display desktop and restart the laptop screen goes completely white while the external monitor works.

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

[Expired for fglrx-installer (Ubuntu) because there has been no activity for 60 days.]

Changed in fglrx-installer (Ubuntu):
status: Incomplete → Expired
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.