https://bugs.freedesktop.org/show_bug.cgi?id=104520
Bug ID: 104520 Summary: Intermittent X crashes: GPU HANG: ecode 9:0:0x85dffffb, in Xorg [443], reason: Hang on rcs0, action: reset Product: Mesa Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/i915 Assignee: dri-devel@lists.freedesktop.org Reporter: awils_1@xsmail.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 136591 --> https://bugs.freedesktop.org/attachment.cgi?id=136591&action=edit GPU error dup.
1) startx 2) loading i3 and i3 scripts (loading an xterm and palemoon) intermittently crashes Result: GPU hangs, and eventually X crashes with this message in the dmesg.
[drm] GPU HANG: ecode 9:0:0x85dffffb, in Xorg [443], reason: Hang on rcs0, action: reset [ 561.340148] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [ 561.340148] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [ 561.340148] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [ 561.340149] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [ 561.340149] [drm] GPU crash dump saved to /sys/class/drm/card0/error
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #1 from Amy awils_1@xsmail.com --- Created attachment 136592 --> https://bugs.freedesktop.org/attachment.cgi?id=136592&action=edit Dmesg log
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #2 from Amy awils_1@xsmail.com --- Further info:
Kernel (Arch Linux):
4.14.12-1-ARCH #1 SMP PREEMPT Fri Jan 5 18:19:34 UTC 2018 x86_64 GNU/Linux
LSPCI info: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) Subsystem: Acer Incorporated [ALI] HD Graphics 620 Kernel driver in use: i915 Kernel modules: i915 -- 01:00.0 3D controller: NVIDIA Corporation Device 179c (rev ff) Kernel modules: nouveau, nvidia_drm, nvidia
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #3 from Amy awils_1@xsmail.com --- Created attachment 136593 --> https://bugs.freedesktop.org/attachment.cgi?id=136593&action=edit Glxinfo output.
https://bugs.freedesktop.org/show_bug.cgi?id=104520
Amy awils_1@xsmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|medium |high
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #4 from Michael Weitzel miw2000-aaa@yahoo.de --- I had the same crash (for the first time) - also on KabyLake, ArchLinux, Kernel 4.14.15-1-ARCH. I'll attach my crash dump.
[drm] GPU HANG: ecode 9:0:0x85dffffb, in Xorg [636], reason: Hang on rcs0, action: reset [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [drm] GPU crash dump saved to /sys/class/drm/card0/error i915 0000:00:02.0: Resetting rcs0 after gpu hang i915 0000:00:02.0: Resetting rcs0 after gpu hang asynchronous wait on fence i915:kwin_x11[820]/1:23321 timed out i915 0000:00:02.0: Resetting rcs0 after gpu hang i915 0000:00:02.0: Resetting rcs0 after gpu hang i915 0000:00:02.0: Resetting rcs0 after gpu hang
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #5 from Michael Weitzel miw2000-aaa@yahoo.de --- Created attachment 137059 --> https://bugs.freedesktop.org/attachment.cgi?id=137059&action=edit GPU crash dump from /sys/class/drm/card0/error
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #6 from Eric Blau eblau@eblau.com --- I'm in the same boat. I get frequent hangs as reported:
kernel: [drm] GPU HANG: ecode 8:0:0x2e6b4c79, in Xorg [2680], reason: Hang on rcs0, action: reset kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. kernel: [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error kernel: i915 0000:00:02.0: Resetting rcs0 after gpu hang kernel: i915 0000:00:02.0: Resetting rcs0 after gpu hang kernel: i915 0000:00:02.0: Resetting chip after gpu hang kernel: [drm:i915_reset [i915]] *ERROR* GPU recovery failed
Sometimes my laptop stays up and running, but other times it requires a power cycle.
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #7 from Eric Blau eblau@eblau.com --- Created attachment 137088 --> https://bugs.freedesktop.org/attachment.cgi?id=137088&action=edit /sys/class/drm/card0/error file
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #8 from xman 20830326@qq.com --- I am also hitting the same issue. [ 1516.880515] [drm] GPU HANG: ecode 9:0:0x85dffffb, reason: Hang on rcs0, action: reset [ 1516.880517] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [ 1516.880517] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [ 1516.880518] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [ 1516.880518] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [ 1516.880518] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 1516.880526] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 1531.801142] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 1539.837207] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 1547.801180] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 1555.801205] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 1559.001148] asynchronous wait on fence i915:compiz[1607]/1:243a timed out [ 1563.801234] i915 0000:00:02.0: Resetting rcs0 after gpu hang
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #9 from Amy awils_1@xsmail.com --- Still happening on:
Linux Playful-Plankton 4.15.4-1-ARCH #1 SMP PREEMPT Sat Feb 17 16:01:38 UTC 2018 x86_64 GNU/Linux
version number: 11.0 X.Org version: 1.19.6
xf86-video-intel 1:2.99.917+812+g75795523-1
https://bugs.freedesktop.org/show_bug.cgi?id=104520
Amy awils_1@xsmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #10 from Amy awils_1@xsmail.com --- Additonally: Mesa version is
OpenGL version string: 3.0 Mesa 17.3.4
https://bugs.freedesktop.org/show_bug.cgi?id=104520
Amy awils_1@xsmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |17.3 Priority|high |highest
--- Comment #11 from Amy awils_1@xsmail.com --- Still happening on Mesa 17.3.5
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #12 from Emilio J. Padrón emilioj@udc.gal --- Same (or similar) problem here!
Thinkpad T470, kaby lake (i5 7200U), running a Debian GNU/Linux Sid up-to-date with kernel 4.15.
I use Awesome 4.2 as window manager. The issue (GPU hang) seems to appear (above all) when using Emacs (I'm using the GTK-based emacs25).
I attach my dmesg output and the error dumped on /sys/class/drm/card0/error
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #13 from Emilio J. Padrón emilioj@udc.gal --- Created attachment 137638 --> https://bugs.freedesktop.org/attachment.cgi?id=137638&action=edit dmesg output
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #14 from Emilio J. Padrón emilioj@udc.gal --- Created attachment 137639 --> https://bugs.freedesktop.org/attachment.cgi?id=137639&action=edit xorg log
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #15 from Emilio J. Padrón emilioj@udc.gal --- Created attachment 137640 --> https://bugs.freedesktop.org/attachment.cgi?id=137640&action=edit /sys/class/drm/card0/error
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #16 from gennady.kupava@gmail.com --- I have same or very similar problem on Skylake.
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #17 from gennady.kupava@gmail.com --- I can not attach error log, please let me know if it is necessary.
Problem is reproducible, if I run certain qt5 app xorg hangs.
If I wait for a minute, it restarts.
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #18 from Gennady gennady.kupava@gmail.com --- GPU HANG: ecode 9:0:0x85dffffb, in Xorg [1035], reason: Hang on rcs0, action: reset Kernel: 4.15.0-1-amd64 Time: 1522274173 s 645209 us Boottime: 262 s 812221 us Uptime: 260 s 247539 us Active process (on ring render): Xorg [1035], score 0 Reset count: 0 Suspend count: 0 Platform: SKYLAKE PCI ID: 0x191b PCI Revision: 0x06 PCI Subsystem: 17aa:222e
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #19 from Gennady gennady.kupava@gmail.com --- Linux p50-debian 4.15.0-1-amd64 #1 SMP Debian 4.15.4-1 (2018-02-18) x86_64 GNU/Linux ii libgl1-mesa-dri:amd64 17.3.7-1 amd64 free implementation of the OpenGL API -- DRI modules ii xserver-xorg-video-intel 2:2.99.917+git20171229-1 amd64 X.Org X server -- Intel i8xx, i9xx display driver ii xserver-xorg 1:7.7+19 amd64 X.Org X server ii firmware-misc-nonfree 20170823-1 all Binary firmware for various drivers in the Linux kernel
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #20 from hfekih@cannon.com --- same problem here. I am using Intel(R) Celeron(R) CPU N3160 reproduced on Linux (kernel) 4.16.2 and 4.14.34, (Mesa 17.3.8) problem can be reproduced by starting any application using OPEN GL ES
root@ca-linux:/home/cannon$ glmark2-es2-drm ======================================================= glmark2 2014.03 ======================================================= OpenGL Information GL_VENDOR: Intel Open Source Technology Center GL_RENDERER: Mesa DRI Intel(R) HD Graphics 400 (Braswell) GL_VERSION: OpenGL ES 3.1 Mesa 17.3.8 ======================================================= [build] use-vbo=false:i965: Failed to submit batchbuffer: Input/output error ---------------------------------------------------------------------------- dmesg output: [ 38.859784] [drm] GPU HANG: ecode 8:0:0xe757feff, in glmark2-es2-drm [346], reason: Hang on rcs0, action: reset [ 38.859788] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [ 38.859789] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [ 38.859791] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [ 38.859792] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [ 38.859794] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 38.859869] i915 0000:00:02.0: Resetting rcs0 after gpu hang [ 41.905511] i915 0000:00:02.0: Resetting chip after gpu hang [ 41.952424] asynchronous wait on fence i915:glmark2-es2-drm[346]/2:2 timed out [ 47.072637] i915 0000:00:02.0: i915_reset_device timed out, cancelling all in-flight rendering. [ 51.372311] i915 0000:00:02.0: Failed to reset chip
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #21 from hfekih@cannon.com --- Created attachment 138905 --> https://bugs.freedesktop.org/attachment.cgi?id=138905&action=edit /sys/class/drm/card0/error
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #22 from Alif Wahid alif.wahid@gmail.com --- Created attachment 140127 --> https://bugs.freedesktop.org/attachment.cgi?id=140127&action=edit Log dump from /sys/class/drm/card0/error after GPU hang (as printed in dmesg output).
I see this error intermittently when running the Xilinx Vivado v2016.4 software on my Ubuntu 16.04 LTS desktop (kernel 4.4.0, Intel core i5-6400 cpu with Intel skylake-gt2 gpu). Attached the full dump from /sys/class/drm/card0/error as instructed by dmesg below.
[ 255.622496] [drm] stuck on render ring [ 255.623115] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [1006], reason: Engine(s) hung, action: reset [ 255.623120] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace. [ 255.623122] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel [ 255.623125] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue. [ 255.623127] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [ 255.623130] [drm] GPU crash dump saved to /sys/class/drm/card0/error [ 255.624623] drm/i915: Resetting chip after gpu hang [ 257.622605] [drm] RC6 on [ 311.628103] [drm] stuck on render ring [ 311.628686] [drm] GPU HANG: ecode 9:0:0x84dffff8, in Xorg [1006], reason: Engine(s) hung, action: reset [ 311.630227] drm/i915: Resetting chip after gpu hang [ 313.628765] [drm] RC6 on
https://bugs.freedesktop.org/show_bug.cgi?id=104520
John M. alt.ya-5e0t5ys@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alt.ya-5e0t5ys@yopmail.com
--- Comment #23 from John M. alt.ya-5e0t5ys@yopmail.com --- Created attachment 142740 --> https://bugs.freedesktop.org/attachment.cgi?id=142740&action=edit /sys/class/drm/card0/error
Hello,
Here's the error message I've got:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel drm/i915 developers can then reassign to the right component if it's not a kernel issue. [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it. [drm] GPU crash dump saved to /sys/class/drm/card0/error
>>>>>>>>>>>>>>>>>>>>>>>>>>>
The crash appeared when I tried to resize a gnome terminal window.
https://bugs.freedesktop.org/show_bug.cgi?id=104520
--- Comment #24 from Yoshinori Gento oss.linuxpf@furuno.co.jp --- I met the similar problem twice.
Environment is following. CPU: SkyLake(core i5 6500TE) Distribution: debian(customised) Kernel: 4.14.40 Mesa: 17.3.9 libdrm: 2.4.89
---- [197410.815921] [drm] GPU HANG: ecode 9:0:0x85dffffb, in drawingproc [2559], reason: Hang on rcs0, action: reset [197410.815927] i915 0000:00:02.0: Resetting rcs0 after gpu hang [197418.809902] i915 0000:00:02.0: Resetting rcs0 after gpu hang [197426.809904] i915 0000:00:02.0: Resetting rcs0 after gpu hang [197434.813910] i915 0000:00:02.0: Resetting rcs0 after gpu hang i965: Failed to submit batchbuffer: Input/output error [197442.813908] i915 0000:00:02.0: Resetting rcs0 after gpu hang ----
"i965: Failed to submit batchbuffer: Input/output error" was appeared in stderr by mesa linked by drawingproc.
https://bugs.freedesktop.org/show_bug.cgi?id=104520
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #25 from GitLab Migration User gitlab-migration@fdo.invalid --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/779.
dri-devel@lists.freedesktop.org