Bug 96359 - [SKL] gem_pread_after_blit some subtest fail Unexpected value [regresion]
Summary: [SKL] gem_pread_after_blit some subtest fail Unexpected value [regresion]
Status: CLOSED FIXED
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-06-03 20:32 UTC by Humberto Israel Perez Rodriguez
Modified: 2017-07-24 22:41 UTC (History)
2 users (show)

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


Attachments
dmesg.log (139.92 KB, text/plain)
2016-06-03 20:32 UTC, Humberto Israel Perez Rodriguez
no flags Details

Description Humberto Israel Perez Rodriguez 2016-06-03 20:32:33 UTC
Created attachment 124310 [details]
dmesg.log

Bug description
===============================================
gem_pread_after_blit some subtest fail showing Unexpected value

last know good 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


current kernel were the tests are fail

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



Attachments
===============================================
dmesg.log


Tests cases
===============================================
igt@gem_pread_after_blit@default-hang
igt@gem_pread_after_blit@display-hang
igt@gem_pread_after_blit@uncached-hang
igt@gem_pread_after_blit@snooped-hang


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])


Test output
===============================================
IGT-Version: 1.14-g303b380 (x86_64) (Linux: 4.6.0-drm-intel-nightly-ww23-commit-fb023a2+ x86_64)
(gem_pread_after_blit:1238) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_pread_after_blit:1238) drmtest-DEBUG: Test requirement passed: fd >= 0
(gem_pread_after_blit:1238) igt-core-DEBUG: Starting subtest: default-hang
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_pread_after_blit:1238) CRITICAL: Test assertion failure function verify_small_read, file gem_pread_after_blit.c:115:
(gem_pread_after_blit:1238) CRITICAL: Failed assertion: buf[i / 4] == val
(gem_pread_after_blit:1238) CRITICAL: Unexpected value 0x00040000 instead of 0x00000000 at offset 0x00000000
Stack trace:
  #0 [__igt_fail_assert+0x101]
  #1 [verify_small_read+0x87]
  #2 [<unknown>+0x87]
Subtest default-hang failed.
**** DEBUG ****
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: gem_has_ring(fd, ring)
(gem_pread_after_blit:1238) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_pread_after_blit:1238) igt-gt-DEBUG: Test requirement passed: ctx == 0 || ring == I915_EXEC_RENDER
(gem_pread_after_blit:1238) CRITICAL: Test assertion failure function verify_small_read, file gem_pread_after_blit.c:115:
(gem_pread_after_blit:1238) CRITICAL: Failed assertion: buf[i / 4] == val
(gem_pread_after_blit:1238) CRITICAL: Unexpected value 0x00040000 instead of 0x00000000 at offset 0x00000000
****  END  ****
Subtest default-hang: FAIL (0.017s)
(gem_pread_after_blit:1238) igt-core-DEBUG: Exiting with status code 99
Comment 1 maria guadalupe 2016-06-06 16:21:57 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_pread_after_blit@uncached-hang
igt@gem_pread_after_blit@snooped-hang
igt@gem_pread_after_blit@display-hang
igt@gem_pread_after_blit@default-hang
Comment 2 Humberto Israel Perez Rodriguez 2016-06-19 17:29:46 UTC
The following test fail with the next configuration :


test cases
=================
igt@gem_pread_after_blit@default-hang
igt@gem_pread_after_blit@snooped-hang
igt@gem_pread_after_blit@uncached-hang
igt@gem_pread_after_blit@display-hang




kernel : 4.6.1 from http://www.kernel.org/
Graphic stack
--> Component : drm 
         tag : libdrm-2.4.68 
         commit : fc09c5a 
--> Component : mesa 
         tag : mesa-11.2.2 
         commit : 3a9f628 
--> Component : cairo 
         tag : 1.15.2 
         commit : db8a7f1 
--> Component : intel-gpu-tools 
         tag : intel-gpu-tools-1.15 
         commit : 3ce58b6 
Software information
===============================================
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])
Comment 3 Luis Botello 2016-06-22 16:25:52 UTC
Issue is also seen on SKL with the following config:

Test cases
============================================
igt@gem_pread_after_blit@default-hang
igt@gem_pread_after_blit@uncached-hang
igt@gem_pread_after_blit@snooped-hang
igt@gem_pread_after_blit@display-hang

 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 4 cprigent 2016-07-06 09:10:27 UTC
Pass on APL.
I remove it from summary and i915 platform.

Platform: APL system
CPU Name : Intel(R) Genuine Processor @ 1.1 GHz (family: 6, model: 12, stepping: 9) 4 cores
QDF : Q6HE
SoC : B1
CRB : Apollo Lake DDR3L RVP1A FAB2
Reworks : R19, R20

Software 
Bios: 144_B10 - APLK_B0_IFWI_X64_R_2016_06_27_0956_SPI_RVP1 from from \\gar\ec\proj\ba\CCG\APL BIOS\External\BIOS_Release\Daily\v144_10_2016_WW27.1\IFWI\IFWI_RVP1_Release\IFWI
KSC: 1.15
Linux distribution: Ubuntu 16.04 64 bits
Kernel: drm-intel-nightly 4.7.0-rc4 5c244f4 from http://cgit.freedesktop.org/drm-intel/
    commit 5c244f4b128c6274755007e080d46e0a61b71534
    Author: Chris Wilson <chris@chris-wilson.co.uk>
    Date:   Fri Jun 24 16:17:56 2016 +0100
    drm-intel-nightly: 2016y-06m-24d-15h-17m-32s UTC integration manifest
drm: libdrm-2.4.68-9 625d181 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 56cd706 from git://anongit.freedesktop.org/mesa/mesa
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
server: xorg-server-1.18.0-419 7397a21 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-670 cac7c8d from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-26 c36971c from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-52 f47e513 from git://git.freedesktop.org/git/vaapi/intel-driver
DMC 1.07
GuC 8.7
Intel-Gpu-Tools: 1.15-54 88c1f7c from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
Rendercheck: 1.5-9 44032a7 from http://anongit.freedesktop.org/git/xorg/app/rendercheck.git
CTS, dEQP, Piglit from https://github.com/janesma/mesa_jenkins
Comment 5 Chris Wilson 2016-07-06 09:13:17 UTC
(In reply to cprigent from comment #4)
> Pass on APL.

The failures here were for the -hang tests, they should not be passing on APL either. No idea why this is flagged as a regression either - it would be a testing failure if this passed since the kernel support is not yet implemented for restarting innocent batches.
Comment 6 Chris Wilson 2016-11-10 16:31:20 UTC
Request recovery is now inplace (still this should never have worked prior to that and so that it was a regression is odd...)


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.