OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: kirk on April 23, 2008, 08:59:47 AM



Title: 0.7.6 resolution change causes crash
Post by: kirk on April 23, 2008, 08:59:47 AM
In Linux,, trying to change resolution from the default of 800X600 causes a crash:


----- R_Init -----
SDL_Init( SDL_INIT_VIDEO )... OK
Initializing OpenGL display
...setting mode 6: 1024 768
Received signal 11, exiting...
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
#


If I edit ~./openarena/baseoa/q3config.cfg and change

seta r_mode "3"

to

seta r_mode "6"

then the game runs with the resolution (1024X768) that I want.


P.S. Thanks for dumping openAL! 


Title: Re: 0.7.6 resolution change causes crash
Post by: sago007 on April 23, 2008, 10:57:11 AM
It is hard to guess why the error happens. A signal 11 usually means a memory problem but it could be caused by anything, including all loaded drivers.

openAL is not dumped. It will be used if available.


Title: Re: 0.7.6 resolution change causes crash
Post by: kirk on April 23, 2008, 07:39:06 PM
# ldd openarena.i386
        linux-gate.so.1 =>  (0xffffe000)
        libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e60000)
        libGL.so.1 => /usr/X11R7/lib/libGL.so.1 (0xb7e01000)
        libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7df9000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7dd0000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb7dcb000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7dc6000)
        libm.so.6 => /lib/libm.so.6 (0xb7da4000)
        libc.so.6 => /lib/libc.so.6 (0xb7ca9000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7c94000)
        libX11.so.6 => /usr/X11R7/lib/libX11.so.6 (0xb7bc3000)
        libXext.so.6 => /usr/X11R7/lib/libXext.so.6 (0xb7bb7000)
        libXxf86vm.so.1 => /usr/X11R7/lib/libXxf86vm.so.1 (0xb7bb1000)
        libdrm.so.2 => /usr/X11R7/lib/libdrm.so.2 (0xb7ba9000)
        /lib/ld-linux.so.2 (0xb7f06000)
        libXau.so.6 => /usr/X11R7/lib/libXau.so.6 (0xb7ba6000)
        libXdmcp.so.6 => /usr/X11R7/lib/libXdmcp.so.6 (0xb7ba1000)
#


Doesn't look like openAL is needed. The last time I compiled ioquake you could choose SDL or openAL, but maybe that's changed.

Anyway, tried an older version of OpenArena, no problem changing resolution.

I'm using libSDL-1.2.12 and Xorg-7.3 with an ATI Radeon X300 mobility.


Title: Re: 0.7.6 resolution change causes crash
Post by: pikaunforgiven on April 24, 2008, 02:23:38 PM
using the 0.7.1 binary with the 0.7.6 pk3 files "should" work ok if that helps your situation any. ive actually considered doing this due to other bugs mentioned in the bug thread i started.