Bug 106064 - [CI] igt@* - fail - perf: ../lib/rendercopy_gen9.c:178: gen6_render_flush: Assertion `ret == 0' failed. Received signal SIGABRT.
Summary: [CI] igt@* - fail - perf: ../lib/rendercopy_gen9.c:178: gen6_render_flush: A...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
: 106065 106066 106067 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-04-16 07:05 UTC by Marta Löfstedt
Modified: 2018-09-07 16:43 UTC (History)
1 user (show)

See Also:
i915 platform: KBL, SKL
i915 features: Perf/OA


Attachments

Description Marta Löfstedt 2018-04-16 07:05:33 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_20/fi-kbl-r/igt@perf@oa-exponents.html

perf: ../lib/rendercopy_gen9.c:178: gen6_render_flush: Assertion `ret == 0' failed.
Received signal SIGABRT.
(perf:1471) CRITICAL: Test assertion failure function load_helper_stop, file ../tests/perf.c:1621:
(perf:1471) CRITICAL: Failed assertion: igt_wait_helper(&lh.igt_proc) == 0
Subtest oa-exponents failed.
Comment 1 Chris Wilson 2018-04-17 12:13:16 UTC
Totally dead gpu!

<6>[  147.563615] Console: switching to colour frame buffer device 480x135
<6>[  147.674647] Console: switching to colour dummy device 80x25
<7>[  147.674698] [IGT] perf: executing
<7>[  147.679102] [IGT] perf: starting subtest oa-exponents
<7>[  147.711703] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000216bd93c
<7>[  147.727775] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000d3e2df82
<7>[  147.743342] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000cd8ff622
<7>[  147.764961] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000b67cc685
<7>[  147.785252] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000b57f539e
<7>[  147.804878] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000557656be
<7>[  147.828944] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000b66cc83a
<7>[  147.861347] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000b3c9cfaa
<7>[  147.897513] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000eaf08a16
<7>[  147.965592] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000216bd93c
<7>[  148.074517] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000d3e2df82
<7>[  148.263040] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000cd8ff622
<7>[  148.614186] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000b67cc685
<7>[  149.276215] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x3000000, vaddr = 00000000b57f539e
<7>[  149.536136] [drm:edp_panel_vdd_off_sync [i915]] Turning eDP port A VDD off
<7>[  149.536253] [drm:edp_panel_vdd_off_sync [i915]] PP_STATUS: 0x80000008 PP_CONTROL: 0x00000007
<7>[  150.572114] [drm:i915_perf_open_ioctl [i915]] OA Buffer initialized, gtt offset = 0x2000000, vaddr = 00000000557656be
<7>[  156.704454] missed_breadcrumb rcs0 missed breadcrumb at intel_breadcrumbs_hangcheck+0x5a/0x80 [i915]
<7>[  156.704500] missed_breadcrumb 	current seqno 80a, last 80c, hangcheck 80a [2944 ms], inflight 2
<7>[  156.704507] missed_breadcrumb 	Reset count: 2 (global 0)
<7>[  156.704520] missed_breadcrumb 	Requests:
<7>[  156.704543] missed_breadcrumb 		first  80b [2f0:7ee] prio=0 @ 3945ms: perf[1471]/1
<7>[  156.704548] missed_breadcrumb 		last   80c [14:1f] prio=-1024 @ 3500ms: [kernel]
<7>[  156.704570] missed_breadcrumb 		active 80b [2f0:7ee] prio=0 @ 3945ms: perf[1471]/1
<7>[  156.704576] missed_breadcrumb 		[head 3628, postfix 3680, tail 36a8, batch 0x00000000_01001000]
<7>[  156.704582] missed_breadcrumb 		ring->start:  0x00019000
<7>[  156.704586] missed_breadcrumb 		ring->head:   0x00003628
<7>[  156.704590] missed_breadcrumb 		ring->tail:   0x000036a8
<7>[  156.704595] missed_breadcrumb 		ring->emit:   0x000036a8
<7>[  156.704600] missed_breadcrumb 		ring->space:  0x00002d40
<7>[  156.704630] missed_breadcrumb 	RING_START: 0x00019000
<7>[  156.704639] missed_breadcrumb 	RING_HEAD:  0x00003680
<7>[  156.704644] missed_breadcrumb 	RING_TAIL:  0x000036a0
<7>[  156.704650] missed_breadcrumb 	RING_CTL:   0x00003000
<7>[  156.704658] missed_breadcrumb 	RING_MODE:  0x00000000
<7>[  156.704663] missed_breadcrumb 	RING_IMR: fffffefe
<7>[  156.704669] missed_breadcrumb 	ACTHD:  0x00000000_00e03680
<7>[  156.704676] missed_breadcrumb 	BBADDR: 0x00000000_0100147c
<7>[  156.704682] missed_breadcrumb 	DMA_FADDR: 0x00000000_0001c6a0
<7>[  156.704690] missed_breadcrumb 	IPEIR: 0x00000000
<7>[  156.704694] missed_breadcrumb 	IPEHR: 0x7a000004
<7>[  156.704700] missed_breadcrumb 	Execlist status: 0x00004048 00000008
<7>[  156.704706] missed_breadcrumb 	Execlist CSB read 3 [3 cached], write 3 [4 from hws], interrupt posted? no, tasklet queued? no (enabled)
<7>[  156.704712] missed_breadcrumb 		ELSP[0] count=2, rq: 80b [2f0:7ee] prio=0 @ 3945ms: perf[1471]/1
<7>[  156.704719] missed_breadcrumb 		ELSP[1] count=1, rq: 80c [14:1f] prio=-1024 @ 3500ms: [kernel]
<7>[  156.704724] missed_breadcrumb 		HW active? 0x1
<7>[  156.704746] missed_breadcrumb 		E 80b [2f0:7ee] prio=0 @ 3945ms: perf[1471]/1
<7>[  156.704764] missed_breadcrumb 		E 80c [14:1f] prio=-1024 @ 3500ms: [kernel]
<7>[  156.704766] missed_breadcrumb 		Queue priority: -1024
<7>[  156.704792] missed_breadcrumb 	perf [1471] waiting for 80b
<7>[  156.704809] missed_breadcrumb 	perf [1472] waiting for 80b
<7>[  156.704817] missed_breadcrumb IRQ? 0x1 (breadcrumbs? yes) (execlists? no)
<7>[  156.704821] missed_breadcrumb HWSP:
<7>[  156.704827] missed_breadcrumb 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<7>[  156.704833] missed_breadcrumb *
<7>[  156.704839] missed_breadcrumb 00000040 00000018 00000008 00000001 00000000 00000018 00000008 00000001 00000000
<7>[  156.704845] missed_breadcrumb 00000060 00008002 00000008 00000001 00000000 00000000 00000000 00000000 00000004
<7>[  156.704851] missed_breadcrumb 00000080 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<7>[  156.704856] missed_breadcrumb *
<7>[  156.704861] missed_breadcrumb 000000c0 0000080a 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<7>[  156.704866] missed_breadcrumb 000000e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<7>[  156.704872] missed_breadcrumb *
<7>[  156.704883] missed_breadcrumb Idle? no
Comment 2 Chris Wilson 2018-04-17 12:13:25 UTC
*** Bug 106065 has been marked as a duplicate of this bug. ***
Comment 3 Chris Wilson 2018-04-17 12:13:50 UTC
*** Bug 106066 has been marked as a duplicate of this bug. ***
Comment 4 Chris Wilson 2018-04-17 12:13:56 UTC
*** Bug 106067 has been marked as a duplicate of this bug. ***
Comment 5 Martin Peres 2018-05-02 12:46:04 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_27/fi-kbl-7567u/igt@perf@buffer-fill.html

