Bug 97562 - [IVB] [IGT] gem_ctx_bad_exec / blt & bsd produces a Test assertion failure
Summary: [IVB] [IGT] gem_ctx_bad_exec / blt & bsd produces a Test assertion failure
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-01 15:55 UTC by Luis Botello
Modified: 2017-10-05 21:00 UTC (History)
1 user (show)

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


Attachments

Description Luis Botello 2016-09-01 15:55:00 UTC
Description:
======================================
subtests blt & bsd of gem_ctx_bad_exec produces a Test Assertion Failure:
Failed assertion: exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0

Steps to reproduce:
======================================
#./gem_ctx_bad_exec --run-subtest blt --debug
#./gem_ctx_bad_exec --run-subtest bsd --debug

Software Configuration:
======================================
Bios: BH7710H.86A.0096.2012.1012.1645
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc4 f4f46e5 from http://cgit.freedesktop.org/drm-intel/
 commit f4f46e5544894b2198cdfd5a226ee587d9834cc4
 Author: Daniel Vetter <daniel.vetter@ffwll.ch>
 Date:   Mon Aug 29 16:09:42 2016 +0200
 drm-intel-nightly: 2016y-08m-29d-14h-09m-23s UTC integration manifest
ibdrm-2.4.70-2 b214b05 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.0-535 25e4f9e from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-698 71d3273 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-47 2ebf897 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-95 1817bee from git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.15 572a770 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git


Hardware Configuration:
======================================
Platform: IVB
CPU: Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz (Family 6, Model 58, Stepping 9)
Motherboard version: DH77EB
GPU: Intel® HD Graphics 4000 - Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller

IGToutput:
============================================
user@IVB103:/opt/X11R7/src/intel-gpu-tools/tests$ sudo -E ./gem_ctx_bad_exec --run-subtest bsd --debug
IGT-Version: 1.15-g572a770 (x86_64) (Linux: 4.8.0-rc4-nightly+ x86_64)
(gem_ctx_bad_exec:21334) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_ctx_bad_exec:21334) igt-core-DEBUG: Starting subtest: bsd
(gem_ctx_bad_exec:21334) CRITICAL: Test assertion failure function __real_main90, file gem_ctx_bad_exec.c:106:
(gem_ctx_bad_exec:21334) CRITICAL: Failed assertion: exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main90+0x2f1]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf0]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
Subtest bsd failed.
**** DEBUG ****
(gem_ctx_bad_exec:21334) CRITICAL: Test assertion failure function __real_main90, file gem_ctx_bad_exec.c:106:
(gem_ctx_bad_exec:21334) CRITICAL: Failed assertion: exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0
****  END  ****
Subtest bsd: FAIL (0.001s)
Test requirement not met in function __real_main90, file gem_ctx_bad_exec.c:111:
Test requirement: gem_has_vebox(fd)
(gem_ctx_bad_exec:21334) igt-core-DEBUG: Exiting with status code 99

Dmesg:
==============================================
[ 3112.123471] gem_ctx_bad_exec: executing
[ 3112.123570] [drm:i915_gem_open]
[ 3112.123598] [drm:i915_gem_open]
[ 3112.124074] [drm:i915_gem_context_create_ioctl] HW context 1 created
[ 3112.124099] gem_ctx_bad_exec: starting subtest bsd
[ 3112.124727] gem_ctx_bad_exec: exiting, ret=99
Comment 1 Chris Wilson 2016-09-01 19:49:58 UTC
commit 768f6cc854f5d04a067c8c64297563655b8e54f9
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Sep 1 20:41:11 2016 +0100

    igt/gem_ctx_bad_exec: Begone invalid negative test
    
    Stop looking for an error for a valid combination.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97562
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Comment 2 Luis Botello 2016-09-01 22:14:53 UTC
Test passes now with the following config:
Component         : drm
	url       : http://cgit.freedesktop.org/mesa/drm
	tag       : libdrm-2.4.70-2-gb214b05
	commit    : b214b05
	author    : Rob Clark <robclark@freedesktop.org>
	age       : 4 weeks ago
	comment   : list: fix an issue with android build using clang

Component         : cairo
	url       : http://cgit.freedesktop.org/cairo
	tag       : 1.15.2
	commit    : db8a7f1
	author    : Bryce Harrington <bryce@osg.samsung.com>
	age       : 9 months ago
	comment   : 1.15.2 release 

Component         : intel-gpu-tools
	url       : https://cgit.freedesktop.org/xorg/app/intel-gpu-tools
	tag       : intel-gpu-tools-1.15-256-gc1d427b
	commit    : c1d427b
	author    : Chris Wilson <chris@chris-wilson.co.uk>
	age       : 85 minutes ago
	comment   : igt/pm_rps: Remove reliance on guessing the busy workload
Comment 3 Elizabeth 2017-10-05 21:00:23 UTC
Closing old verified.


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.