[quake2] slow opengl only in quake2 linux

Alexey Dokuchaev danfe at nsu.ru
Mon Aug 20 11:15:53 EDT 2007


On Mon, Aug 20, 2007 at 10:12:04PM +0700, Alexey Dokuchaev wrote:
> On Mon, Aug 20, 2007 at 12:34:20PM +0100, Tiago Marques wrote:
> > Hi!
> > I would like to know if someone has any ideia why my laptop, wich has
> > a 945 intel chipset, runs fine games like quake3, but the quake 2 port
> > for linux is inexplicably slow. Like 2-5fps.
> 
> It can be wrong dlopen() flags in src/linux/qgl_linux.c when opening
> game .so, at least on FreeBSD I needed to change them from RTLD_LAZY to

Grr, not game.so, but redrerer .so, of course.

> RTLD_LAZY | RTLD_GLOBAL.  Interestingly enough, Quake3 seems to have
> this flag set correctly.
> 
> To be sure, what does your /gl_strings say in Q2?

For DRI/Intel it has to be something like this (top three) lines:

GL_VENDOR: Tungsten Graphics, Inc
GL_RENDERER: Mesa DRI Intel(R) 865G 20061017 x86/MMX/SSE2
GL_VERSION: 1.3 Mesa 6.5.3

./danfe



More information about the quake2 mailing list