matthieu | 4 Nov 2003 16:16

help with q2lnx

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 
(Continue reading)

Matthias Schuh | 4 Nov 2003 16:34
Picon
Picon

Re: help with q2lnx

On Tue, 04 Nov 2003 16:16:48 +0100
matthieu <matthieu <at> bsdmon.com> wrote:

> 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 
(Continue reading)

HaywireMac | 4 Nov 2003 16:33

Re: help with q2lnx

On Tue, 04 Nov 2003 16:16:48 +0100
matthieu <matthieu <at> bsdmon.com> uttered:

> /home/matthieu/prog/quake2//usr/lib/libGL.so.1: cannot open shared 

looks like it's adding a / in there, which would explain why it can't
find the file.

try starting from the command line, within the quake2 dir, like this:

./quake2 +set vid_ref glx

making sure that the the file is actually called "ref_glx.so". I had
exactly the same problems, and it turned out the my config file was
showing:

set vid_ref "gl"

I also had better luck running the game from
/usr/local/share/games/quake2, so that it automatically creates and uses
a config dir in your ~/ called, of course, .quake2.

HTH!
--

-- 
HaywireMac ++ ICQ # 279518458
Registered Linux user #282046
Homepage: www.orderinchaos.org
++++++++++++++++++++++++++++++++++++++++++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
++++++++++++++++++++++++++++++++++++++++++
(Continue reading)

HaywireMac | 4 Nov 2003 16:34

Re: help with q2lnx

On Tue, 4 Nov 2003 16:34:01 +0100
Matthias Schuh <tuXist <at> gmx.de> uttered:

> Perhaps this may help you!
> 
> Everytime I tried to get it to work with compiled code I failed with
> similar problems, but when I tried the CD less installer that can be
> found on the Icculus Quake2 page as download everything went fine!

But then you don't get the enhanced graphics, no?

--

-- 
HaywireMac ++ ICQ # 279518458
Registered Linux user #282046
Homepage: www.orderinchaos.org
++++++++++++++++++++++++++++++++++++++++++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
++++++++++++++++++++++++++++++++++++++++++
The race is not always to the swift, nor the battle to the strong, but
that's the way to bet.
		-- Damon Runyon

Jack Coates | 4 Nov 2003 16:56
Favicon
Gravatar

Re: help with q2lnx

the // will be handled by the shell, no problem there. The GL thing is
probably a problem, or other incompatibility in the config file. Here's
my setup:
~/bin/runq2 has (among other irrelevant stuff):
artsdsp -m quake2 +set game fear
(artsdsp is a sound system wrapper.)

~/.quake2/baseq2/config.cfg:
set sndchannels "2"
set sndbits "16"
set gl_3dlabs_broken "1"
set gl_swapinterval "1"
set gl_ext_compiled_vertex_array "1"
set gl_ext_pointparameters "1"
set gl_ext_multitexture "1"
set gl_ext_swapinterval "1"
set gl_vertex_arrays "0"
set gl_texturesolidmode "default"
set gl_texturealphamode "default"
set gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
set gl_finish "0"
set gl_shadows "0"
set gl_modulate "1"
set gl_particle_att_c "0.01"
set gl_particle_att_b "0.0"
set gl_particle_att_a "0.01"
set gl_particle_size "40"
set gl_particle_max_size "40"
set gl_particle_min_size "2"
set _windowed_mouse "1"
(Continue reading)

HaywireMac | 4 Nov 2003 17:00

Re: help with q2lnx

On Tue, 04 Nov 2003 07:56:39 -0800
Jack Coates <jack <at> monkeynoodle.org> uttered:

 
> Not sure which one of those it's using, but I don't care since it
> works:-)

jeez, Jack, yer everywhere today!

--

-- 
HaywireMac ++ ICQ # 279518458
Registered Linux user #282046
Homepage: www.orderinchaos.org
++++++++++++++++++++++++++++++++++++++++++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
++++++++++++++++++++++++++++++++++++++++++
Before you ask more questions, think about whether you really want to
know the answers.
		-- Gene Wolfe, "The Claw of the Conciliator"

