Error using openGL and nvidia card

I’m running with an nvidia card, and using their driver, but when
I try to run a little openGL app, I get

Unable to init screen: X11 driver not configured with OpenGL

From SDL_SetVideoMode(MAIN_SCREEN_W,MAIN_SCREEN_H,16,SDL_OPENGL).

Anyone have similar problems with the nvidia driver? I’m wondering if
installing mesa after installing the drivers got my header files out of
sync with my libraries, or some such.

I’ve been able to use the openGL libs with glut, and no sdl, successfully,
so I’m not sure where to go.

On another note, in X 4.x, is it worth using nVidia’s drivers, or
should I use others (do the ones that ship with XFree86 work?)–

Marc MacIntyre
@Marc_MacIntyre

Of course, the easiest way to get rid of temptation is to yield
to it.
-John D. Spangler

you only have to install nvidia-kernel an nvidia-glx. these packages
include all the hardware-support needed for nv-cards.

the install-routine of the nvidia-glx package removes all other
gl-libs but i had the problem that the mesa-libs resided on different
places.

i suggest that you delete all your gl libs and includes by hand
and than restart the installation.

change the XF86Config to use the nvidia-driver instead of nv-driver.
you also have to remove the “dri” and “libglcore” entries in the
modules section and load only the “glx” module.

this worked fine for me.On 19-Sep-01 Marc MacIntyre wrote:

I’m running with an nvidia card, and using their driver, but when
I try to run a little openGL app, I get

Unable to init screen: X11 driver not configured with OpenGL

From SDL_SetVideoMode(MAIN_SCREEN_W,MAIN_SCREEN_H,16,SDL_OPENGL).

Anyone have similar problems with the nvidia driver? I’m wondering if
installing mesa after installing the drivers got my header files out of
sync with my libraries, or some such.

I’ve been able to use the openGL libs with glut, and no sdl, successfully,
so I’m not sure where to go.

On another note, in X 4.x, is it worth using nVidia’s drivers, or
should I use others (do the ones that ship with XFree86 work?)

Marc MacIntyre
marcmac at marcmac.com

Of course, the easiest way to get rid of temptation is to yield
to it.
-John D. Spangler

_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

mfg up

“Ah, Seven of Nine. Assimilieren sie mich.”