Bug 91357 - [BSW] igt/gem_render_copy result is crash
Summary: [BSW] igt/gem_render_copy result is crash
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 08:40 UTC by cprigent
Modified: 2017-08-14 08:38 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: GPU hang


Attachments
kern.log part1 (2.20 MB, text/plain)
2015-07-16 08:40 UTC, cprigent
no flags Details
kern.log part2 (1.93 MB, text/plain)
2015-07-16 08:41 UTC, cprigent
no flags Details
Kernel configuration (133.37 KB, text/plain)
2015-07-16 08:42 UTC, cprigent
no flags Details

Description cprigent 2015-07-16 08:40:27 UTC
Created attachment 117162 [details]
kern.log part1

Braswell-M
Hardware
Platform: Braswell M
CPU : Intel(R) CPU  @ 1.52 GHz (family: 6, model: 76 stepping: 3)
SoC : BSW C0
CRB : BRASWELL RVP Fab2 Mandatory
Reworks : All Feature Reworks: F28, F32,F33 & F37 Optional reworks : O-01a Software
BIOS : BRAS.X64.B074.R00.1505311952
TXE FW : 2.0.0.2064 Ksc : 1.08
Linux distribution: Ubuntu 14.04 LTS 64 bits
kernel 4.2.0-rc2-drm-intel-nightly-ww29++
cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from git://git.freedesktop.org/git/cairo
drm: (HEAD, tag: libdrm-2.4.62, tag: 2.4.62) ba4b5ac010ab85406ec52e3906e13d58cd9aa782 from git://anongit.freedesktop.org/mesa/drm
intel-driver: (HEAD, tag: 1.6.0, origin/v1.6-branch) 32268c46d538667d437dc9266aa4c183e51c1286 from git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, tag: libva-1.6.0, origin/v1.6-branch) a8008998bc0d4a76ae6927607c048e52ba50fd0e from git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, tag: mesa-10.6.2) 9643cce94c8a1938e3342fb83d025a1e5c2aa79b 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) 7f952bd976416196f628c42a8d7bf77fe3c1540f from git://git.freedesktop.org/git/xorg/app/intel-gpu-tools

Pre-conditions:
---------------
2 monitors connected to HDMI and DP ports

Steps:
-------
1. Execute command:
cd <..>/intel-gpu-tools/scripts
./run-tests.sh -s -r <..>/results -x .*suspend.* -x gem_userptr_blits@swapping.* -x gem_dummy_reloc_loop -x gem_concurrent_all.* -x gem_evict_everything@swapping-hang -x gem_close_race -x gem_cpu_reloc -x gem_ctx_thrash.* -x drv_hangman.* -x drv_missed_irq_hang -x kms_setmode.* -x gem_fence_thrash@bo-write-verify-threaded-y -x gem_multi_bsd_sync_loop -x gem_reloc_vs_gpu@forked-interruptible-faulting-reloc-thrashing -x gem_seqno_wrap -x gem_userptr_blits@forked-sync-swapping-multifd-mempressure-interruptible -x kms_render@gpu-blit -x kms_cursor_crc@cursor-size-change -x gem_render_linear_blits@swap-thrash -x gem_render_tiled_blits@swap-thrash -x gem_evict_everything@mlocked-hang -x gem_userptr_blits@mlocked-normal-sync -x gem_userptr_blits@mlocked-sync-interruptible -x gem_userptr_blits@mlocked-unsync-normal -x gem_userptr_blits@mlocked-unsync-interruptible -x gem_exec_big -x gem_mmap_gtt@medium-copy -x gem_mmap_gtt@medium-copy-xy -x gem_pwrite@huge-gtt -x gem_pwrite@big-cpu -x gem_pwrite@big-gtt -x gem_pwrite@huge-cpu
2. Wait a moment

Actual result:
---------------
2. Result of "igt@gem_render_copy" is "crash".

