[Lenovo ThinkPad W530] Auto-detection of a monitor being added or removed not working

Bug #1267281 reported by TraceyC
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nvidia-graphics-drivers (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

With my Lenovo W530 laptop, what is expected to happen is external displays are correctly detected when the laptop is docked (after being undocked). However, 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.

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)
---
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
CasperVersion: 1.338
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: None
CurrentDesktop: XFCE
DistUpgraded: Fresh install
DistroCodename: trusty
DistroRelease: Ubuntu 14.04
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 NVIDIA Corporation GK107GLM [Quadro K1000M] [10de:0ffc] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21f6]
LiveMediaBuild: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
MachineType: LENOVO 2436CTO
Package: xorg 1:7.7+1ubuntu8
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/username.seed boot=casper quiet splash --
ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
Tags: trusty ubuntu regression reproducible has-workaround
Uname: Linux 3.13.0-17-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/13/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: G5ET95WW (2.55 )
dmi.board.asset.tag: Not Available
dmi.board.name: 2436CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrG5ET95WW(2.55):bd09/13/2013:svnLENOVO:pn2436CTO:pvrThinkPadW530:rvnLENOVO:rn2436CTO:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2436CTO
dmi.product.version: ThinkPad W530
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.52-1
version.libgl1-mesa-dri: libgl1-mesa-dri 10.1.0~rc3-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 10.1.0~rc3-0ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.15.0-1ubuntu6
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.8.2-1ubuntu2
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.3.0-1ubuntu3
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.910-0ubuntu1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.10-1ubuntu2
xserver.bootTime: Thu Mar 13 21:10:45 2014
xserver.configfile: default
xserver.errors:
 Failed to load module "nvidia" (module does not exist, 0)
 Failed to load module "nvidia" (module does not exist, 0)
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.15.0-1ubuntu6
xserver.video_driver: nouveau

Revision history for this message
TraceyC (grrlgeek) wrote :
Revision history for this message
penalvch (penalvch) wrote :

TraceyC, thank you for reporting this and helping make Ubuntu better. Could you please test for this with the latest live environment (not installed as you noted this is an employer laptop) development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p xorg REPLACE-WITH-BUG-NUMBER

Please ensure you click Yes to the window noting:
"Your display manager log files may help developers diagnose the bug, but may contain sensitive information such as your hostname. Do you want to include these logs in your bug report?"

or this will virtually eliminate the potential for this being addressed.

Thank you for your understanding.

Helpful bug reporting tips:
https://wiki.ubuntu.com/ReportingBugs

description: updated
Changed in xorg (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
tags: added: needs-full-apport-collect needs-trusty-test regression-potential
Revision history for this message
TraceyC (grrlgeek) wrote : Dependencies.txt

apport information

tags: added: apport-collected trusty
description: updated
Revision history for this message
TraceyC (grrlgeek) wrote : ProcEnviron.txt

apport information

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

I've tested with the latest Ubuntu and Xubuntu nightly live USB images. This is the first I had heard of those, and I'm very glad they are now available, specifically for cases like this. Here are my results.

---------------Monitor setup---------------
Laptop 1920 x 1080
Left external 1920 x 1200 (right of laptop)
Right external 1920 x 1200

---------------Ubuntu---------------
Booted docked with 2 ext monitors attached - success. Multiple monitors supported with display extended (rather than mirrored). This is the desired result.

Undocked
Windows correctly put on laptop display. This is the desired result.

Re-docked
Displays correctly detected, restored with correct placement
Windows returned to external monitor. This is the desired result.

---------------Xubuntu---------------
Booted docked
All monitors successfully detected, but displays mirrored rather than extended. Resolution of external monitors incorrectly set to be the same as the laptop resoluion.
Went to Display settings to correct
DP2 right of laptop - asked to keep settings but not done (clicked Keep)
Set correct resolution - asked to keep settings but not done (clicked Keep)
DP3 right of (laptop automatically selected) - asked to keep settings but not done (clicked Keep)
DP3 right of DP2 - asked to keep settings but not done (clicked Keep)
Set correct resolution - asked to keep settings (clicked Keep)

Display was finally extended across all monitors with proper resolution.

Undocked - Display was set only on the laptop as expected, but X became unresponsive before windows were moved to that display. Mouse movement was responding slowly & erratically.

I waited a few minutes, but the situation did not change.
I was able to get to a virtual terminal, eventually, with Ctrl-Alt-F1. I saw that kworker 0:2 was at 100% CPU utilization. Waited a few minutes & went back to X with Ctrl-Alt-F7. The laptop screen had white noise, the two external monitors had no display.

Also, when booting into the live Xubuntu USB environment, after settings proper resolutions but *not* undocking, I saw similar corruption during a reboot. The laptop display again showed the white noise / lines when the external monitors showed the Xubuntu logo screen.

Revision history for this message
penalvch (penalvch) wrote :

TraceyC, when doing the apport-collect, please ensure you have xdiagnose installed, and you click the Yes button for additional debugging information.

Timo Aaltonen (tjaalton)
affects: xorg (Ubuntu) → nvidia-graphics-drivers (Ubuntu)
Revision history for this message
TraceyC (grrlgeek) wrote :

Christopher, thank you for responding. I'm going to have to find time to do all that testing again. This isn't a good week for that, as I'm swamped at the office. Honestly, if you had mentioned the need for xdiagnose in your first request for debugging information, I would have only had to have done that once. I'll get to this as soon as I can.

Revision history for this message
TraceyC (grrlgeek) wrote : BootDmesg.txt

apport information

tags: added: has-workaround regression reproducible ubuntu
description: updated
Revision history for this message
TraceyC (grrlgeek) wrote : BootLog.txt

apport information

Revision history for this message
TraceyC (grrlgeek) wrote : CurrentDmesg.txt

apport information

Revision history for this message
TraceyC (grrlgeek) wrote : Dependencies.txt

apport information

Revision history for this message
TraceyC (grrlgeek) wrote : DpkgLog.txt

apport information

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

I've just attached the latest debugging logs from the live environment of 2014-Mar-13
I ran through the same testing steps as last time with very similar results
The only difference was that after undocking, I was not able to get to a virtual terminal, I suspect the CPU was bound again.

penalvch (penalvch)
tags: removed: needs-full-apport-collect needs-trusty-test regression
tags: added: bios-outdated-2.57
summary: - Auto-detection of a monitor being added or removed not working
+ [Lenovo ThinkPad W530] Auto-detection of a monitor being added or
+ removed not working
Changed in nvidia-graphics-drivers (Ubuntu):
status: Incomplete → New
description: updated
Revision history for this message
TraceyC (grrlgeek) wrote :

I noticed the bios-outdated tag, so I've updated the BIOS on my laptop to the latest one offered by Lenovo, which is 2.57. I re-tested with 2014-Mar-13 and experienced the exact same results.

The daily builds for the 16th and 17th won't boot on my laptop.

Revision history for this message
penalvch (penalvch) wrote :

TraceyC, would you please post the results of the following terminal command:
sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date

Revision history for this message
TraceyC (grrlgeek) wrote :

% sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date
[sudo] password for tracey:
G5ET97WW (2.57 )
02/25/2014

penalvch (penalvch)
tags: added: latest-bios-2.57
removed: bios-outdated-2.57
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Confirmed
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.