perf: ../lib/rendercopy_gen9.c:143: gen6_render_flush: Assertion `ret == 0' failed.
Received signal SIGABRT.
(perf:1655) CRITICAL: Test assertion failure function load_helper_stop, file ../tests/perf.c:1621:
(perf:1655) CRITICAL: Failed assertion: igt_wait_helper(&lh.igt_proc) == 0
Subtest buffer-fill failed.
Comment 6 Martin Peres 2018-05-28 10:41:20 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_38/fi-skl-6600u/igt@gem_ppgtt@blt-vs-render-ctxn.html

gem_ppgtt: ../lib/rendercopy_gen9.c:143: gen6_render_flush: Assertion `ret == 0' failed.
Received signal SIGABRT.
gem_ppgtt: ../lib/rendercopy_gen9.c:143: gen6_render_flush: Assertion `ret == 0' failed.
Received signal SIGABRTgem_ppgtt: ../lib/rendercopy_gen9.c:143: gen6_render_flush: Assertion `ret == 0' failed.
.
Received signal SIGABRT.
gem_ppgtt: ../lib/rendercopy_gen9.c:143: gen6_render_flush: Assertion `ret == 0' failed.
gem_ppgtt: ../lib/rendercopy_gen9.c:143: gen6_render_flush: Assertion `ret == 0' failed.
Received signal SIGABRT.
Received signal Subtest blt-vs-render-ctxN failed.
Comment 7 Martin Peres 2018-06-19 20:40:21 UTC
This may lead to this problem: https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_66/fi-skl-6600u/igt@perf@invalid-oa-metric-set-id.html

(perf:1355) CRITICAL: Test assertion failure function __perf_open, file ../tests/perf.c:240:
(perf:1355) CRITICAL: Failed assertion: ret >= 0
(perf:1355) CRITICAL: Last errno: 5, Input/output error
Subtest invalid-oa-metric-set-id failed.
Comment 8 Chris Wilson 2018-07-14 17:57:53 UTC
gen9 rendercopy tweaked. Let's assume it doesn't come back.

commit aeb3f4143572b81a907921ad9442858aafe1931e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Jul 3 16:36:12 2018 +0100

    lib/rendercopy: Use gen8_wm_kernel__affine
    
    The shaders/blit.g7a has weird artefacts (random pixel kill) when
    drawing to an odd destination coordinate. Rather than debug the
    issue with the asm/assembler, replace the kernel with the one used by
    SNA for simple copies.
    
    Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Tested-by: Ville Syrjälä <ville.syrjala@linux.intel.com> #chv, skl
    Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Comment 9 Martin Peres 2018-07-24 13:56:01 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_80/fi-kbl-7560u/igt@kms_draw_crc@draw-method-xrgb2101010-render-xtiled.html

kms_draw_crc: ../lib/rendercopy_gen9.c:141: gen6_render_flush: Assertion `ret == 0' failed.
Received signal SIGABRT.
Comment 10 Chris Wilson 2018-07-24 14:00:15 UTC
(In reply to Martin Peres from comment #9)
> https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_80/fi-kbl-7560u/
> igt@kms_draw_crc@draw-method-xrgb2101010-render-xtiled.html
> 
> kms_draw_crc: ../lib/rendercopy_gen9.c:141: gen6_render_flush: Assertion
> `ret == 0' failed.
> Received signal SIGABRT.

That's a side-effect of the broken preemption reset.
Comment 11 Francesco Balestrieri 2018-08-04 09:26:11 UTC
Martin, OK to close?
Comment 12 Martin Peres 2018-09-07 16:43:09 UTC
(In reply to Francesco Balestrieri from comment #11)
> Martin, OK to close?

It used to be visible at least once per week, but we got nothing in over a month. Closing now!


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.