You are not logged in.

#1 2017-11-09 07:15:50

mcku
Member
From: Istanbul
Registered: 2017-09-23
Posts: 25

optimus gpu hang, i915 crash dump attached

Today, after leaving my laptop idle for about 30 minutes, the graphical display was not responsive, which apparently due to a GPU hang on my optimus laptop.

[92117.407928] [drm] GPU HANG: ecode 9:0:0x8fdfbffe, in code [5307], reason: Hang on rcs0, action: reset
[92117.407932] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[92117.407934] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[92117.407936] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[92117.407937] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[92117.407939] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[92117.408021] drm/i915: Resetting chip after gpu hang
[92118.114873] [drm:gen8_reset_engines [i915]] *ERROR* rcs0: reset request timeout
[92118.114906] [drm:i915_reset [i915]] *ERROR* Failed to reset chip: -5

It recommends me to post a bug at freedesktop.org. I will. But the crash dump contains some raw content, which I suspect are some sort of buffers that may contain private data or even display content. Correct?

GPU HANG: ecode 9:0:0x8fdfbffe, in code [5307], reason: Hang on rcs0, action: reset
Kernel: 4.13.11-1-ARCH
Time: 1510170490 s 790322 us
Boottime: 179710 s 824887 us
Uptime: 4853 s 357557 us
Active process (on ring render): code [5307], score 0
Reset count: 0
Suspend count: 7
Platform: KABYLAKE
PCI ID: 0x591b
PCI Revision: 0x04
PCI Subsystem: 1043:15e0
IOMMU enabled?: 0
DMC loaded: yes
DMC fw version: 1.1
GT awake: yes
RPM wakelock: yes
PM suspended: no
EIR: 0x00000000
IER: 0x08000000
GTIER[0]: 0x01010101
GTIER[1]: 0x01010101
GTIER[2]: 0x00000070
GTIER[3]: 0x00000101
PGTBL_ER: 0x00000000
FORCEWAKE: 0x00010001
DERRMR: 0x2077efef
CCID: 0x00000000
Missed interrupts: 0x00000001
  fence[0] = 00000000
  fence[1] = 00000000
  fence[2] = 18ea002018d9003
  fence[3] = 109c0000109c003
  fence[4] = 00000000
  fence[5] = 108603b00880001
  fence[6] = 18c603b010c0001
  fence[7] = 83500000835003
  fence[8] = 109d0000109d003
  fence[9] = 83100000831003
  fence[10] = 83e00700837001
  fence[11] = 18f6002018eb003
  fence[12] = 3500000035003
  fence[13] = 00000000
  fence[14] = 00000000
  fence[15] = 10a6002010a1003
  fence[16] = 210603b01900001
  fence[17] = 3200000032003
  fence[18] = 1b0000001b003
  fence[19] = 1100000011003
  fence[20] = 00000000
  fence[21] = 83600000836003
  fence[22] = 2900000029003
  fence[23] = 00000000
  fence[24] = 00000000
  fence[25] = 109f0000109f003
  fence[26] = 83000700829001
  fence[27] = 00000000
  fence[28] = 25ff00702500003
  fence[29] = 00000000
  fence[30] = 109600101087003
  fence[31] = 00000000
