Bug 91453

Summary: [BYT-M/BDW-U/SKL-Y] igt/gem_eio/execbuf result is crash
Product: DRI Reporter: Olivier Berthier <olivierx.berthier>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: BDW, SKL i915 features: GPU hang
Attachments:
Description Flags
GPU error status
none
kern.log file
none
dmesg log file
none
igt metadata json file
none
dmesg log with kms tags
none
gem_eio dmesg log none

Description Olivier Berthier 2015-07-24 15:43:15 UTC
Created attachment 117348 [details]
GPU error status

Setup
------

Baytrail-M
Hardware
Platform : Bay Trail M
CPU : Intel(R) Celeron(R) CPU  N2930  @ 1.83GHz (family: 6, model: 55
stepping: 8)
SoC : VLV C0
CRB : Bayley Bay Fab3 Rev 03

Software
Linux distribution: Ubuntu 14.04 LTS 64 bits BIOS : BBAYCRB1.X64.0100.R21.14006301530
kernel 4.2.0-rc2-drm-intel-testing-2015-07-17++
drm: (HEAD, tag: libdrm-2.4.61, tag: 2.4.61) b2360626c4aa1dccdf3fe258b833121748d64d35 from git://anongit.freedesktop.org/mesa/drm
intel-driver: (HEAD, tag: 1.6.0.pre1) f3f74ea23601750078215fad04dde6748364b88d from git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, tag: libva-1.6.0.pre1) 0f88a645ab3cea69d63371189e53cd465ab95a20 from git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, tag: mesa-10.5.9) 7f40d083748f3a8276e08a2fa0ae7149269ea379 from git://anongit.freedesktop.org/mesa/mesa
xf86-video-intel: (HEAD, tag: 2.99.917) baec802b21387d04aebb10ac29e719a1800c5aa0 from git://anongit.freedesktop.org/xorg/driver/xf86-video-intel
xserver: (HEAD, tag: xorg-server-1.17.2, origin/server-1.17-branch) 2123f7682d522619f101b05fb75efa75dabbe371 from git://git.freedesktop.org/git/xorg/xserver
intel-gpu-tools: (HEAD, origin/master, origin/HEAD, master) 0705ce6d15320a153c137b4a2119496a7f9c49f1 from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools

Steps:
------
1. Launch igt with command:
${IGT_DIRNAME}/scripts/run-tests.sh -t igt@gem_eio@execbuf
2. The test start

Actual result:
---------------
2. IGT return a crash.

Expected result:
----------------
2. No crash
Comment 1 Olivier Berthier 2015-07-24 15:44:00 UTC
Created attachment 117349 [details]
kern.log file
Comment 2 Olivier Berthier 2015-07-24 15:44:32 UTC
Created attachment 117350 [details]
dmesg log file
Comment 3 Olivier Berthier 2015-07-24 15:45:09 UTC
Created attachment 117351 [details]
igt metadata json file
Comment 4 Chris Wilson 2015-07-24 15:55:14 UTC
Your dmesgs still do not include the kmsg tags injected by igt. These are vital (though not here since the reason this crashes is obvious) for deciphering the order of events.
Comment 5 Olivier Berthier 2015-07-27 10:03:36 UTC
Created attachment 117390 [details]
dmesg log with kms tags

Sorry, this must be good in that file.
Comment 6 Elio 2015-10-01 15:06:43 UTC
This issue is reproducible on BDW-U with the following configuration

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
Comment 7 Elio 2015-10-15 22:27:00 UTC
Issue still 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 8 Jairo Miramontes 2015-10-16 15:27:27 UTC
Created attachment 118922 [details]
gem_eio dmesg log

This is also reproducible on BDW with the following configurations
Hardware:
````````````````````````````````````
Motherboard: Lenovo G50-80
CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz

Software:
````````````````````````````````````
BIOS: 1.69
Distribution: Ubuntu 14.04.3 LTS


Test Environment:
````````````````````````````````````
Kernel:4.3.0-rc4 drm-intel-testing-2015-10-10
Mesa: mesa-11.0.2 
Xf86_video_intel: 2.99.917 
Libdrm: libdrm-2.4.65
Cairo: 1.14.2 
libva: libva-1.6.1 
intel-driver: 1.6.1
xorg: 1.17.99 installed with script git_xorg.sh
Xserver: xorg-server-1.17.2 
Intel-gpu-tools: 1.12
Comment 9 Humberto Israel Perez Rodriguez 2015-10-28 22:18:40 UTC
The following tests cases also fail on BYT-M with the next configuration :

<%gem_eio@execbuf%>

Ubuntu 14.04.03 x86_x64 LTS
xorg-server : 1.17.2
libdrm : 2.4.65
xf86-video-intel : 2.99.917
mesa : 11.0.4
libva : 1.6.1
intel: driver 1.6.1
cairo : 1.14.2
intel-gpu-tools : 1.12 (commit a2c6786)

Kernel: drm-intel-nightly: 2015y-10m-23d-09h-56m-09s
commit 87074657f22e38163e712ca417e1a398d00096b6
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Fri Oct 23 11:56:52 2015 +0200
Comment 10 Humberto Israel Perez Rodriguez 2015-12-11 04:48:53 UTC
The following test fail on SKL-Y with latest setup :

gem_eio@execbuf


 --- Hardware information ---
Motherboard model             : Skylake Client platform
Motherboard type              : Skylake Y LPDDR3 RVP3 Laptop
Motherboard manufacturer      : Intel Corporation
CPU information               : Intel(R) Core(TM) m5-6Y57 CPU @ 1.10GHz
GPU Card                      : Intel Corporation Sky Lake Integrated Graphics (rev 07) (prog-if 00 [VGA controller])
KSC                           : 1.15

Linux distribution: Ubuntu 15.10 LTS 64 bits
Kernel: 4.3 mainline from https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/?id=refs/tags/v4.3
Bios SKL: SKLSE2R1.R00.B104.B01.1511110114)
xorg-server-1.18.0 from http://cgit.freedesktop.org/xorg/xserver
libdrm-2.4.65 from http://cgit.freedesktop.org/mesa/drm/
xf86-video-intel 2.99.917 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
mesa-11.0.4 from http://cgit.freedesktop.org/mesa/mesa/
libva-1.6.2.pre1 from http://cgit.freedesktop.org/libva/
vaapi-intel-driver 1.6.2.pre1 from http://cgit.freedesktop.org/vaapi/intel-driver
cairo 1.14.4 from http://cgit.freedesktop.org/cairo
Rendercheck 1.5 from http://cgit.freedesktop.org/xorg/app/rendercheck
SKL-Y :  DMC 1.23 and GUC 4.3 firmware from https://01.org/linuxgraphics/intel-linux-graphics-firmwares
IGT 1.13: http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/commit/?id=2db78a4995a8ee298ae0cd68879baf80407a0e5e
Comment 11 Joonas Lahtinen 2016-01-13 10:58:50 UTC
The test is currently designed to fail. Marking as dup
Comment 12 Joonas Lahtinen 2016-01-13 10:59:19 UTC

*** This bug has been marked as a duplicate of bug 91349 ***
Comment 13 cprigent 2016-03-09 15:43:48 UTC
So closed.
It is tracked by https://bugs.freedesktop.org/show_bug.cgi?id=91349

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.