[elrepo-devel] RHEL 7.6 and libglvnd
Michael Lampe
mlampe0 at googlemail.com
Sun Nov 4 22:52:51 EST 2018
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
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.
I've also removed
3) libOpenCL.so*
because a (vendor neutral) OpenCL loader and SDK is available in Epel
and it works fine.
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?
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.
-Michael
PS: I've also removed
4) libGL.la
This would be in a system package if RH wanted it to be available.
More information about the elrepo-devel
mailing list