From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: i915_hangcheck_hung problem with 3.8-rc2+ (Linus's latest tree) Date: Mon, 14 Jan 2013 12:47:46 +0000 Message-ID: <1f4a33$5m0jfk@AZSMGA002.ch.intel.com> References: <20130108223611.GA19672@kroah.com> <20130109003824.GA21075@kroah.com> <20130109042533.GA9164@kroah.com> <50ED1C12.2090608@gmail.com> <50EDC8A1.30307@oracle.com> <50EDCF14.4080101@oracle.com> <8738y7skae.fsf@redhat.com> <87obgsl08a.fsf@redhat.com> <878v7w14dn.fsf@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id 273FAE5BF3 for ; Mon, 14 Jan 2013 04:47:53 -0800 (PST) In-Reply-To: <878v7w14dn.fsf@redhat.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: Nikola Pajkovsky , Daniel Vetter Cc: Lijo Antony , Greg KH , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dave Kleikamp List-Id: intel-gfx@lists.freedesktop.org On Mon, 14 Jan 2013 10:49:08 +0100, Nikola Pajkovsky wrote: > Daniel Vetter writes: > > > On Mon, Jan 14, 2013 at 7:58 AM, Nikola Pajkovsky wrote: > >> Daniel Vetter writes: > >> > >>> On Fri, Jan 11, 2013 at 6:26 PM, Nikola Pajkovsky wrote: > >>>> bug still kicking even w/ (drm/i915: Revert shrinker changes from "Track > >>>> unbound pages") > >>> > >>> Could be a different bug, can you please attach the error_state somewhere? > >> > >> yep, i915_error_state is attached. btw, I'm going to bisect kernel, so > >> hopefully I will bring some commit. > > > > Different bug, on a quick lock this could be a dupe of > > https://bugzilla.kernel.org/show_bug.cgi?id=52311 > > ok > > > Chris should know the details. > > thanks, bisection leads me to commit d7d4eed ("drm/i915: Allow > DRM_ROOT_ONLY|DRM_MASTER to submit privileged batchbuffers). It's not > possible to simply revert/test commit and I have no idea how i915 works. > > Chris any ideas? Userspace is failing to prepare the GPU to execute a WAIT_FOR_EVENT command, which it can only try if the kernel allows execution of privileged batch buffers. Option "SwapbuffersWait" "false" in xorg.conf will prevent the ddx from issuing the hanging command sequence. It is not clear yet what the missing ingredient is, I suspect the ddx needs to be more careful about not setting conditions that can never be met. -Chris -- Chris Wilson, Intel Open Source Technology Centre