Bug 18496 - [GM965] Second Display often remains blank after S3 resume with underrun error
Summary: [GM965] Second Display often remains blank after S3 resume with underrun error
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other All
: medium normal
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: NEEDINFO, regression
Depends on:
Blocks:
 
Reported: 2008-11-12 02:36 UTC by D
Modified: 2008-12-21 04:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log piped through uniq (it was 22MB before) (65.39 KB, text/plain)
2008-11-12 02:36 UTC, D
no flags Details
dmesg (30.71 KB, text/plain)
2008-11-12 02:37 UTC, D
no flags Details
lspci (10.68 KB, text/plain)
2008-11-12 02:37 UTC, D
no flags Details
xorg.conf (2.30 KB, text/plain)
2008-11-12 02:39 UTC, D
no flags Details
Xorg.0.log with intel 2.5.1 (uncut) (377.79 KB, text/plain)
2008-11-16 01:13 UTC, D
no flags Details
dmesg with intel 2.5.1 (30.57 KB, text/plain)
2008-11-16 01:19 UTC, D
no flags Details
dmesg with 2.6.28-rc4 and 2.5.1 (30.62 KB, text/plain)
2008-11-16 01:26 UTC, D
no flags Details
kernel warning with 2.5.1 and 2.6.28-rc7 (2.09 KB, text/plain)
2008-12-18 16:43 UTC, D
no flags Details

Description D 2008-11-12 02:36:31 UTC
Created attachment 20247 [details]
Xorg.0.log piped through uniq (it was 22MB before)

The external vga monitor often stays blank after resume from suspend to ram (s3). Sometimes its filled with a single color, like plain blue. I have to switch back and forth between the console and X several times until it works again. 

While the display is blank this is flooded in the Xorg log file:
(EE) intel(0): underrun on pipe A!

I will attach the complete log and my config file plus lspci.

The problem exists since at least Ubuntu 8.04 with much older drivers. It also exists with the intel driver coming with 8.10.

Ubuntu 8.10
xorg version: 7.4~5ubuntu3
intel driver: 1.5.0
libdrm: 2.4.0
Comment 1 D 2008-11-12 02:37:02 UTC
Created attachment 20248 [details]
dmesg
Comment 2 D 2008-11-12 02:37:40 UTC
Created attachment 20249 [details]
lspci
Comment 3 D 2008-11-12 02:39:43 UTC
Created attachment 20250 [details]
xorg.conf
Comment 4 D 2008-11-12 02:45:42 UTC
btw. The kernel is 2.6.27 vanilla and has intelfb compiled-in (but not active)
Comment 5 D 2008-11-12 07:59:20 UTC
Syslog just told me:
Nov 12 16:57:28 xxx acpid: client has disconnected
after the second display goes on again.
Comment 6 D 2008-11-16 01:13:56 UTC
Created attachment 20334 [details]
Xorg.0.log with intel 2.5.1 (uncut)

The problem has for the first time now come up on the first display init with version 2.5.1.

[   37.499292] [drm:i915_getparam] *ERROR* Unknown parameter 5
Comment 7 D 2008-11-16 01:19:51 UTC
Created attachment 20335 [details]
dmesg with intel 2.5.1

I've just confirmed there's a regression between 2.5.0 and 2.5.1. My external display does not work anymore on first start, but only after switching (Ctl-Alt-F1, Alt-F7) three times. Kernel 2.6.27, dmesg with intel 2.5.1 attached.
Comment 8 D 2008-11-16 01:26:18 UTC
Created attachment 20336 [details]
dmesg with 2.6.28-rc4 and 2.5.1

With the combination of kernel 2.6.28-rc4 and driver 2.5.1 the display *is* initialized properly the first time (but there's a warning with ioremap (dmesg attached).
Comment 9 Jesse Barnes 2008-12-18 13:42:22 UTC
Can you attach the output of intel_reg_dumper from when you see one of the displays fail to come up?  The pipe underrun errors in some of your logs indicate a serious bug in the way we program the outputs on your system...

The ioremap warning should be harmless iirc, I think it'll be fixed for the final .28 release.
Comment 10 D 2008-12-18 15:59:26 UTC
Sorry I didn't update for a while. The problems disappeared some time before 2.6.28rc7. Do you want me to check out rc4 and then post the output of intel_reg_dumper? As long as you don't ask for a bisect...
Comment 11 D 2008-12-18 16:43:46 UTC
Created attachment 21286 [details]
kernel warning with 2.5.1 and 2.6.28-rc7

Well, to be honest there's still a warning when using the combination of 2.6.28-rc7 and 2.5.1. (see attachment)(not with 2.5.0). But as you said that shouldn't be a problem...
Comment 12 Jesse Barnes 2008-12-18 17:21:59 UTC
Ok, great.  Thanks for confirming.
Comment 13 D 2008-12-20 12:08:04 UTC
By the way, the oops is still there in 2.6.28-rc9...
Comment 14 D 2008-12-21 04:54:46 UTC
see http://bugzilla.kernel.org/show_bug.cgi?id=12267 for the kernel bug.
Comment 15 D 2008-12-21 04:57:29 UTC
Correction: The warning actually first appeared after 2.6.28-rc7 in the combination with intel driver 2.5.0. It used to be only with 2.5.1 and 2.6.28-rcX.


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.