ERROR: 0x00000000
FAULT_TLB_DATA: 0x00000018 0xc0600301
DONE_REG: 0xffffffff
render command stream:
  START: 0x010b6000
  HEAD:  0x00000000 [0x00000000]
  TAIL:  0x00000078 [0x00000058, 0x00000080]
  CTL:   0x00003001
  MODE:  0x00000000
  HWS:   0xfffe8000
  ACTHD: 0x00000000 00000000
  IPEIR: 0x00000000
  IPEHR: 0x70004000
  INSTDONE: 0xffdffffe
  SC_INSTDONE: 0xffffffff
  SAMPLER_INSTDONE[0][0]: 0xffffffff
  SAMPLER_INSTDONE[0][1]: 0xffffffff
  SAMPLER_INSTDONE[0][2]: 0xffffffff
  ROW_INSTDONE[0][0]: 0xffffffff
  ROW_INSTDONE[0][1]: 0xffffffff
  ROW_INSTDONE[0][2]: 0xffffffff
  batch: [0x00000000_000f8000, 0x00000000_00100000]
  BBADDR: 0x00000000_000e004c
  BB_STATE: 0x00000020
  INSTPS: 0x00002840
  INSTPM: 0x00000000
  FADDR: 0x00000000 010ac078
  RC PSMI: 0x00000010
  FAULT_REG: 0x00000000
  SYNC_0: 0x00000000
  SYNC_1: 0x00000000
  SYNC_2: 0x00000000
  GFX_MODE: 0x00008000
  PDP0: 0x000000038833a000
  PDP1: 0x0000000000000000
  PDP2: 0x0000000000000000
  PDP3: 0x0000000000000000
  seqno: 0x00665f5d
  last_seqno: 0x00665f5f
  waiting: yes
  ring->head: 0x00000000
  ring->tail: 0x00000080
  hangcheck stall: yes
  hangcheck action: dead
  hangcheck action timestamp: 4322511296, 303163 ms ago
  ELSP[0]:  pid 5307, ban score 0, seqno       1e:00665f5e, emitted 305276ms ago, head 00000000, tail 00000080
  ELSP[1]:  pid 5307, ban score 0, seqno       1b:00665f5f, emitted 305180ms ago, head 00000000, tail 00000078
  Active context: code[5307] user_handle 5 hw_id 30, ban score 0 guilty 0 active 0
blt command stream:
  START: 0x00000000
  HEAD:  0x00000000 [0x00000000]
  TAIL:  0x00000000 [0x00000000, 0x00000000]
  CTL:   0x00000000
  MODE:  0x00000200
  HWS:   0xfffe5000
  ACTHD: 0x00000000 00000000
  IPEIR: 0x00000000
  IPEHR: 0x00000000
  INSTDONE: 0xfffffffe
  BBADDR: 0x00000000_00000000
  BB_STATE: 0x00000000
  INSTPS: 0x00000001
  INSTPM: 0x00000000
  FADDR: 0x00000000 00000000
  RC PSMI: 0x00000010
  FAULT_REG: 0x00000000
  SYNC_0: 0x00000000
  SYNC_1: 0x00000000
  SYNC_2: 0x00000000
  GFX_MODE: 0x00008000
  PDP0: 0x0000000000000000
  PDP1: 0x0000000000000000
  PDP2: 0x0000000000000000
  PDP3: 0x0000000000000000
  seqno: 0x0000061e
  last_seqno: 0x0000061e
  waiting: no
  ring->head: 0x00000000
  ring->tail: 0x00000000
  hangcheck stall: no
  hangcheck action: idle
  hangcheck action timestamp: 4322512512, 299110 ms ago
  Active context: [0] user_handle 0 hw_id 0, ban score 0 guilty 0 active 0
bsd command stream:
  START: 0x00000000
  HEAD:  0x00000000 [0x00000000]
  TAIL:  0x00000000 [0x00000000, 0x00000000]
  CTL:   0x00000000
  MODE:  0x00000200
  HWS:   0xfffe2000
  ACTHD: 0x00000000 00000000
  IPEIR: 0x00000000
  IPEHR: 0x00000000
  INSTDONE: 0xfffffffe
  BBADDR: 0x00000000_00000000
  BB_STATE: 0x00000000
  INSTPS: 0x00000001
  INSTPM: 0x00000000
  FADDR: 0x00000000 00000000
  RC PSMI: 0x00000010
  FAULT_REG: 0x00000000
  SYNC_0: 0x00000000
  SYNC_1: 0x00000000
  SYNC_2: 0x00000000
  GFX_MODE: 0x00008000
  PDP0: 0x0000000000000000
  PDP1: 0x0000000000000000
  PDP2: 0x0000000000000000
  PDP3: 0x0000000000000000
  seqno: 0x00000000
  last_seqno: 0x00000000
  waiting: no
  ring->head: 0x00000000
  ring->tail: 0x00000000
  hangcheck stall: no
  hangcheck action: idle
  hangcheck action timestamp: 4322512512, 299110 ms ago
  Active context: [0] user_handle 0 hw_id 0, ban score 0 guilty 0 active 0
