Comment 0 for bug 1267281

Revision history for this message
TraceyC (grrlgeek) wrote : Auto-detection of a monitor being added or removed not working

Xubuntu 13.10
nVidia / Intel hybrid graphics on a Lenovo W530 laptop
Binary nVidia drivers
Docking station with two connected external monitors
Unfortunately, I'm not able to install the latest development release on the laptop, as it belongs to my employer

Working:
- Booting the laptop when docked extends the desktop, as expected, across the laptop screen and two external monitors
- Booting the laptop when undocked properly presents the desktop only on the laptop display

Not Working:
1 - External displays are corrected detected when the laptop is docked (after being undocked) but the user is not given the option to configure them. I have to go to nVidia-Settings to re-activate the display on the two external monitors.

2 - When undocking the laptop, xorg does not correctly deal with the disconnect of the two external monitors. The X server moves my open windows to the laptop screen, but the resolution is wrong. The task bar, which is set to be centered on the screen, but the left side of it is off to the right and the right side extends beyond the visible portion of the display.

 - If I open the nVidia Settings dialog, it correctly shows only one display when undocked, but the resolution can't be re-adjusted normally. The "Apply" button is greyed out. From bug 625220:
"if I start out running in the mode where each display is running at its maximum resolution, the desktop is naturally the larger
  of the two. If I then disconnect the monitor, and go to the configuration dialog, then here is the problem: it knows the display
  is already 1400x1050, and so the Apply button is grayed out. However, the desktop size is 1920x1080, and there is no user-visible way to fix that. Configuring a lower-resolution display does _not_ change the desktop size, there are still windows over the edge and my mouse can navigate off-screen. (What I usually do is run "xrandr --auto" from the command line.)"

- I can work around the improper resolution when undocked by changing from auto resolution to manual or vica-versa in nVidia-Settings. The task bar is then brought to the laptop display. Some open windows, however, are shoved off to the right, mostly off the screen. I can see a small slice of the left side of each window. To fix this, I have to right click the window's icon in the task bar and choose "move". I have to do this for many of the half dozen to dozen windows I have open on a regular basis, which makes undocking the laptop a chore.

I'm happy to provide any additional information you might need to troubleshoot.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu6
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Wed Jan 8 16:33:14 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2013-07-08 (184 days ago)
InstallationMedia: Xubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
MarkForUpload: True
SourcePackage: xorg
UpgradeStatus: Upgraded to saucy on 2014-01-07 (1 days ago)