From 8927fecdc00740e8d07302ef7dd4ce09c7b73d97 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 4 Nov 2023 11:26:27 +0000 Subject: [PATCH] xf86-video-nvidia: include new shared library libnvidia-gpucomp.so MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New driver component: libnvidia-gpucomp Future NVIDIA graphics drivers for FreeBSD, Linux, Solaris, and VMware ESX will include a new library called libnvidia-gpucomp.so.. The token in the library’s SONAME and filename represents the driver version on Linux, and “1” on other platforms. The following existing libraries will depend upon the new libnvidia-gpucomp library: libnvidia-eglcore.so. libnvidia-glcore.so. libnvidia-rtcore.so. Initially, this dependency will be expressed via DT_NEEDED; however, at some point in the future the libraries which depend upon libnvidia-gpucomp may be updated to dlopen(3) it instead. Any projects which use explicit lists of NVIDIA driver libraries, for example, for creating installation packages or GPU-enabled containers, should be updated to include the new library. https://forums.developer.nvidia.com/t/new-driver-component-libnvidia-gpucomp/267060 --- packages/x11/driver/xf86-video-nvidia/package.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/x11/driver/xf86-video-nvidia/package.mk b/packages/x11/driver/xf86-video-nvidia/package.mk index 83509b67fd..5e60960059 100644 --- a/packages/x11/driver/xf86-video-nvidia/package.mk +++ b/packages/x11/driver/xf86-video-nvidia/package.mk @@ -90,6 +90,10 @@ makeinstall_target() { cp -P nvidia_layers.json ${INSTALL}/usr/share/vulkan/icd.d fi + # nvidia-gpucomp + mkdir -p ${INSTALL}/usr/lib + cp -P libnvidia-gpucomp.so.${PKG_VERSION} ${INSTALL}/usr/lib + # nvidia-tls mkdir -p ${INSTALL}/usr/lib cp -P libnvidia-tls.so.${PKG_VERSION} ${INSTALL}/usr/lib