Bug 95468 - [IGT] [BXT-P/KBL] gem_exec_whisper some subtests fail
Summary: [IGT] [BXT-P/KBL] gem_exec_whisper some subtests fail
Status: CLOSED DUPLICATE of bug 94539
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-05-18 01:11 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-07-24 22:41 UTC (History)
1 user (show)

See Also:
i915 platform: BXT, KBL
i915 features: display/Other


Attachments
dmesg.log (186.49 KB, text/plain)
2016-05-18 01:11 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Humberto Israel Perez Rodriguez 2016-05-18 01:11:29 UTC
Created attachment 123861 [details]
dmesg.log

Bug description
=================================================================
after executed some gem_exec_whisper subtests fail

tests cases
================================================================
igt@gem_exec_whisper@vebox-contexts
igt@gem_exec_whisper@blt-contexts-interruptible
igt@gem_exec_whisper@contexts-interruptible
igt@gem_exec_whisper@bsd-contexts
igt@gem_exec_whisper@vebox-contexts-interruptible
igt@gem_exec_whisper@blt-contexts
igt@gem_exec_whisper@contexts
igt@gem_exec_whisper@bsd-contexts-interruptible


tests output and reproduce steps
================================================================
# ./gem_exec_whisper --run-subtest vebox-contexts

IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-drm-intel-nightly-ww21-commit-c5034bf+ x86_64)
(gem_exec_whisper:1133) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_whisper:1133) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_whisper:1133) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x4c]
  #2 [whisper+0x8e0]
  #3 [__real_main364+0x313]
  #4 [main+0x29]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest bsd-contexts-interruptible failed.
**** DEBUG ****
(gem_exec_whisper:1133) DEBUG: Test requirement passed: gem_has_ring(fd, engine)
(gem_exec_whisper:1133) DEBUG: Test requirement passed: can_mi_store_dword(gen, engine)
(gem_exec_whisper:1133) DEBUG: Test requirement passed: nengine
(gem_exec_whisper:1133) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0
(gem_exec_whisper:1133) DEBUG: Test requirement passed: __gem_context_create(fd, &contexts[0]) == 0
(gem_exec_whisper:1133) igt-aux-DEBUG: Initial delay for interruption: 0.000007291s
(gem_exec_whisper:1133) DEBUG: next seqno set to: 0xffffffff
(gem_exec_whisper:1133) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_whisper:1133) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_whisper:1133) ioctl-wrappers-CRITICAL: error: -22 != 0
****  END  ****
Subtest bsd-contexts-interruptible: FAIL (0.035s)


expected result
==============================================================
subtest must pass

Hardware configuration
================================================================
Platform     BXT - P (APL)
Motherboard model  Apollo Lake
Motherboard type    NOTEBOOK Hand Held
Motherboard manufacturer Intel Corp.
CPU family   Other
CPU information    06/5c
GPU Card     Intel Corporation Device 5a84 (rev 03) (prog-if 00 [VGA controller])
Memory ram   8 GB


gfx user space
================================================================
 --> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
	 author : Kenneth Graunke <kenneth@whitecape.org> 
	 age : 2 weeks ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.1.2 
	 commit : 7bcd827 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 3 months ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917-645-g88733a7 
	 commit : 88733a7 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 7 days ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.0-2-g4cb6d78 
	 commit : 4cb6d78 
	 author : Alan Coopersmith <alan.coopersmith@oracle.com> 
	 age : 5 weeks ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.0-12-g4643f94 
	 commit : 4643f94 
	 author : peng.chen <peng.c.chen@intel.com> 
	 age : 3 weeks ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 5 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.0-317-g7f04946 
	 commit : 7f04946 
	 author : Dave Airlie <airlied@redhat.com> 
	 age : 9 days ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-212-g1e9a3ac 
	 commit : 1e9a3ac 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 3 weeks ago 


kernel
=====================================================================
commit c5034bf7729a728065a996f8042626f23074d575
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue May 17 22:50:02 2016 +0200

    drm-intel-nightly: 2016y-05m-17d-20h-49m-27s UTC integration manifest


