Stef at 2006-03-23 09:36
Hi,
I've compiled jfduke3d_src_20051009 patched with the linux audio patch jfduke3d_src_20051009.patch.
I've run the binary with the game data in a seprate directory with no problems. Sound works well too!
However, when I use the high resolution pack the game crashes while trying to switch to 32bit mode, either windowed or fullscreen.
Here's the output from the term when I lauch the game and attemp to enable 32bit mode:
stef@BlackHole:~/games/buildengine/duke3d$ ./duke3d /gduke3d_hrp.zip /gmaphacks.zip
addsearchpath(): Added /home/stef/games/buildengine/duke3d/
addsearchpath(): Added /home/stef/.jfduke3d/
Duke Nukem 3D v1.999
Copyright (c) 1996 3D Realms Entertainment
Using group file duke3d_hrp.zip.
Using group file maphacks.zip.
Compiling: GAME.CON (151190 bytes)
Including: DEFS.CON (35992 bytes)
Including: USER.CON (45482 bytes)
Looks like Atomic Edition CON files.
Code Size: 64824 bytes (1795 labels).
Initialising SDL system interface (compiled with SDL version 1.2.9, DLL version 1.2.9)
Loading libGL.so
Using "x11" video driver
Detecting video modes:
- 1024x768 32-bit fullscreen
- 840x525 32-bit fullscreen
- 832x624 32-bit fullscreen
- 800x600 32-bit fullscreen
- 720x450 32-bit fullscreen
- 720x400 32-bit fullscreen
- 700x525 32-bit fullscreen
- 640x512 32-bit fullscreen
- 640x480 32-bit fullscreen
- 640x400 32-bit fullscreen
- 640x384 32-bit fullscreen
- 640x350 32-bit fullscreen
- 576x432 32-bit fullscreen
- 512x384 32-bit fullscreen
- 416x312 32-bit fullscreen
- 400x300 32-bit fullscreen
- 320x240 32-bit fullscreen
- 320x200 32-bit fullscreen
- 320x175 32-bit fullscreen
- 800x600 8-bit windowed
- 640x480 8-bit windowed
- 640x400 8-bit windowed
- 512x384 8-bit windowed
- 480x360 8-bit windowed
- 400x300 8-bit windowed
- 320x240 8-bit windowed
- 320x200 8-bit windowed
- 800x600 32-bit windowed
- 640x480 32-bit windowed
- 640x400 32-bit windowed
- 512x384 32-bit windowed
- 480x360 32-bit windowed
- 400x300 32-bit windowed
- 320x240 32-bit windowed
- 320x200 32-bit windowed
0 joystick(s) found
Initialising mouse
CONTROL_Startup: Mouse Present
Initialising timer
Loading art header.
initcache(): Initialised with 33554416 bytes
mmulti: This machine's IP is 127.0.0.1
Definitions file loaded.
RTS Manager Started.
Adding DUKE.RTS.
Using .RTS file:DUKE.RTS
Loading palette/lookups.
Setting video mode 640x480 (8-bpp windowed)
Checking music inits.
Checking sound inits.
Setting video mode 640x480 (32-bpp windowed)
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
stef@BlackHole:~/games/buildengine/duke3d$
ldd output:
stef@BlackHole:~/games/buildengine/duke3d$ ldd ./duke3d
linux-gate.so.1 => (0xffffe000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7f56000)
libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ed3000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xb7e43000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e30000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7b3d000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7abc000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb7ab8000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7ab0000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb7aac000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7a9e000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a85000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7a6f000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7a68000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7a39000)
libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7a2f000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb79f7000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb79ae000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb79a5000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb78da000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb78a0000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb789b000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7897000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7812000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0xb77a2000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb766a000)
/lib/ld-linux.so.2 (0xb7f89000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6eac000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6ea9000)
libasound.so.2 => /usr/lib/libasound.so.2 (0xb6df6000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb6dd1000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6d64000)
libz.so.1 => /usr/lib/libz.so.1 (0xb6d50000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb6d2f000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb6d0a000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb6d03000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6cda000)
libogg.so.0 => /usr/lib/libogg.so.0 (0xb6cd5000)
libsmpeg-0.4.so.0 => /usr/lib/libsmpeg-0.4.so.0 (0xb6c7a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb6b9d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6b92000)
stef@BlackHole:~/games/buildengine/duke3d$
Thanks,
Stef
TX at 2006-03-23 11:33
Do make veryclean, then make RELEASE=0, then run it under gdb and get a backtrace, please.
Stef at 2006-03-23 15:10
well, I recompiled the binary with changing to RELEASE=0 and now the 32bit textures load nicely. It's weird, but now duke3d it is working properly.
I tried runnind gdb but have no experience with it, I need to run that on a core dump right? Could'nt produce one since the game don't crash after setting RELEASE=0
Stef