Bug 81936

Summary: [HSW] GPU crash after idle with Camera APP cheese opend
Product: DRI Reporter: EvaWang <evawang>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: CLOSED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
/var/log/messages and /sys/class/drm/card0/error
none
kernel 3.16-rc7 messages and error
none
kernel 3.16-rc7 dmesg and error before reboot none

Description EvaWang 2014-07-31 03:37:24 UTC
Created attachment 103711 [details]
/var/log/messages and /sys/class/drm/card0/error

System hang(GPU crash) after idle with Camera APP cheese opened.

Reproduce steps: 

1. Enter to Linpus Linux OS.
2. Open camera application:cheese.
3. idle for about 1 hours or more times.
4. System hang up.

Hardware: Lenovo G7070 HSW
kernel: 3.13.0

please refer /var/log/messages and GPU crash dump error.

if you need any other information, please let me known. Thanks!
Comment 1 EvaWang 2014-07-31 10:13:52 UTC
Just verified kernel 3.14 and latest kernel 3.16-rc7. the issue still happen.

below is the message with kernel 3.16-rc7, and please find the messags and error from attachment
Jul 30 21:46:11 localhost systemd[1]: serial-getty@ttyS0.service holdoff time over, scheduling restart.
Jul 30 21:46:15 localhost kernel: [  453.908073] [drm] stuck on render ring
Jul 30 21:46:15 localhost kernel: [  453.909226] [drm] GPU HANG: ecode 0:0x87d3bffa, in cheese [4585], reason: Ring hung, action: reset
Jul 30 21:46:15 localhost kernel: [  453.909232] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Jul 30 21:46:15 localhost kernel: [  453.909233] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Jul 30 21:46:15 localhost kernel: [  453.909234] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Jul 30 21:46:15 localhost kernel: [  453.909235] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Jul 30 21:46:15 localhost kernel: [  453.909236] [drm] GPU crash dump saved to /sys/class/drm/card0/error
Jul 30 21:46:21 localhost systemd[1]: serial-getty@ttyS0.service holdoff time over, scheduling restart.
Jul 30 21:46:31 localhost systemd[1]: serial-getty@ttyS0.service holdoff time over, scheduling restart.
Jul 30 21:46:41 localhost systemd[1]: serial-getty@ttyS0.service holdoff time over, scheduling restart.
Jul 30 21:46:51 localhost systemd[1]: serial-getty@ttyS0.service holdoff time over, scheduling restart.
Jul 30 21:47:01 localhost kernel: [  499.923310] [drm] stuck on render ring
Jul 30 21:47:01 localhost kernel: [  499.924446] [drm] GPU HANG: ecode 0:0x87d3bffa, in cheese [4585], reason: Ring hung, action: reset
Comment 2 EvaWang 2014-07-31 10:15:23 UTC
Created attachment 103747 [details]
kernel 3.16-rc7 messages and error
Comment 3 Chris Wilson 2014-07-31 12:03:46 UTC
You to collect the error state before rebooting otherwise it is lost.
Comment 4 EvaWang 2014-08-01 00:57:53 UTC
Created attachment 103774 [details]
kernel 3.16-rc7 dmesg and error before reboot

attached the dmesg and error before reboot with kernel 3.16-rc7. please check it. Thanks!
Comment 5 EvaWang 2014-08-05 08:49:24 UTC
Hi Chris Wilson,

From the dmesg and error log, is it related to intel vga driver? if not, could you give some suggestion for the issue.

The project is urgent, could you help to update the issue? Thanks a lot!
Comment 6 EvaWang 2014-08-20 04:02:57 UTC
It seems only happens on the VGA ID: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a06] (rev 0b)

Do you have any suggestion for the issue? Thanks!
Comment 7 Damien Lespiau 2014-12-05 13:36:35 UTC
Hi,

Which version of mesa do you have? have you tried to upgrade it?
Comment 8 Chris Wilson 2014-12-21 19:52:47 UTC
commit 2c550183476dfa25641309ae9a28d30feed14379
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Dec 16 10:02:27 2014 +0000

    drm/i915: Disable PSMI sleep messages on all rings around context switches

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.