PDA

View Full Version : quake 2doesn't want open GL !


ploum
12-29-02, 05:43 AM
Hi,

I'm on debian woody, kernel 2.4.20 with geforce 2 MX and lastest Nvidia proprietary drivers.
It works fine ! (glxgears give me 850 fps and I play tuxracer or the quake-like "Cube" without problem in OpenGL in 11152x864)

But when I start Quake 2 , it starts normal and when I choose, in video option, SDL open GL, it stops and I have :

Added packfile ./baseq2/pak0.pak (1106 files)
using /home/ploum/.quake2/baseq2/ for writing
execing default.cfg
execing config.cfg
Console initialized.

------- sound initialization -------
sound sampling rate: 11025
------------------------------------
------- Loading ref_softx.so -------
LoadLibrary("./ref_softx.so")
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
CDAudio_Init: open of "/dev/cdrom" failed (123)
------- Loading gamei386.so -------
==== InitGame ====
------- Server Initialization -------
0 entities inhibited
0 teams with 0 entities
-------------------------------------
====== Quake2 Initialized ======

0.0.0.0:0: client_connect


|###################################~

aInstallation
------- Loading ref_sdlgl.so -------
LoadLibrary("./ref_sdlgl.so")
setting mode 0: 320 240
808k surface cache
ref_soft version: SOFT 0.01
------------------------------------
/usr/games/quake2: line 27: 1428 Erreur de segmentation ./quake2 $*

Same problem with GLX (with ref_glx.so instead of ref_sdlgl.so )

Anyone can help me please ?

Wolfman [TWP]
12-29-02, 05:57 AM
First of all are you running the lastest version of Q2?? (I believe it's 3.20) If so you will have to run the Q2 script by also adding the GLX driver options (Should be outlined in the README file that came with Q2).

You may also need to remove the sym links to the GL library.
(These will be located somewhere in the /usr/local/games/quake2 directory)

I will have to check the exact proceedure on my other system, as this is all from memory.

Also add the parameter -nocd to the Q2 command line.. (Noticed the CD error in your message.)

ploum
12-29-02, 06:11 AM
I'm under Debian and I download the debian package ! Quake2 is 3.21

But my game directory is in /usr/lib/games/quake2 , not /usr/local/games

I try to make a link to quake2 in /usr/local/games, but nothing happens !

Wolfman [TWP]
12-29-02, 06:20 AM
My version is V3.20, and it was installed in the /usr/local/games/quake2 directory...

You could try running it as follows:

./quake2 +set vid_ref gl +set gl_driver libgl.so

As I mentioned earlier this was from memory. I need to fire up my other system which has it installed and running to give you more details. (I have Q2 and both the addons running without problems. Using the Nvidia drivers)

ploum
12-29-02, 08:43 AM
------- Loading ref_gl.so -------
LoadLibrary("ref_gl.so") failed: No such file or directory

and if I try the same command with sdlgl instead of gl, it says :

------- Loading ref_sdlgl.so -------
LoadLibrary("./ref_sdlgl.so")
ref_gl version: GL 0.01
./sdlgl.so: cannot open shared object file: No such file or directory
ref_gl::R_Init() - could not load "sdlgl.so"


The directory is :
drwxr-xr-x 4 root root 4.0k déc 20 17:59 baseq2/
drwxr-xr-x 2 root root 4.0k déc 20 15:59 ctf/
-rwxr-xr-x 1 root root 305k jui 12 22:12 quake2*
-rw-r--r-- 1 root root 254k jui 12 22:12 ref_glx.so
-rw-r--r-- 1 root root 228k jui 12 22:12 ref_sdlgl.so
-rw-r--r-- 1 root root 184k jui 12 22:12 ref_softsdl.so
-rw-r--r-- 1 root root 180k jui 12 22:12 ref_soft.so
-rw-r--r-- 1 root root 204k jui 12 22:12 ref_softx.so

cdrradar
12-29-02, 09:03 AM
Forgive me for this being off topic, but where can one get the Linux Quake 2 client? I saw servers galore, but not a client.

ploum
12-29-02, 09:14 AM
I don't know... In debian, simply apt-get install quake2 will download the engine and then, if, like me, you don't have the CD, download the shareware datas....

cdrradar
12-29-02, 09:36 AM
Originally posted by ploum
I don't know... In debian, simply apt-get install quake2 will download the engine and then, if, like me, you don't have the CD, download the shareware datas....

No debian here, sorry. I have the Quake 2 CD, but I lost my Linux client... :(