[i965gm] Display configuration not kept after closing laptop lid

Bug #352136 reported by Tom Haddon
4
Affects Status Importance Assigned to Milestone
xf86-video-intel
Invalid
Medium
xserver-xorg-video-intel (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-intel

Laptop being used: Dell Inspiron 1420 N. Native resolution 1280x800
External monitor being used: Samsung 225BW. Native resolution 1680x1050

Per bug 346611, after adding the "Virtual" setting to my Xorg.conf file, I am able to set the display correctly on my external monitor, and everything works fine. However, when I close the lid on my laptop (I want the external display only), the screen on my external monitor goes black. This is normal behaviour and is what happened in my "interpid" setup. However, when I try moving the mouse, or using the keyboard I'd expect the screen on the monitor to be restored. Instead it stays black and the only way I can restore the screen is to open the lid on the laptop (at which point the screen shows on there too and it reverts to a mirrored screen setup even though that's not what I've asked for.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #38-Ubuntu SMP Fri Mar 27 09:00:52 UTC 2009
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-11-generic i686

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
     Subsystem: Dell Device [1028:01f3]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
     Subsystem: Dell Device [1028:01f3]

Revision history for this message
Tom Haddon (mthaddon) wrote :
Matt Zimmerman (mdz)
Changed in xserver-xorg-video-intel (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Bryce Harrington (bryce)
description: updated
Bryce Harrington (bryce)
summary: - Display configuration not kept after closing laptop lid
+ [i965gm] Display configuration not kept after closing laptop lid
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=25624)
XorgLog.txt

Forwarding this report from a Ubuntu user:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/352136

[Problem]
With laptop connected to an external display, if the laptop lid is closed, the external display goes blank too, and can't be restored.

[Original Report]
Laptop being used: Dell Inspiron 1420 N. Native resolution 1280x800
External monitor being used: Samsung 225BW. Native resolution 1680x1050

Per bug 346611, after adding the "Virtual" setting to my Xorg.conf file, I am able to set the display correctly on my external monitor, and everything works fine. However, when I close the lid on my laptop (I want the external display only), the screen on my external monitor goes black. This is normal behaviour and is what happened in my "intrepid" setup. However, when I try moving the mouse, or using the keyboard I'd expect the screen on the monitor to be restored. Instead it stays black and the only way I can restore the screen is to open the lid on the laptop (at which point the screen shows on there too and it reverts to a mirrored screen setup even though that's not what I've asked for.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: xserver-xorg-video-intel 2:2.6.3-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersion: Linux version 2.6.28-11-generic (buildd@palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #38-Ubuntu SMP Fri Mar 27 09:00:52 UTC 2009
SourcePackage: xserver-xorg-video-intel
Uname: Linux 2.6.28-11-generic i686

[lspci]
00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c)
     Subsystem: Dell Device [1028:01f3]
00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c)
     Subsystem: Dell Device [1028:01f3]

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

 distro: Ubuntu
 architecture: i686
 kernel: 2.6.28-11-generic
 xserver-xorg: 1:7.4~5ubuntu16
 mesa: 7.3-1ubuntu4
 libdrm: 2.4.5-0ubuntu3
 -intel: 2:2.6.3-0ubuntu2
 -ati: 1:6.12.1-0ubuntu1

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

Created an attachment (id=25625)
XorgConf.txt

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

Hi Tom,

I've forwarded your issue upstream to https://bugs.freedesktop.org/show_bug.cgi?id=21627 - please subscribe to that bug in case upstream needs further information or wishes you to test something. Thanks ahead of time.

Changed in xserver-xorg-video-intel:
status: Unknown → Confirmed
Andrew Ash (ash211)
tags: added: 965gm dual-head
Revision history for this message
In , Ling-ma (ling-ma) wrote :

plese refer to http://intellinuxgraphics.org/how_to_report_bug.html and provide
log file with modedebug option on.

thanks
maling

Revision history for this message
In , Tom Haddon (mthaddon) wrote :

Created an attachment (id=25809)
Xorg.log with ModeDebug on

Revision history for this message
In , Tom Haddon (mthaddon) wrote :

Created an attachment (id=25810)
Xorg.log with ModeDebug on taken with external monitor attached

Revision history for this message
In , Haien-liu (haien-liu) wrote :

works fine on my side. I test it with ubuntu 9.04 live cd.
distro: Ubuntu
architecture: i686
kernel: 2.6.28-11-generic
xserver-xorg: 2:1.6.0-0ubuntu4
mesa: 7.3-1ubuntu4
libdrm: 2.4.5-0ubuntu3
-intel: 2:2.6.3-0ubuntu2

Revision history for this message
In , Ling-ma (ling-ma) wrote :

