[elrepo-devel] RHEL 7.6 and libglvnd

Phil Perry phil at elrepo.org
Mon Nov 5 15:15:19 EST 2018


On 05/11/2018 03:52, Michael Lampe via elrepo-devel wrote:
> Hi Phil,
> 
> I've also experimented a little and basically arrived at the same 
> conclusion:
> 
> https://github.com/mlampe/packages/blob/master/nvidia-x11-drv/el7/nvidia-x11-drv.spec 
> 

Great.

> 
> Additional changes: I've removed these two links.
> 
> 1) libnvidia-cfg.so -> libnvidia-cfg.so.%{version}
> 2) vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.%{version}
> 
> There is no SDK for libnvidia-cfg, so nobody can link his own programs 
> to this library. Hence no so link. And vdpau drivers are selected at 
> runtime as libvdpau_<driver>.so.1. There is also no so link in 
> mesa-vdpau-drivers.
> 

Acknowledged.

> I've also removed
> 
> 3) libOpenCL.so*
> 
> because a (vendor neutral) OpenCL loader and SDK is available in Epel 
> and it works fine.
> 

I decided to go the other route here and added a Conflicts against the 
epel package as I don't want to rely on anything outside of our repo or 
the distro. If the vendor neutral package gets added to the distro I'll 
drop it.

> About Wayland: Last I heard is that RH's tech preview doesn't work with 
> the nvidia driver anyway, but I've never tried it myself. Does it work 
> for you?
> 

I think you're probably correct having read the rhel7.5 release notes 
more carefully. I've not tried testing it and a quick search of Wayland 
on RHEL turned up nothing than press releases on the original 
announcement. Doesn't hurt to leave libnvidia-egl-wayland in though in 
case people want to try for themselves.

> As for the 32-bit libs: I would only keep
> 
>    Requires:    libglvnd
> 
> and remove
> 
>    Requires:    libglvnd-egl
>    Requires:    libglvnd-gles
>    Requires:    libglvnd-glx
>    Requires:    libglvnd-opengl
>    Requires:    libvdpau
>    Requires:    mesa-libEGL
>    Requires:    mesa-libGL
>    Requires:    mesa-libGLES
> 
> This is enough to make sure we are 7.6+. If you then install a program 
> that needs EGL for example, yum will take care of mesa-libEGL and 
> libglvnd-egl. There's no need for the driver package to pull this in in 
> advance.
> 

Fair enough - yum should sort out any dependencies and if it doesn't we 
can always add things back as required.

> -Michael
> 
> PS: I've also removed
> 
> 4) libGL.la
> 
> This would be in a system package if RH wanted it to be available.

Agreed.

Thanks for the feedback. I'll continue to push changes up to github and 
test but will hold off releasing until CentOS have released their el7.6 
offering so the deps are all in place.




More information about the elrepo-devel mailing list