Bug 98836

Summary: [IGT][BYT] gem_exec_whisper@hang* showing GPU status: 0x0000e2d0 [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
Product: DRI Reporter: Elio <elio.martinez.monroy>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED 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: BYT i915 features: GEM/execlists
Attachments:
Description Flags
Dmesg none

Description Elio 2016-11-23 21:53:06 UTC
Configuration:

Platform BYT: 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.9.0-rc4 91e164f branch drm-intel-nightly from http://cgit.freedesktop.org/drm-intel/ 
  commit 91e164fea17d3e5366048b6eae3c6eea4e14e9fe
  Author: Ville Syrjälä <ville.syrjala@linux.intel.com>
  Date:   Mon Nov 14 16:31:06 2016 +0200
  drm-intel-nightly: 2016y-11m-14d-14h-30m-30s UTC integration manifest

libdrm-2.4.71-13 670f1e4 from git://anongit.freedesktop.org/mesa/drm
mesa: mesa-13.0.0 df1b0a5 from git://anongit.freedesktop.org/mesa/mesa
cairo 1.15.2 db8a7f1 from git://anongit.freedesktop.org/cairo
xorg-server-1.18.99.902-2 7513da4 from git://git.freedesktop.org/git/xorg/xserver
xf86-video-intel 2.99.917-731 d1d14f2 from git://git.freedesktop.org/git/xorg/driver/xf86-video-intel
libva-1.7.2-40 3a7547b from git://git.freedesktop.org/git/vaapi/libva 
vaapi-intel-driver: 1.7.2-157 55a538c from git://git.freedesktop.org/git/vaapi/intel-driver
intel-gpu-tools-1.16-132 773ac7c from http://anongit.freedesktop.org/git/xorg/app/intel-gpu-tools.git

External screen: DELL U2312HM (VGA)

Kernel:

commit d6149d212b69a8e1d9229fe80fca034a0abe1d0e
Author: Mika Kuoppala <mika.kuoppala@intel.com>
Date:   Mon Nov 21 14:48:58 2016 +0200

    drm-intel-nightly: 2016y-11m-21d-12h-48m-13s UTC integration manifest


Test cases failing:

igt@gem_exec_whisper@hang-chain		
Fail
EditRemove igt@gem_exec_whisper@hang-chain-forked		
Fail
EditRemove igt@gem_exec_whisper@hang-contexts		
Fail
igt@gem_exec_whisper@hang-contexts-chain		
igt@gem_exec_whisper@hang-contexts-forked		
igt@gem_exec_whisper@hang-fds		
igt@gem_exec_whisper@hang-fds-chain		
igt@gem_exec_whisper@hang-fds-forked		
igt@gem_exec_whisper@hang-forked		
igt@gem_exec_whisper@hang-normal

Error:

[46518.639775] [IGT] gem_reset_stats: executing
[46518.661973] [IGT] gem_reset_stats: starting subtest ban-bsd
[46528.481961] [drm] GPU HANG: ecode 7:2:0x40000000, in gem_reset_stats [17233], reason: Hang on bsd ring, action: reset
[46528.482325] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46528.482340] drm/i915: Resetting chip after gpu hang
[46528.482382] [drm:i915_gem_reset [i915]] context gem_reset_stats[17233]/0 marked guilty (score 10) banned? no
[46528.482409] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x3a94
[46528.482462] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46528.482490] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46528.482514] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46528.482591] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46536.485040] [drm] GPU HANG: ecode 7:2:0x40000000, in gem_reset_stats [17233], reason: Hang on bsd ring, action: reset
[46536.485484] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46536.485501] drm/i915: Resetting chip after gpu hang
[46536.485541] [drm:i915_gem_reset [i915]] context gem_reset_stats[17233]/0 marked guilty (score 19) banned? no
[46536.485567] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x3a97
[46536.485619] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46536.485647] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46536.485670] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46536.485749] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46544.488244] [drm] GPU HANG: ecode 7:2:0x40000000, in gem_reset_stats [17233], reason: Hang on bsd ring, action: reset
[46544.488670] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46544.488685] drm/i915: Resetting chip after gpu hang
[46544.488729] [drm:i915_gem_reset [i915]] context gem_reset_stats[17233]/0 marked guilty (score 27) banned? no
[46544.488758] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x3a99
[46544.488808] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46544.488843] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46544.488867] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46544.488943] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46552.491583] [drm] GPU HANG: ecode 7:2:0x40000000, in gem_reset_stats [17233], reason: Hang on bsd ring, action: reset
[46552.491978] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46552.491994] drm/i915: Resetting chip after gpu hang
[46552.492034] [drm:i915_gem_reset [i915]] context gem_reset_stats[17233]/0 marked guilty (score 35) banned? no
[46552.492060] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x3a9b
[46552.492106] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46552.492135] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46552.492159] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46552.492236] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46560.494602] [drm] GPU HANG: ecode 7:2:0x40000000, in gem_reset_stats [17233], reason: Hang on bsd ring, action: reset
[46560.495003] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46560.495017] drm/i915: Resetting chip after gpu hang
[46560.495057] [drm:i915_gem_reset [i915]] context gem_reset_stats[17233]/0 marked guilty (score 43) banned? yes
[46560.495082] [drm:i915_gem_reset [i915]] client gem_reset_stats[17233]/0 has has 1 context banned
[46560.495107] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x3a9d
[46560.495153] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46560.495182] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46560.495206] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46560.495281] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46560.501949] [IGT] gem_reset_stats: exiting, ret=99
[46908.129729] [IGT] gem_exec_whisper: executing
[46908.147111] [IGT] gem_exec_whisper: starting subtest hang-chain
[46911.612245] [drm] GPU HANG: ecode 7:0:0x00000000, in gem_exec_whispe [20296], reason: No progress on render ring, action: reset
[46911.612374] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46911.612465] drm/i915: Resetting chip after gpu hang
[46911.612540] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 10) banned? no
[46911.612566] [drm:i915_gem_reset [i915]] resetting render ring to restart from tail of request 0xffffffff
[46911.612612] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46911.612640] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46911.612664] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46911.612753] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46913.640009] [drm] GPU HANG: ecode 7:1:0x00000008, in gem_exec_whispe [20296], reason: No progress on blitter ring, bsd ring, action: reset
[46913.640517] drm/i915: Resetting chip after gpu hang
[46913.640610] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 19) banned? no
[46913.640636] [drm:i915_gem_reset [i915]] resetting blitter ring to restart from tail of request 0x2
[46913.640663] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 29) banned? no
[46913.640688] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x1
[46913.640732] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46913.640761] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46913.640785] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46913.640856] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46913.640933] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46915.610542] [drm] GPU HANG: ecode 7:0:0x00000000, in gem_exec_whispe [20296], reason: No progress on render ring, action: reset
[46915.610584] drm/i915: Resetting chip after gpu hang
[46915.610665] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 37) banned? no
[46915.610713] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46915.610758] [drm:i915_gem_reset [i915]] resetting render ring to restart from tail of request 0xfffffffe
[46915.610806] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46915.610834] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46915.610858] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46915.610937] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46917.723424] [drm] GPU HANG: ecode 7:0:0xf4ebfffe, in gem_exec_whispe [20296], reason: No progress on render ring, blitter ring, bsd ring, action:
[46917.723470] drm/i915: Resetting chip after gpu hang
[46917.723551] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 10) banned? no
[46917.723598] [drm:i915_reset_and_wakeup [i915]] resetting chip
[46917.723650] [drm:i915_gem_reset [i915]] resetting render ring to restart from tail of request 0x403
[46917.723701] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 46) banned? yes
[46917.723726] [drm:i915_gem_reset [i915]] client gem_exec_whispe[20296]/0 has has 1 context banned
[46917.723751] [drm:i915_gem_reset [i915]] resetting blitter ring to restart from tail of request 0x2
[46917.723777] [drm:i915_gem_reset [i915]] context gem_exec_whispe[20296]/0 marked guilty (score 56) banned? yes
[46917.723802] [drm:i915_gem_reset [i915]] client gem_exec_whispe[20296]/0 has has 2 context banned
[46917.723827] [drm:i915_gem_reset [i915]] resetting bsd ring to restart from tail of request 0x1
[46917.723872] [drm:intel_print_rc6_info [i915]] Enabling RC6 states: RC6 on
[46917.723900] [drm:intel_enable_gt_powersave [i915]] GPLL enabled? yes
[46917.723924] [drm:intel_enable_gt_powersave [i915]] GPU status: 0x0000e2d0
[46917.724003] [drm:intel_guc_setup [i915]] GuC fw status: path (null), fetch NONE, load NONE
[46917.730799] [IGT] gem_exec_whisper: exiting, ret=99
Comment 1 Elio 2016-11-23 21:56:26 UTC
Created attachment 128172 [details]
Dmesg
Comment 2 Jari Tahvanainen 2017-03-29 08:36:35 UTC
Still valid for drm-intel-qa 4.11.0-rc4 379767e BYT (BYT3)

