Bug 110986 - [snb libva] GPU HANG: ecode 6:1:0xfffffffe, in kaffeine
Summary: [snb libva] GPU HANG: ecode 6:1:0xfffffffe, in kaffeine
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
Depends on:
Reported: 2019-06-24 23:12 UTC by Stan King
Modified: 2019-06-26 10:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

dmesg output, from boot (69.82 KB, text/plain)
2019-06-24 23:12 UTC, Stan King
no flags Details
contents of /sys/class/drm/card0/error (20.67 KB, text/plain)
2019-06-24 23:13 UTC, Stan King
no flags Details
/var/log/Xorg.0.log, although it doesn't seem to be too useful (51.37 KB, text/plain)
2019-06-24 23:14 UTC, Stan King
no flags Details
gzipped debug dmesg (78.88 KB, application/gzip)
2019-06-24 23:29 UTC, Stan King
no flags Details

Description Stan King 2019-06-24 23:12:30 UTC
Created attachment 144627 [details]
dmesg output, from boot

The summary is the first error in the dmesg output when I run kaffeine, and a few seconds later, the video feed is sporadic, and a severe keyboard lock-up occurs.  The system remains accessible via ssh when this happens.

The error seems repeatable.  In this situation, kaffeine is receiving standard-definition over-the-air digital television, U.S. standard, and displaying it via an HDMI connection in a window controlled by the Xfce environment, under Fedora 29.

I'm using the graphics interface built into the Intel i5-2400 "Sandy Bridge" processor.

The kernel in effect is 5.1.11-200.fc29.x86_64.  It also occurs on the two available prior kernels, 5.1.8 and 5.1.9, but for some reason, this bug seems to have popped up recently for me.

I seem to be limited to one attachment at this time, so I'll add more later.  I may try to grab a dmesg with drm debug later.
Comment 1 Stan King 2019-06-24 23:13:37 UTC
Created attachment 144628 [details]
contents of /sys/class/drm/card0/error
Comment 2 Stan King 2019-06-24 23:14:29 UTC
Created attachment 144629 [details]
/var/log/Xorg.0.log, although it doesn't seem to be too useful
Comment 3 Stan King 2019-06-24 23:29:37 UTC
Created attachment 144630 [details]
gzipped debug dmesg

Dmesg with debug info was generated with kernel parameters "drm.debug=0x1e log_buf_len=1M", according to the instructions.  Uncompressed size was less than 1M, so it seems to have everything.
Comment 4 Lakshmi 2019-06-26 10:00:41 UTC
rcs0 command stream:
  IDLE?: no
  START: 0x00001000
  HEAD:  0x00807180 [0x00007040]
    head = 0x00007180, wraps = 4
  TAIL:  0x000077e8 [0x00007180, 0x000071c8]
  CTL:   0x0001f001
    len=131072, enabled
  MODE:  0x00004040
  HWS:   0x7fffe000
  ACTHD: 0x00000000 01cc1f30
    at ring: 0x00000000
  IPEIR: 0x00000000
  IPEHR: 0x71000014
  INSTDONE: 0xff88ff6f
    busy: EU 12
    busy: EU 11
    busy: EU 10
    busy: EU 02
    busy: EU 01
    busy: EU 00
    busy: VFE
    busy: TS
  SC_INSTDONE: 0xbedfa2fe
  batch: [0x00000000_03128000, 0x00000000_031a8000]
  BBADDR: 0x00000000_01cc1f31
  BB_STATE: 0x00000020
  INSTPS: 0x80000209
  INSTPM: 0x00000080
  FADDR: 0x00000000 01cc2100
  RC PSMI: 0x00000010
  FAULT_REG: 0x00000000
  SYNC_0: 0x00000000
  SYNC_1: 0x00000000
  GFX_MODE: 0xcee1ea09
  PP_DIR_BASE: 0x7fdf0000
  seqno: 0x00000583
  last_seqno: 0x00000588
  ring->head: 0x00006ff8
  ring->tail: 0x000077e8
  hangcheck timestamp: 0ms (4294790016; epoch)
  engine reset count: 0
  Active context: kaffeine[2483] user_handle 0 hw_id 0, prio 0, ban score 0 guilty 0 active 0

Stan, This is related to libva, can you please report this issue here https://github.com/intel/libva/issues.
Closing this issue as NOTOURBUG.

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.