|
|
#1 | |
|
Guest
Posts: n/a
|
Hi,
I think I must be doing something stupid. I have installed the 3123 drivers on redhat 7.3. X works fine. When I run the command "glxinfo", I get a huge list of supported extensions. In my app, when I query the extension list via glGetString (GL_EXTENSIONS), the list is very short. I do get a reasonable looking renderer and gl version. Also, my GLX extension list is shorter (no pbuffers, for example). When I run my app, it runs fast enough that I am pretty sure it must be using the nvidia drivers. Here is what my application logs: Renderer: "Quadro DCC/AGP/3DNOW!" Extensions: "GL_ARB_multitexture GL_ARB_imaging GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract " GL version: 1.3 ("1.3.1 NVIDIA 31.23") GLX Extensions: "GLX_EXT_visual_info GLX_EXT_visual_rating GLX_EXT_import_context " What am I missing? Thanks. |
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2002
Posts: 1,293
|
This is really just a guess, but it seems to me that perhaps the wrong GL library is being referenced?
I believe the default library referenced should be lib.gl.so.1 (or something like that...). Make sure that this is linked to the library included in the drivers you downloaded. |
|
|
|
|
|
|
#3 | |
|
Registered User
Join Date: Sep 2002
Posts: 2,262
|
What's your code look like?
I did see something that might be relevant, in the glGetString() manpage: Quote:
Like I said, post your code, that might help...
__________________
Registered Linux User #219692 |
|
|
|
|
|
|
#4 | |
|
Guest
Posts: n/a
|
Thanks for your replies.
Here is /usr/lib/libGL*. I think it looks ok. lrwxrwxrwx 1 root root 21 Oct 7 20:01 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.3123* -r-xr-xr-x 1 root root 3623820 Aug 27 19:36 /usr/lib/libGLcore.so.1.0.3123* lrwxrwxrwx 1 root root 10 Oct 7 20:01 /usr/lib/libGL.so -> libGL.so.1* lrwxrwxrwx 1 root root 17 Oct 7 20:01 /usr/lib/libGL.so.1 -> libGL.so.1.0.3123* -r-xr-xr-x 1 root root 283444 Aug 27 19:36 /usr/lib/libGL.so.1.0.3123* lrwxrwxrwx 1 root root 33 Oct 7 13:30 /usr/lib/libGLU.so -> ../../usr/X11R6/lib/libGLU.so.1.3* lrwxrwxrwx 1 root root 33 Oct 7 13:16 /usr/lib/libGLU.so.1 -> ../../usr/X11R6/lib/libGLU.so.1.3* If I break my program at glGetString, then gdb tells me that it is in 0x40caaa50 0x40cd41ac Yes /usr/lib/libGL.so.1 So, I think that the right libGL is being used. I am displaying to my local machine. |
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
I found the problem. I was trying to create a simple code example for you all to look at and I noticed that it worked - so it was definitely my app.
I added a call to glXMakeCurrent before querying for extensions and now I have them all. I thought it was already current I guess it was not. The bizarre thing is that I thought glGetString normally returned NULL if there was no context current Again, thanks for your replies. |
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Video: The Missing Mathematics of Extreme Scale Simulation | News | Latest Tech And Game Headlines | 0 | 09-24-12 01:10 PM |
| Missing Video Modes | Enverex | NVIDIA Linux | 0 | 06-22-12 06:30 AM |
| IBM Courts the Missing Middle with Platform Computing and One-Stop Shopping | News | Latest Tech And Game Headlines | 0 | 06-04-12 10:20 AM |
| TNT2 - DXTC/ S3TC extensions .. | DarkYY | NVIDIA Linux | 19 | 10-01-02 12:31 PM |
| Glx | mrbig1344 | NVIDIA Linux | 7 | 09-30-02 06:45 AM |