Bug 95423 - [KBL] igt / gem_shrink / hang and hang-userptr results are crash with GPU hang
Summary: [KBL] igt / gem_shrink / hang and hang-userptr results are crash with GPU hang
Status: CLOSED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium critical
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
: 95425 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-05-16 11:32 UTC by cprigent
Modified: 2016-08-09 14:02 UTC (History)
1 user (show)

See Also:
i915 platform: KBL
i915 features: GEM/Other, GPU hang


Attachments
klb_gem_shrink-hang_kern.log (293.31 KB, text/plain)
2016-05-16 11:32 UTC, cprigent
no flags Details
error.gz (53.81 KB, application/gzip)
2016-05-16 11:33 UTC, cprigent
no flags Details
kbl-gem_shrink__hang-failing-output (8.52 KB, text/plain)
2016-08-09 14:02 UTC, cprigent
no flags Details

Description cprigent 2016-05-16 11:32:04 UTC
Created attachment 123770 [details]
klb_gem_shrink-hang_kern.log

Hardware
Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2 (ou ULT-G0)
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1

Software
BIOS : KBLSE2R1.R00.X015.B01.1511271314
ME FW : 11.5.0.1008
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
kernel drm-intel-nightly 4.6.0-rc7 61f856f from http://cgit.freedesktop.org/drm-intel/
  commit 61f856faa1e6ff9dddad214be1e372e8aacfc0f4
  Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
  Date:   Mon May 9 19:24:21 2016 +0300
  drm-intel-nightly: 2016y-05m-09d-16h-24m-01s UTC integration manifest
libdrm-2.4.68 fc09c5a from git://anongit.freedesktop.org/mesa/drm
cairo: 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
IGT 1.14 cc24755 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

Steps:
------
Execute commands:
cd <...>/intel-gpu-tools/tests
# ./gem_shrink --run-subtest hang

Actual result:
--------------
Crash

Expected result:
----------------
Test is Pass

Output:
-------
# ./gem_shrink --run-subtest hang
IGT-Version: 1.14-NOT-GIT (x86_64) (Linux: 4.6.0-rc7-nightly+ x86_64)
Using 46 processes and 128MiB per process
Received signal SIGSEGV.
Subtest hang: CRASH (63,756s)
Killed
Comment 1 cprigent 2016-05-16 11:33:29 UTC
Created attachment 123771 [details]
error.gz
Comment 2 yann 2016-05-17 09:27:57 UTC
*** Bug 95425 has been marked as a duplicate of this bug. ***
Comment 3 Chris Wilson 2016-05-17 10:21:09 UTC
These tests are deliberate stress tests for which the kernel is currently expected to fail - though strictly only the oom subtests are expected to run out of memory and trigger crashes (but given the current state of the kernel to run in low memory conditions, crashes are not unexpected for any of these tests).
Comment 4 Luis Botello 2016-05-26 22:16:17 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 5 maria guadalupe 2016-06-06 16:38:44 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_shrink@hang-userptr
igt@gem_shrink@hang
Comment 6 cprigent 2016-08-09 14:02:24 UTC
Created attachment 125639 [details]
kbl-gem_shrink__hang-failing-output

(In reply to Chris Wilson from comment #3)
> These tests are deliberate stress tests for which the kernel is currently
> expected to fail - though strictly only the oom subtests are expected to run
> out of memory and trigger crashes (but given the current state of the kernel
> to run in low memory conditions, crashes are not unexpected for any of these
> tests).

I don't see anymore the GPU Hang with last setup. Tests return fail.
In this case, they should return Pass. I propose we close it and track bug 97259 instead.

Platform: KABY LAKE-U
CPU : Intel(R) Core(TM) @ 2.60GHz
MCP : KBL-U G0 2+2
QDF : QYQ8
Chipset PCH: SPT-LP C1
CRB : KABY LAKE U DDR3L RVP7 CRB FAB1
Software
BIOS: 38_07 KBLSE2R1.R00.X038.P07.1606200632 from https://ubit-artifactory-ba.intel.com/artifactory/simple/one-windows-local/Submissions/ifwi/KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16/IFWI-KBL_PURPLE_IFWI_2016_WW26_1_00_HR'16-R.7z
ME FW: 11.5.0.1058
EC FW: 1.19
Ksc (EC FW): 1.20
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc1 8ca71ca from http://cgit.freedesktop.org/drm-intel/
  commit 8ca71ca6198ad5a08a7d3e00f94149db2cdd5ebc
  Author: Daniel Vetter <daniel.vetter@ffwll.ch>
  Date:   Mon Aug 8 11:02:44 2016 +0200
  drm-intel-nightly: 2016y-08m-08d-09h-02m-24s UTC integration manifest
drm: 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
xserver: xorg-server-1.18.0-502 c833c08 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel: 2.99.917-691 a77397a from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva: libva-1.7.0-44 695f99e from git://git.freedesktop.org/git/vaapi/libva
vaapi-intel-driver: 1.7.0-66 fb7d6f5 from git://git.freedesktop.org/git/vaapi/intel-driver
GuC 9.14 from http://rdvivi-hillsboro.jf.intel.com/firmware/kbl_guc_ver9_14.tar.bz2 
DMC 1.01 from: https://01.org/linuxgraphics/downloads/kabylake-dmc-1.01 
Intel-Gpu-Tools 1.15-216 9afd545 from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git


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.