vebox command stream:
  START: 0x00000000
  HEAD:  0x00000000 [0x00000000]
  TAIL:  0x00000000 [0x00000000, 0x00000000]
  CTL:   0x00000000
  MODE:  0x00000200
  HWS:   0xfffdf000
  ACTHD: 0x00000000 00000000
  IPEIR: 0x00000000
  IPEHR: 0x00000000
  INSTDONE: 0xfffffffe
  BBADDR: 0x00000000_00000000
  BB_STATE: 0x00000000
  INSTPS: 0x00000001
  INSTPM: 0x00000000
  FADDR: 0x00000000 00000000
  RC PSMI: 0x00000010
  FAULT_REG: 0x00000000
  SYNC_0: 0x00000000
  SYNC_1: 0x00000000
  SYNC_2: 0x00000000
  GFX_MODE: 0x00008000
  PDP0: 0x0000000000000000
  PDP1: 0x0000000000000000
  PDP2: 0x0000000000000000
  PDP3: 0x0000000000000000
  seqno: 0x00000000
  last_seqno: 0x00000000
  waiting: no
  ring->head: 0x00000000
  ring->tail: 0x00000000
  hangcheck stall: no
  hangcheck action: idle
  hangcheck action timestamp: 4322512512, 299110 ms ago
  Active context: [0] user_handle 0 hw_id 0, ban score 0 guilty 0 active 0
Active (rcs0) [2]:
    00000000_00000000     4096 3e 02 [ 665f5e 00 00 00 00 ] 00 LLC
    00000000_000f8000    32768 3f 00 [ 665f5e 00 00 00 00 ] 00 LLC
Pinned (global) [23]:
    00000000_fffff000     4096 41 00 [ 00 00 00 00 00 ] 00 LLC
    00000000_ffffe000     4096 41 00 [ 00 00 00 00 00 ] 00 LLC
    00000000_fffe7000    94208 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_00001000    16384 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fffe4000    12288 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_00005000    16384 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fffe1000    12288 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_00009000    16384 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fffde000    12288 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_0000d000    16384 41 00 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fffc7000    94208 01 01 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_00012000    16384 40 40 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_00040000  8294400 41 00 [ 00 00 00 00 00 ] 00 uncached
    00000000_00880000  8388608 7e 00 [ 00 00 00 00 00 ] 00 X dirty uncached (fence: 5)
    00000000_00840000   262144 41 00 [ 00 00 00 00 00 ] 00 uncached
    00000000_fff6b000    94208 01 01 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_010a7000    16384 40 40 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fff53000    94208 01 01 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_010ac000    16384 40 40 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fff3c000    94208 01 01 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_010b6000    16384 40 40 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_fff25000    94208 01 01 [ 00 00 00 00 00 ] 00 dirty LLC
    00000000_010ba000    16384 40 40 [ 00 00 00 00 00 ] 00 dirty LLC
.....
Num Pipes: 3
Pipe [0]:
  Power: on
  SRC: 077f0437
  STAT: 00000000
Plane [0]:
  CNTR: 00000000
  STRIDE: 0000000f
  SURF: 00000000
  TILEOFF: 00000000
Cursor [0]:
  CNTR: 00000000
  POS: 00000000
  BASE: 00000000
Pipe [1]:
  Power: off
  SRC: 00000000
  STAT: 00000000
Plane [1]:
  CNTR: 00000000
  STRIDE: 00000000
  SURF: 00000000
  TILEOFF: 00000000
Cursor [1]:
  CNTR: 00000000
  POS: 00000000
  BASE: 00000000
Pipe [2]:
  Power: off
  SRC: 00000000
  STAT: 00000000