Expected result:
-----------------
2. Result is Pass.
Comment 1 cprigent 2015-07-16 08:41:15 UTC
Extract from results.json:

        "igt@gem_render_copy": {
            "returncode": -11, 
            "err": "(gem_render_copy:31959) drmtest-CRITICAL: Test assertion failure function gem_quiescent_gpu, file drmtest.c:171:\nFailed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0\nLast errno: 5, Input/output error\nTest gem_render_copy failed.\n**** DEBUG ****\n(gem_render_copy:31959) drmtest-CRITICAL: Test assertion failure function gem_quiescent_gpu, file drmtest.c:171:\nFailed assertion: drmIoctl((fd), ((((1U) << (((0+8)+8)+14)) | ((('d')) << (0+8)) | (((0x40 + 0x29)) << 0) | ((((sizeof(struct drm_i915_gem_execbuffer2)))) << ((0+8)+8)))), (&execbuf)) == 0\nLast errno: 5, Input/output error\n****  END  ****\nReceived signal SIGSEGV.\n", 
            "environment": "PIGLIT_SOURCE_DIR=\"/home/qa/dev/graphic/intel-gpu-tools/piglit\" PIGLIT_PLATFORM=\"mixed_glx_egl\"", 
            "command": "/home/qa/dev/graphic/intel-gpu-tools/tests/gem_render_copy", 
            "result": "crash", 
            "time": 1.0458369255065918, 
            "out": "IGT-Version: 1.11-g7f952bd (x86_64) (Linux: 4.2.0-rc2-drm-intel-nightly-ww29++ x86_64)\n"
Comment 2 cprigent 2015-07-16 08:41:43 UTC
Created attachment 117163 [details]
kern.log part2
Comment 3 cprigent 2015-07-16 08:42:36 UTC
Created attachment 117164 [details]
Kernel configuration
Comment 4 Chris Wilson 2015-07-16 08:50:34 UTC
gem_render_copy doesn't appear in either of those kernel logs, i.e. the igt logging is absent as is the GPU hang that occurred but you didn't report.
Comment 5 cprigent 2015-07-27 16:35:02 UTC
I agree. I was also not able to find it in the log (that's why I attached the full log).
I executed this test individually with fresh version and the result is Pass. I fully launched igt again to see the result.
Comment 6 cprigent 2015-08-16 13:14:16 UTC
I confirm it is reproduced when all IGT tests are launched.

Platform: Braswell M
CPU : Intel(R) CPU  @ 1.52 GHz (family: 6, model: 76 stepping: 3)
SoC : BSW C0
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All
Feature Reworks: F28, F32,F33 & F37
Optional reworks : O-01a
Software
BIOS : SKLSE2R1.R00.X093.B02.1507222151
ME FW : 11.0.0.1157
Ksc (EC FW): 1.15
Linux distribution: Ubuntu 14.04 LTS 64 bits
Kernel: drm-intel-nightly 308b72e08b237aa7cde758fc44f88851710e417d 4.2.0-rc5 from git://anongit.freedesktop.org/drm-intel 
Mesa: mesa-10.6.3 ddc976368fef367e464472ebcc2ac4fd89eb9fd8 from http://cgit.freedesktop.org/mesa/mesa/
Xf86_video_intel: 2.99.917 baec802b21387d04aebb10ac29e719a1800c5aa0 from http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/
Libdrm: libdrm-2.4.62 ba4b5ac010ab85406ec52e3906e13d58cd9aa782 from http://cgit.freedesktop.org/mesa/drm/
Cairo: 1.14.2 from 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d http://cgit.freedesktop.org/cairo
libva: libva-1.6.0 a8008998bc0d4a76ae6927607c048e52ba50fd0e from http://cgit.freedesktop.org/libva/
intel-driver: 1.6.0 32268c46d538667d437dc9266aa4c183e51c1286 from http://cgit.freedesktop.org/vaapi/intel-driver
Xserver: xorg-server-1.17.2 2123f7682d522619f101b05fb75efa75dabbe371 from http://cgit.freedesktop.org/xorg/xserver

IGT: 1.11-g5c07135 from http://cgit.freedesktop.org/xorg/app/intel-gpu-tools/ 

Kernel commit log:
commit 308b72e08b237aa7cde758fc44f88851710e417d
Author: Daniel Vetter
Date: Fri Aug 7 19:09:47 2015 +0200
drm-intel-nightly: 2015y-08m-07d-17h-08m-56s UTC integration manifest
Comment 7 Rami 2015-10-02 15:58:00 UTC
I had executed only gem_render_copy and bug is not reproduced on BSW with 4.3.0-rc2-drm-intel-nightly+ 
Hardware:
=========

Platform: Braswell M 
CPU : Intel(R) Celeron N3060 1.60GHz @ 1.6 GHz (family: 6, model: 76 stepping:
4)
SoC : BSW D0
QDF : K6XC
CRB : BRASWELL RVP Fab2
Mandatory Reworks : All 
Feature Reworks: F28, F32,F33 & F37
Optional reworks : O-01a


Software :
Linux distribution: Ubuntu 14.04 LTS 64 bits 
BIOS : BRAS.X64.B084.R00.1508310642
TXE FW : 2.0.0.2073
Ksc : 1.08

kernel 4.3.0-rc2-drm-intel-nightly+
commit 794e1cdfb84be003dbd287c69501c98ec280a89b
Author: Jani Nikula <jani.nikula@intel.com>
Date:   Mon Sep 28 17:28:29 2015 +0300

    drm-intel-nightly: 2015y-09m-28d-14h-28m-11s UTC integration manifest

cairo: (HEAD, tag: 1.14.2) 93422b3cb5e0ef8104b8194c8873124ce2f5ea2d from
git://git.freedesktop.org/git/cairo
drm: (HEAD, tag: libdrm-2.4.64, tag: 2.4.64)
ab2fadabde3829b1ec56bd4756165dd9bd281488 from
git://git.freedesktop.org/git/mesa/drm
intel-driver: (HEAD, origin/master, origin/HEAD, master)
2a72f99d24714f2a58f400ef63b913d4cf9080b3 from
git://git.freedesktop.org/git/vaapi/intel-driver
libva: (HEAD, tag: libva-1.6.1, origin/v1.6-branch)
613eb962b45fbbd1526d751e88e0d8897af6c0e0 from
git://git.freedesktop.org/git/vaapi/libva
mesa: (HEAD, tag: mesa-10.6.7) 32efdc87cbf89cfe08ad9571cd756e27c803caa8 from
git://git.freedesktop.org/git/mesa/mesa
xf86-video-intel: (HEAD, origin/master, origin/HEAD, master)
f0fd4d500de03c30c7ce19915f85acadd1ca4e5d from
git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
xserver: (HEAD, tag: xorg-server-1.17.2)
2123f7682d522619f101b05fb75efa75dabbe371 from
git://git.freedesktop.org/git/xorg/xserver

intel-gpu-tools: (HEAD, tag: intel-gpu-tools-1.12)
1f9e0550455be4b219954a026407dd23ec21b299 from
git://git.freedesktop.org/git/xorg/app/intel-gpu-tools
Comment 8 Jari Tahvanainen 2017-07-03 12:52:56 UTC
Marking verified+fixed based on the comment 7.
Comment 9 Jari Tahvanainen 2017-08-14 08:38:49 UTC
Closing Verified+Fixed after few months.


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.