Hi,
I've installed SDL and the examples in ../test work fine, except OpenGl. I can compile the testgl.c well, but when I try to execute it I get the error: "No OpenGL support on this system". My graphic card is a nVidia GeForce 4 MX 420 and I am using debian\sid.
I've tried everything, installed the mesa libs, glut, nvidia-glx but nothing works.

I would appreciate if someone posted an answer

pkaler

12-14-2003, 09:56 AM

What does glxinfo say?

nukem

12-14-2003, 10:42 AM

Make sure you install the nvidia drivers with the nvidia installer found at there web page. You also may need to do opengl-update nvidia to set opengl to the nvidia drivers.

I've installed the nvidia driver with
sh NVIDIAfoo.run --extract-only
cd nvidia-dir
make install
and once just with sh NVIDIAfoo.run
That's the newest driver from nvidia.com
How can I opengl-update my nvidia driver?

amendol

12-15-2003, 06:44 AM

Two things:

First thing:
looking at your glxinfo results, it seems tha t your system is using Mesa for OpenGL.

Did you update your XF86Config file in /etc/X11 ?

Your X server may still be pointing at the "nv" driver, instead of the "nvidia" driver.
(nv is the open source one without 3d accel)

Read the readme's under /usr/share/doc/NVIDIA_GLX-1.0/

There is also a sample XF86Config file.

If you have troubles setting up the config your best bet is to let google find a nice one for you http://www.opengl.org/discussion_boards/ubb/smile.gif

Second thing:
I'm not sure that I trust the SDL version of glxinfo, as I've never used it. It probably works and everything, but it may not be configured/compiled for your system...

I had a similar problem when upgrading nvidia drivers. Make sure that all of your GL shared object files are the correct ones and that the symbolic links point to the correct files in /usr/lib, /usr/X11R6/lib

example:

cd /usr
find . | grep libGL*

this will give a list of where all of your libGL files are. Now go and investigate and make sure that the links are correct. On my system (fedora core 1), my libGLcore.so.1 is symbolic linked to libGLcore.so.1.0.4620 which is the beta nvidia driver. Also my libGL.so.1 is symbolic linked to the libGL.so.1.0.4620. You can do a "man ln" to
learn how to make a symbolic link if you don't know how. If all else fails check out the nvnews forum
http://www.nvnews.net/vbulletin/forumdisplay.php?s=dcbb2b780006425dbf98afa28944f 2a8&forumid=14 (http://www.nvnews.net/vbulletin/forumdisplay.php?s=dcbb2b780006425dbf98afa28944f2a 8&forumid=14)

The problem I had was that some of the links pointed to the nvidia driver and some pointed to the original mesa driver. Which caused undefined references when loading the shared object.

[This message has been edited by blip (edited 12-16-2003).]

[This message has been edited by blip (edited 12-16-2003).]

nokturn

12-16-2003, 07:11 AM

I've installed the NVIDIA Beta Driver and now I don't get that error, only some warnings when starting X, but executiing testgl, I still get the same error (No OpenGL support on this systen). Even glxgears works. When you want my /var/log/XFree86.0.log say it please

amendol

12-16-2003, 07:15 AM

What frame rate do you get in glxgears?

If it's in the thousands, then your NVidia OpenGL driver is working fine. -- This means that there is something wrong with the SDL glxinfo.