[vox-tech] GL apps not running, NVIDIA X11 module

Mark K. Kim vox-tech@lists.lugod.org
Thu, 29 May 2003 20:30:09 -0700 (PDT)


Ah ha!  Got it.  Since you mentioned reading the document, I read through
it from beginning to the end and tried different options and things.  It
turns out:

   - I had stale libGL.so pointing to a non-existing libGL.so.1.2blahblah
     Fix.  (But shouldn't the installer have done this for me?)

   - Quake2 requires options to run properly.

Everything now works as it should, including SDLgears and Quake2.  Great!!
Thank you SOOOOOO much!!  I think reading through the doc got me to fix
the stability problem too (but we'll see if it worked in a few days.)

-Mark


On Thu, 29 May 2003, ME wrote:

> Weird, I DL, and built it. It seems to work. Also using Debian 3.0 with
> Nvidia. Not sure what speed is supposed to be reported. Is 2000FPS a good
> thing or a bad thing?
> 2000FPS when running in its default window.
> When I go FullScreen, it drops to ~200FPS
> When I minimize ot or cover it, I get ~9000FPS
>
> I guess this is a tool to estimate FPS for First Person Shooters?
>
> Am running with
> NVIDIA_GLX-1.0-4191
> and
> NVIDIA_kernel-1.0-4191
>
> Under X11, XF86Config-4 I have my modules set like this:
> Section "Module"
>         Load    "bitmap"
>         Load    "dbe"
>         Load    "ddc"
>         Load    "extmod"
>         Load    "freetype"
> # reqired as per nvidia readme:
>         Load    "glx"
>         Load    "int10"
>         Load    "pex5"
>         Load    "record"
>         Load    "speedo"
>         Load    "type1"
>         Load    "vbe"
>         Load    "xie"
> #removed as per nvidia readme:
> #       Load    "GLcore"
> #       Load    "dri"
> EndSection
>
> Do you have these enabled?
> Do you have libsdl1.2-dev installed (debain package)
> How about libsdl-image
> libsdl1.2debian-all
> (other sdl packages)
> glutg3-dev
> glut3g
> other glut...
>
> -ME
>
>
> Mark K. Kim said:
> > So I got gears working.  It turns out you gotta link -lglut before -lGL.
> > Apparently they didn't create the configure.in correctly.
> >
> > Still, SDLgears isn't working.  I'm linking SDL first, then linking -lGL
> > later (but no GLUT or GLU or whatever for SDLgears.)  Now I gotta figure
> > out how to fix that... Anyone with ideas?
> >
> > On Wed, 28 May 2003, Mark K. Kim wrote:
> >
> >> I used the NVIDIA's installer program which did install its own libglx
> >> X11
> >> module.  It also installed libGLcore, but not as an X11 module.  I read
> >> on
> >> google groups that NVIDIA's driver automatically loads the libGLcore
> >> library if it needs it (though that didn't stop me from trying to force
> >> X
> >> to load it, which resulted in X refusing to load it due to unresolved
> >> symbols.)
> >>
> >> Can you compile the following program for me on your NVIDIA system?:
> >>
> >>    http://www.libsdl.org/opengl/SDLgears-1.0.2.tar.gz
> >>
> >> If it works, then it's probably my system thing and I'll look in that
> >> direction.  If not, then I'll look in more general direction.  Thanks!!
> >>
> >> Oh, I do have an NVIDIA motherboard (yes, NVIDIA motherboard!) requiring
> >> the nFORCE chipset modules I got off of NVIDIA's website.  It's required
> >> to get the network, X11, and soundcard working.  Yeah, I need the
> >> NVIDIA's
> >> nvidia module *and* the kernel module to get X working.  I wonder if
> >> that
> >> has anything to do with it?  Anybody else have the nFORCE motherboard
> >> chipset?
> >>
> >> -Mark
> >>
> >>
> >> On Wed, 28 May 2003, ME wrote:
> >>
> >> > For my NVidia setup on my laptop, I have RtCW working with the the GL
> >> > stuff. In order to make this work, I not only installed the
> >> proprietary
> >> > NVidia kernel module, but also installed the GLX "stuff" (separate
> >> > download) from nvidia.
> >> >
> >> > Did you get the GLX/GL source of the same version as the kernel
> >> modules
> >> > for NVidia and X?
> >> >
> >> > Install Both, restart X. There may be mods to the XF86.config to make
> >> it
> >> > use the GLX stuff that comes from NVidia, but I will need to check my
> >> > laptop when I get back to work.
> >> >
> >> > -ME
> >> >
> >> >
> >> > Mark K. Kim said:
> >> > > Hello,
> >> > >
> >> > > So I tried running Quake 2, which ran fine except it doesn't let me
> >> use
> >> > > either the GLX or SDL GL video drivers.  I also tried to compile
> >> `gears`
> >> > > and `SDLgears` from
> >> http://www.libsdl.org/opengl/SDLgears-1.0.2.tar.gz and
> >> > > it won't run (it brings up a broken image, like it tried to draw the
> >> first
> >> > > frame but drew only a part of it, then froze.)
> >> > >
> >> > > But `glxgears` and the 3D screen savers work perfectly fine.  Also,
> >> > > "planets", a wireframe drawing test program from the OpenGL book,
> >> works
> >> > > perfectly fine.
> >> > >
> >> > > Does anyone know why these three apps (Quake2, gears, SDLgears)
> >> won't run
> >> > > on my system?  I'm running Debian Stable with NVIDIA's X11 drivers.
> >> > > Thanks in advance!
> >> > >
> >> > > -Mark
> >> > >
> >> > > PS: I read on google groups that I should disable the GLcore and DRI
> >> > > modules because NVIDIA's drivers have their own thing.  I did but it
> >> > > doesn't help.
> >> > >
> >> > > --
> >> > > Mark K. Kim
> >> > > http://www.cbreak.org/
> >> > > PGP key available upon request.
> >> > >
> >> > > _______________________________________________
> >> > > vox-tech mailing list
> >> > > vox-tech@lists.lugod.org
> >> > > http://lists.lugod.org/mailman/listinfo/vox-tech
> >> > >
> >> > >
> >> >
> >> > _______________________________________________
> >> > vox-tech mailing list
> >> > vox-tech@lists.lugod.org
> >> > http://lists.lugod.org/mailman/listinfo/vox-tech
> >> >
> >>
> >> --
> >> Mark K. Kim
> >> http://www.cbreak.org/
> >> PGP key available upon request.
> >>
> >>
> >> _______________________________________________
> >> vox-tech mailing list
> >> vox-tech@lists.lugod.org
> >> http://lists.lugod.org/mailman/listinfo/vox-tech
> >>
> >
> > --
> > Mark K. Kim
> > http://www.cbreak.org/
> > PGP key available upon request.
> >
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> >
> >
>
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

-- 
Mark K. Kim
http://www.cbreak.org/
PGP key available upon request.