From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: 945gm: xrandr crashes X Date: Tue, 25 May 2010 09:10:46 +0100 Message-ID: <89khjo$fgqurt@orsmga002.jf.intel.com> References: <201005251039.00102.anarsoul@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id B054B9E710 for ; Tue, 25 May 2010 01:10:49 -0700 (PDT) In-Reply-To: <201005251039.00102.anarsoul@gmail.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: Vasily Khoruzhick , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, 25 May 2010 10:38:51 +0300, Vasily Khoruzhick wrote: > Hi, after upgrade to 2.6.34 kernel I'm unable to configure external VGA > monitor anymore, any attempt to use xrandr results in X crash with following > message: > > X: intel_bufmgr_gem.c:900: drm_intel_gem_bo_unreference_locked_timed: > Assertion `((&bo_gem->refcount)->atomic) > 0' failed. > > There's a bug entry in gentoo bugzilla, however they blame xorg-server, but > xorg-server-1.8.x works for me with 2.6.33.x kernel: > > http://bugs.gentoo.org/show_bug.cgi?id=318743 > > Is it known/fixed issue, or should I file a new bug on fd.o bugzilla? commit 9f54107f866a25cf670f81f7c52b8c108728c6a5 Author: Chris Wilson Date: Tue May 11 14:55:16 2010 +0100 dri2: Handle reference counting across page flipping 1. Instead of swapping bos, swap the entire private structure. 2. If we update the pixmap bo for the Screen, make sure we update the reference inside intel->front_buffer so that xrandr still functions. Fixes: Bug 27922 - i965: Rapidly resizing OpenGL window causes GPU to hang. https://bugs.freedesktop.org/show_bug.cgi?id=27922 -- Chris Wilson, Intel Open Source Technology Centre