Bug 40075 - [Sandybridge] GPU Lockup in Pioneer (and other games)
Summary: [Sandybridge] GPU Lockup in Pioneer (and other games)
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: 7.10
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Ian Romanick
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-14 04:15 UTC by Benjamin Hodgetts
Modified: 2012-06-06 17:22 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Error State Log (317.62 KB, application/x-gzip)
2011-08-14 04:15 UTC, Benjamin Hodgetts
Details

Description Benjamin Hodgetts 2011-08-14 04:15:25 UTC
Created attachment 50196 [details]
Error State Log

Version is actually 7.11 but it's not in the list for some reason.

The GPU will randomly lock up whilst playing games, in this example the game is Pioneer (http://pioneerspacesim.net/). Morrowind also does it (through Wine). SuperTuxKart less often.

Hardware is an Intel i7 2630QM (HD3000 I believe).

Dmesg shows:
[ 4366.061583] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[ 4366.061604] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
[ 4366.088401] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 756796 at 756789, next 756797)
[ 6304.438339] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[ 6304.438387] [drm:i915_wait_request] *ERROR* i915_wait_request returns -11 (awaiting 2310667 at 2310465, next 2310668)

Output of /debug/dri/0/i915_error_state is attached.

To recreate, just simply fly around (the more graphically intensive the better it seems, such as Spaceports where there are lots of buildings on the planet).
Comment 1 Joel 2011-10-25 03:40:19 UTC
This was probably fixed by

commit 3cc0a7be23ab603ed40d602595f673a44e079885
Author: Kenneth Graunke <kenneth@whitecape.org>
Date:   Fri Oct 21 01:03:37 2011 -0700

    i965: Apply post-sync non-zero workaround to homebrew workaround.

    In commit 3e5d3626, Eric added a homebrew workaround to fix GPU hangs in
    the Mesa "engine" demo and oglc's api-texcoord test.

    Unfortunately, his PIPE_CONTROL contains a Depth Stall, which
    necessitates the post-sync non-zero workaround,

    Fixes GPU hangs in Civilization 4, PlaneShift, and 3DMMES.
    Hopefully Heroes of Newerth as well, though I haven't tested that.

    NOTE: This is candidate for the 7.11 branch.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40324
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41096
    Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
    Reviewed-and-tested-by: Eric Anholt <eric@anholt.net>
Comment 2 Kenneth Graunke 2012-06-06 17:22:29 UTC
Benjamin's attached error state certainly does look like that bug.  I imagine it's fixed in Mesa 8.  Feel free to reopen if it doesn't work with Mesa 8.x and a recent kernel.


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.