[Intel-gfx] On SNB: Hangcheck timer elapsed... GPU hung
Ivan Bulatovic
combuster at gmx.com
Tue Feb 22 18:26:31 CET 2011
On Thu, 2011-02-17 at 22:38 +1000, Ted Phelps wrote:
> Ivan Bulatovic writes:
> > I've done a little digging and maybe this could be related ?
> >
> > https://patchwork.kernel.org/patch/296822/
>
> That looks promising, but I've tried explicitly disabling and enabling
> that patch (#define NEED_BLT_WORKAROUND(dev) 1/0) without any noticeable
> change in behavior. But it is always the BLT ring that needs kicking.
>
> Thanks,
> -Ted
Here is the i915_error_state
Time: 1298394907 s 500663 us
PCI ID: 0x0102
EIR: 0x00000000
PGTBL_ER: 0x00000000
ERROR: 0x00000000
Blitter command stream:
ACTHD: 0x00000000
IPEIR: 0x00000000
IPEHR: 0x00000000
INSTDONE: 0x00000000
seqno: 0x0014494e
Video (BSD) command stream:
ACTHD: 0x00000000
IPEIR: 0x00000000
IPEHR: 0x00000000
INSTDONE: 0x00000000
seqno: 0x00000000
Render command stream:
ACTHD: 0x00000000
IPEIR: 0x00000000
IPEHR: 0x00000000
INSTDONE: 0x00000000
INSTDONE1: 0x00000000
INSTPS: 0x00000000
INSTPM: 0x00000000
seqno: 0x0014494c
fence[0] = 104f03b00850001
fence[1] = 356c03b0353d001
fence[2] = 00000000
fence[3] = fd970030fd88001
fence[4] = 00000000
fence[5] = fc1000f0f991001
fence[6] = e2f200f0e073001
fence[7] = 00000000
fence[8] = 00000000
fence[9] = 00000000
fence[10] = 00000000
fence[11] = 00000000
fence[12] = 00000000
fence[13] = 00000000
fence[14] = 00000000
fence[15] = 00000000
Active [52]:
0fdf2000 16384 0048 0000 0014493d dirty purgeable render uncached
0ff1d000 16384 0050 0000 0014493d dirty purgeable render uncached
0fe06000 16384 0060 0000 0014493d dirty purgeable render uncached
0fe26000 4096 0044 0000 0014493d dirty purgeable render uncached
0fe27000 4096 0044 0000 0014493d dirty purgeable render uncached
0fee6000 4096 0006 0000 0014493e dirty purgeable render uncached
0f635000 16384 0048 0000 0014493f dirty purgeable blt uncached
0fe28000 4096 0042 0000 0014493f dirty purgeable blt uncached
0f5dc000 16384 0048 0000 00144941 dirty purgeable render uncached
0ff21000 16384 0050 0000 00144941 dirty purgeable render uncached
0fdf6000 16384 0060 0000 00144941 dirty purgeable render uncached
0f5d8000 16384 0060 0000 00144941 dirty purgeable render uncached
0fdde000 8192 0006 0000 00144942 X dirty purgeable render uncached
0feca000 16384 0048 0000 00144943 dirty purgeable blt uncached
0fed2000 16384 0048 0000 00144945 dirty purgeable render uncached
0fee2000 16384 0050 0000 00144945 dirty purgeable render uncached
0f5c8000 16384 0060 0000 00144945 dirty purgeable render uncached
0fe4c000 16384 0048 0000 00144946 dirty purgeable blt uncached
0fd64000 16384 0048 0000 00144948 dirty purgeable render uncached
0f5ec000 16384 0050 0000 00144948 dirty purgeable render uncached
0ffed000 16384 0060 0000 00144948 dirty purgeable render uncached
0fec6000 16384 0060 0000 00144948 dirty purgeable render uncached
02899000 4096 0011 0000 00144948 dirty render uncached
0f64f000 4096 0044 0000 00144948 dirty purgeable render uncached
0fe2a000 4096 0044 0000 00144948 dirty purgeable render uncached
0fe29000 4096 0006 0000 00144949 dirty purgeable render uncached
0ff4f000 16384 0048 0000 0014494a dirty purgeable blt uncached
0f639000 16384 0048 0000 0014494c dirty purgeable render uncached
0ff38000 16384 0050 0000 0014494c dirty purgeable render uncached
0fe22000 16384 0060 0000 0014494c dirty purgeable render uncached
0fe89000 16384 0048 0000 0014494d dirty purgeable blt uncached
0fece000 16384 0048 0000 0014494f dirty purgeable render uncached
0f78a000 16384 0050 0000 0014494f dirty purgeable render uncached
02a98000 4096 0011 0000 0014494f render uncached
02939000 4096 0011 0000 0014494f render uncached
0288e000 4096 0011 0000 0014494f dirty render uncached
0288f000 28672 0011 0000 0014494f render uncached
02896000 4096 0011 0000 0014494f render uncached
02897000 4096 0011 0000 0014494f render uncached
02898000 4096 0005 0000 0014494f dirty render uncached
0293a000 4096 0011 0000 0014494f dirty render uncached
0f5c0000 16384 0060 0000 0014494f dirty purgeable render uncached
0399d000 4096 0011 0000 0014494f dirty render uncached
0fee7000 16384 0060 0000 0014494f dirty purgeable render uncached
0399e000 4096 0011 0000 0014494f dirty render uncached
0f5d4000 16384 0060 0000 0014494f dirty purgeable render uncached
0359d000 4194304 0006 0000 0014494f X dirty render uncached
0fda8000 4096 0006 0000 0014494f dirty render uncached
06431000 4096 0044 0000 0014494f dirty render uncached
0fe38000 4096 0044 0000 0014494f dirty render uncached
0fe39000 4096 0006 0000 00144950 dirty purgeable render uncached
12a16000 8388608 0002 0000 00144950 X dirty render uncached
Pinned [9]:
00000000 4096 0001 0001 00000000 P snooped
00001000 131072 0001 0001 00000000 P uncached
00021000 4096 0001 0001 00000000 P snooped
00022000 131072 0001 0001 00000000 P uncached
00042000 4096 0001 0001 00000000 P snooped
00043000 131072 0001 0001 00000000 P uncached
00063000 8294400 0041 0000 00000000 P uncached
0106c000 16384 0040 0040 00000000 P dirty uncached
00850000 8388608 0002 0000 00000000 P X dirty uncached (fence: 0)
render ring --- gtt_offset = 0x0fece000
---------------------------------------
Pipe [0]:
CONF: c0000000
SRC: 077f0437
HTOTAL: 0897077f
HBLANK: 0897077f
HSYNC: 080307d7
VTOTAL: 04640437
VBLANK: 04640437
VSYNC: 0440043b
Plane [0]:
CNTR: d8004400
STRIDE: 00001e00
SIZE: 00000000
POS: 00000000
ADDR: 00000000
SURF: 00850000
TILEOFF: 00000000
Cursor [0]:
CNTR: 04000027
POS: 00c50089
BASE: 0106c000
Pipe [1]:
CONF: 00000000
SRC: 00000000
HTOTAL: 00000000
HBLANK: 00000000
HSYNC: 00000000
VTOTAL: 00000000
VBLANK: 00000000
VSYNC: 00000000
Plane [1]:
CNTR: 00004000
STRIDE: 00000000
SIZE: 00000000
POS: 00000000
ADDR: 00000000
SURF: 00000000
TILEOFF: 00000000
Cursor [1]:
CNTR: 00000000
POS: 00000000
BASE: 00000000
dmesg
[ 2505.904377] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 2505.906540] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
returns -11 (awaiting 1329488 at 1329484, next 1329489)
[ 2505.907179] [drm:init_ring_common] *ERROR* render ring initialization
failed ctl 0001f003 head 00000000 tail 00000000 start 00000000
[ 2512.066276] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 2512.066288] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt
ring
[ 2516.567981] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 2516.567992] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt
ring
[ 2521.069682] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 2521.069693] [drm:kick_ring] *ERROR* Kicking stuck semaphore on blt
ring
[ 2525.834788] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer
elapsed... GPU hung
[ 2525.834855] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request
returns -11 (awaiting 1329498 at 1326106, next 1329534)
I didn't want to send both logs as an compressed attachement as it
weighs 125KB and I don't know what's the policy on attachements here on
mailing list (I've cut down bunch of 0001ff44 : 0b240001 lines from the
i915_error_state). If you need those I can attach them.
This problem occurs with the latest 2.6.38-rc6 and with xorg stack from
git a week old.
More information about the Intel-gfx
mailing list