On Wed, 25 Nov 2009 22:38:30 +0100, Dariush Forouher <dari...@forouher.de> 
wrote:
> Hi everyone,
> 
> applications using the ogre3d library (www.ogre3d.org) only show
> black screens instead of fancy 3D graphics on current 2.6.32-rc8.
> On 2.6.31 they worked fine.
> 
> In the error case the kernel reports errors like this:
> 
> [drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target
> object bounds: obj ffff8800d74c3b40 target 91 delta 4096 size 4096.
[...]
> I bisected it down to the following commit:
> 
> commit cd0b9fb400ba775737bdc3874c4cbee4047e66d8
> Author: Chris Wilson <ch...@chris-wilson.co.uk>
> Date:   Tue Sep 15 23:23:18 2009 +0100
> 
>     drm/i915: Check that the relocation points to within the target

[...]

> Reverting the commit manually makes the problem disappear.
> 
> cheers
> Dariush
> 
> 
> Platform: AMD64
> Distro: Debian testing
> GPU: Intel 965GM
> xserver: 1.6.5
> xorg-intel: 2.9.0
> libdrm: 2.4.14
> OGRE: 1.6.4

You didn't mention the most important software version for 3D issues:
that of Mesa.  There were bugs there that this safety check caught.

commit a82da7fa263c7fb6b902285994136890e6dc3278
Author: Eric Anholt <e...@anholt.net>
Date:   Sun Oct 11 11:04:09 2009 -0700

    i965: Fix the bounds emitted in the vertex buffer packets.
    
    It's the address of the last valid byte, not the address of the first
    invalid byte.
    
    This should also fix problems with rendering with the new sanity checks in
    the kernel.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to