Bug 96567 - [BSW/BDW/SKL/BXT/KBL] IGT /gem_exec_whisper / subtest are failing *contexts*
Summary: [BSW/BDW/SKL/BXT/KBL] IGT /gem_exec_whisper / subtest are failing *contexts*
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI 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-06-17 18:54 UTC by Elio
Modified: 2016-09-30 18:11 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, BSW/CHT, BXT, KBL, SKL
i915 features: GEM/Other


Attachments
Dmesg (243.27 KB, text/plain)
2016-06-17 18:54 UTC, Elio
no flags Details
dmesg log for contexts* tests (242.89 KB, text/plain)
2016-08-19 19:26 UTC, Jairo Miramontes
no flags Details

Description Elio 2016-06-17 18:54:11 UTC
Created attachment 124581 [details]
Dmesg

The following test cases are failing:

 igt@gem_exec_whisper@contexts
igt@gem_exec_whisper@vebox-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts
igt@gem_exec_whisper@vebox-contexts
igt@gem_exec_whisper@blt-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts-interruptible
igt@gem_exec_whisper@blt-contexts
igt@gem_exec_whisper@contexts-interruptible



./gem_exec_whisper --run-subtest bsd-contexts-interruptible
IGT-Version: 1.15-g3ce58b6 (x86_64) (Linux: 4.7.0-040700rc2-generic x86_64)
(gem_exec_whisper:1199) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_whisper:1199) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_whisper:1199) ioctl-wrappers-CRITICAL: error: -22 != 0
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [gem_execbuf+0x44]
  #2 [whisper+0x8c0]
  #3 [__real_main364+0x212]
  #4 [main+0x23]
  #5 [__libc_start_main+0xf0]
  #6 [_start+0x29]
  #7 [<unknown>+0x29]
Subtest bsd-contexts-interruptible failed.
**** DEBUG ****
(gem_exec_whisper:1199) DEBUG: Test requirement passed: gem_has_ring(fd, engine)
(gem_exec_whisper:1199) DEBUG: Test requirement passed: can_mi_store_dword(gen, engine)
(gem_exec_whisper:1199) DEBUG: Test requirement passed: nengine
(gem_exec_whisper:1199) DEBUG: Test requirement passed: __gem_execbuf(fd, &execbuf) == 0
(gem_exec_whisper:1199) DEBUG: Test requirement passed: __gem_context_create(fd, &contexts[0]) == 0
(gem_exec_whisper:1199) igt-aux-DEBUG: Initial delay for interruption: 0.000001237s
(gem_exec_whisper:1199) DEBUG: next seqno set to: 0xffffffff
(gem_exec_whisper:1199) ioctl-wrappers-CRITICAL: Test assertion failure function gem_execbuf, file ioctl_wrappers.c:589:
(gem_exec_whisper:1199) ioctl-wrappers-CRITICAL: Failed assertion: __gem_execbuf(fd, execbuf) == 0
(gem_exec_whisper:1199) ioctl-wrappers-CRITICAL: error: -22 != 0
****  END  ****
Subtest bsd-contexts-interruptible: FAIL (0.040s)


Configuration:


