Click to See Complete Forum and Search --> : Starting UT2k3


twentyfan
09-18-2002, 11:20 AM
I've installed the latest NVIDIA drivers but whenever I start the demo I get:


[root@tower games]# ut2003_demo
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Couldn't set video mode: Couldn't find matching GLX visual


History:

Exiting due to error
[root@tower games]#


What else is there left to do?

z0mbix
09-18-2002, 11:27 AM
Do you have OpenGL working correctly? Can you run and other OpenGL games? Have you done the following(Ruthlessly ripped from a recent mdwatts post):

Edit /etc/X11/XF86Config or XF86Config-4 and change/add/delete

Driver "nv"
(or Driver "vesa")

with

Driver "nvidia"

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"

Add

alias char-major-10-175 agpgart
alias char-major-195 NVdriver

to /etc/modules.conf

cd /lib/modules/<kernel version>

depmod -ae

Restart X


Did you follow the nvidia readme on nvidia.com word for word?

More info here (remember to search the forums as installing nvidia drivers is a common question:

http://www.linuxnewbie.org/forum/showthread.php?s=&threadid=64725&highlight=nvidia+driver

twentyfan
09-18-2002, 11:33 AM
Yeah, I get the NVIDIA splash screen when I startx.

Icarus
09-18-2002, 11:39 AM
Make sure you have these lines in your /etc/X11/XF86Config-4 file

Load "glx"
Load "dri"
Load "GLcore"

These should be near the begining...

z0mbix
09-18-2002, 11:52 AM
Originally posted by twentyfan
Yeah, I get the NVIDIA splash screen when I startx.

This doesn't neccessarily mean everything is ok. As Mahdi and my post say check your config file to see what modules are being loaded that shouldn't be and and what modules need to be added.

twentyfan
09-18-2002, 11:55 AM
Originally posted by mahdi
Make sure you have these lines in your /etc/X11/XF86Config-4 file

Load "glx"
Load "dri"
Load "GLcore"

These should be near the begining...

Shouldn't

Load "dri"
Load "GLcore"

be removed?

z0mbix
09-18-2002, 12:02 PM
Originally posted by twentyfan


Shouldn't

Load "dri"
Load "GLcore"

be removed?

yes

twentyfan
09-18-2002, 12:03 PM
Well, odd.

I had them removed, as the original post says to and it didn't work.

I added them and the game runs.

Now if I could just get this (http://linuxnewbie.org/forum/showthread.php?s=&threadid=64865) problem solved I'll be all set. :)

Icarus
09-18-2002, 12:09 PM
Originally posted by twentyfan


Shouldn't

Load "dri"
Load "GLcore"

be removed?
When I take these out, things don't work...In my eyes, these are required and it's a flaw in the documentation.

As we can see...he uses them and it works, he doesn't and it doesn't work :)

z0mbix
09-18-2002, 12:13 PM
I have a Geforce 4 MX and use the nvidia drivers installed from tarballs and only have glx load on X start and I play RTCW, Q3A, Tribes2, UT and Tuxracer all fully accelerated so it's definately not a requirement. Quote from the nvidia howto:

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"

twentyfan
09-18-2002, 12:28 PM
I have a geforce2mx, if that sheds any light.

bwkaz
09-18-2002, 12:45 PM
Yeah, GLcore and dri are not loading here, and no problems whatsoever.

If GLcore is loading before glx, and if you check your logs, you'll see (... maybe I should say "I saw"; your logs may vary, I guess) that the same libGLcore.a file is being used for both of them -- and it most definitely is not nVidia's libGLcore.a file. My package management scheme (which is based on "install each package as a different user, that way all the files it installs will be owned by that user) tells me that that libGLcore.a is owned by the xfree86 package. I also don't get the GLX extension to load when I Load "GLcore"... so it's interesting that others can get it to work with it.

The nVidia drivers are completely hardware-independent, so the card you're using shouldn't (hopefully...) have anything to do with it...