Bug 98466 - Unknown bug that hangs or crashes Xorg
Summary: Unknown bug that hangs or crashes Xorg
Status: CLOSED WORKSFORME
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 05:20 UTC by gabe
Modified: 2017-07-24 22:40 UTC (History)
1 user (show)

See Also:
i915 platform: SNB
i915 features: GPU hang


Attachments

Description gabe 2016-10-28 05:20:12 UTC
Had a nasty hang with today, did a journalctl -xe and got this:


...
kernel: [drm] GPU HANG: ecode 6:0:0x87e8fffd, in Xorg [294], reason: Hang on render ring, 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: drm/i915: Resetting chip after gpu hang
...

So here I am. Never reported a bug here before.

Here's the error dump:
https://gist.github.com/TheSqrtMinus1/ad1177a0758cbb368b1d2ca25ca50ae1


Let me know if you need any more information.
Comment 1 Chris Wilson 2016-10-28 07:23:52 UTC
The CS stopped executing commands (kept on streaming to the end). The last command it executed matches the tail of a context, but the last batchbuffer address is the MI_BATCH_BUFFER_END. It doesn't look to be anything in particular at fault; spontaneous combustion?

Most likely candidate is that the kernel broke a relocation.
Comment 2 Chris Wilson 2016-10-28 07:28:24 UTC
And what happens to Xorg? The compositing manager may die, but X should survive, along with all your data...
Comment 3 gabe 2016-10-28 07:47:13 UTC
xorg just hangs, screen freezes and mouse is movable through clicking on anything has no effect.

Didn't check if my composter died or not, didn't occur to me at the time.

Also, in regards to your "spontaneous combustion" comment, I don't think so, as this has happened multiple times before.
Comment 4 gabe 2016-12-03 05:35:25 UTC
uninstalling xf86-video-intel on arch fixes this. No idea why.
Comment 5 Chris Wilson 2016-12-03 09:04:20 UTC
It's just hiding the issue for now. It wasn't even the -intel batch that broke it...


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.