Bug 16284 - [845G] "underrun on pipe A"
Summary: [845G] "underrun on pipe A"
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium critical
Assignee: Jesse Barnes
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 16:19 UTC by Oswald Buddenhagen
Modified: 2008-12-01 15:59 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
log file (44.74 KB, text/plain)
2008-06-09 16:19 UTC, Oswald Buddenhagen
no flags Details
Don't program DSPARB on old, single pipe chips (1.29 KB, patch)
2008-06-10 15:14 UTC, Jesse Barnes
no flags Details | Splinter Review

Description Oswald Buddenhagen 2008-06-09 16:19:08 UTC
Created attachment 17018 [details]
log file

upon x server startup, the screen goes blank - and stays like that.
Comment 1 Oswald Buddenhagen 2008-06-09 16:24:11 UTC
fwiw, this seems to have crept in not too long after 9f324860431ff8199a78d19bbaa74046e1476b89 (before or at 2e1425246ccc75216247b0c2fa6fce2635db472b - can't say more precisely, as i got tired of reboots).
Comment 2 Gordon Jin 2008-06-10 06:38:59 UTC
Could you please provide the detailed driver version, according to http://intellinuxgraphics.org/how_to_report_bug.html?

It will be very helpful if you could locate which commit causes this regression. Thanks.
Comment 3 Gordon Jin 2008-06-10 06:47:28 UTC
Jesse, is this related to bug#16169?
Comment 4 Jesse Barnes 2008-06-10 08:53:30 UTC
Yeah, it's probably related, though in this case it may be that we're just programming it wrong for 845G.  I'll come up with a patch for you, Oswald, thanks for reporting this.
Comment 5 Jesse Barnes 2008-06-10 15:14:47 UTC
Created attachment 17038 [details] [review]
Don't program DSPARB on old, single pipe chips

Can you give this patch a try?
Comment 6 Oswald Buddenhagen 2008-06-14 02:48:51 UTC
doesn't seem to have helped.

note that pin-pointing this is somewhat hard due to the crash that can be seen at the bottom (how do i get a useful trace without a second terminal?). it doesn't seem to be driver-related (it crashes even with a quite old driver which is verified to kind of work here). after such a crash the chip is in such a state that even the old, kind-of working server+driver show only a black screen until reboot.
Comment 7 Jesse Barnes 2008-06-20 14:37:25 UTC
Ah, it crashes with an old driver too?  Can you just comment out the call to i830_set_dsparb() in i830_driver.c:I830EnterVT() and see if things work after a fresh boot?
Comment 8 Oswald Buddenhagen 2008-06-21 09:35:19 UTC
ok, after a few really frustrating hours i think i have halfways isolated the bugs ...

your patch *does* help. and there is no crash related to this, "only" a lockup. heh. more to come in other reports ...
Comment 9 Jesse Barnes 2008-07-17 13:04:20 UTC
Any news here Oswald?  There's a patch in #16169 that might help too...
Comment 10 Jesse Barnes 2008-07-17 14:40:38 UTC
Ok, marking this one as fixed now that the patch in 16169 has gone upstream.
Comment 11 Oswald Buddenhagen 2008-08-24 08:24:33 UTC
just tried master ... nope. :(
specifically, initial activation works (takes basically forever, though), but when i switch away the vt and then re-enter it, it again goes black and floods the log with the underrun messages.
Comment 12 Michael Fu 2008-09-25 01:00:39 UTC
ping Jesse...
Comment 13 Jesse Barnes 2008-09-25 07:34:13 UTC
Ugg, wonder if we have any 845 machines...
Comment 14 Michael Fu 2008-09-25 18:29:28 UTC
(In reply to comment #11)
> just tried master ... nope. :(
> specifically, initial activation works (takes basically forever, though), but
> when i switch away the vt and then re-enter it, it again goes black and floods
> the log with the underrun messages.
> 

Oswald, would you pls provide a log with modedebug turns on? thanks.
Comment 15 Michael Fu 2008-11-11 16:45:23 UTC
time out for reporter's response. reject..
Comment 16 Jesse Barnes 2008-11-11 17:18:45 UTC
Oswald, if you get a chance to get some more info, please reopen.  I wouldn't want to hinder any KDE developers from making my desktop better. :)
Comment 17 Oswald Buddenhagen 2008-12-01 15:59:39 UTC
sorry for the delay. but given what an ordeal compiling and getting the server up again it was after all the build and config changes, the procrastination was justified. :-D

seems to work now. be sure i'll complain when it comes back. :)


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.