Results for igt@gem_exec_whisper@hang-chain
Result: fail
IGT-Version: 1.18-ga27c743 (x86_64) (Linux: 4.11.0-rc4-tip-201703271600+ x86_64)
Using Legacy submission, with semaphores
child 0 died with signal 6, Aborted
Subtest hang-chain: FAIL (2.366s)
 
gem_exec_whisper: igt_core.c:943: igt_skip: Assertion `!test_child' failed.
Received signal SIGABRT.
Subtest hang-chain failed.
**** DEBUG ****
(gem_exec_whisper:11025) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_whisper:11025) DEBUG: Test requirement passed: nengine
(gem_exec_whisper:11025) drmtest-DEBUG: Test requirement passed: !(fd<0)
(gem_exec_whisper:11025) ioctl-wrappers-DEBUG: Test requirement passed: has_ban_period || has_bannable
(gem_exec_whisper:11025) igt-gt-DEBUG: Test requirement passed: has_gpu_reset(fd)
(gem_exec_whisper:11025) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
(gem_exec_whisper:11025) igt-debugfs-DEBUG: Opening debugfs directory '/sys/kernel/debug/dri/0'
****  END  ****
Comment 3 Chris Wilson 2017-03-29 18:42:46 UTC
(In reply to Jari Tahvanainen from comment #2)
> Still valid for drm-intel-qa 4.11.0-rc4 379767e BYT (BYT3)
> 
> Results for igt@gem_exec_whisper@hang-chain
> Result: fail
> IGT-Version: 1.18-ga27c743 (x86_64) (Linux: 4.11.0-rc4-tip-201703271600+
> x86_64)
> Using Legacy submission, with semaphores
> child 0 died with signal 6, Aborted
> Subtest hang-chain: FAIL (2.366s)
>  
> gem_exec_whisper: igt_core.c:943: igt_skip: Assertion `!test_child' failed.
> Received signal SIGABRT.
> Subtest hang-chain failed.
> **** DEBUG ****
> (gem_exec_whisper:11025) igt-debugfs-DEBUG: Opening debugfs directory
> '/sys/kernel/debug/dri/0'
> (gem_exec_whisper:11025) DEBUG: Test requirement passed: nengine
> (gem_exec_whisper:11025) drmtest-DEBUG: Test requirement passed: !(fd<0)
> (gem_exec_whisper:11025) ioctl-wrappers-DEBUG: Test requirement passed:
> has_ban_period || has_bannable
> (gem_exec_whisper:11025) igt-gt-DEBUG: Test requirement passed:
> has_gpu_reset(fd)
> (gem_exec_whisper:11025) igt-debugfs-DEBUG: Opening debugfs directory
> '/sys/kernel/debug/dri/0'
> (gem_exec_whisper:11025) igt-debugfs-DEBUG: Opening debugfs directory
> '/sys/kernel/debug/dri/0'
> ****  END  ****

No, that's a completely different issue.
Comment 4 Chris Wilson 2017-04-08 14:28:06 UTC
commit cbb60b4b987c8a57533dca0f66887ed14a9498e5
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Thu Apr 6 18:00:28 2017 +0100

    drm/i915: Advance ring->head fully when idle

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.