Plane [2]:
  CNTR: 00000000
  STRIDE: 00000000
  SURF: 00000000
  TILEOFF: 00000000
Cursor [2]:
  CNTR: 00000000
  POS: 00000000
  BASE: 00000000
CPU transcoder: A
  Power: off
  CONF: 00000000
  HTOTAL: 00000000
  HBLANK: 00000000
  HSYNC: 00000000
  VTOTAL: 00000000
  VBLANK: 00000000
  VSYNC: 00000000
CPU transcoder: A
  Power: off
  CONF: 00000000
  HTOTAL: 00000000
  HBLANK: 00000000
  HSYNC: 00000000
  VTOTAL: 00000000
  VBLANK: 00000000
  VSYNC: 00000000
CPU transcoder: A
  Power: off
  CONF: 00000000
  HTOTAL: 00000000
  HBLANK: 00000000
  HSYNC: 00000000
  VTOTAL: 00000000
  VBLANK: 00000000
  VSYNC: 00000000
CPU transcoder: EDP
  Power: on
  CONF: 00000000
  HTOTAL: 0815077f
  HBLANK: 0815077f
  HSYNC: 07c707ab
  VTOTAL: 044b0437
  VBLANK: 044b0437
  VSYNC: 043d0439
is_mobile: no
is_lp: no
is_alpha_support: no
has_64bit_reloc: yes
has_aliasing_ppgtt: yes
has_csr: yes
has_ddi: yes
has_dp_mst: yes
has_fbc: yes
has_fpga_dbg: yes
has_full_ppgtt: yes
has_full_48bit_ppgtt: yes
has_gmbus_irq: yes
has_gmch_display: no
has_guc: yes
has_guc_ct: no
has_hotplug: yes
has_l3_dpf: no
has_llc: yes
has_logical_ring_contexts: yes
has_overlay: no
has_pipe_cxsr: no
has_pooled_eu: no
has_psr: yes
has_rc6: yes
has_rc6p: no
has_resource_streamer: yes
has_runtime_pm: yes
has_snoop: no
unfenced_needs_alignment: no
cursor_needs_physical: no
hws_needs_physical: no
overlay_needs_physical: no
supports_tv: no
i915.modeset=-1
i915.panel_ignore_lid=1
i915.semaphores=0
i915.lvds_channel_mode=0
i915.panel_use_ssc=-1
i915.vbt_sdvo_panel_type=-1
i915.enable_rc6=1
i915.enable_dc=-1
i915.enable_fbc=1
i915.enable_ppgtt=3
i915.enable_execlists=1
i915.enable_psr=0
i915.disable_power_well=1
i915.enable_ips=1
i915.invert_brightness=0
i915.enable_guc_loading=0
i915.enable_guc_submission=0
i915.guc_log_level=-1
i915.guc_firmware_path=(null)
i915.huc_firmware_path=(null)
i915.use_mmio_flip=0
i915.mmio_debug=0
i915.edp_vswing=0
i915.inject_load_failure=0
i915.alpha_support=yes
i915.enable_cmd_parser=yes
i915.enable_hangcheck=yes
i915.fastboot=no
i915.prefault_disable=no
i915.load_detect_test=no
i915.force_reset_modeset_test=no
i915.reset=yes
i915.error_capture=yes
i915.disable_display=no
i915.verbose_state_checks=yes
i915.nuclear_pageflip=no
i915.enable_dp_mst=yes
i915.enable_dpcd_backlight=no
i915.enable_gvt=no

I have removed rcs0 ringbuffer content. Any ideas on what encoding this is? I would like to decode and take a look at it:

rcs0 --- WA context = 0x00000000 ffffe000
:bNtaD0RsV;`PDZg"-=LS.<.sH=%klD<(fJu'17jhJp3"n(]R6o"17)ZdW`uL90,nbl'l*r=H3Qa:0QXqh08&.8L0:VqFMrq!!!)Y!!E9$D[T'B

Anyone having the same problem? Any ideas on the cause of this?

Thanks!!

Offline

Board footer

Powered by FluxBB