Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-07-10, 05:06 PM   #1
Deanjo
Registered User
 
Join Date: Aug 2004
Posts: 301
Default Header files in 260.x releases

Please reconsider the packaging of the header files back into the installer for the 260.x series. Having to go to separate sources for those are a royal pain in the a**.
Deanjo is offline   Reply With Quote
Old 09-07-10, 06:38 PM   #2
Deanjo
Registered User
 
Join Date: Aug 2004
Posts: 301
Default Re: Header files in 260.x releases

Where for example are we supposed to get gl.h as the nvidia supplied ones varied dramatically from the distro's gl.h and is not readily downloadable from http://www.opengl.org/registry/ ?
Deanjo is offline   Reply With Quote
Old 09-07-10, 07:48 PM   #3
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: Header files in 260.x releases

I agree. In case of vdpau everyone knows that both most recent headers (vdpau.h and vdpau_x11.h) sits inside libvdpau-0.4.tar.bz2 downloadable from here:
http://cgit.freedesktop.org/~aplattner/libvdpau/

I (and I'm sure other packagers/developers) would like to gain similar detailed information from Nvidia about the rest of missing header files:

OpenGL header files (gl.h, glext.h glx.h, glxext.h):
gl.h ???? No link on page ???
http://www.opengl.org/registry/api/glext.h
glx.h ???? No link on page ???
http://www.opengl.org/registry/api/glxext.h

* CUDA and OpenCL header files (cuda.h, cudaGL.h, cudaVDPAU.h, cl.h, cl_gl.h, cl_platform.h)
??? Have no idea where to look for header files. Any hint? Package name? Link?

There is nothing wrong in moving headers to separate packages, especially when they are compiled from sources. libvdpau is perfect example of well done integration of library sources and headers in one package. We can be sure that both match each other because they are in the same package.

However having library in Nvidia binary driver package and header in any other package somewhere is bad idea - we will never be sure if header matches perfect current driver release - this renders such header useless.

Last edited by zbiggy; 10-16-10 at 06:02 PM. Reason: Added info about not needed headers
zbiggy is offline   Reply With Quote
Old 09-08-10, 11:07 AM   #4
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Header files in 260.x releases

The CUDA headers should be available in the CUDA toolkit. See:

http://developer.nvidia.com/object/gpucomputing.html

(click the link "CUDA Toolkit 3.1 now available")
Stephen Warren is offline   Reply With Quote
Old 09-08-10, 01:47 PM   #5
gonzo_s
Registered User
 
Join Date: Mar 2009
Posts: 58
Default Re: Header files in 260.x releases

Oh my god... Why are doing this to us?

Does this mean that if I want to use OpenGL applications I will have to search for these headers in order to get it working or not?

For e.g. I play OpenArena (Quake III Arena remake) - do I have to download these godd...n headers or not? And where should we put them before installing the driver?
gonzo_s is offline   Reply With Quote
Old 09-08-10, 01:57 PM   #6
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: Header files in 260.x releases

The header files are only required to compile/develop/write applications. If you simply want to use/run existing applications, then the files are not required.
Stephen Warren is offline   Reply With Quote
Old 09-09-10, 11:56 AM   #7
Deanjo
Registered User
 
Join Date: Aug 2004
Posts: 301
Default Re: Header files in 260.x releases

Quote:
Originally Posted by Stephen Warren View Post
The header files are only required to compile/develop/write applications.
Ya which makes it a royal pain in the ass now to use anything but prepackaged apps. If you want people to develop for your solutions you shouldn't send them on a "treasure hunt" to get the needed headers.
Deanjo is offline   Reply With Quote
Old 09-09-10, 12:35 PM   #8
Nerzek
Registered User
 
Join Date: Sep 2010
Posts: 1
Default Re: Header files in 260.x releases

I believe the header files for the OpenGL portion can be obtained from Mesa3D ( at least for Linux, anyways )

I had to use them, anyways, to compile the xorg-server because the ones that were in Nvidia's driver package were incomplete or different from the "standard"; The headers from the binary package were at least missing quite a few definitions.
Nerzek is offline   Reply With Quote

Old 09-10-10, 12:00 PM   #9
dk75
Registered User
 
Join Date: Jan 2009
Posts: 171
Default Re: Header files in 260.x releases

I have this
Code:
root@kitsunes-zotac:~# echo -e "GL/gl.h\nGL/glext.h\nGL/glx.h\nGL/glxext.h" | xargs dpkg-query -S
mesa-common-dev: /usr/include/GL/gl.h
mesa-common-dev: /usr/include/GL/glext.h
mesa-common-dev: /usr/include/GL/glx.h
mesa-common-dev: /usr/include/GL/glxext.h
root@kitsunes-zotac:~# dpkg-query -l mesa-common-dev |awk '$1=="ii" {print}'
ii  mesa-common-dev                                        7.6.0-1ubuntu4                                               Developer documentation for Mesa
root@kitsunes-zotac:~#
on my Ubuntu
Code:
root@kitsunes-zotac:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 9.10
Release:	9.10
Codename:	karmic
root@kitsunes-zotac:~# uname -a
Linux kitsunes-zotac 2.6.32-22-generic #36-Ubuntu SMP Fri Jun 4 18:20:46 UTC 2010 x86_64 GNU/Linux
root@kitsunes-zotac:~#
from standard Ubuntu repository
__________________
  • Linux Debian Sid x86_64/ 3.2.0
  • Lenovo T61p
  • NVIDIA driver 295.33
  • Xorg/XServer 7.6+12/1.11.4
  • GNOME 3.2.2
dk75 is offline   Reply With Quote
Old 09-10-10, 05:33 PM   #10
sl1pkn07
Registered User
 
Join Date: Nov 2006
Location: Spanishtan
Posts: 103
Default Re: Header files in 260.x releases

in archlinux is "mesa" package
sl1pkn07 is offline   Reply With Quote
Old 09-16-10, 06:10 AM   #11
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: Header files in 260.x releases

Splitting headers and libraries makes no sense. We will never be sure if library from current driver package will perfectly match header from cudatoolkit or OpenGL reference headers from OpenGL web page. Even Nvidia does not know if they will match because my questions from post #3 about compatibility was ignored. Recommended driver for cuda is 256.40 so headers in cuda toolkit are matched by this release probably not the current beta. The best what Nvidia can do is to go VDPAU way and create OpenGL package (libs+includes) and openCL (libs+includes) or come back to what was present in 256 family (exceptr VDPAU which is correctly excluded to other package (libs+includes).
zbiggy is offline   Reply With Quote
Old 09-16-10, 06:22 AM   #12
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: Header files in 260.x releases

Quote:
Originally Posted by Stephen Warren View Post
The CUDA headers should be available in the CUDA toolkit. See:

http://developer.nvidia.com/object/gpucomputing.html

(click the link "CUDA Toolkit 3.1 now available")
I downloaded 70MB file just to extract 152kb of header files. And have no idea which driver releases will they match. The recommended driver is still 256.40 for cuda. I understand moving all vdpau to external package - this is good. But OpenGL and OpenCL libs are still part of driver and header files should be kept together with them.
zbiggy is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:02 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.