Bug 95469 - [IGT] [KBL BXT-P] gem_exec_parallel some subtest fail
Summary: [IGT] [KBL BXT-P] gem_exec_parallel some subtest 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 02:10 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 (128.27 KB, text/plain)
2016-05-18 02:10 UTC, Humberto Israel Perez Rodriguez
no flags Details
output.log (209.01 KB, text/plain)
2016-05-27 17:05 UTC, Humberto Israel Perez Rodriguez
no flags Details
dmesg_debug.log (158.15 KB, application/octet-stream)
2016-05-27 17:05 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Humberto Israel Perez Rodriguez 2016-05-18 02:10:00 UTC
Created attachment 123863 [details]
dmesg.log

bug description 
================================================================
after executed gem_exec_parallel some subtests fail

tests cases
================================================================
igt@gem_exec_parallel@blt-contexts
igt@gem_exec_parallel@bsd-contexts
igt@gem_exec_parallel@vebox-contexts
igt@gem_exec_parallel@contexts


step to reproduce and test output
================================================================
./gem_exec_parallel --run-subtest blt-contexts --debug

IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-drm-intel-nightly-ww21-commit-c5034bf+ x86_64)
(gem_exec_parallel:1238) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_exec_parallel:1238) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_exec_parallel:1238) drmtest-DEBUG: Test requirement passed: drmSetMaster(fd) == 0
(gem_exec_parallel:1238) igt-core-DEBUG: Starting subtest: blt-contexts
(gem_exec_parallel:1238) DEBUG: Test requirement passed: __gem_context_create(fd)
(gem_exec_parallel:1238) DEBUG: Test requirement passed: gem_has_ring(fd, engine)
(gem_exec_parallel:1238) DEBUG: Test requirement passed: can_mi_store_dword(gen, engine)
(gem_exec_parallel:1238) DEBUG: Test requirement passed: nengine
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [gem_execbuf+0x4c]
  #1 [gem_execbuf+0x4c]
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_parallel:1238) ioctl-wrappers-CRITICAL: error: -22 != 0



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/


attachment
======================================================================
dmesg.log
Comment 1 cprigent 2016-05-20 07:44:57 UTC
Duplicate of bug 94539 ?
Comment 2 Humberto Israel Perez Rodriguez 2016-05-27 17:05:22 UTC
(In reply to cprigent from comment #1)
> Duplicate of bug 94539 ?

could be, meanwhile we waiting for a developer check this i added the output of the test with the most recent configuration we have 

attachments :
======================
dmesg_debug.log
output.log


affected tests
===============================================
igt@gem_exec_parallel@bsd-contexts
igt@gem_exec_parallel@contexts
igt@gem_exec_parallel@vebox-contexts
igt@gem_exec_parallel@blt-contexts



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-rc7-drm-intel-nightly-ww20-commit-5528ede+
Linux distribution                  : Ubuntu 15.10
Architecture                        : 64-bit
Bios revision                       : 138.22
KSC revision                        : 1.12
DMC revision                        : 1.07
GUC revision                        : 8.7


Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])


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

    drm-intel-nightly: 2016y-05m-22d-16h-22m-45s UTC integration manifest
Comment 3 Humberto Israel Perez Rodriguez 2016-05-27 17:05:35 UTC
Created attachment 124129 [details]
output.log
Comment 4 Humberto Israel Perez Rodriguez 2016-05-27 17:05:55 UTC
Created attachment 124130 [details]
dmesg_debug.log
Comment 5 Luis Botello 2016-05-27 21:55:40 UTC
This isuue is also seen on KBL with the following config:

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 manufacturer            : Intel Corporation
CPU information                     : Genuine Intel(R) CPU 0000 @ 0.90GHz
GPU Card                            : Intel Corporation Device 591e (prog-if 00 [VGA controller])


|=== kernel information ===|

commit 2ec823981d62c56d1511bda42b8295e31ece800f
Comment 6 Humberto Israel Perez Rodriguez 2016-06-03 17:32:15 UTC
The following tests cases are fail with the following configuration :


Tests cases
===============================================
igt@gem_exec_parallel@vebox-contexts
igt@gem_exec_parallel@blt-contexts
igt@gem_exec_parallel@contexts
igt@gem_exec_parallel@bsd-contexts


Gfx stack information
===============================================
--> Component : drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
--> Component : cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
--> Component : intel-gpu-tools 
	 tag : intel-gpu-tools-1.14-348-g303b380 
	 commit : 303b380 
 
Software information
===============================================
Kernel version                      : 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+
Linux distribution                  : Ubuntu 16.04
Architecture                        : 64-bit
Bios revision                       : 138.25
KSC revision                        : 1.12
DMC revision                        : 1.07

Hardware information
===============================================
Platform                            : BXT-P
Motherboard model                   : Broxton P
Motherboard type                    : NOTEBOOK Hand Held
Motherboard manufacturer            : Intel Corp.
CPU family                          : B1
CPU information                     : 06/5c
GPU Card                            : Intel Corporation Device 5a84 (rev 0a) (prog-if 00 [VGA controller])

kernel
===============================================
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
Comment 7 maria guadalupe 2016-06-06 16:26:37 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_parallel@vebox-contexts
igt@gem_exec_parallel@contexts
igt@gem_exec_parallel@bsd-contexts
igt@gem_exec_parallel@blt-contexts
Comment 8 yann 2016-06-08 17:54:43 UTC
Same root cause than bug 94539, 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

*** This bug has been marked as a duplicate of bug 94539 ***


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.