Bug 92223 - [BDW-BYT]gem_ctx_param_basic/non-root-set-no-zeromap is showing fail
Summary: [BDW-BYT]gem_ctx_param_basic/non-root-set-no-zeromap is showing fail
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: highest normal
Assignee: Elio
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 20:41 UTC by Elio
Modified: 2016-07-21 09:23 UTC (History)
1 user (show)

See Also:
i915 platform: BDW, HSW
i915 features: GEM/Other


Attachments
dmesg log file for (307.16 KB, text/plain)
2015-10-02 12:33 UTC, Olivier Berthier
no flags Details

Description Elio 2015-10-01 20:41:31 UTC
Test enviroment:
Name: drm-intel-testing

Description: IGT tools manage all basic functions for graphics stack

CPU: Intel(R) CPU @ 1.60GHz

Board: : Wilson Beach DVT2 Ultrabook

GPU: SoC: Broadwell 2+2 D0 (QDF : QGHA)

Kernel 4.3.0-rc8-drm-intel-testing-2015-08-28
Mesa: mesa-10.6.7 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 from
http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.64 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.1. from http://cgit.freedesktop.org/vaapi/intel-driver
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 from http://cgit.freedesktop.org/xorg/xserver
Intel-gpu-tools: 1.12 from http://cgit.freedesktop.org/xorg/app/intel-gpu

Steps to reproduce:

1. Install intel graphic stack with mentioned configuration
2. Install igt
3. Execute  ./run-test.sh -t gem_ctx_param_basic@non-root-set-no-zeromap

Expected Result:

The test should exit without issues

Actual result:
Returncode	99
Time	0:00:00.027147
Stdout	
IGT-Version: 1.12-g1f9e055 (x86_64) (Linux: 4.3.0-rc2-drm-intel-nightly+ x86_64)
Stack trace:
  #0 [__igt_fail_assert+0xf1]
  #1 [__real_main47+0x537]
  #2 [main+0x29]
  #3 [__libc_start_main+0xf5]
  #4 [_start+0x29]
  #5 [<unknown>+0x29]
child 0 failed with exit status 99
Subtest non-root-set-no-zeromap: FAIL (0.014s)
Stderr	
Test assertion failure function __real_main47, file gem_ctx_param_basic.c:130:
Failed assertion: drmIoctl(fd, ((((2U|1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x35)) << 0) | ((((sizeof(struct local_i915_gem_context_param)))) << ((0+8)+8)))), &ctx_param) < 0 && errno == 1
Subtest non-root-set-no-zeromap failed.

Logs are going to be attached as soon as possible
Comment 1 Olivier Berthier 2015-10-02 12:33:34 UTC
Created attachment 118596 [details]
dmesg log file for

Same bug found on Sky Lake Y.
I attach the dmesg log.
Comment 2 Humberto Israel Perez Rodriguez 2015-10-15 18:58:04 UTC
Reproduced on HSW with the latest configuration:

Configuration :
---------------------------------------------
kernel: 4.3.0-rc4-drm-intel-testing-2015-10-10
xorg-server-1.17.2
libdrm-2.4.65
xf86-video-intel-2.99.917
mesa-11.0.2
libva-1.6.1
intel-driver-1.6.1
cairo-1.14.2
IGT Version : 1.12-g1f9e055
Comment 3 Elio 2015-10-15 22:45:11 UTC
Issue is present with following configuration
Kernel: http://vanaheimr.fr.intel.com/shared/out/kernels/drm-intel/WW42.1_4.3.0-rc4_c38f2c2/
 xorg-server-1.17.2
libdrm-2.4.65
xf86-video-intel2.99.917
mesa-11.0.2
libva-1.6.1
intel-driver 1.6.1
cairo 1.14.2
intel-gpu-tools-1.12
Comment 4 Daniel Vetter 2016-05-04 15:28:51 UTC
BAT failures should be P1
Comment 5 Mika Kuoppala 2016-07-14 13:16:08 UTC
try gem_ctx_param
Comment 6 Mika Kuoppala 2016-07-14 13:20:03 UTC
I had the old binary in my tests directory too causing confusion. Seems that all the functionality has been moved into gem_ctx_param
Comment 7 Elio 2016-07-14 16:28:07 UTC
Executing:
./gem_ctx_param --run-subtest non-root-set-no-zeromap

