Xinerama secondary screen still exists when unplugging cable
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.
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CompizPlugins: [core,bailer,
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
NonfreeKernelMo
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=
ProcVersionSign
Tags: oneiric running-unity ubuntu
Uname: Linux 3.0.0-12-generic x86_64
UnitySupportTest: Error: command ['/usr/
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.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Studio XPS 1645
dmi.product.
dmi.sys.vendor: Dell Inc.
version.compiz: compiz 1:0.9.6+
version.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.26-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
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