Re: [r300] CVS HEAD segfaults on r420

2006-03-09 Thread Rune Petersen

Aapo Tahkola wrote:

Missed these:
*WARN_ONCE*
File radeon_mm.c function radeon_mm_alloc line 182
Ran out of GART memory!
Please consider adjusting GARTSize option.
***
*WARN_ONCE*
File r300_ioctl.c function r300RefillCurrentDmaRegion line 629
Whops! Dont know how to evict VBOs yet.
***

Put:
Option "GARTSize" "64"

into "Device" section of xorg.conf and it should run just fine.

I admit that r300 driver shouldnt quit like that and I'm working on it.
That doesn't change the fact that not adjusting GARTSize will make r300 driver 
run at lowered performance.


You are right, I saw the backtrace and looked no further.





ut2004(demo):   
Texture corruption and eventual lockup.



The only hope on tracking down problem with your card is to be able to isolate 
it somehow.
Apps like ut2k4 & q3 are pretty complicated beasts to debug...

Good start would be to determine if the textures really get corrupted or if its 
a symptom of something else.
Mesa demos/tests would be good for this sort of thing but anything with less 
than 1k of code should do.



I have been using Mesa demos/tests, NeHe, and some Humus demos. Do you 
know of any more demos/tests?


Also would you be interested in a PASS/FAILED log of these?


Rune Petersen


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] CVS HEAD segfaults on r420

2006-03-08 Thread Aapo Tahkola
On Wed, 08 Mar 2006 20:30:14 +0100
Rune Petersen <[EMAIL PROTECTED]> wrote:

> Aapo Tahkola wrote:
> > On Tue, 07 Mar 2006 21:43:22 +0100
> > Rune Petersen <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Hi,
> >>
> >>Me again.
> >>
> >>Quite a few games segfault with the CVS HEAD, I tried disabling vbo 
> >>(//define HW_VBOS ) but didn't change anything.
> >>
> >>nwn:
> >>Quake3:
> >>ut2003(demo):
> >>ut2004(demo):   
> >>segfaults.
> > 
> > 
> > Should work now.
> > 
> It is better, but still problems.
> 
>   nwn:
>   Works without hw tcl, but texture corruption of curtain 
> objects 
> (nothing new..).
>   Quake3:
>   Working
>   ut2003(demo):
>   Menu works, game segfaults.

Missed these:
*WARN_ONCE*
File radeon_mm.c function radeon_mm_alloc line 182
Ran out of GART memory!
Please consider adjusting GARTSize option.
***
*WARN_ONCE*
File r300_ioctl.c function r300RefillCurrentDmaRegion line 629
Whops! Dont know how to evict VBOs yet.
***

Put:
Option "GARTSize" "64"

into "Device" section of xorg.conf and it should run just fine.

I admit that r300 driver shouldnt quit like that and I'm working on it.
That doesn't change the fact that not adjusting GARTSize will make r300 driver 
run at lowered performance.

>   ut2004(demo):   
>   Texture corruption and eventual lockup.

The only hope on tracking down problem with your card is to be able to isolate 
it somehow.
Apps like ut2k4 & q3 are pretty complicated beasts to debug...

Good start would be to determine if the textures really get corrupted or if its 
a symptom of something else.
Mesa demos/tests would be good for this sort of thing but anything with less 
than 1k of code should do.

-- 
Aapo Tahkola


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] CVS HEAD segfaults on r420

2006-03-08 Thread Rune Petersen

Aapo Tahkola wrote:

On Tue, 07 Mar 2006 21:43:22 +0100
Rune Petersen <[EMAIL PROTECTED]> wrote:



Hi,

Me again.