Terminal Output:

./gem_ctx_param --run-subtest non-root-set-no-zeromap
IGT-Version: 1.15-g3ce58b6 (x86_64) (Linux: 4.7.0-rc5-drm-intel-nightly-ww28-commit-fd3dc6a+ x86_64)
Subtest non-root-set-no-zeromap: SUCCESS (0.000s)


The test is working fine, we are going to wait until a new BAT cycle is done in order to close it.

Configuration:

Kernel:
4.7.0-rc5-drm-intel-nightly commit fd3dc6a

GFX Configuration:

--> Component : drm 
	 url : http://cgit.freedesktop.org/mesa/drm 
	 tag : libdrm-2.4.68 
	 commit : fc09c5a 
	 author : Kenneth Graunke <kenneth@whitecape.org> 
	 age : 6 weeks ago 
 --> Component : mesa 
	 url : http://cgit.freedesktop.org/mesa/mesa 
	 tag : mesa-11.2.2 
	 commit : 3a9f628 
	 author : Emil Velikov <emil.velikov@collabora.com> 
	 age : 4 weeks ago 
 --> Component : xf86-video-intel 
	 url : http://cgit.freedesktop.org/xorg/driver/xf86-video-intel 
	 tag : 2.99.917 
	 commit : baec802 
	 author : Chris Wilson <chris@chris-wilson.co.uk> 
	 age : 1 year 6 months ago 
 --> Component : libva 
	 url : http://cgit.freedesktop.org/libva/ 
	 tag : libva-1.7.1.pre1 
	 commit : 453876f 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 4 days ago 
 --> Component : vaapi (intel-driver) 
	 url : http://cgit.freedesktop.org/vaapi/intel-driver 
	 tag : 1.7.1.pre1 
	 commit : 2975480 
	 author : Xiang Haihao <haihao.xiang@intel.com> 
	 age : 4 days ago 
 --> Component : cairo 
	 url : http://cgit.freedesktop.org/cairo 
	 tag : 1.15.2 
	 commit : db8a7f1 
	 author : Bryce Harrington <bryce@osg.samsung.com> 
	 age : 6 months ago 
 --> Component : xserver 
	 url :  http://cgit.freedesktop.org/xorg/xserver 
	 tag : xorg-server-1.18.3 
	 commit : 9454cd5 
	 author : Adam Jackson <ajax@redhat.com> 
	 age : 9 weeks ago 
 --> Component : intel-gpu-tools 
	 url : http://cgit.freedesktop.org/xorg/app/intel-gpu-tools 
	 tag : intel-gpu-tools-1.15 
	 commit : 3ce58b6 
	 author : Marius Vlad <marius.c.vlad@intel.com> 
	 age : 6 days ago
Comment 8 dog 2016-07-18 22:34:15 UTC
has there been a new BAT run yet to show that gem_ctx_param runs fine?
Comment 9 yann 2016-07-20 09:53:58 UTC
Basic test pass on BYT with following env:

kernel:
  url: git://anongit.freedesktop.org/drm-intel
  branch: drm-intel-nightly
  tag: drm-intel-next-2016-07-11-2238-g3540447
  tree: 5e33716b46c602fd5422dc9385ff5fff24f22ca6
  parent: 909fc550e5e780e7caae6983a2b62d771ce65f83
  commit: 35404472e5b6a3af8d8debd0f96e4ea38bfdd7b1
  summary: 'drm-intel-nightly: 2016y-07m-19d-23h-18m-36s UTC integration manifest'
  author: Rodrigo Vivi <rodrigo.vivi@intel.com>
  authored_date: Tue Jul 19 23:18:54 2016 +0000
  committer: Rodrigo Vivi <rodrigo.vivi@intel.com>
  committed_date: Tue Jul 19 23:18:54 2016 +0000
  title: drm-intel-nightly
  kernel_version: 4.7.0-rc7
