Bug 110858

Summary: i915 0000:00:02.0: GPU HANG: ecode 7:1:0xfffffffe, in X [2063], hang on rcs0
Product: Mesa Reporter: jshand2013
Component: Drivers/DRI/i965Assignee: Intel 3D Bugs Mailing List <intel-3d-bugs>
Status: RESOLVED DUPLICATE QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jshand2013
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: IVB i915 features: GPU hang
Attachments: error dump file

Description jshand2013 2019-06-08 00:20:45 UTC
Created attachment 144480 [details]
error dump file

[ 4093.899437] i915 0000:00:02.0: GPU HANG: ecode 7:1:0xfffffffe, in X [2063], hang on rcs0
[ 4093.899439] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 4093.899439] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 4093.899439] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 4093.899440] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 4093.899440] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 4093.899471] i915 0000:00:02.0: Resetting chip for hang on rcs0
Comment 1 Lakshmi 2019-06-10 07:02:02 UTC
Changing the product of this bug to Mesa assuming this is a Mesa issue.

rcs0 command stream:
  IDLE?: no
  START: 0x00409000
  HEAD:  0x55e0abd0 [0x0000aba8]
    head = 0x0000abd0, wraps = 687
  TAIL:  0x0000b1c8 [0x0000ac60, 0x0000ac88]
  CTL:   0x0001f001
    len=131072, enabled
  MODE:  0x00004000
  HWS:   0x7fffe000
  ACTHD: 0x00000000 55e0abd0
    at ring: 0x00000000
  IPEIR: 0x00000000
  IPEHR: 0x79000002
  INSTDONE: 0xffffbffa
    busy: SVG
    busy: VS
  SC_INSTDONE: 0xfffffffe
  SAMPLER_INSTDONE[0][0]: 0xffffffff
  ROW_INSTDONE[0][0]: 0xffffffff
  batch: [0x00000000_017ce000, 0x00000000_017cf000]
  BBADDR: 0x00000000_7fff6040
  BB_STATE: 0x00000000
  INSTPS: 0x00000501
  INSTPM: 0x00000080
  FADDR: 0x00000000 00413bd0
  RC PSMI: 0x00000010
  FAULT_REG: 0x00000000
  SYNC_0: 0x00000000
  SYNC_1: 0x00000000
  GFX_MODE: 0x00002a00
  PP_DIR_BASE: 0x00470000
  seqno: 0x000622c1
  last_seqno: 0x000622c8
  ring->head: 0x0000aba8
  ring->tail: 0x0000b1c8
  hangcheck timestamp: 0ms (4295914000; epoch)
  engine reset count: 0
  Active context: X[2063] user_handle 1 hw_id 0, prio 0, ban score 0 guilty 0 active 0
Comment 2 Francesco Balestrieri 2019-06-19 11:15:31 UTC
Is this different from Bug 110930?
Comment 3 Chris Wilson 2019-07-02 19:24:01 UTC
Please test with

commit c84c9029d782a3a0d2a7f0522ecb907314d43e2c
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Apr 19 12:17:47 2019 +0100

    drm/i915/ringbuffer: EMIT_INVALIDATE *before* switch context

heading to v5.1 via stable in the next few weeks.

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

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.