Bug 10258

Summary: i855 XV hang with 1.7.4
Product: xorg Reporter: Sascha Hlusiak <bugs>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: RESOLVED DUPLICATE QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: high    
Version: 7.2 (2007.02)   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
kdm.log containing crash information while starting quake3 none

Description Sascha Hlusiak 2007-03-11 15:23:13 UTC
I think this is related to or the same then http://bugs.freedesktop.org/show_bug.cgi?id=5774

Running xorg 7.2, xf86-video-i810-1.7.4 (debugging enabled) on 2.6.20 kernel, video hardware is Intel Corporation 82852/855GM Integrated Graphics Device (rev 02).

I was watching a video with xine, then quit xine and started another video, which made the server crash and trying to restart. NO suspend to ram/disk before, this happened 2 hours after booting. X kept restarting until I put the machine into suspend2disk. After resuming, X was able to restart. I can't easily reproduce the crash.

Relevant log file parts:

----- SNIP -----
SPIN 998488
SPIN 998487
SPIN 998486
SPIN 998485
SPIN 998484
SPIN 998483
SPIN 998482
SPIN 998481
OVERLAY_OFF
I830StopVideo
COLORKEY
pitch 0 is 100, pitch 1 is 52, pitch 2 is 52
offset 1 is 10000, offset 2 is 12600
size is 15200
BRIGHTNESS
BRIGHTNESS
CONTRAST
CONTRAST
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
I830PutImage: src: (0,0)(640,480), dst: (340,37)(640,480)
width 640, height 480
I830AllocateMemory
I830CopyPlanarData: srcPitch 640, srcPitch 320, dstPitch 320
nlines 480, npixels 640, top 0, left 0
src1 is 0xaa6d5000, offset is 0
src2 is 0xaa720000, offset is 307200
src3 is 0xaa732c00, offset is 384000
I830DisplayVideo: 640x480 (pitch 320)
CompareOverlay: no differences
TURNING ON OVERLAY BEFORE UPDATE
I830ResetVideo: base: 0xaf9f2000, offset: 0x5ffa000, obase: 0xb59ec000
Overlay goes from off to on
OVERLAY_UPDATE
Y width is 640, swidth is 19
UV width is 320, swidthsw is 9
HEIGHT is 480
dstBox: x1: 340, y1: 37, x2: 980, y2: 517
Buffers: Y0: 0x420000, U0: 0x46b000, V0: 0x47dc00
Buffers: Y1: 0x490800, U1: 0x4db800, V1: 0x4ee400
pos: 0x250154, size: 0x1e00280
dst: 640 x 480, src: 640 x 480
xscale: 0.ff8, yscale: 0.ff6
UV xscale: 0.7fc, UV yscale: 0.7fb
YUV420
UV stride is 320, Y stride is 640
OCMD is 0x3001
OVERLAY_UPDATE
I830StopVideo
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
pitch 0 is 640, pitch 1 is 320, pitch 2 is 320
offset 1 is 307200, offset 2 is 384000
size is 460800
I830PutImage: src: (0,0)(640,480), dst: (340,37)(640,480)
width 640, height 480
I830AllocateMemory
I830CopyPlanarData: srcPitch 640, srcPitch 320, dstPitch 320
nlines 480, npixels 640, top 0, left 0
src1 is 0xaa582000, offset is 0
src2 is 0xaa5cd000, offset is 307200
src3 is 0xaa5dfc00, offset is 384000
I830DisplayVideo: 640x480 (pitch 320)
CompareOverlay: no differences
Y width is 640, swidth is 19
UV width is 320, swidthsw is 9
HEIGHT is 480
dstBox: x1: 340, y1: 37, x2: 980, y2: 517
Buffers: Y0: 0x420000, U0: 0x46b000, V0: 0x47dc00
Buffers: Y1: 0x490800, U1: 0x4db800, V1: 0x4ee400
pos: 0x250154, size: 0x1e00280
dst: 640 x 480, src: 640 x 480
xscale: 0.ff8, yscale: 0.ff6
UV xscale: 0.7fc, UV yscale: 0.7fb
YUV420
UV stride is 320, Y stride is 640
OCMD is 0x3005
OVERLAY_UPDATE
Error in I830WaitLpRing(), now is 7119854, start is 7117853
pgetbl_ctl: 0x1ffe0001 pgetbl_err: 0x0
ipeir: 0 iphdr: 1810000
LP ring tail: 18880 head: 18874 len: 1f001 start 0
eir: 0 esr: 0 emr: ffff
instdone: ffc0 instpm: 0
memmode: 108 instps: 0
hwstam: ffff ier: a2 imr: 9 iir: 200
space: 131052 wanted 131064

Fatal server error:
lockup

I830StopVideo
I830ResetVideo: base: 0xaf9f2000, offset: 0x5ffa000, obase: 0xb59ec000
OVERLAY_UPDATE
Overlay goes from on to off
SPIN 1000000
SPIN 999999
SPIN 999998
SPIN 999997
SPIN 999996
SPIN 999995
SPIN 999994
SPIN 999993
SPIN 999992
SPIN 999991
 [... 999972 lines skipped ...]