Jack Coates | 5 Nov 2003 07:06
Favicon
Gravatar

Re: help with q2lnx

On Tue, 2003-11-04 at 08:00, HaywireMac wrote:
> On Tue, 04 Nov 2003 07:56:39 -0800
> Jack Coates <jack <at> monkeynoodle.org> uttered:
> 
>  
> > Not sure which one of those it's using, but I don't care since it
> > works:-)
> 
> jeez, Jack, yer everywhere today!

ya'll know it... writing from United 810 SFO to O'Hare on my way to New
Jersey :-)

For some q2 content, I'll announce my q2 dedicated server to the public.
It's on DSL so I've left the six player limit in place, but the Fear
gamepack is loaded and it's always on. gracie.monkeynoodle.org.

This goes without saying, but lemme say it anyway -- show respect, have
fun, and annoying users will be banned.

Requests for more gamepacks will be honored, in fact I've got five or
six here in my home directory that I've been meaning to try, but keep in
mind that it may take some time.

Have fun!
--

-- 
Jack Coates
Monkeynoodle: A Scientific Venture...

(Continue reading)

HaywireMac | 5 Nov 2003 12:04

Re: help with q2lnx

On Tue, 04 Nov 2003 22:06:07 -0800
Jack Coates <jack <at> monkeynoodle.org> uttered:

> but the Fear gamepack is loaded

is that server side only, or do I need to d/l some files?

--

-- 
HaywireMac ++ ICQ # 279518458
Registered Linux user #282046
Homepage: www.orderinchaos.org
++++++++++++++++++++++++++++++++++++++++++
Mandrake HowTo's & More: http://twiki.mdklinuxfaq.org
++++++++++++++++++++++++++++++++++++++++++
Getting there is only half as far as getting there and back.

matthieu | 5 Nov 2003 12:05

Re: help with q2lnx

thanks guys for all these answers.

Jack Coates wrote:

> the // will be handled by the shell, no problem there.
i think so

> probably a problem, or other incompatibility in the config file. Here's
> my setup:
> [...]
> set gl_driver "libGL.so"
> 
> note the gl driver name.

i solved the problem by simlinking libGL.so.1 in my quake2 directory:
$ls -alF /home/matthieu/prog/quake2/libGl.so.1
lrwxrwxrwx    1 matthieu matthieu       19 Nov  4 17:49 libGL.so.1 ->
/usr/lib/libGL.so.1*

I also changed in ~/.quake2/baseq2
set gl_driver "/usr/lib/libGL.so"
to
set gl_driver "libGL.so"

and now i lauch with
./quake2 +set basedir /home/matthieu/prog/quake2 +set vid_ref glx
(the +set basedir is a precaution since anyway i launch from this directory)

so Quake2 launches ok and i can play.

(Continue reading)

Jack Coates | 5 Nov 2003 13:17
Favicon
Gravatar

Re: help with q2lnx

On Wed, 2003-11-05 at 03:05, matthieu wrote:
> thanks guys for all these answers.
> 
> Jack Coates wrote:
> 
> > the // will be handled by the shell, no problem there.
> i think so
> 
> > probably a problem, or other incompatibility in the config file. Here's
> > my setup:
> > [...]
> > set gl_driver "libGL.so"
> > 
> > note the gl driver name.
> 
> i solved the problem by simlinking libGL.so.1 in my quake2 directory:
> $ls -alF /home/matthieu/prog/quake2/libGl.so.1
> lrwxrwxrwx    1 matthieu matthieu       19 Nov  4 17:49 libGL.so.1 ->
> /usr/lib/libGL.so.1*
> 
> I also changed in ~/.quake2/baseq2
> set gl_driver "/usr/lib/libGL.so"
> to
> set gl_driver "libGL.so"
> 
> and now i lauch with
> ./quake2 +set basedir /home/matthieu/prog/quake2 +set vid_ref glx
> (the +set basedir is a precaution since anyway i launch from this directory)
> 
> so Quake2 launches ok and i can play.
(Continue reading)


Gmane