icculus.org Quake 2 segfaults

Marco Nadal m_nadal at yahoo.com.au
Thu Jun 26 23:32:32 EDT 2003


I have installed quake2r0.15-io1.rpm under Mandrake Linux 9.1.
I have a GeForce2MX and Athlon 1800XP.
Quake3 runs without problems.

As suggested in the README, I have:

[root at scsf quake2]# export LD_PRELOAD=/usr/lib/libGL.so

I have also tried starting it with

[root at scsf quake2]# ./quake2 +set vid_ref sdlgl

Yet it always loads the ref_softx.so driver, instead of the OpenGL one, and 
invariably crashes. I know I have a missing driver somewhere, but I have 
/usr/lib/libGL.so, shouldn't that one be enough?

What do I need to get this game working? I had Quake2 working under Mandrake 
9.0, I see no reason it shouldn't work under 9.1.

Thanks for your time.

****************************************************************
DEBUGGING OUTPUT
****************************************************************
When I run ./quake2, I get the following:

[root at scsf quake2]# ./quake2
Quake 2 -- Version 3.21+rCVS
Added packfile ./baseq2/pak0.pak (3307 files)
Added packfile ./baseq2/pak1.pak (279 files)
Added packfile ./baseq2/pak2.pak (2 files)
Added packfile ./baseq2/pak3.pak (155 files)
Added packfile ./baseq2/maxpak.pak (40 files)
using /root/.quake2/baseq2/ for writing
execing default.cfg
execing config.cfg
Console initialized.

------- sound initialization -------
sound sampling rate: 11025
------------------------------------
------- Loading ref_gl.so -------
LoadLibrary("ref_gl.so") failed: libvga.so.1: cannot open shared object file: 
No such file or directory
------- Loading ref_softx.so -------
LoadLibrary("./ref_softx.so")
Trying joystick dev /dev/js0
Using joystick dev /dev/js0
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
execing autoexec.cfg
Unknown command "intensity"
"all" isn't a valid key
------- Loading gamei386.so -------
==== InitGame ====
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------
====== Quake2 Initialized ======

------- Loading ref_softx.so -------
LoadLibrary("./ref_softx.so")
Trying joystick dev /dev/js0
Using joystick dev /dev/js0
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
0.0.0.0:0: client_connect
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------

Changing map...
reconnecting...




Installation
models/objects/debris1/triSegmentation fault

***********************************************************************

When I run the script instead, I get:

# ./quake2.sh
Quake 2 -- Version 3.21+rCVS
Added packfile /usr/local/games/quake2/baseq2/pak0.pak (3307 files)
Added packfile /usr/local/games/quake2/baseq2/pak1.pak (279 files)
Added packfile /usr/local/games/quake2/baseq2/pak2.pak (2 files)
Added packfile /usr/local/games/quake2/baseq2/pak3.pak (155 files)
Added packfile /usr/local/games/quake2/baseq2/maxpak.pak (40 files)
using /root/.quake2/baseq2/ for writing
execing default.cfg
execing config.cfg
basedir is write protected.
Console initialized.

------- sound initialization -------
sound sampling rate: 22050
------------------------------------
------- Loading ref_gl.so -------
LoadLibrary("ref_gl.so") failed: libvga.so.1: cannot open shared object file: 
No such file or directory
------- Loading ref_softx.so -------
LoadLibrary("/usr/local/games/quake2/ref_softx.so")
Trying joystick dev /dev/js0
Using joystick dev /dev/js0
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
execing autoexec.cfg
Unknown command "intensity"
"all" isn't a valid key
------- Loading gamei386.so -------
==== InitGame ====
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------
====== Quake2 Initialized ======

------- Loading ref_softx.so -------
LoadLibrary("/usr/local/games/quake2/ref_softx.so")
Trying joystick dev /dev/js0
Using joystick dev /dev/js0
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
0.0.0.0:0: client_connect
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------

Changing map...
reconnecting...




Installation
models/objects/debris1/triFatal signal: Segmentation Fault (SDL Parachute 
Deployed)

*****************************************************



More information about the quake2 mailing list