SPIN 19
SPIN 18
SPIN 17
SPIN 16
SPIN 15
SPIN 14
SPIN 13
SPIN 12
SPIN 11
SPIN 10
SPIN 9
SPIN 8
SPIN 7
SPIN 6
SPIN 5
SPIN 4
SPIN 3
SPIN 2
SPIN 1
OVERLAY FAILED TO GO OFF
OVERLAY_OFF
Error in I830WaitLpRing(), now is 7128983, start is 7126982
pgetbl_ctl: 0x1ffe0001 pgetbl_err: 0x0
ipeir: 0 iphdr: 1810000
LP ring tail: 188c0 head: 18874 len: 1f001 start 0
eir: 0 esr: 0 emr: ffff
instdone: ffc0 instpm: 0
memmode: 108 instps: 0
hwstam: ffff ier: a2 imr: 9 iir: 200
space: 130988 wanted 131064

FatalError re-entered, aborting
lockup



X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.20-suspend2 i686 
Current Operating System: Linux DeepThought 2.6.20-suspend2 #2 PREEMPT Sat Feb 10 15:08:46 EST 2007 i686
Build Date: 21 February 2007
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 11 19:01:26 2007
(==) Using config file: "/etc/X11/xorg.conf"
I830InitVideo
I830SetupImageVideoOverlay
I830ResetVideo: base: 0xaf932000, offset: 0x5ffa000, obase: 0xb592c000
Original gamma: 0x80808 0x101010 0x202020 0x404040 0x808080 0xc0c0c0
Bounded  gamma: 0x80808 0x101010 0x202020 0x404040 0x808080 0xc0c0c0
Synaptics DeviceInit called
SynapticsCtrl called.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Synaptics DeviceOn called
Error in I830WaitLpRing(), now is 7148191, start is 7146190
pgetbl_ctl: 0x1ffe0001 pgetbl_err: 0x0
ipeir: 0 iphdr: 1810000
LP ring tail: 178 head: 0 len: 1f001 start 0
eir: 0 esr: 0 emr: ffff
instdone: ffc0 instpm: 0
memmode: 108 instps: 0
hwstam: ffff ier: a2 imr: 9 iir: 200
space: 130688 wanted 131064

Fatal server error:
lockup

Error in I830WaitLpRing(), now is 7150208, start is 7148207
pgetbl_ctl: 0x1ffe0001 pgetbl_err: 0x0
ipeir: 0 iphdr: 1810000
LP ring tail: 180 head: 0 len: 1f001 start 0
eir: 0 esr: 0 emr: ffff
instdone: ffc0 instpm: 0
memmode: 108 instps: 0
hwstam: ffff ier: a2 imr: 9 iir: 200
space: 130680 wanted 131064

FatalError re-entered, aborting
lockup

krootimage: Fatal IO error: client killed

X Window System Version 7.2.0
 [...]
----- SNAP -----
Comment 1 Sascha Hlusiak 2007-03-28 06:09:46 UTC
Just had a crash with Quake3 after Suspend to Ram, so it seems not to be XV related, but to happen when there are overlays. Or maybe it is a different bug. See attached part of kdm.log.
Comment 2 Sascha Hlusiak 2007-03-28 06:10:51 UTC
Created attachment 9333 [details]
kdm.log containing crash information while starting quake3
Comment 3 Gordon Jin 2007-07-31 19:11:50 UTC
Some i855 fixes go into the recent release. Could you try the upstream driver or the latest 2.1.0 release?
Comment 4 Sascha Hlusiak 2007-08-02 09:51:15 UTC
Latest git as well as 2.1.0 and 2.0.0 are far worse for me than the 1.7.4.

- Does not interprete the EDID of my notebook's LCD correctly -> Screen stays black when the LCD is turned on while X starts; works when the LCD is turned off with "i810switch lcd off", because reading of EDID fails then.
- Randomly hardlocks the whole machine when logging out/killing X (no remote login, no ping, no log files, no output).

Didn't test 2.x for the issue of this bug though, because it's unusuable anyway.

Haven't had a crash with 1.7.4 for a while now. Maybe latest bios upgrade fixed it... :-S But it's hard to reproduce anyway.
Comment 5 Eric Anholt 2007-08-02 10:15:48 UTC
Please attach your log with EDID failure.  The 1.7 series is completely abandoned at this point.
Comment 6 Sascha Hlusiak 2007-08-02 14:46:37 UTC
(In reply to comment #5)
> Please attach your log with EDID failure.  The 1.7 series is completely
> abandoned at this point.

https://bugs.freedesktop.org/show_bug.cgi?id=10723#c12
Comment 7 Michael Fu 2007-08-02 18:26:33 UTC

*** This bug has been marked as a duplicate of bug 10723 ***

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.