drm:
  url: git://git.freedesktop.org/git/mesa/drm
  branch: master
  tag: libdrm-2.4.68-15-g2212a64
  tree: 968660c8264fa0e2878e7eb11300467da7b8360b
  parent: 8c8d5dd76fb80637031e824a48ceaa0f9f65d2dd
  commit: 2212a6465d1597fbc4d4ee0ea5ff87816bfa336e
  summary: 'vc4: Update kernel headers for getparam addition.'
  author: Eric Anholt <eric@anholt.net>
  authored_date: Sat Jul 02 21:18:43 2016 +0000
  committer: Eric Anholt <eric@anholt.net>
  committed_date: Fri Jul 15 22:38:12 2016 +0000
mesa:
  url: git://git.freedesktop.org/git/mesa/mesa
  branch: detached
  tag: mesa-11.2.2
  tree: 12b7ecf601c7b40c2e53a486ccf5cf35fa8ee464
  parent: f6726607d767fd5a975f090e4f56bf269b4828bd
  commit: 3a9f6283f435f90ca1a2901be39ec9d629c95bb6
  summary: 'docs: add release notes for 11.2.2'
  author: Emil Velikov <emil.velikov@collabora.com>
  authored_date: Mon May 09 12:54:59 2016 +0000
  committer: Emil Velikov <emil.l.velikov@gmail.com>
  committed_date: Mon May 09 12:54:59 2016 +0000
cairo:
  url: git://anongit.freedesktop.org/cairo
  branch: detached
  tag: 1.15.2
  tree: 42433892c5113c72018e19305cc968a04dd34e98
  parent: 6cd5a188e3db142089020e3c50ef280195655fec
  commit: db8a7f1697c49ae4942d2aa49eed52dd73dd9c7a
  summary: 1.15.2 release
  author: Bryce Harrington <bryce@osg.samsung.com>
  authored_date: Fri Dec 11 08:45:02 2015 +0000
  committer: Bryce Harrington <bryce@osg.samsung.com>
  committed_date: Fri Dec 11 08:45:02 2015 +0000
xorg-server-macros:
  url: git://git.freedesktop.org/git/xorg/util/macros
  branch: master
  tag: util-macros-1.19.0-2-gd7acec2
  tree: bfde84d696abfcc23c7ddf7d38a912fedd564b3b
  parent: 8b92f46ab371ec51dac2b73c768173cd63126402
  commit: d7acec2d3a3abe79814ceb72e2c0d4d95ed31d37
  summary: Fix XORG_WITH_XMLTO to work with xmlto >= 0.0.27
  author: Andreas Boll <andreas.boll.dev@gmail.com>
  authored_date: Tue Jan 12 12:59:40 2016 +0000
  committer: Julien Cristau <jcristau@debian.org>
  committed_date: Thu Jan 14 18:49:00 2016 +0000
xserver:
  url: git://git.freedesktop.org/git/xorg/xserver
  branch: master
  tag: xorg-server-1.18.0-460-ge8e3675
  tree: 95f9140734659ad6a4bce45d2112b278a2a9a0d3
  parent: 32a9504c69183485b0b796fa3966cd1e39992365
  commit: e8e36755abb17872d669b88d33ca9adc511029a0
  summary: 'glamor: Translate solid text background region after clipping'
  author: Michel D?nzer <michel.daenzer@amd.com>
  authored_date: Fri Jul 01 03:34:20 2016 +0000
  committer: Adam Jackson <ajax@redhat.com>
  committed_date: Fri Jul 15 16:59:43 2016 +0000
