Bug 98976 - [HSW] GPU HANG: ecode 7:0:0x86dfbff9, in Xorg [376], reason: Hang on render ring, action: reset
Summary: [HSW] GPU HANG: ecode 7:0:0x86dfbff9, in Xorg [376], reason: Hang on render r...
Status: RESOLVED NOTOURBUG
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Khoa Cao
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-02 20:08 UTC by Tim Falletta Abraldes
Modified: 2017-01-18 14:06 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
/sys/class/drm/card0/error (1.08 MB, text/plain)
2016-12-02 20:08 UTC, Tim Falletta Abraldes
Details
/sys/class/drm/card0/error (897.50 KB, text/plain)
2016-12-09 19:57 UTC, Matthieu
Details
/sys/class/drm/card0/error (1.19 MB, text/plain)
2017-01-17 14:12 UTC, Khoa Cao
Details
~/.local/share/xorg/Xorg.0.log (29.81 KB, text/x-log)
2017-01-18 04:38 UTC, Khoa Cao
Details

Description Tim Falletta Abraldes 2016-12-02 20:08:12 UTC
Created attachment 128312 [details]
/sys/class/drm/card0/error

On my Lenovo Thinkpad T440s
Comment 1 Matt Turner 2016-12-02 23:44:25 UTC
Were you doing something in particular? Is there a way to reproduce the hang?

If there's not a way to reproduce, there's not much we can do...
Comment 2 Tim Falletta Abraldes 2016-12-03 00:11:25 UTC
I opened my laptop lid after having closed it <30m prior, then experienced the crash. Logs told me to file a bug, so I followed the instructions. Feel free to close if this isn't actionable!
Comment 3 Mark Janes 2016-12-04 16:01:17 UTC
Which distribution are you using?  I experienced a similar bug, which I attributed to:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1566302

Upstream public kernel worked fine for me.
Comment 4 Tim Falletta Abraldes 2016-12-05 19:41:17 UTC
> Which distribution are you using?

I'm using Arch Linux

uname -srvpio:
Linux 4.8.7-1-ARCH #1 SMP PREEMPT Thu Nov 10 17:22:48 CET 2016 unknown unknown GNU/Linux

> Which distribution are you using?  I experienced a similar bug, which I
> attributed to:
> 
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1566302
> 
> Upstream public kernel worked fine for me.

Thanks for the link and additional info! I've only experienced this issue once, but if it becomes more persistent I'll consider progressively stronger interventions.
Comment 5 Matthieu 2016-12-09 19:57:02 UTC
Created attachment 128398 [details]
/sys/class/drm/card0/error
Comment 6 Matthieu 2016-12-09 20:02:27 UTC
I've the same trouble on an up-to-date Debian Testing x64 running on an Intel(R) Core(TM) i3-2125 CPU's GPU.
I've notice this bug since less than a week.
Here is the dmesg:
[ 8598.205058] [drm] GPU HANG: ecode 6:0:0xc2fffffc, in Xorg [729], reason: Hang on render ring, action: reset
[ 8598.205060] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 8598.205060] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 8598.205060] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 8598.205060] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 8598.205061] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 8598.205099] drm/i915: Resetting chip after gpu hang

And I've attached the error file as asked.
No specific action, maybe webpage changing on Vivaldi.

uname -a
Linux Cube 4.8.0-1-amd64 #1 SMP Debian 4.8.7-1 (2016-11-13) x86_64 GNU/Linux
Comment 7 Mark Janes 2016-12-09 20:05:38 UTC
Matthieu,  many Xorg gpu hangs have been fixed by a recent patch to xf86-video-intel.

Can you reproduce this with the modesetting DDX?  If not, you can stick with modesetting or update to the tip of xf86-video-intel.

see also: https://bugs.freedesktop.org/show_bug.cgi?id=93166
Comment 8 Khoa Cao 2017-01-17 14:05:07 UTC
(In reply to Mark Janes from comment #7)
> Matthieu,  many Xorg gpu hangs have been fixed by a recent patch to
> xf86-video-intel.
> 
> Can you reproduce this with the modesetting DDX?  If not, you can stick with
> modesetting or update to the tip of xf86-video-intel.
> 
> see also: https://bugs.freedesktop.org/show_bug.cgi?id=93166

Another user with the same error code here. Can confirm this happens with the use of modesetting with glamor. If I install xf86-video-intel the error is gone.

Because it's the same ecode and error message so I'm just gonna describe my bug here: whenever I perform a suspend to RAM/disk and resume from it, the screen hangs & dumps back to the login prompt with the same ecode and error message as the original reporter.

My GPU crash dump is attached. Additional info can be provided when required.

OS: Arch Linux x86_64
Kernel: 4.8.13-1-ARCH
CPU: Intel i7-4700HQ (8) @ 3.4GHz
Comment 9 Khoa Cao 2017-01-17 14:12:44 UTC
Created attachment 129000 [details]
/sys/class/drm/card0/error
Comment 10 Mark Janes 2017-01-17 17:04:59 UTC
Khoa:  thank you for the confirmation.  Can you please attach your Xorg log after reproducing the same hang with Linux 4.9 and Mesa 13.0.3?
Comment 11 Khoa Cao 2017-01-17 17:15:06 UTC
(In reply to Mark Janes from comment #10)
> Khoa:  thank you for the confirmation.  Can you please attach your Xorg log
> after reproducing the same hang with Linux 4.9 and Mesa 13.0.3?

Should I update manually to Linux 4.9? Because the version is currently on Arch 'testing' repo
Comment 12 Mark Janes 2017-01-17 19:51:50 UTC
The Arch testing repo version is fine.
Comment 13 Khoa Cao 2017-01-18 04:38:09 UTC
(In reply to Mark Janes from comment #12)
> The Arch testing repo version is fine.

Just did an upgrade to 'linux 4.9.4-1' and 'linux-firmware 20161222.4b9559f-2' from the testing repo & seems like the problem is fixed. There's no more crash after resuming from suspend using modesetting's glamor. Anyway, Xorg log is attached.
Comment 14 Khoa Cao 2017-01-18 04:38:46 UTC
Created attachment 129015 [details]
~/.local/share/xorg/Xorg.0.log
Comment 15 Mark Janes 2017-01-18 14:06:20 UTC
Khoa, thank you for this information.  It will help other users encountering the same issue.


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.