help with q2lnx
matthieu
matthieu at bsdmon.com
Tue Nov 4 10:16:48 EST 2003
Hi
I'd like a bit of help with release 0.15
I compiled the code (disabling aalib, that i don't have on my system),
installed everything as described in the README, and i have some problems:
- quake2 is unable to load the glx renderer
- so it runs with soft renderer. But when i start a game it segfaults
- additional problem: when it segfaults, i loose my mouse in X. I have
to restart X to have mouse again. (Perhaps there's something to do to
get the mouse back without restarting X?)
i launch quake with the following command line:
./quake2 +set basedir /home/matthieu/prog/quake2 +set vid_ref glx +set
gl_driver /usr/lib/libGL.so.1
i first tried as a regular user, and also as root. The only difference
is that when i'm root, the console and the menu background are a lot
more dark.
i tried also to export LD_PRELOAD=/usr/lib/libGL.so befaore launching
in this case the game fails completely to load with the following message:
./quake2: relocation error: /usr/lib/tls/libGLcore.so.1: undefined
symbol: __gl_tls_var0
here is the output of the console when i launch without export
LD_PRELOAD=/usr/lib/libGL.so:
Quake 2 -- Version 3.21+rCVS
Added packfile /home/matthieu/prog/quake2/baseq2/pak0.pak (3307 files)
Added packfile /home/matthieu/prog/quake2/baseq2/pak1.pak (279 files)
Added packfile /home/matthieu/prog/quake2/baseq2/pak2.pak (2 files)
using /home/matthieu/.quake2/baseq2/ for writing
execing default.cfg
execing config.cfg
basedir is write protected.
Console initialized.
------- sound initialization -------
sound sampling rate: 11025
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("/home/matthieu/prog/quake2/ref_glx.so")
Trying joystick dev /dev/js0
Error opening joystick dev /dev/js0
Trying joystick dev /dev/js1
Error opening joystick dev /dev/js1
Trying joystick dev /dev/js2
Error opening joystick dev /dev/js2
Trying joystick dev /dev/js3
Error opening joystick dev /dev/js3
Trying joystick dev /dev/jsfd
Error opening joystick dev /dev/jsfd
Trying joystick dev /dev/jsflash
Error opening joystick dev /dev/jsflash
rfx_gl version: GL 0.01
/home/matthieu/prog/quake2//usr/lib/libGL.so.1: cannot open shared
object file: No such file or directory
rfx_gl::R_Init() - could not load "/usr/lib/libGL.so.1"
------- Loading ref_softx.so -------
LoadLibrary("/home/matthieu/prog/quake2/ref_softx.so")
Trying joystick dev /dev/js0
Error opening joystick dev /dev/js0
Trying joystick dev /dev/js1
Error opening joystick dev /dev/js1
Trying joystick dev /dev/js2
Error opening joystick dev /dev/js2
Trying joystick dev /dev/js3
Error opening joystick dev /dev/js3
Trying joystick dev /dev/jsfd
Error opening joystick dev /dev/jsfd
Trying joystick dev /dev/jsflash
Error opening joystick dev /dev/jsflash
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
CD Audio Initialized
------- Loading gamei386.so -------
==== InitGame ====
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------
====== Quake2 Initialized ======
0.0.0.0:0: client_connect
==== ShutdownGame ====
recursive shutdown
i noticed that it says that basedir is write-protected, though it is not
(all perms are rw-rw-r--)
the console says this:
my system is a red hat 9. gcc is 3.2.2
i do have an nvidia driver that works ok and accelerated with other apps
(my graphic card is a geforce 256)
I only tried the 0.15 release, and i did not applied the brian hook's patch.
any help appreciated
regards
More information about the quake2
mailing list