From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Graunke Subject: Re: Question about how to troubleshoot sandybridge kernel opps and subsequest GPU lockup Date: Mon, 24 Oct 2011 19:43:44 -0700 Message-ID: <4EA62260.3070609@whitecape.org> References: <20111024024822.GA5123@mindspring.com> <20111024041219.GA7575@mindspring.com> <20111024064656.GA2908@phenom.ffwll.local> <20111025005749.GA2477@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from homiemail-a60.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by gabe.freedesktop.org (Postfix) with ESMTP id 54F849EEEE for ; Mon, 24 Oct 2011 19:42:37 -0700 (PDT) In-Reply-To: <20111025005749.GA2477@mindspring.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: jleu@mindspring.com Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 10/24/2011 05:58 PM, James R. Leu wrote: > Debug output attached You're in luck! I fixed this GPU hang today in Mesa master. This commit fixes the hang: commit 3cc0a7be23ab603ed40d602595f673a44e079885 Author: Kenneth Graunke 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 Reviewed-and-tested-by: Eric Anholt I'm planning on cherry-picking it to the 7.11 branch in the next few days, so it ought to make the upcoming 7.11.1 release.