crash when turning off screen with xrandr

Bug #613628 reported by Jamie Strandboge
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-intel (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

I have a Lenovo X201s with a VGA port connected to an HP w2207h monitor. While I can enable both screens simultaneously in mirror and non-mirror mode, if I try to turn off one of the screen, X crashes and the system is unresponsive.

This worked fine on Lucid, but after upgrading today to Maverick, it broke.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: xserver-xorg-video-intel 2:2.12.0-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-14.19-generic 2.6.35
Uname: Linux 2.6.35-14-generic x86_64
Architecture: amd64
DRM.card0.DisplayPort.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI_Type_A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1440x900
 edid-base64: AP///////wAwrhRAAAAAAAwUAQOAGhB46uWVk1ZPkCgoUFQAAAABAQEBAQEBAQEBAQEBAQEB8BygoFCEGjAYEDYABaMQAAAY8BygoFCEGjAYEDYABaMQAAAYAAAADwCVCjKVCjIZAQAwZABVAAAA/gBMVEQxMjFFUTNCCiAgAK8=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1680x1050 1600x1000 1280x1024 1280x1024 1440x900 1280x960 1152x864 1152x720 1024x768 1024x768 832x624 800x600 800x600 640x480 640x480 720x400
 edid-base64: AP///////wAi8KgmAQEBAQ0SAQNoLx547rU1pVZKmiUQUFSla4BxAIFAgYCVAKkAswABAQEBITmQMGIaJ0BosDYA2SgRAAAcAAAA/QAwTBhTEAAKICAgICAgAAAA/ABIUCB3MjIwNwogICAgAAAA/wBDTks4MTMwS1pYCiAgAOU=
Date: Wed Aug 4 15:41:09 2010
DkmsStatus:

EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: LENOVO 5129CTO
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-14-generic root=UUID=82571cfb-fdda-4d2f-b708-f8924aa0fe21 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: xserver-xorg-video-intel
dmi.bios.date: 04/20/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET44WW (1.14 )
dmi.board.name: 5129CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET44WW(1.14):bd04/20/2010:svnLENOVO:pn5129CTO:pvrThinkPadX201s:rvnLENOVO:rn5129CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 5129CTO
dmi.product.version: ThinkPad X201s
dmi.sys.vendor: LENOVO
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-14-generic
---
Architecture: amd64
DRM.card0.DisplayPort.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.HDMI_Type_A.1:
 status: disconnected
 enabled: disabled
 dpms: Off
 modes:
 edid-base64:
DRM.card0.LVDS.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1440x900
 edid-base64: AP///////wAwrhRAAAAAAAwUAQOAGhB46uWVk1ZPkCgoUFQAAAABAQEBAQEBAQEBAQEBAQEB8BygoFCEGjAYEDYABaMQAAAY8BygoFCEGjAYEDYABaMQAAAYAAAADwCVCjKVCjIZAQAwZABVAAAA/gBMVEQxMjFFUTNCCiAgAK8=
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1680x1050 1600x1000 1280x1024 1280x1024 1440x900 1280x960 1152x864 1152x720 1024x768 1024x768 832x624 800x600 800x600 640x480 640x480 720x400
 edid-base64: AP///////wAi8KgmAQEBAQ0SAQNoLx547rU1pVZKmiUQUFSla4BxAIFAgYCVAKkAswABAQEBITmQMGIaJ0BosDYA2SgRAAAcAAAA/QAwTBhTEAAKICAgICAgAAAA/ABIUCB3MjIwNwogICAgAAAA/wBDTks4MTMwS1pYCiAgAOU=
DistroRelease: Ubuntu 10.10
DkmsStatus:

EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
MachineType: LENOVO 5129CTO
Package: xserver-xorg-video-intel 2:2.12.0-1ubuntu3
PackageArchitecture: amd64
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-19-generic root=UUID=82571cfb-fdda-4d2f-b708-f8924aa0fe21 ro quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-19.28-generic 2.6.35.3
Tags: maverick maverick
Uname: Linux 2.6.35-19-generic x86_64
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare sbuild
dmi.bios.date: 04/20/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET44WW (1.14 )
dmi.board.name: 5129CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET44WW(1.14):bd04/20/2010:svnLENOVO:pn5129CTO:pvrThinkPadX201s:rvnLENOVO:rn5129CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 5129CTO
dmi.product.version: ThinkPad X201s
dmi.sys.vendor: LENOVO
glxinfo: Error: [Errno 2] No such file or directory
system:
 distro: Ubuntu
 codename: maverick
 architecture: x86_64
 kernel: 2.6.35-19-generic

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Bryce Harrington (bryce)
tags: added: crash
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Jens Adam (karajan) wrote :

Same problem here. On Lucid turning off works with the 2.6.32 kernel but not with 2.6.35.
The crazy thing: when I turn off the screen with grandr instead of xrandr it works...

Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Medium
Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Chris Halse Rogers (raof) wrote :

From your Xorg.0.log that looks like a GPU freeze - has apport offered to report this freeze for you, because the Intel chips generally have good freeze detection and will attach all sorts of useful information.

If it isn't collecting that, then it would be good if you could boot, adding “drm.debug=0x06” to the kernel command line and then SSH into the machine once X has crashed and run “apport-collect 613628”?

If that doesn't work, SSHing in and running “apport-cli --save intel-logs.crash xorg” will produce an intel-logs.crash file which you could attach.

If *that* doesn't work, grabbing dmesg and the contents of /sys/kernel/debug/dri/0/ would be good.

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

[Resetting to incomplete since we need a response from the original reporter on this].

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Dependencies.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : GdmLog.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : GdmLog1.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : GdmLog2.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Lspci.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Lsusb.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : PciDisplay.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : ProcModules.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : RelatedPackageVersions.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : UdevDb.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : UdevLog.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : XorgLog.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : XorgLogOld.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Xrandr.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : monitors.xml.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : peripherals.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : setxkbmap.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : xdpyinfo.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote : xkbcomp.txt

apport information

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

With up to date maverick, it seems the situation may have improved slightly. Now when try to turn off one of the screens, the screen is unusable (if turn off monitor, laptop screen is solid whitish/gray; if turn off laptop, monitor is black with pulsing gray lines), but the mouse cursor is visible and the monitor preferences applications times out after 30 seconds, returning me to mirror mode. It is possible I was too hasty in my initial report in not waiting 30 seconds-- I don't recall.

I used the 'apport-collect 613628' after trying to turn off the monitor, having it go back to mirror mode automatically after 30 seconds, then trying to turn off the laptop and having it go back to mirror mode automatically after 30 seconds.

Marking back to 'New' since I provided the requested information.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Incomplete → New
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I can confirm that this sort works with grandr. If I turn off the laptop screen, the monitor is not garbled, but it also doesn't show the complete desktop (there is a 3 inch black band along the bottom and right). However, I am unable to turn the laptop screen back on and grandr behaves incorrectly (its window is not drawn properly).

Bryce Harrington (bryce)
Changed in xserver-xorg-video-intel (Ubuntu):
status: New → Confirmed
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This seems to have fixed itself in recent updates. I'll reopen if I run into it again.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Sandeep (sandys-gmail) wrote :

I'm still having this issue. I had filed a different bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/633246 which I have now marked as duplicate of this one.

To post a comment you must log in.