Bug 22476 - [965GM] [UXA] [KMS] DPMS and xrandr problems when external display attached
Summary: [965GM] [UXA] [KMS] DPMS and xrandr problems when external display attached
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO
Depends on:
Blocks:
 
Reported: 2009-06-25 07:35 UTC by Hezekiah M. Carty
Modified: 2009-10-05 10:23 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg output after a suspend to ram (73.34 KB, text/plain)
2009-06-25 07:35 UTC, Hezekiah M. Carty
no flags Details
Xorg.0.log (296.47 KB, text/plain)
2009-06-25 07:36 UTC, Hezekiah M. Carty
no flags Details

Description Hezekiah M. Carty 2009-06-25 07:35:32 UTC
Created attachment 27135 [details]
dmesg output after a suspend to ram

When starting my laptop (Thinkpad R61, Core2Duo, Intel 965GM) with an external display attached, the internal display (LVDS) remains powered on until the external display is activated by Gnome.  At this point, the internal display powers off but, according to X, remains active - the desktop is still spread across the internal and external displays.

Running the command "xset dpms force off" seems to bring the display back to life.

This may be a separate bug, but I also have display corruption on the internal laptop display when resuming from a suspend to ram when there is an external display attached.  Once again, from the perspective of X everything seems to be fine.  But the internal display has the backlight on, a black background and I can see the mouse cursor but it is distorted.  The mouse cursor looks like extra black scanlines have been added to it.  I include this information here because these bugs seem to have cropped up together so they may be related.

This is on an Ubuntu Jaunty (9.04) system with all currently available updates from the xorg-edgers repository.

Kernel:
Linux fry 2.6.30-10-generic #11-Ubuntu SMP Sun Jun 21 23:24:33 UTC 2009 x86_64 GNU/Linux
linux-headers-2.6.30-10, 2.6.30-10.11

Intel driver:
xserver-xorg-video-intel - 2:2.7.99.901+git20090624.f0270bbb-0ubuntu0sarvatt~jaunty

X, Mesa, etc:
xserver-xorg-core - 2:1.6.1.901+git20090622+server-1.6-branch.dbac41b6-0ubuntu0sarvatt~jaunty

libgl1-mesa-dri - 7.5.0~git20090622+mesa-7-5-branch.abfd56c2-0ubuntu0sarvatt

libdrm2 - 2.4.11+git20090519.f355ad89-0ubuntu0sarvatt~jaunty

Please let me know if there is anything further I can provide for testing or diagnosis.
Comment 1 Hezekiah M. Carty 2009-06-25 07:36:05 UTC
Created attachment 27136 [details]
Xorg.0.log
Comment 2 Hezekiah M. Carty 2009-06-29 06:47:50 UTC
Some follow-up details:

Anything involving xrandr has a noticeable delay (running xrandr from the command line or using the Gnome display configuration application).  The delay is around 1 second, whereas with previous driver revisions both would respond almost instantaneously.

If I attach the external display after starting the system it is not detected.  Here is the xrandr output after attaching an external display to the VGA port:

--- start paste ---
$ xrandr 
Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
   1440x900       60.0*+   59.9     50.0  
   1360x768       59.8  
   1152x864      100.0     85.1     85.0     75.0     75.0     70.0     60.0  
   1024x768       85.0     75.0     70.1     60.0  
   832x624        74.6  
   800x600        85.1     72.2     75.0     60.3     56.2  
   640x480        85.0     72.8     75.0     60.0     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
DVI1 disconnected (normal left inverted right x axis y axis)
--- end paste ---
Comment 3 Jesse Barnes 2009-07-08 14:28:38 UTC
Ah yeah I think our VGA detect code regressed recently...  I assume you're still having the output turn off when X starts when booting with the VGA connected?  I'll try to reproduce on my T61...
Comment 4 Jesse Barnes 2009-07-08 14:47:38 UTC
Hm, nope can't reproduce on one of my thinkpads... But the kernel console is coming up ok right?  It's weird that X would turn it off.
Comment 5 Michael Fu 2009-08-05 23:24:20 UTC
(In reply to comment #2)
> Some follow-up details:
> 
> Anything involving xrandr has a noticeable delay (running xrandr from the
> command line or using the Gnome display configuration application).  The delay
> is around 1 second, whereas with previous driver revisions both would respond
> almost instantaneously.
> 
> If I attach the external display after starting the system it is not detected. 
> Here is the xrandr output after attaching an external display to the VGA port:

would you please try the debug patch at http://bugs.freedesktop.org/show_bug.cgi?id=22002#c25? and attach the xorg.log? we didn't receive response from that bug reporter for a while, but I suspect it's dup of this one

Need to set Option "modedebug" "true" in device section of xorg.conf , please. thanks.
Comment 6 Jesse Barnes 2009-10-05 10:23:45 UTC
Probably a dupe, but closing as invalid (no response recently).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.