Bug 103974

Summary: [IGT] kms_frontbuffer_tracking subtests fbc/psr/fbcpsr has Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring)) == 0
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED INVALID QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=101178
Whiteboard:
i915 platform: CFL i915 features:
Attachments:
Description Flags
otuput (all tests)
none
dmesg -w (All tests)
none
Test List none

Description Hector Velazquez 2017-11-29 17:39:20 UTC
Created attachment 135805 [details]
otuput (all tests)
Comment 1 Hector Velazquez 2017-11-29 17:39:33 UTC
This tests was failing on CFL QA

see test list attached

====================================================
output sample
====================================================
**** DEBUG ****
(kms_frontbuffer_tracking:4252) igt-core-INFO: IGT-Version: 1.20-g5b3619f (x86_64) (Linux: 4.15.0-rc1-drm-tip-ww48-commit-73f135d+ x86_64)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: !(fd<0)
(kms_frontbuffer_tracking:4252) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(kms_frontbuffer_tracking:4252) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_frontbuffer_tracking:4252) DEBUG: Test requirement passed: rc == 0
(kms_frontbuffer_tracking:4252) DEBUG: Test requirement passed: overlay_plane_id
(kms_frontbuffer_tracking:4252) INFO: Primary screen: eDP 1920x1080, crtc 0
(kms_frontbuffer_tracking:4252) DEBUG: Test requirement passed: drm.res->count_crtcs >= 2
(kms_frontbuffer_tracking:4252) DEBUG: Test requirement passed: overlay_plane_id
(kms_frontbuffer_tracking:4252) INFO: Secondary screen: DP 1920x1080, crtc 1
(kms_frontbuffer_tracking:4252) DEBUG: Test requirement passed: init_modeset_cached_params()
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000001, size=8294400)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=1, pitch=7680)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=16384)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=2, pitch=256)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258, tiling=0x100000000000001, size=32768)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=3, pitch=512)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1024, height=1024, format=0x34325258, tiling=0x100000000000001, size=4194304)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=4, pitch=4096)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=2420, height=3684, format=0x34325258, tiling=0x100000000000001, size=35876864)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=5, pitch=9728)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=1920, height=1080, format=0x34325258, tiling=0x100000000000001, size=8294400)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=6, pitch=7680)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325241, tiling=0x0, size=16384)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=7, pitch=256)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(width=64, height=64, format=0x34325258, tiling=0x100000000000001, size=32768)
(kms_frontbuffer_tracking:4252) drmtest-DEBUG: Test requirement passed: is_i915_device(fd) && has_known_intel_chipset(fd)
(kms_frontbuffer_tracking:4252) igt-fb-DEBUG: igt_create_fb_with_bo_size(handle=8, pitch=512)
(kms_frontbuffer_tracking:4252) igt-kms-DEBUG: VT: graphics mode set (mode was 0x0)
(kms_frontbuffer_tracking:4252) INFO: FBC last action not supported
(kms_frontbuffer_tracking:4252) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(kms_frontbuffer_tracking:4252) igt-draw-DEBUG: Test requirement passed: gem_get_tiling(fd, buf->handle, &tiling, &swizzle)
(kms_frontbuffer_tracking:4252) intel-batchbuffer-CRITICAL: Test assertion failure function intel_batchbuffer_flush_on_ring, file intel_batchbuffer.c:184:
(kms_frontbuffer_tracking:4252) intel-batchbuffer-CRITICAL: Failed assertion: (drm_intel_gem_bo_context_exec(batch->bo, ctx, used, ring)) == 0
(kms_frontbuffer_tracking:4252) intel-batchbuffer-CRITICAL: Last errno: 5, Input/output error
(kms_frontbuffer_tracking:4252) igt-core-INFO: Stack trace:
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #0 [__igt_fail_assert+0x101]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #1 [intel_batchbuffer_flush_on_ring+0xc7]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #2 [igt_draw_rect+0x8c1]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #3 [igt_draw_rect_fb+0x5c]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #4 [fill_fb_region+0x42]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #5 [setup_environment+0x69f]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #6 [main+0xe4f]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #7 [__libc_start_main+0xf1]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #8 [_start+0x29]
(kms_frontbuffer_tracking:4252) igt-core-INFO:   #9 [<unknown>+0x29]
****  END  ****

This is my configuration:
======================================
	Graphic stack
======================================
Component: drm
    tag: libdrm-2.4.81-108-g0ab36da
    commit: 0ab36dafaf818c35a258dac0c75b779ab2ae792b

Component: cairo
    tag: 1.15.6-88-g84fc0ce
    commit: 84fc0ce91d1a57d20500f710abc0e17de82c67df

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-541-g5b3619f
    commit: 5b3619f3751ecef55fa993984ddb59a458fcebed

Component: piglit
    tag: piglit-v1
    commit: cb562a383229074b44db6998b85572d2abe7c363
	
======================================
	     Software
======================================
kernel version              : 4.15.0-rc1-drm-tip-ww48-commit-73f135d+
hostname                    : CFL-1
architecture                : x86_64
os version                  : Ubuntu 16.10
os codename                 : yakkety
kernel driver               : i915
bios revision               : 104.3
bios release date           : 09/14/2017
ksc                         : 1.5
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p3)

======================================
	Graphic drivers
======================================
libdrm                      : 2.4.88
cairo                       : 1.15.9
intel-gpu-tools (tag)       : intel-gpu-tools-1.19-541-g5b3619f
intel-gpu-tools (commit)    : 5b3619f

======================================
	     Hardware
======================================
motherboard model          : CoffeeLakeClientPlatform
motherboard id             : CoffeeLakeSUDIMMRVP
form factor                : Desktop
manufacturer               : IntelCorporation
cpu family                 : Other
cpu family id              : 6
cpu information            : Genuine Intel(R) CPU 0000 @ 3.60GHz
gpu card                   : Intel Corporation Device 3e92 (prog-if 00 [VGA controller])
memory ram                 : 15.57 GB
max memory ram             : 32 GB
cpu thread                 : 12
cpu core                   : 6
cpu model                  : 158
cpu stepping               : 10
socket                     : Other
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : eDP-1 DP-1

======================================
	     Firmware
======================================
dmc fw loaded             : no
guc fw loaded             : fetch FAIL, load NONE
guc version wanted        : wanted 9.14, found 0.0
guc version found         : wanted 9.14, found 0.0

======================================
	     kernel parameters
======================================
quiet drm.debug=0xe log_buf_len=4M intel_iommu=igfx_off i915.alpha_support=1 i915.enable_guc_loading=2 i915.enable_guc_submission=2 pci=pcie_bus_safe auto panic=1 nmi_watchdog=panic resume=/dev/nvme0n1p3 fastboot
Comment 2 Hector Velazquez 2017-11-29 17:44:07 UTC
Created attachment 135806 [details]
dmesg -w (All tests)
Comment 3 Hector Velazquez 2017-11-29 17:44:24 UTC
Created attachment 135807 [details]
Test List
Comment 4 Chris Wilson 2017-11-29 19:43:21 UTC
Self-inflicted. Stop using unsafe parameters.

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.