(In reply to comment #6)
> works fine on my side. I test it with ubuntu 9.04 live cd.
> distro: Ubuntu
> architecture: i686
> kernel: 2.6.28-11-generic
> xserver-xorg: 2:1.6.0-0ubuntu4
> mesa: 7.3-1ubuntu4
> libdrm: 2.4.5-0ubuntu3
> -intel: 2:2.6.3-0ubuntu2

hi Tom
we use the same platform, but the issue doesn't occur, driver version 2.6.3 is old for us, could you please update your driver from our master tree?

Thanks
Ma Ling

Revision history for this message
In , Tom Haddon (mthaddon) wrote :

(In reply to comment #6)
> works fine on my side. I test it with ubuntu 9.04 live cd.
> distro: Ubuntu
> architecture: i686
> kernel: 2.6.28-11-generic
> xserver-xorg: 2:1.6.0-0ubuntu4
> mesa: 7.3-1ubuntu4
> libdrm: 2.4.5-0ubuntu3
> -intel: 2:2.6.3-0ubuntu2
>

I tried it with the ubuntu 9.04 live CD and was able to reproduce the issue. Should I upload a video showing this? I suspect you're maybe testing on different hardware?

Revision history for this message
In , Tom Haddon (mthaddon) wrote :

(In reply to comment #7)
> (In reply to comment #6)
> > works fine on my side. I test it with ubuntu 9.04 live cd.
> > distro: Ubuntu
> > architecture: i686
> > kernel: 2.6.28-11-generic
> > xserver-xorg: 2:1.6.0-0ubuntu4
> > mesa: 7.3-1ubuntu4
> > libdrm: 2.4.5-0ubuntu3
> > -intel: 2:2.6.3-0ubuntu2
>
> hi Tom
> we use the same platform, but the issue doesn't occur, driver version 2.6.3 is
> old for us, could you please update your driver from our master tree?
>
> Thanks
> Ma Ling
>

Should I wait to see the response from my last comment, as I am able to reproduce the problem with the 9.04 live CD?

Revision history for this message
In , Freedesktop-org-schildbach (freedesktop-org-schildbach) wrote :

I have a very similar problem which might have the same root cause.
(see bug report https://bugs.launchpad.net/bugs/352708)

Most notably, it only happens if you suspend via lid. When using pm-utils or suspending by power-button, display configuration stays intact.

Also, if you switch over to KMS, the problem goes away as well.

Tom, can you confirm if these two assumptions are correct for your problem as well?

Revision history for this message
In , yakuizhao (yakui-zhao) wrote :

Will you please do the following test under the console mode?
   a. kill the process using the /proc/acpi/event(use the command of "lsof /proc/acpi/event" to get the process id).
   b. cat /proc/acpi/event >user_event and don't press "CTRL + C" until the step C is finished.
   c. close/open the lid several times

After the test, please attach the output of user_event.
Thanks.

Revision history for this message
In , Michael Fu (michael-fu-intel) wrote :

ping...if the problem is gone in KMS, we probably won't chase to fix it for UMS anymore.

Revision history for this message
In , Freedesktop-org-schildbach (freedesktop-org-schildbach) wrote :

My problem from comment #10 can be attributed to my BIOS sending a "video button" event when the lid is closed. For more details see https://bugs.launchpad.net/bugs/352708. Can't say about the original bug report though.

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

Hi Tom, upstream is interested in your feedback on if this is still a problem with the newer Intel code. Can you try reproducing the problem on a Karmic LiveCD and report your findings on the upstream bug? Thanks.

https://bugs.freedesktop.org/show_bug.cgi?id=21627

Bryce Harrington (bryce)
tags: added: jaunty
Revision history for this message
In , yakuizhao (yakui-zhao) wrote :

Hi, Tom
    Will you please confirm whether this issue is also related with the LID script as described in comment #10?
    If not, please attach the output of acpidump. The latest acpidump tool(pmtools-20071116) can be found in :
    http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/*

thanks.

Changed in xserver-xorg-video-intel:
status: Confirmed → In Progress
Revision history for this message
In , Tom Haddon (mthaddon) wrote :

(In reply to comment #14)
> Hi, Tom
> Will you please confirm whether this issue is also related with the LID
> script as described in comment #10?
> If not, please attach the output of acpidump. The latest acpidump
> tool(pmtools-20071116) can be found in :
> http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/*
>
> thanks.
>

Unfortunately I no longer have the monitor in question. I'm in the process of moving and couldn't move it with me.

Revision history for this message
Tom Haddon (mthaddon) wrote :

Unfortunately I no longer have the monitor in question - I'm in the process of moving and had to get rid of it.

Revision history for this message
In , Michael Fu (michael-fu-intel) wrote :

Tom, the bug shouldn't be monitor specific. If you can still reproduce this bug with another monitor, please follow up with yakui's comment# 14. If can't reproduce this bug with another monitor anymore using KMS, we will close this bug then. thanks.

Changed in xserver-xorg-video-intel:
status: In Progress → Confirmed
Revision history for this message
In , Jesse Barnes (jbarnes-virtuousgeek) wrote :

Closing due to inactivity. I think this one is fixed though.

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

Upstream has closed the bug on their end due to lack of response to their questions and because they believe it to now be fixed. Please reopen if you find it to still be an issue.

Changed in xserver-xorg-video-intel (Ubuntu):
status: Triaged → Invalid
Changed in xserver-xorg-video-intel:
status: Confirmed → Invalid
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
Changed in xserver-xorg-video-intel:
importance: Medium → Unknown
Changed in xserver-xorg-video-intel:
importance: Unknown → Medium
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.