(forw) 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

Back to thy punishment, 
False fugitive, and to thy speed add wings. 
- Milton, Paradise Lost
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20010919/53be963b/attachment-0007.pgp>

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.

A very good possibility, trying reinstalling the NVIDIA_GLX stuff…

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

The problem is almost always that some old OpenGL drivers are hanging around,
but this sounds like an XFree86 configuration problem. Make sure the driver line
in your XF86Config file says “nvidia” and not “nv”, also make sure that if
you’re using an older version of X that “dga” or “glx” is enabled.

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?)

For OpenGL hardware support you have to use NVidia’s drivers.

-EvilTypeGuyOn Wed, Sep 19, 2001 at 11:11:52AM -0700, Marc MacIntyre wrote:

(Wed, Sep 19, 2001 at 01:25:38PM -0500)
EvilTypeGuy (eviltypeguy at qeradiant.com) said:

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.

A very good possibility, trying reinstalling the NVIDIA_GLX stuff…

I’ll give that a shot, thanks. Is there any conflict between the nvidia stuff
and the mesa libs?

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

The problem is almost always that some old OpenGL drivers are hanging around,
but this sounds like an XFree86 configuration problem. Make sure the driver line
in your XF86Config file says “nvidia” and not “nv”, also make sure that if
you’re using an older version of X that “dga” or “glx” is enabled.

I’ve seen some conflicting info on the config. Some docs mention to comment
out the ‘Load “GLcore”’ line, and some don’t - could this be related?

(I’m running v 4.0.3 of X)

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?)

For OpenGL hardware support you have to use NVidia’s drivers.

Thanks.> On Wed, Sep 19, 2001 at 11:11:52AM -0700, Marc MacIntyre wrote:

-EvilTypeGuy


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

Marc MacIntyre
@Marc_MacIntyre

The common cold, if left untreated, lasts about two weeks. If
treated with medication and rest, it lasts about fourteen days.
-saying

(Wed, Sep 19, 2001 at 01:25:38PM -0500)
EvilTypeGuy (eviltypeguy at qeradiant.com) said:
I’ll give that a shot, thanks. Is there any conflict between the nvidia stuff
and the mesa libs?

Sometimes, some apps get confused when they find multiple GL libraries. Other
times important nvidia versions of files get overwritten by mesa installs…

I’ve seen some conflicting info on the config. Some docs mention to comment
out the ‘Load “GLcore”’ line, and some don’t - could this be related?

(I’m running v 4.0.3 of X)

Hmm…personally I have GLcore in the config, dont’ seem to have an issue tho.

Thanks.

Good luck.

-EvilTypeGuyOn Wed, Sep 19, 2001 at 12:04:35PM -0700, Marc MacIntyre wrote:

On Wed, Sep 19, 2001 at 11:11:52AM -0700, Marc MacIntyre wrote:

Hey, one other thing - should I be intstalling nVidia from source? I’ve just
been using the binary version, but will I need the source to develop?

(Wed, Sep 19, 2001 at 12:04:35PM -0700)
Marc MacIntyre (@Marc_MacIntyre) said:> (Wed, Sep 19, 2001 at 01:25:38PM -0500)

EvilTypeGuy (eviltypeguy at qeradiant.com) said:

On Wed, Sep 19, 2001 at 11:11:52AM -0700, 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.

A very good possibility, trying reinstalling the NVIDIA_GLX stuff…

I’ll give that a shot, thanks. Is there any conflict between the nvidia stuff
and the mesa libs?

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

The problem is almost always that some old OpenGL drivers are hanging around,
but this sounds like an XFree86 configuration problem. Make sure the driver line
in your XF86Config file says “nvidia” and not “nv”, also make sure that if
you’re using an older version of X that “dga” or “glx” is enabled.

I’ve seen some conflicting info on the config. Some docs mention to comment
out the ‘Load “GLcore”’ line, and some don’t - could this be related?

(I’m running v 4.0.3 of X)

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?)

For OpenGL hardware support you have to use NVidia’s drivers.

Thanks.

-EvilTypeGuy


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

Marc MacIntyre
@Marc_MacIntyre

The common cold, if left untreated, lasts about two weeks. If
treated with medication and rest, it lasts about fourteen days.
-saying

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

Marc MacIntyre
@Marc_MacIntyre

So what's the speed of dark?
-

There are a limited amount of source with the source package, only the 'module’
loading portion. There is no source to the driver itself since it contains 3rd
party coprighted properietary tech.

If you install the GLX package, I believe it installs NVidia versions of gl.h,
glx.h, and glu.h that also contain defines for their extensions to OpenGL.

So to answer your question, no, you shouldn’t need any “source” packages
additionally to use their driver…

-EvilTypeGuyOn Wed, Sep 19, 2001 at 01:09:40PM -0700, Marc MacIntyre wrote:

Hey, one other thing - should I be intstalling nVidia from source? I’ve just
been using the binary version, but will I need the source to develop?

You should have NVIDIA_GLX and NVIDIA_kernel (sources, current build number
is 1521), you get them on the download page, choosing the tarball gzipped
archives (noarch ones).

Then, make sure your current kernel sources are pointed by /usr/src/linux,
and compile the nividia_kernel (juste do ‘make’ will install it). You will
get a module that will reside in your /lib/modules//…
and an entry in /etc/modules.conf will be added.
The GLX drivers are only GL binaries that will
overwrite the previous ones (mesa included). Again, just a ‘make’ in
nvidia_glx will work fine.

The GL drivers provided delete the old ones so make a backup if you want to
keep them. But installing them is the only way to get proper hardware accels.

I am running Xfree 4.1.0 on a tnt 2 based card, with no more configuration
(excepted enabling glx in xf86config and replacing “nv” by “nvidia”). It
works fine.On Wednesday 19 September 2001 22:09, Marc MacIntyre wrote:

Hey, one other thing - should I be intstalling nVidia from source? I’ve
just been using the binary version, but will I need the source to develop?

(Wed, Sep 19, 2001 at 12:04:35PM -0700)

Marc MacIntyre (marcmac at marcmac.com) said:

(Wed, Sep 19, 2001 at 01:25:38PM -0500)

EvilTypeGuy (eviltypeguy at qeradiant.com) said:

On Wed, Sep 19, 2001 at 11:11:52AM -0700, 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.

A very good possibility, trying reinstalling the NVIDIA_GLX stuff…

I’ll give that a shot, thanks. Is there any conflict between the nvidia
stuff and the mesa libs?

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

The problem is almost always that some old OpenGL drivers are hanging
around, but this sounds like an XFree86 configuration problem. Make
sure the driver line in your XF86Config file says “nvidia” and not
"nv", also make sure that if you’re using an older version of X that
"dga" or “glx” is enabled.

I’ve seen some conflicting info on the config. Some docs mention to
comment out the ‘Load “GLcore”’ line, and some don’t - could this be
related?

(I’m running v 4.0.3 of X)

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?)

For OpenGL hardware support you have to use NVidia’s drivers.

Thanks.

-EvilTypeGuy


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

Marc MacIntyre
marcmac at marcmac.com

The common cold, if left untreated, lasts about two weeks. If
treated with medication and rest, it lasts about fourteen days.
-saying

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

I’ll give that a shot, thanks. Is there any conflict between the
nvidia stuff and the mesa libs?

Of course there is. The nvidia drivers are a replacement for mesa
(or vice versa, whatever way you see it). It’s one or the other, but
not both.–
Trick


Linux User #229006 * http://counter.li.org