Bug 92167

Summary: GPU hangs on opening chromium
Product: DRI Reporter: Eli Edrian Tan <eliedrian1996>
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, Manuel.h87, senior-pimiento
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: SNB i915 features: GPU hang
Attachments:
Description Flags
Full journalctl output
none
Gpu crash log
none
Gpu crash log none

Description Eli Edrian Tan 2015-09-28 17:43:40 UTC
Created attachment 118498 [details]
Full journalctl output

On running startx to start i3, the system becomes unresponsive for a while (except for the mouse cursor). When the system finally becomes responsive, upon opening chromium X crashes. The logs contain references to the gpu hanging too fast

Steps to reproduce:
1) run startx from a tty

2) attempt to start chromium

Actual results:
chromium hangs (does not even draw its contents), and X crashes.

Expected:
chromium starts up, with no hangs.

Hardware and Build:
Intel HD Graphics 3000, i915, Arch Linux

Additional information:
I have isolated the problem to the latest xorg-xinit package on Arch Linux (1.3.4-3). Downgrading to 1.3.4-2 resolves this problem. I do not think it is a packaging error, so I reported the bug here, and not on Arch's bug tracker. Attached is a full log containing the gpu hanging messages.
Comment 1 Chris Wilson 2015-09-29 07:13:51 UTC
Sep 29 00:49:40 mithrandir kernel: [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Sep 29 00:49:40 mithrandir kernel: [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Sep 29 00:49:40 mithrandir kernel: [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Sep 29 00:49:40 mithrandir kernel: [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
Sep 29 00:49:40 mithrandir kernel: [drm] GPU crash dump saved to /sys/class/drm/card0/error
Comment 2 Eli Edrian Tan 2015-09-29 12:51:55 UTC
Another issue, now the gpu crashes with the downgraded package. Attaching gpu error log.
Comment 3 Eli Edrian Tan 2015-09-29 13:32:10 UTC
Created attachment 118519 [details]
Gpu crash log
Comment 4 Eli Edrian Tan 2015-09-29 13:48:39 UTC
Created attachment 118520 [details]
Gpu crash log

Uploaded a wrong file
Comment 5 Eli Edrian Tan 2015-09-29 14:01:07 UTC
Chromium doesn't crash if AccelMethod is switched to UXA, however the GPU is still reporting to have crashed.
Comment 6 Chris Wilson 2015-09-30 09:59:33 UTC
*** Bug 92190 has been marked as a duplicate of this bug. ***
Comment 7 Eli Edrian Tan 2015-09-30 15:27:52 UTC
Switching back to the default (SNA) and rebooting seems to fix the problem temporarily. Turning the laptop off for a while seems to cause this hanging to come back.
Comment 8 yann 2016-09-27 13:38:39 UTC
(In reply to Eli Edrian Tan from comment #7)
> Switching back to the default (SNA) and rebooting seems to fix the problem
> temporarily. Turning the laptop off for a while seems to cause this hanging
> to come back.

We seem to have neglected the bug a bit, apologies.

Hang is not happening in render ring so updating your kernel may fix the issue here.

Indeed, there were improvements pushed in kernel and Mesa that will benefit to your system, so please re-test with latest kernel & Mesa to see if this issue is still occurring.
Comment 9 yann 2016-11-18 12:51:37 UTC
(In reply to yann from comment #8)
> (In reply to Eli Edrian Tan from comment #7)
> > Switching back to the default (SNA) and rebooting seems to fix the problem
> > temporarily. Turning the laptop off for a while seems to cause this hanging
> > to come back.
> 
> We seem to have neglected the bug a bit, apologies.
> 
> Hang is not happening in render ring so updating your kernel may fix the
> issue here.
> 
> Indeed, there were improvements pushed in kernel and Mesa that will benefit
> to your system, so please re-test with latest kernel & Mesa to see if this
> issue is still occurring.

Timeout. Assuming that it is fixed by now. If this is not the case, please re-test with latest kernel & Mesa (12-13) to see if this issue is still occurring since there were improvements pushed in kernel and Mesa that will benefit to your system.

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.