From: Chris Wilson Subject: Re: Bus error in _mesa_texstore_argb8888 Date: Fri, 24 Feb 2012 12:53:56 +0000 Message-ID: References: <1330079942.1847.109.camel@P560> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 902D79E83E for ; Fri, 24 Feb 2012 04:54:03 -0800 (PST) In-Reply-To: <1330079942.1847.109.camel@P560> 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: tomw@ubilix.com, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 24 Feb 2012 11:39:02 +0100, tomw wrote: > Hi, > > after loading quite some objects from a ClutterListModel into a > ClutterListView I'm running into a Bus error as soon as I try to render > the Listview. As far as I read the gdb output it happens either in > _mesa_texstore_argb8888. Pls. see the gdb trace below. Is there a way to > fix it by configuration or is it rather a bug in the code. I'm using the > latest Q4 stack on an i3-2100T. The Bus error only happens if the number > of objects exceeds a certain level (> ~70 objects with images and text). It's a bug in the driver in that it tries to use a GTT mapping on an 8k x 8k object which is the size of the mappable aperture and has no fallback to handle the failure to fault in the page for writing. Either mesa or the kernel needs to provide some form of trampolining for such large bo, or for the kernel to provide a mechanism to only map a rectangular part of the buffer. Alternatively, you can see if you can instruct clutter not to generate such large texture atlases, which is still a heuristic to second guess the driver... -Chris -- Chris Wilson, Intel Open Source Technology Centre