Bug 97835

Summary: [BYT/IVB] [GPU Hang] gem_evict_everything mlocked-interruptible
Product: DRI Reporter: cprigent <christophe.prigent>
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: major    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: BYT, IVB i915 features: GPU hang
Attachments:
Description Flags
BYT__gem_evict_everything--mlocked-interruptible__kern.log none

Description cprigent 2016-09-16 13:09:34 UTC
Created attachment 126573 [details]
BYT__gem_evict_everything--mlocked-interruptible__kern.log

Platform: Acer Aspire XC-603
CPU: Intel(R) Pentium(R) CPU  J2900  @ 2.41GHz (family 6, model 55, stepping 8)
Motherboard: Aspire XC-603
GPU: IntelĀ® HD Graphics - Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)

Software
Bios: P11-B2
Linux distribution: Ubuntu 16.04 64 bits
Kernel: 4.8.0-rc5 bef9c1f from http://cgit.freedesktop.org/drm-intel/
  commit bef9c1f4afe24cfff578d386bde349add65673eb
  Author: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
  Date:   Mon Sep 12 11:35:34 2016 +0300
  drm-intel-nightly: 2016y-09m-12d-08h-35m-02s UTC integration manifest
libdrm-2.4.70-12 2d00869 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-11.2.2 3a9f628 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.0-549 527c6ba from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-703 15c5ff1 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.0-47 2ebf897 from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.0-117 8c11f51 from git://git.freedesktop.org/git/vaapi/intel-driver
Intel-Gpu-Tools 1.16 f565b6c from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git
External screen: DELL U2312HM (VGA)

Steps:
------
1. Execute IGT test:
./gem_evict_everything --r mlocked-interruptible

Actual result:
--------------
1. Test needs almost 4 hours, it is failing. Log shows a GPU hang, /sys/class/drm/card0/error is empty

# ./gem_evict_everything --r mlocked-interruptible
IGT-Version: 1.16-gf565b6c (x86_64) (Linux: 4.8.0-rc5-nightly+ x86_64)
child 0 died with signal 9, Killed
Subtest mlocked-interruptible failed.
**** DEBUG ****
(gem_evict_everything:2890) intel-os-DEBUG: Checking 1,536 surfaces of size 1,048,576 bytes (total 1,611,399,168) against RAM
(gem_evict_everything:2890) intel-os-DEBUG: Test requirement passed: __intel_check_memory(count, size, mode, &required, &total)
(gem_evict_everything:2890) igt-core-DEBUG: Test requirement passed: !igt_run_in_simulation()
(gem_evict_everything:2890) DEBUG: Test requirement passed: pin > sz
(gem_evict_everything:2890) DEBUG: Pinning [1,935, 3,471] MiB
(gem_evict_everything:2890) DEBUG: Test requirement passed: locked
****  END  ****
Subtest mlocked-interruptible: FAIL (12708.827s)

Jun  6 18:42:42 BYT3 kernel: [12766.937471] [drm:i915_capture_error_state] GPU HANG: ecode 7:0:0x00000000, in gem_evict_every [2890], reason: Hang on render ring, action: reset

Expected result:
------------------
1. Test is Pass
Comment 1 cprigent 2016-09-16 13:13:51 UTC
Similar bug: bug 97109
Comment 2 yann 2016-10-06 10:17:37 UTC

*** This bug has been marked as a duplicate of bug 97109 ***

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.