[elrepo] nvidia-x11-drv and GLVND

Phil Perry phil at elrepo.org
Tue Aug 23 17:09:12 EDT 2016


On 23/08/16 18:28, Phil Perry wrote:

<snip>

>
>
> So at this point I'd like to have a discussion around our options (maybe
> there are more that I haven't thought of). Option 1 is obviously the
> simplest but is difficult to evaluate without knowing the stability of
> the current drivers so I would propose that I start by releasing a GLVND
> enabled package set to the testing repo and lets see how we get on with
> those. If they cause issues with OpenGL applications then we can
> consider options 2 and/or 3 for providing legacy drivers.
>

For now I've built a GLNVD enabled package set and uploaded them to 
their respective testing repositories. Packages are syncing to the 
mirrors. For example:

nvidia-x11-drv-367.35-1.glvnd.el5.elrepo.x86_64.rpm
nvidia-x11-drv-367.35-1.glvnd.el6.elrepo.x86_64.rpm
nvidia-x11-drv-367.35-1.glvnd.el7.elrepo.x86_64.rpm

As can be seen above, I've added .glvnd in the release string, which 
makes these packages a 'newer' version to yum/rpm.

Thus, to test simply enable the testing repo and update:

yum --enablerepo=elrepo-testing update nvidia-x11-drv\*

and yum should pull in the updated GLNVD package(s). Then restart Xorg 
and test.

Looking at the linked libs for any OpenGL application should now show it 
is linked against /usr/lib64/nvidia/libGLX.so.0 which is one of the new 
GLNVD libraries:

[phil at rhel5 ~]$ ldd /usr/bin/glxgears
         linux-vdso.so.1 =>  (0x00007fffcfbfd000)
         libGL.so.1 => /usr/lib64/nvidia/libGL.so.1 (0x00002ad652ad0000)
         libc.so.6 => /lib64/libc.so.6 (0x0000003215400000)
         libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003216800000)
         libm.so.6 => /lib64/libm.so.6 (0x0000003215c00000)
         libdl.so.2 => /lib64/libdl.so.2 (0x0000003215800000)
         libGLX.so.0 => /usr/lib64/nvidia/libGLX.so.0 (0x00002ad652d60000)
         libGLdispatch.so.0 => /usr/lib64/nvidia/libGLdispatch.so.0 
(0x00002ad652f91000)
         /lib64/ld-linux-x86-64.so.2 (0x0000003215000000)
         libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003217000000)
         libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x0000003216c00000)
         libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003217800000)
[phil at rhel5 ~]$

I've only tested using glxgears. Works as expected for me.

If anyone is able to test these builds, please report which distro/arch 
and what OpenGL apps you've tested with. Assuming there are no major 
issues, we could consider switching to GLNVD enabled packages for the 
next major Long-Lived release.

Thanks.




More information about the elrepo mailing list