xf86-video-intel:
  url: git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
  branch: master
  tag: 2.99.917-676-g26f8ab5
  tree: 43d234196dd05a31ffd15516102fc10bce14404d
  parent: 4556ac396ed46a476cc970946011e377451346ff
  commit: 26f8ab5429a554801641415f0ab3b2d68cea1d00
  summary: 'sna: Restore local damage processing for TearFree/DRI2/swcursor early'
  author: Chris Wilson <chris@chris-wilson.co.uk>
  authored_date: Mon Jul 04 09:11:50 2016 +0000
  committer: Chris Wilson <chris@chris-wilson.co.uk>
  committed_date: Mon Jul 04 09:11:50 2016 +0000
libva:
  url: git://git.freedesktop.org/git/vaapi/libva
  branch: master
  tag: libva-1.7.0-26-gc36971c
  tree: 03bc3bb34f1eab6e8bb8b80bd102d8385826c50b
  parent: 4ea3e2f0b921cfbed30d0cfe795939df742e5cfd
  commit: c36971c682d890681fe839bbaa8a348fe845aa42
  summary: Remove unused 'id' in va_wayland_drm_create
  author: Lim Siew Hoon <siew.hoon.lim@intel.com>
  authored_date: Wed Jun 22 11:46:03 2016 +0000
  committer: Sean V Kelley <seanvk@posteo.de>
  committed_date: Fri Jun 24 22:42:58 2016 +0000
vaapi-intel-driver:
  url: git://git.freedesktop.org/git/vaapi/intel-driver
  branch: master
  tag: 1.7.0-53-gbcde10d
  tree: 23304ad6825cd5ab939921e105843add9f4c02c5
  parent: f47e513dcd8557b84463379d52d7156adef121a9
  commit: bcde10dac40cbc4c8502fa519404c9379372184b
  summary: Downgrade the alignment requirement for linear surface on BDW+
  author: Zhao Yakui <yakui.zhao@intel.com>
  authored_date: Mon Jun 27 04:08:26 2016 +0000
  committer: Zhao, Yakui <yakui.zhao@intel.com>
  committed_date: Tue Jun 28 02:35:58 2016 +0000
waffle:
  branch: master
  tag: debian/1.5.2-2-177-gcd38ab8
  commit: cd38ab87009b84e587adc8e7dac4733b76af72cc
  summary: 'wayland: Wrap wl_proxy_marshal_constructor_versioned (v3)'
  author: Michel D?nzer <michel.daenzer@amd.com>
  authored_date: Thu Apr 14 08:23:07 2016 +0000
piglit:
  branch: master
  git_describe: 09fcc6e
  commit: 09fcc6e2916b81768767506a1254525db664af1d
  summary: 'copy-pixels: disable texture state before copying'
  author: Ilia Mirkin <imirkin@alum.mit.edu>
  authored_date: Fri Jul 15 18:29:22 2016 +0000
intel-gpu-tool:
  branch: master
  tag: intel-gpu-tools-1.15-127-gee5d5c4
  commit: ee5d5c47c44183f3ab7d6493c0e7c41556e34e73
  summary: 'tests/gem_workarounds: rename read to basic-read for CI'
  author: Mika Kuoppala <mika.kuoppala@intel.com>
  authored_date: Wed Jul 13 12:54:18 2016 +0000
Comment 10 yann 2016-07-20 09:59:21 UTC
(In reply to yann from comment #9)
> Basic test pass on BYT with following env:
> 
> kernel:
>   url: git://anongit.freedesktop.org/drm-intel
>   branch: drm-intel-nightly
>   tag: drm-intel-next-2016-07-11-2238-g3540447
>   tree: 5e33716b46c602fd5422dc9385ff5fff24f22ca6
>   parent: 909fc550e5e780e7caae6983a2b62d771ce65f83
>   commit: 35404472e5b6a3af8d8debd0f96e4ea38bfdd7b1
>   summary: 'drm-intel-nightly: 2016y-07m-19d-23h-18m-36s UTC integration
> manifest'
>   author: Rodrigo Vivi <rodrigo.vivi@intel.com>
>   ....

Basic test also pass on HSW & BDW using same SW environment


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.