[elrepo] nvidia-x11-drv and GLVND

Phil Perry phil at elrepo.org
Thu Aug 25 13:41:08 EDT 2016


On 25/08/16 13:38, Nicolas Thierry-Mieg wrote:
> On 08/23/2016 11:09 PM, Phil Perry wrote:
>> 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.
>>
>
> Hello,
>
> I just tested the dota2 game on centos6 x86_64. This game is run via
> steam. All seems good: the game starts and runs, the fps seems normal
> and I didn't notice any visual glitches or problems.
> This is with: NVIDIA Corporation GK106 [GeForce GTX 660].
> I only tested a quick game vs bots but I'll likely do more extensive
> testing in the next few days and report back if I encounter any issues.
>
> $ rpm -qa | grep nvidia
> yum-plugin-nvidia-1.0.2-1.el6.elrepo.noarch
> nvidia-x11-drv-32bit-367.35-1.glvnd.el6.elrepo.x86_64
> nvidia-detect-367.27-1.el6.elrepo.x86_64
> kmod-nvidia-367.35-1.el6.elrepo.x86_64
> nvidia-x11-drv-367.35-1.glvnd.el6.elrepo.x86_64
>
> Regards,
> Nicolas

Thanks Nicolas, much appreciated!

 From what I can gather, affected applications tended to not start at 
all, or crashed almost immediately. Hopefully those initial teething 
issues are now resolved.

Nvidia have just released an update, 367.44, so I'll try to get builds 
of that done for the testing repo too - will probably be over the 
weekend. I don't expect any major changes though as the changelog 
doesn't mention anything GLVND related.




More information about the elrepo mailing list