============================================ 
Kernel version              	: 4.7.0-040700rc2-generic 
Linux distribution          	: Ubuntu 16.04 LTS 
Architecture                	: 64-bit 
Mesa version                	: 11.2.2
xf86-video-intel version    	: 2.99.917 
Xorg-Xserver version        	: 1.18.3 
DRM version                 	: 2.4.67 
VAAPI version               	: Intel i965 driver for Intel(R) CherryView - 1.7.0 
Cairo version               	: [1m[1;31mNot found[0m 
Intel GPU Tools version     	: 1.15-1 <-- [1;33mThis is a generic version of IGT[0m 
Kernel driver in use        	: [1m[1;32mi915[0m 
Hardware acceleration        	:  
Bios revision               	: 4.0 
KSC revision                	: [1m[1;31mNot found[0m <-- [1;33mmaybe the DUT doesn't has this firmware[0m 


 [1m[1;34mHardware information[0m 
============================================ 
Platform                     	:  
Motherboard model            	: Inspiron 15-3552 
Motherboard type             	: 0T14MC Portable 
Motherboard manufacturer     	: Dell Inc. 
CPU family                   	: Pentium 
CPU information              	: Intel(R) Pentium(R) CPU  N3700  @ 1.60GHz 
GPU Card                     	: Intel Corporation Device 22b1 (rev 21) (prog-if 00 [VGA controller]) 
Memory ram                   	: 4 GB 
Maximum memory ram allowed   	: 8 GB 
Display resolution       	:  
CPU's number             	: 4 
Hard drive Capacity 		: 128 GB
Comment 1 Jairo Miramontes 2016-06-17 20:54:29 UTC
Same failures are also reproduced BDW

igt@gem_exec_whisper@contexts
igt@gem_exec_whisper@vebox-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts
igt@gem_exec_whisper@vebox-contexts
igt@gem_exec_whisper@blt-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts-interruptible
igt@gem_exec_whisper@blt-contexts
igt@gem_exec_whisper@contexts-interruptible


Under the following Configuration:

 Software information
============================================ 
Kernel version              	: 4.6.1-mainline-ww24-version-4.6.1 
Linux distribution          	: Ubuntu 16.04 LTS 
Architecture                	: 64-bit 
Mesa version                	: 11.2.2 (git-3a9f628 
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) Broadwell - 1.7.1.pre1 (1.7.1.pre1) 
Cairo version               	: 1.15.2 
Intel GPU Tools version       	: Tag [intel-gpu-tools-1.15] / Commit [3ce58b6] 
Kernel driver in use        	: i915 
Hardware acceleration        	: Enabled 
Bios revision               	: 5.6 
KSC revision                	: Not found <-- maybe the DUT doesn't has this firmware 


 Hardware information 
============================================ 
Platform                     	:  
Motherboard model            	:                                   
Motherboard type             	: NUC5i7RYB Desktop 
Motherboard manufacturer     	:                                   
CPU family                   	: Core i7 
CPU information              	: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz 
GPU Card                     	: Intel Corporation Broadwell-U Integrated Graphics (rev 09) (prog-if 00 [VGA controller]) 
Memory ram                   	: 8 GB 
Maximum memory ram allowed   	: 16 GB 
Display resolution       	: 5760x2160 
CPU's number             	: 4 
Hard drive Capacity 		: 120 GB
Comment 2 Luis Botello 2016-06-22 16:23:52 UTC
Issue is also seen on SKL with the following config:

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


 Software information
============================================
Kernel version                  : 4.6.1-mainline-ww24-version-4.6.1
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
Mesa version                    : 11.2.2 (git-3a9f628
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) Skylake - 1.7.1.pre1 (1.7.1.pre1)
Cairo version                   : 1.15.2
Intel GPU Tools version         : Tag [intel-gpu-tools-1.15] / Commit [3ce58b6]
Kernel driver in use            : i915
Hardware acceleration           : Enabled
Bios revision                   : 1.0


 Hardware information
============================================
Platform                        : SKL
Motherboard model               : Inspiron 15-7568
Motherboard type                : 02HK88 Laptop
Motherboard manufacturer        : Dell Inc.
CPU family                      : Core i7
CPU information                 : Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz
GPU Card                        : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])

 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.26
Comment 3 Humberto Israel Perez Rodriguez 2016-07-11 20:53:52 UTC
same issue with the following configuration

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



 Software information
============================================
Kernel version                  : 4.7.0-rc6-drm-intel-nightly-ww29-commit-e549c0b+
Linux distribution              : Ubuntu 16.04 LTS
Architecture                    : 64-bit
DRM version                     : 2.4.68
Cairo version                   : 1.15.2
Bios revision                   : 144.10
KSC revision                    : 1.15
intel-gpu-tools-1.15-87-g376b813

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


 Firmwares information
============================================
DMC fw loaded                   : yes
DMC version                     : 1.7
GUC fw loaded                   : SUCCESS
GUC version wanted              : 8.7
GUC version found               : 8.7

kernel
==========================================
commit 2fe5da8adcbe5a34830b98c63878eea756e977a2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Jul 2 19:32:50 2016 +0100

    drm-intel-nightly: 2016y-07m-02d-18h-31m-39s UTC integration manifest
Comment 4 Jairo Miramontes 2016-08-19 19:26:56 UTC
Created attachment 125913 [details]
dmesg log for contexts* tests

The following tests were reproduced on SKL with below configuration:

Test Cases
===================================================
igt@gem_exec_whisper@blt-contexts		
igt@gem_exec_whisper@blt-contexts-interruptible		
igt@gem_exec_whisper@bsd-contexts		
igt@gem_exec_whisper@bsd-contexts-interruptible		
igt@gem_exec_whisper@contexts		
igt@gem_exec_whisper@contexts-chain		
igt@gem_exec_whisper@contexts-interruptible		
igt@gem_exec_whisper@vebox-contexts		
igt@gem_exec_whisper@vebox-contexts-interruptible

Hardware
==================================================================================

Platform: NUC6i3SYB
CPU: Intel(R) Core(TM) i3-6100U CPU @ 2.30GHZ (family 6, model 78, stepping 3)
Motherboard version: H81132-502
GPU: Intel® HD Graphics 520 - Intel Corporation Sky Lake Integrated Graphics (rev 07)
Memory: one 8GB card Kingston KVR21S15D8/8
SSD: Samsung 850 EVO M.2 120 Go

Software
==============================================================================================
Bios: SYSKLi35.86A.0045.2016.0527.1055 from https://downloadcenter.intel.com/downloads/eula/26097/BIOS-Update-SYSKLi35-86A-?httpDown=https%3A%2F%2Fdownloadmirror.intel.com%2F26097%2Feng%2FSY0045.bio
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc2 e4ec788 from http://cgit.freedesktop.org/drm-intel/
  commit e4ec788166b13fc8b5b7e188c522d4cf07ba53eb
  Author: Sumit Semwal <sumit.semwal@linaro.org>
  Date:   Tue Aug 16 12:36:30 2016 +0530
  drm-intel-nightly: 2016y-08m-16d-07h-06m-09s UTC integration manifest
libdrm-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-525 de5291c from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-695 c8fc7f5 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-45 b27feb9 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-82 98555d2 from git://git.freedesktop.org/git/vaapi/intel-driver
DMC 1.26 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/skldmcver126.tar_1.bz2
GUC 6.1 from https://01.org/sites/default/files/downloads/intelr-graphics-linux/sklgucver61.tar.bz2
Intel-Gpu-Tools 1.15 a147ef2 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Attachments
===============================================
Dmesg log of the above test
Comment 5 Humberto Israel Perez Rodriguez 2016-08-26 19:08:33 UTC
The following tests cases fail on KBL RVP7 :

Test cases
============================================
igt@gem_exec_whisper@bsd-contexts
igt@gem_exec_whisper@contexts-chain
igt@gem_exec_whisper@contexts
igt@gem_exec_whisper@blt-contexts-interruptible
igt@gem_exec_whisper@bsd-contexts-interruptible
igt@gem_exec_whisper@blt-contexts
igt@gem_exec_whisper@vebox-contexts-interruptible
igt@gem_exec_whisper@vebox-contexts
igt@gem_exec_whisper@contexts-interruptible


Hardware information
============================================
Platform                        : KBL (RVP7)
Motherboard model               : Kabylake Client platform
Motherboard type                : Skylake U DDR3L RVP7 Laptop
Motherboard manufacturer        : Intel Corporation
CPU information                 : Genuine Intel(R) CPU 0000 @ 2.60GHz
GPU Card                        : Intel Corporation Device 5916 (prog-if 00 [VGA controller])
Memory ram                      : 4 GB
CPU thread                      : 4
CPU core                        : 2

Software information
========================================================
Component         : drm
	tag       : libdrm-2.4.70-2-gb214b05
	commit    : b214b05ccd433c484a6a65e491a1a51b19e4811d 

Component         : cairo
	tag       : 1.15.2
	commit    : db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a 

Component         : intel-gpu-tools
	tag       : intel-gpu-tools-1.15-228-gb0658ce
	commit    : b0658ce76557d4ce00be7252aa60d1b59d8980f6 

Kernel
========================================================
commit f53a8d1853e8a97ad4a6308ffa8a2011fbd80467
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Aug 19 17:24:52 2016 +0100

    drm-intel-nightly: 2016y-08m-19d-16h-24m-21s UTC integration manifest
Comment 6 Chris Wilson 2016-08-26 19:33:22 UTC
commit f7978a0c581a8a840a28306f8da43e06e7fef3bf
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Aug 22 09:03:36 2016 +0100

    drm/i915: Allow the user to pass a context to any ring
Comment 7 cprigent 2016-08-29 15:37:45 UTC
Assigned to Maria to check.
Comment 8 maria guadalupe 2016-08-31 17:15:21 UTC
 
(In reply to Chris Wilson from comment #6)
> commit f7978a0c581a8a840a28306f8da43e06e7fef3bf
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date:   Mon Aug 22 09:03:36 2016 +0100
> 
>     drm/i915: Allow the user to pass a context to any ring

The following test cases pass, with the following configuration:

Test cases 
===========================================
igt@gem_exec_whisper@bsd-contexts                ---> pass
igt@gem_exec_whisper@contexts-chain              ---> pass
igt@gem_exec_whisper@contexts                    ---> pass
igt@gem_exec_whisper@blt-contexts-interruptible  ---> pass
igt@gem_exec_whisper@bsd-contexts-interruptible  ---> pass
igt@gem_exec_whisper@blt-contexts                ---> pass
igt@gem_exec_whisper@vebox-contexts-interruptible---> pass
igt@gem_exec_whisper@vebox-contexts              ---> pass
igt@gem_exec_whisper@contexts-interruptible      ---> pass

 === Software information ===	
Kernel version	4.8.0-rc4drm-intel-nighly-ww35-commit-f7978a0+
Linux distribution	Ubuntu 16.04.1 LTS
Architecture	64-bit
Mesa version	11.2.2 (git-3a9f628
xf86-video-intel version	2.99.917
Xorg-Xserver version  
DRM version	2.4.70
Cairo version	1.15.2

Bios revision	38.5
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 information	Intel(R) Core(TM) m5-7Y54 CPU @ 1.20GHz
GPU Card	Intel Corporation Device 591e (rev 02) (prog-if 00 [VGA controller])
Memory ram	4 GB
Maximum memory ram allowed	16 GB
Hard drive capacity	74GiB (80GB)
Comment 9 maria guadalupe 2016-09-30 18:05:13 UTC
I already tested the following test Cases on BDW, BSW and KBL platforms and they passed:

Test cases 
===========================================
igt@gem_exec_whisper@bsd-contexts                ---> pass
igt@gem_exec_whisper@contexts-chain              ---> pass
igt@gem_exec_whisper@contexts                    ---> pass
igt@gem_exec_whisper@blt-contexts-interruptible  ---> pass
igt@gem_exec_whisper@bsd-contexts-interruptible  ---> pass
igt@gem_exec_whisper@blt-contexts                ---> pass
igt@gem_exec_whisper@vebox-contexts-interruptible---> pass
igt@gem_exec_whisper@vebox-contexts              ---> pass
igt@gem_exec_whisper@contexts-interruptible      ---> pass

kernel commit: f7978a0c581a8a840a28306f8da43e06e7fef3bf

Looks like we are ready to close this bug as soon as the commit is included on the nightly kernel.
Comment 10 Chris Wilson 2016-09-30 18:11:18 UTC
kernel commit: f7978a0c581a8a840a28306f8da43e06e7fef3bf

is from the upstream kernel.


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.