|
|
#1 | |
|
Registered User
Join Date: Jul 2003
Posts: 2
|
I am trying to use NVIDIA OpenGL extensions on Linux. I have successfully used NV_vertex_program, NV_register_combiners, and other NVIDIA extensions on Windows.
Based on the Linux ABI for OpenGL extensions at opengl.org, it appears that I should call glXGetProcAddress() to get a function pointer to the extension functions. (Similar to wglGetProcAddress() on windows). When I am using a default RedHat 9.0 install with the "nv" driver in XF86Config. The application links and runs fine. Obviously, without the NVIDIA extensions as I would expect. After I install the NVIDIA drivers with the NVIDIA-Linux-x86-1.0-4363.run script and set the driver to "nvidia" in XF86Config, I get the following error when I run the application. relocation error: undefined symbol: glXGetProcAddress() If I try and recompile the application, I now get a linker error: undefined reference to 'glXGetProcAddress()' since the NVIDIA install changed the OpenGL shared library which does not contain glXGetProcAddress(). Why is glXGetProcAddress() not in the NVIDIA library and what is the proper way to query and use NVIDIA OpenGL extensions on Linux? Thanks Doug Service |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Jul 2003
Posts: 1
|
Use glXGetProcAddressARB.
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Jul 2003
Posts: 2
|
I had to define GLX_GLXEXT_LEGACY to make the prototype for glXGetProcAddressARB() visible to the application, otherwise the problem is solved. I am now able to get pointers to all of the NVIDIA OpenGL extensions.
Thanks Doug Service |
|
|
|
|
|
#4 | |
|
Registered User
|
Jesus!!!!!
When NVidia will really fix this ? The year is 2005 almost 2006 and i'm using the driver 7676 with my FBSD 6.0 and ERROR remain the same!!!!!!!! ![]() |
|
|
|
|
|
|
#5 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
This is not a NVIDIA bug, glXGetProcAddress() is part of GLX 1.4, which the NVIDIA Linux/UNIX graphics driver doesn't claim to support (nor do I think was GLX 1.4 ever finalized); you should always use glXGetProcAddressARB().
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Jan 2006
Posts: 1
|
The driver doesn't support 1.4 maybe, however, why doesn't it install a compatible
header file for glx? I believe in Linux a new glx header file is installed since this problem never has occured for me untill switched to BSD. |
|
|
|
|
|
|
#7 |
|
NVIDIA Corporation
Join Date: Aug 2002
Posts: 3,740
|
On FreeBSD, the NVIDIA OpenGL/GLX header files are installed to the documentation directory by default; future NVIDIA Linux/FreeBSD/Solaris graphics driver releases (with the exception of legacy driver releases) will support GLX 1.4 (which was recently finalized).
|
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NVIDIA R302.80 Beta Driver for Windows 8, New OpenGL Extensions | News | Latest Tech And Game Headlines | 0 | 06-15-12 10:30 AM |
| (Linux) NVIDIA R302.11 OpenGL Extensions List | News | Latest Tech And Game Headlines | 0 | 06-12-12 07:30 AM |
| Major WineX prob... I think it has to do with the vidcard... | Linewbie | NVIDIA Linux | 20 | 10-09-02 09:58 PM |
| Multiple OpenGL applications and NVidia | gbrauer | NVIDIA Linux | 7 | 09-01-02 04:47 PM |