Kernel version : 4.6.0
Architecture : source amd64 all
Homepage : http://www.kernel.org/


attachments
====================================================================
dmesg.log
Comment 1 cprigent 2016-05-20 07:45:21 UTC
Duplicate of bug 94539 ?
Comment 2 yann 2016-05-20 11:57:17 UTC
I think bug 95469 is a duplicate (same root cause)
Comment 3 maria guadalupe 2016-05-27 15:17:03 UTC
This is also reproduced on KBL with the next configuration

Gfx stack information
===============================================
--> Component : drm 
                 tag : libdrm-2.4.68-4-g7aab852 
                 commit : 7aab852 
 --> Component : mesa 
                 tag : mesa-11.1.2 
                 commit : 7bcd827 
 --> Component : cairo 
                 tag : 1.15.2 
                 commit : db8a7f1 
 --> Component : intel-gpu-tools
                tag : intel-gpu-tools-1.14-346-gcce2ff0
                commit : cce2ff0


Software information
============================

Kernel version                      : 4.6.0-nightly+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 28.1
KSC revision                        : 1.15


Hardware information 
=============================

Platform                            : SKL-Y to KBL (RVP3)
Motherboard model                   : Kabylake Client platform
Motherboard type                    : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer            : Intel Corporation
CPU family                          : Other
CPU information                     : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                            : Intel Corporation Device 591e (prog-if 00 [VGA controller])


|=== kernel information ===|

commit 2ec823981d62c56d1511bda42b8295e31ece800f
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Sun May 22 18:23:13 2016 +0200


========== test cases failed ===============

igt@gem_exec_whisper@default-contexts-interruptible
igt@gem_exec_whisper@contexts
igt@gem_exec_whisper@vebox-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts-interruptible
igt@gem_exec_whisper@blt-contexts-interruptible
igt@gem_exec_whisper@vebox-contexts
igt@gem_exec_whisper@bsd-contexts
igt@gem_exec_whisper@blt-contexts
igt@gem_exec_whisper@render-fds-interruptible
igt@gem_exec_whisper@contexts-interruptible
Comment 4 maria guadalupe 2016-06-06 16:28:10 UTC
This bug was also reproduced on KBL under the following configuration

Software information
============================================
Kernel version                  : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : Not found << Please see the message at the bottom >>
xf86-video-intel version        : 2.99.917
Xorg-Xserver version            : 1.18.3
DRM version                     : 2.4.68
VAAPI version                   : Intel i965 driver for Intel(R) Kabylake - 1.7.0
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.14-348-g303b380] / Commit [303b380]
Kernel driver in use            : i915
Hardware acceleration           :
Bios revision                   : 28.1
KSC revision                    : 1.15


 Hardware information
============================================
Platform                        : SKL-Y to KBL (RVP3)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer        : Intel Corporation
CPU family                      : Other
CPU information                 : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                        : Intel Corporation Device 591e (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
Maximum memory ram allowed      : 16 GB
Display resolution              :
CPU's number                    : 4
Hard drive Capacity             : 120 GB

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.1

kernel configuration
=====================
commit fb023a2062df06c9e097e1f8f2bcf252194b9413
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Mon May 30 10:46:14 2016 +0200

drm-intel-nightly: 2016y-05m-30d-08h-45m-53s UTC integration manifest


Kernel version : 4.6.0

========== test cases failed ===============

igt@gem_exec_whisper@vebox-contexts-interruptible
igt@gem_exec_whisper@vebox-contexts
igt@gem_exec_whisper@contexts-interruptible
igt@gem_exec_whisper@contexts
igt@gem_exec_whisper@bsd-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts
igt@gem_exec_whisper@blt-contexts-interruptible
igt@gem_exec_whisper@blt-contexts
Comment 5 yann 2016-06-08 17:50:14 UTC
Same root cause than bug 94539

*** This bug has been marked as a duplicate of bug 94539 ***
Comment 6 yann 2016-06-08 17:54:13 UTC
root cause is linked to preparing or creating execbuffer (in i915_gem_execbuffer2 function located in i915_gem_execbuffer.c file), operation is called via ioctl from igt lib ioctl wrapper


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.