Quite a few games segfault with the CVS HEAD, I tried disabling vbo 
(//define HW_VBOS ) but didn't change anything.


nwn:
Quake3:
ut2003(demo):
ut2004(demo):   
segfaults.



Should work now.


It is better, but still problems.

nwn:
		Works without hw tcl, but texture corruption of curtain 			objects 
(nothing new..).

Quake3:
Working
ut2003(demo):
Menu works, game segfaults.
ut2004(demo):   
Texture corruption and eventual lockup.


ut2003 backtrace:
[ 1]  ./Core.so [0xa750c78a]
[ 2]  [0xe420]
[ 3]  ./Core.so(Destroy__7UObject+0x4b) [0xa74dfb5f]
[ 4]  ./Core.so(Destroy__7UStruct+0x3e) [0xa74924fa]
[ 5]  ./Core.so(Destroy__6UState+0x1e) [0xa7492ff2]
[ 6]  ./Core.so(Destroy__6UClass+0x162) [0xa74938a6]
[ 7]  ./Core.so(ConditionalDestroy__7UObject+0x3e) [0xa74dfdbe]
[ 8]  ./Core.so [0xa74f8277]
[ 9]  ./Core.so [0xa74fd4f5]
[10]  ./Core.so [0xa7487ee4]
[11]  ./Core.so [0xa752dc29]
[12]  /lib/ld-linux.so.2 [0xa7f762de]
[13]  /lib/tls/i686/cmov/libc.so.6(exit+0xc4) [0xa72df384]
[14] 
/usr/X11R6/lib/modules/dri//r300_dri.so(r300RefillCurrentDmaRegion+0x191) 
[0xa24609d8]
[15]  /usr/X11R6/lib/modules/dri//r300_dri.so(r300AllocDmaRegion+0xd6) 
[0xa2460bc2]

[16]  /usr/X11R6/lib/modules/dri//r300_dri.so [0xa247b5b1]
[17]  /usr/X11R6/lib/modules/dri//r300_dri.so(r300EmitArraysVtx+0x3fa) 
[0xa247d08a]
[18] 
/usr/X11R6/lib/modules/dri//r300_dri.so(r300_run_vb_render_vtxfmt_a+0x94) 
[0xa246d549]
[19] 
/usr/X11R6/lib/modules/dri//r300_dri.so(radeonDrawRangeElements+0x77c) 
[0xa245c83d]
[20] 
/home/runner/games/ut2003_demo/System/OpenGLDrv.so(DrawPrimitive__22FOpenGLRenderInterface14EPrimitiveType+0x373) 
[0xa478caeb]
[21] 
./Engine.so(Render__20FStaticMeshBatchListP10FSceneNodeP16FRenderInterface+0x2b2) 
[0xa78d0d66]
[22] 
./Engine.so(RenderLevel__FP15FLevelSceneNodeP16FRenderInterface+0x22df) 
[0xa78c3f23]
[23]  ./Engine.so(Render__15FLevelSceneNodeP16FRenderInterface+0x7a2) 
[0xa78a638a]
[24] 
./Engine.so(RenderLevel__FP15FLevelSceneNodeP16FRenderInterface+0x1fd3) 
[0xa78c3c17]
[25]  ./Engine.so(Render__15FLevelSceneNodeP16FRenderInterface+0x7a2) 
[0xa78a638a]
[26] 
./Engine.so(RenderLevel__FP15FLevelSceneNodeP16FRenderInterface+0x1fd3) 
[0xa78c3c17]
[27]  ./Engine.so(Render__15FLevelSceneNodeP16FRenderInterface+0x7a2) 
[0xa78a638a]
[28]  ./Engine.so(Render__16FPlayerSceneNodeP16FRenderInterface+0x330) 
[0xa78ab4ec]

[29]  ./Engine.so(Draw__11UGameEngineP9UViewportiPUcPi+0x3fe) [0xa77e308a]
[30] 
/home/runner/games/ut2003_demo/System/SDLDrv.so(Repaint__12USDLViewporti+0x33) 
[0xa47b493b]
[31] 
/home/runner/games/ut2003_demo/System/SDLDrv.so(Tick__10USDLClient+0x85) 
[0xa47b3365]

[32]  ./Engine.so(Tick__11UGameEnginef+0x31bd) [0xa77ea2e1]
[33]  ./ut2003-bin(SDL_SetVideoMode+0x969) [0x8051b1d]
[34]  ./ut2003-bin(main+0x328c) [0x8058b2c]
[35]  /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xa72c7eb0]
[36]  ./ut2003-bin(GetFullName__C7UObjectPw+0x7d) [0x80512d1]


