Re: [BUG][BISECTED][RESENT] Ogre3d produces black screen on Intel 965GM

2009-12-06 Thread Dariush Forouher
Eric Anholt schrieb:

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

You're right, Mesa 7.6.1rc1 fixes the issue for me (as well as at least
one other problem I didn't even assume to be related :)

Thanks for the info!

ciao
Dariush


--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [BUG][BISECTED][RESENT] Ogre3d produces black screen on Intel 965GM

2009-11-30 Thread Eric Anholt
On Wed, 25 Nov 2009 22:38:30 +0100, Dariush Forouher  
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 8800d74c3b40 target 91 delta 4096 size 4096.
[...]
> I bisected it down to the following commit:
> 
> commit cd0b9fb400ba775737bdc3874c4cbee4047e66d8
> Author: Chris Wilson 
> 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 
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


[BUG][BISECTED][RESENT] Ogre3d produces black screen on Intel 965GM

2009-11-26 Thread Dariush Forouher
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 8800d74c3b40 target 91 delta 4096 size 4096.
[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffer 105 of 105, total
8699904 bytes: -22
[drm:i915_gem_execbuffer] *ERROR* 1172 objects [109 pinned], 57942016
object bytes [24915968 pinned], 55570432/260308992 gtt bytes
[drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target
object bounds: obj 8800d74c3b40 target 12 delta 16384 size 16384.
[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffer 26 of 26, total
6688768 bytes: -22
[drm:i915_gem_execbuffer] *ERROR* 1172 objects [30 pinned], 57942016
object bytes [22904832 pinned], 55570432/260308992 gtt bytes
[drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target
object bounds: obj 8800d74c3b40 target 101 delta 4096 size 4096.
[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffer 26 of 26, total
5009408 bytes: -22
[drm:i915_gem_execbuffer] *ERROR* 1173 objects [30 pinned], 58204160
object bytes [21225472 pinned], 55832576/260308992 gtt bytes
[drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target
object bounds: obj 8800d74c3b40 target 18 delta 4096 size 4096.
[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffer 23 of 23, total
4550656 bytes: -22
[drm:i915_gem_execbuffer] *ERROR* 1173 objects [27 pinned], 58204160
object bytes [20766720 pinned], 55832576/260308992 gtt bytes
[drm:i915_gem_object_pin_and_relocate] *ERROR* Relocation beyond target
object bounds: obj 8800d74c3b40 target 91 delta 4096 size 4096.
[drm:i915_gem_execbuffer] *ERROR* Failed to pin buffer 133 of 133, total
7897088 bytes: -22


I bisected it down to the following commit:

commit cd0b9fb400ba775737bdc3874c4cbee4047e66d8
Author: Chris Wilson 
Date:   Tue Sep 15 23:23:18 2009 +0100

drm/i915: Check that the relocation points to within the target

Eric noted a potential concern with the low bits not being strictly used
as part of the absolute offset (instead part of the command stream
to the
GPU), but in practice that should not be an issue.

Signed-off-by: Chris Wilson 
Tested-by: Andy Whitcroft 
Cc: Eric Anholt 
CC: sta...@kernel.org
Signed-off-by: Jesse Barnes 



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

--
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