Bug 107852 - [CI][DRMTIP]igt@gem_wait@write-wait-blt - fail - Failed assertion: __gem_wait(fd, &wait) == 0, Last errno: 62, Timer expired
Summary: [CI][DRMTIP]igt@gem_wait@write-wait-blt - fail - Failed assertion: __gem_wait...
Status: CLOSED DUPLICATE of bug 107861
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-07 08:04 UTC by Martin Peres
Modified: 2018-10-15 11:51 UTC (History)
1 user (show)

See Also:
i915 platform: BYT
i915 features: GEM/Other


Attachments

Description Martin Peres 2018-09-07 08:04:51 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_105/fi-byt-n2820/igt@gem_wait@write-wait-blt.html

(gem_wait:1154) CRITICAL: Test assertion failure function basic, file ../tests/gem_wait.c:117:
(gem_wait:1154) CRITICAL: Failed assertion: __gem_wait(fd, &wait) == 0
(gem_wait:1154) CRITICAL: Last errno: 62, Timer expired
(gem_wait:1154) CRITICAL: error: -62 != 0
Comment 1 Chris Wilson 2018-09-07 08:20:57 UTC
The spin batch timer thread never fired, or at least did not take effect -- as also the spinner was not terminated on atexit. Hmm. More likely that the cancellation didn't work then.

<7>[   81.665572] missed_breadcrumb bcs0 missed breadcrumb at intel_breadcrumbs_hangcheck+0x51/0x70 [i915]
<7>[   81.665608] missed_breadcrumb 	current seqno 0, last 1, hangcheck 0 [2143 ms]
<7>[   81.665614] missed_breadcrumb 	Reset count: 0 (global 0)
<7>[   81.665621] missed_breadcrumb 	Requests:
<7>[   81.665636] missed_breadcrumb 		first  1 [6:3] @ 2142ms: bcs0
<7>[   81.665643] missed_breadcrumb 		last   1 [6:3] @ 2142ms: bcs0
<7>[   81.665666] missed_breadcrumb 		active 1 [6:3] @ 2142ms: bcs0
<7>[   81.665672] missed_breadcrumb 		ring->start:  0x00522000
<7>[   81.665677] missed_breadcrumb 		ring->head:   0x00000140
<7>[   81.665682] missed_breadcrumb 		ring->tail:   0x000001e8
<7>[   81.665687] missed_breadcrumb 		ring->emit:   0x000001e8
<7>[   81.665692] missed_breadcrumb 		ring->space:  0x0001fdd8
<7>[   81.665699] missed_breadcrumb [head 0140, postfix 01c0, tail 01e8, batch 0x00000000_00040000]:
<7>[   81.665734] missed_breadcrumb [0000] 13244001 00000104 00000000 00000000 11000001 00022220 ffffffff 11000001
<7>[   81.665742] missed_breadcrumb [0020] 00022228 00010000 13244001 00000104 00000000 00000000 12400001 00022228
<7>[   81.665749] missed_breadcrumb [0040] 7fffc000 00000000 13244001 00000104 00000000 00000000 13204001 00000104
<7>[   81.665757] missed_breadcrumb [0060] 00000000 00000000 18800100 00040000 13204001 00000104 00000000 00000000
<7>[   81.665764] missed_breadcrumb [0080] 11000001 00002044 00000001 11000001 00012040 00000001 10800001 000000c0
<7>[   81.665770] missed_breadcrumb [00a0] 00000001 01000000
<7>[   81.666259] missed_breadcrumb 	RING_START: 0x00522000
<7>[   81.666267] missed_breadcrumb 	RING_HEAD:  0x000001b0
<7>[   81.666274] missed_breadcrumb 	RING_TAIL:  0x000001e8
<7>[   81.666285] missed_breadcrumb 	RING_CTL:   0x0001f001
<7>[   81.666297] missed_breadcrumb 	RING_MODE:  0x00000000
<7>[   81.666306] missed_breadcrumb 	RING_IMR: ffbfffff
<7>[   81.666315] missed_breadcrumb 	SYNC_0: 0x00000000
<7>[   81.666324] missed_breadcrumb 	SYNC_1: 0x00000000
<7>[   81.666334] missed_breadcrumb 	ACTHD:  0x00000000_30800e74
<7>[   81.666344] missed_breadcrumb 	BBADDR: 0x00000000_308021d1
<7>[   81.666353] missed_breadcrumb 	DMA_FADDR: 0x00000000_30803680
<7>[   81.666362] missed_breadcrumb 	IPEIR: 0x00000008
<7>[   81.666371] missed_breadcrumb 	IPEHR: 0x00000000
<7>[   81.666380] missed_breadcrumb 	PP_DIR_BASE: 0x00010000
<7>[   81.666389] missed_breadcrumb 	PP_DIR_BASE_READ: 0x00000000
<7>[   81.666395] missed_breadcrumb 	PP_DIR_DCLV: 0xffffffff
<7>[   81.666424] missed_breadcrumb 		E 1 [6:3] @ 2143ms: bcs0
<7>[   81.666460] missed_breadcrumb 		Queue priority: -2147483648
<7>[   81.666499] missed_breadcrumb 	gem_wait [1154] waiting for 1
<7>[   81.666535] missed_breadcrumb IRQ? 0x0 (breadcrumbs? no)
<7>[   81.666545] missed_breadcrumb HWSP:
<7>[   81.666557] missed_breadcrumb [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<7>[   81.666563] missed_breadcrumb *
<7>[   81.666570] missed_breadcrumb Idle? no

Shows we were in never-never land and not spinning at all.
Comment 2 Chris Wilson 2018-09-14 20:41:36 UTC
Never never land == ppgtt invalidation issue.

*** This bug has been marked as a duplicate of bug 107861 ***
Comment 3 Lakshmi 2018-10-15 11:51:31 UTC
Closed as Duplicate.


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.