From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: xrandr crashes X with a "GPU hung" in the i915 driver Date: Fri, 05 Nov 2010 09:16:08 +0000 Message-ID: <849307$a90avh@azsmga001.ch.intel.com> References: 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 3B6CC9E760 for ; Fri, 5 Nov 2010 02:16:12 -0700 (PDT) In-Reply-To: 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: Bryan Freed , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, 4 Nov 2010 17:12:31 -0700, Bryan Freed wrote: > I have a situation where unplugging an external monitor and running an > xrandr sequence to return the screen to the internal display sometimes > causes the i915 driver to wig out. > > In perusing the intel-gfx archives, I see > http://lists.freedesktop.org/archives/intel-gfx/2010-May/006957.html makes a > reference to "commit 9f54107f866a25cf670f81f7c52b8c108728c6a5", but I do not > see that commit in the drm-intel kernel. I am looking at git:// > git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git. Is this not > the right repo? That's in the DDX to fix up an X crash in swapbuffers. To debug GPU hangs you'll want to decode /sys/kernel/debug/dri/0/i915_error_state. -Chris -- Chris Wilson, Intel Open Source Technology Centre