From: Chris Wilson Subject: Re: [PATCH] Disable DRI2 if we are running on shadowfb Date: Wed, 22 Sep 2010 13:17:07 +0100 Message-ID: <8u3s8d$jlbce9@orsmga001.jf.intel.com> References: <1285156047-21138-1-git-send-email-jcristau@debian.org> 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 EA5DA9EF94 for ; Wed, 22 Sep 2010 05:17:10 -0700 (PDT) In-Reply-To: <1285156047-21138-1-git-send-email-jcristau@debian.org> 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: Julien Cristau , krh@bitplanet.net Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 22 Sep 2010 13:47:27 +0200, Julien Cristau wrote: > Without this change, DRI2 gets enabled but doesn't work and glxinfo > crashes my X server. Like this? ==2989== Invalid write of size 4 ==2989== at 0x48CE6E5: DrawableGone (glxext.c:169) ==2989== by 0x809F401: FreeResource (resource.c:601) ==2989== by 0x80845CE: ProcDestroyWindow (dispatch.c:733) ==2989== by 0x8087D76: Dispatch (dispatch.c:432) ==2989== by 0x8066439: main (main.c:291) ==2989== Address 0x55a9c1c is 76 bytes inside a block of size 88 free'd ==2989== at 0x4023B6A: free (vg_replace_malloc.c:366) ==2989== by 0x48D9DD8: __glXDRIcontextDestroy (glxdri2.c:250) ==2989== by 0x48CE1A0: __glXFreeContext (glxext.c:222) ==2989== by 0x48CE786: DrawableGone (glxext.c:165) ==2989== by 0x809F401: FreeResource (resource.c:601) ==2989== by 0x80845CE: ProcDestroyWindow (dispatch.c:733) ==2989== by 0x8087D76: Dispatch (dispatch.c:432) ==2989== by 0x8066439: main (main.c:291) Kristian, I know how much you enjoy fixing these... You probably already have a patch. ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre