[elrepo-devel] nvidia-x11-drv additions

Michael Lampe mlampe0 at googlemail.com
Tue Mar 11 20:27:50 EDT 2014


Phil Perry wrote:

> But as Michael says, it makes sense to me to use the OpenGL headers from
> the version of OpenGL running on the target system rather than those
> supplied by NVIDIA for any development work.

The current Unix/Linux ABI for OpenGL is many, many years old. It 
doesn't matter which headers you use as long as they reflect this old 
standard. More recent stuff has to be detected at runtime to be used, 
e.g. with GLEW (http://glew.sourceforge.net).

It also doesn't matter if you link to Mesa's libGL.so or Nvidia's and 
then run with the other, it's all the same -- minus discoverable 
extensions at runtime of course.

> http://elrepo.org/bugs/view.php?id=299
>
> Did we forget to reinstate the symlinks when we reinstalled the
> libnvidia-tls.so lib in the el6 package?

Which symlinks?

   /usr/lib64/nvidia/libnvidia-tls.so.331.49

and

   /usr/lib64/nvidia/tls/libnvidia-tls.so.331.49

are two different files for two different threading implementations with 
the appropriate one selected at runtime.

Just my two cents though. Anyway, I'm using this package on both el5 and 
el6 for quite some time now and everything is just right. (el5 and el6 
will find and use the library under tls as expected and compiling 
OpenGL/CUDA/etc. stuff never was a problem.)

-Michael



More information about the elrepo-devel mailing list