This is pretty much a followup to Adam Kirchhoff's bug report.

Adam reported that UT2003 patch level 2186 failed with the latest dri
trunk on his Radeon 8500 and gave the traceback reported by UT2003.
I've noticed that more information is contained within
~/.ut2003/System/UT2003.log

Using the debs at http://people.debian.org/~daenzer/dri-trunk-sid/ on
Debian unstable and the latest demo release of UT2003 (v2206 -- which
is purported to not need S3TC extensions), I get the following
traceback reported by UT2003:

phil@trigger /scratch/phil/ut2k3/demo >./ut2003_demo          
Xlib:  extension "XiG-SUNDRY-NONSTANDARD" missing on display ":0.0".

Backtrace:
[ 1]  ./Core.so [0x40a0478a]
[ 2]  /lib/libpthread.so.0 [0x40d8775a]
[ 3]  /lib/libc.so.6 [0x40bb39d8]
[ 4]  /usr/X11R6/lib/modules-dri-trunk/dri/mga_dri.so [0x43f55bb9]
[ 5]  /usr/X11R6/lib/modules-dri-trunk/dri/mga_dri.so [0x43f3e4f1]
[ 6]  /usr/X11R6/lib/modules-dri-trunk/dri/mga_dri.so [0x43f31fb7]
[ 7]  
/scratch/phil/ut2k3/demo/System/OpenGLDrv.so(DrawPrimitive__22FOpenGLRenderInterface14EPrimitiveTypeiiii+0x373)
[0x430b0aeb]
[ 8]  ./Engine.so(DrawSection__FP11UStaticMeshiP9UMaterialP16FRenderInterface+0x6f)
[0x403739d3]
[ 9]  
./Engine.so(RenderStaticMesh__FP13FDynamicActorP15FLevelSceneNodePt5TList1ZP13FDynamicLightPt5TList1ZP20FProjectorRenderInfoP16FRenderInterface+0x1ea2)
[0x40375fd2]
[10]  
./Engine.so(Render__13FDynamicActorP15FLevelSceneNodePt5TList1ZP13FDynamicLightPt5TList1ZP20FProjectorRenderInfoP16FRenderInterface+0x3a9)
[0x40340d4d]
[11]  ./Engine.so [0x40360c81]
[12]  ./Engine.so(RenderLevel__FP15FLevelSceneNodeP16FRenderInterface+0x22be)
[0x40365f02]
[13]  ./Engine.so(Render__15FLevelSceneNodeP16FRenderInterface+0x7a2)
[0x4034838a]
[14]  ./Engine.so(Render__16FPlayerSceneNodeP16FRenderInterface+0x330)
[0x4034d4ec]
[15]  ./Engine.so(Draw__11UGameEngineP9UViewportiPUcPi+0x848)
[0x402854d4]
[16]  /scratch/phil/ut2k3/demo/System/SDLDrv.so(Repaint__12USDLViewporti+0x33)
[0x4307193b]
[17]  /scratch/phil/ut2k3/demo/System/SDLDrv.so(Tick__10USDLClient+0x85)
[0x43070365]
[18]  ./Engine.so(Tick__11UGameEnginef+0x31bd) [0x4028c2e1]
[19]  ./ut2003-bin(SDL_SetVideoMode+0x969) [0x8051b1d]
[20]  ./ut2003-bin(main+0x328c) [0x8058b2c]
[21]  /lib/libc.so.6(__libc_start_main+0xdd) [0x40ba2a51]
[22]  ./ut2003-bin(GetFullName__C7UObjectPw+0x7d) [0x80512d1]
Signal: SIGSEGV [segmentation fault]
Aborting.

In ~/.ut2003/System/UT2003.log is the following:

[snip]
Init: Input system initialized for SDLViewport
Log: Enter SetRes: 800x600 Fullscreen 1
Log: OpenGL
Init: GL_VENDOR     : VA Linux Systems Inc.
Init: GL_RENDERER   : Mesa DRI G400 20021125 AGP 4x x86/MMX/3DNow!/SSE
Init: GL_VERSION    : 1.2 Mesa 5.0
Init: Device supports: GL
Init: Device supports: GL_EXT_bgra
Init: Device supports: GL_ARB_texture_compression
Init: Device supports: GL_ARB_multitexture
Init: C32 RGB888 Z24 S8
Init: WARNING: OpenGL renderer relies on DXTC/S3TC support for good performance.
Init: WARNING: no support for combine3/4 extensions -> not all blend modes supported
Init: Game engine initialized
Log: Startup time: 3.831979 seconds
Log: Precaching: NvidiaLogo.LevelInfo0
Log: Allocating 32768 byte dynamic index buffer.
Log: Allocating 65536 byte dynamic vertex buffer.
Log: OpenGL Error: GL_INVALID_ENUM (UOpenGLRenderDevice::Unlock)
Log: Finished precaching geometry in 0.105 seconds
Exit: Exiting.
Log: Waiting for file streaming thread to finish...
Uninitialized: Name subsystem shut down
Uninitialized: Allocation checking disabled
Uninitialized: Log file closed, Thu Feb 20 20:31:18 2003

So it looks like the segfault is caused by the GL_INVALID_ENUM
error. Could this be down to ut2003 being compiled against an earlier
libGL? By comparison, the Return to Castle Wolfenstein demo works
fine.

I'll try twiddling some of the settings in the ut ini file to see if
it makes any difference...

Phil

-- 
http://www.kantaka.co.uk/ .oOo. public key: http://www.kantaka.co.uk/gpg.txt



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to