Rune Petersen


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [r300] CVS HEAD segfaults on r420

2006-03-07 Thread Aapo Tahkola
On Tue, 07 Mar 2006 21:43:22 +0100
Rune Petersen <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Me again.
> 
> Quite a few games segfault with the CVS HEAD, I tried disabling vbo 
> (//define HW_VBOS ) but didn't change anything.
> 
>   nwn:
>   Quake3:
>   ut2003(demo):
>   ut2004(demo):   
>   segfaults.

Should work now.

-- 
Aapo Tahkola


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


[r300] CVS HEAD segfaults on r420

2006-03-07 Thread Rune Petersen

Hi,

Me again.

Quite a few games segfault with the CVS HEAD, I tried disabling vbo 
(//define HW_VBOS ) but didn't change anything.


nwn:
Quake3:
ut2003(demo):
ut2004(demo):   
segfaults.

scorched3d:
neverball/putt:
x-moto:
working.


ut2003 gave me this trace:
[ 1]  ./Core.so [0xa74fa78a]
[ 2]  [0xe420]
[ 3] 
/home/runner/games/ut2003_demo/System/OpenGLDrv.so(DrawPrimitive__22FOpenGLRenderInterface14EPrimitiveType+0x373) 
[0xa477aaeb]
[ 4] 
./Engine.so(DrawSection__FP11UStaticMeshiP9UMaterialP16FRenderInterface+0x6f) 
[0xa78bf9d3]
[ 5] 
./Engine.so(RenderStaticMesh__FP13FDynamicActorP15FLevelSceneNodePt5TList1ZP13FDynamicLightPt5TList1ZP20FProjectorRenderInfoP16FRenderInterface+0x1ea2) 
[0xa78c1fd2]
[ 6] 
./Engine.so(Render__13FDynamicActorP15FLevelSceneNodePt5TList1ZP13FDynamicLightPt5TList1ZP20FProjectorRenderInfoP16FRenderInterface+0x3a9) 
[0xa788cd4d]

[ 7]  ./Engine.so [0xa78acc81]
[ 8] 
./Engine.so(RenderLevel__FP15FLevelSceneNodeP16FRenderInterface+0x22be) 
[0xa78b1f02]
[ 9]  ./Engine.so(Render__15FLevelSceneNodeP16FRenderInterface+0x7a2) 
[0xa789438a]
[10]  ./Engine.so(Render__16FPlayerSceneNodeP16FRenderInterface+0x330) 
[0xa78994ec]

[11]  ./Engine.so(Draw__11UGameEngineP9UViewportiPUcPi+0x3fe) [0xa77d108a]
[12] 
/home/runner/games/ut2003_demo/System/SDLDrv.so(Repaint__12USDLViewporti+0x33) 
[0xa47a293b]
[13] 
/home/runner/games/ut2003_demo/System/SDLDrv.so(Tick__10USDLClient+0x85) 
[0xa47a1365]

[14]  ./Engine.so(Tick__11UGameEnginef+0x31bd) [0xa77d82e1]
[15]  ./ut2003-bin(SDL_SetVideoMode+0x969) [0x8051b1d]
[16]  ./ut2003-bin(main+0x328c) [0x8058b2c]
[17]  /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0) [0xa72b5eb0]
[18]  ./ut2003-bin(GetFullName__C7UObjectPw+0x7d) [0x80512d1]


Rune Petersen


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel