ports/opt (3.7): [notify] nvidia-fb: updated to version 530.41.03, use pkgadd -u -f to update library symlink ownership
commit 083371cc78a30faebe3a6d2228393ee1eeae1d5d Author: Matt Housh <jaeger@crux.ninja> Date: Tue Mar 28 17:50:30 2023 -0500 [notify] nvidia-fb: updated to version 530.41.03, use pkgadd -u -f to update library symlink ownership * egl/wayland fixes and tweaks * syntax cleanup * moved vulkan icd and layers config files diff --git a/nvidia-fb/.footprint b/nvidia-fb/.footprint index a7548412d..5b80ec08e 100644 --- a/nvidia-fb/.footprint +++ b/nvidia-fb/.footprint @@ -2,16 +2,12 @@ drwxr-xr-x root/root etc/ drwxr-xr-x root/root etc/OpenCL/ drwxr-xr-x root/root etc/OpenCL/vendors/ -rw-r--r-- root/root etc/OpenCL/vendors/nvidia.icd -drwxr-xr-x root/root etc/vulkan/ -drwxr-xr-x root/root etc/vulkan/icd.d/ --rw-r--r-- root/root etc/vulkan/icd.d/nvidia_icd.json -drwxr-xr-x root/root etc/vulkan/implicit_layer.d/ --rw-r--r-- root/root etc/vulkan/implicit_layer.d/nvidia_layers.json drwxr-xr-x root/root lib/ drwxr-xr-x root/root lib/firmware/ drwxr-xr-x root/root lib/firmware/nvidia/ -drwxr-xr-x root/root lib/firmware/nvidia/520.56.06/ --rw-r--r-- root/root lib/firmware/nvidia/520.56.06/gsp.bin +drwxr-xr-x root/root lib/firmware/nvidia/530.41.03/ +-rw-r--r-- root/root lib/firmware/nvidia/530.41.03/gsp_ga10x.bin +-rw-r--r-- root/root lib/firmware/nvidia/530.41.03/gsp_tu10x.bin drwxr-xr-x root/root lib/modules/ drwxr-xr-x root/root lib/modules/<kernel-version>/ drwxr-xr-x root/root lib/modules/<kernel-version>/extra/ @@ -35,74 +31,97 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/nvidia-smi -rwxr-xr-x root/root usr/bin/nvidia-xconfig drwxr-xr-x root/root usr/lib/ -lrwxrwxrwx root/root usr/lib/libEGL_nvidia.so.0 -> libEGL_nvidia.so.520.56.06 --rwxr-xr-x root/root usr/lib/libEGL_nvidia.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.520.56.06 --rwxr-xr-x root/root usr/lib/libGLESv1_CM_nvidia.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.520.56.06 --rwxr-xr-x root/root usr/lib/libGLESv2_nvidia.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.520.56.06 --rwxr-xr-x root/root usr/lib/libGLX_nvidia.so.520.56.06 +drwxr-xr-x root/root usr/lib/gbm/ +lrwxrwxrwx root/root usr/lib/gbm/nvidia-drm_gbm.so -> libnvidia-allocator.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libEGL_nvidia.so.0 -> libEGL_nvidia.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libEGL_nvidia.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libGLESv1_CM_nvidia.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libGLESv2_nvidia.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libGLX_nvidia.so.530.41.03 -rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0 -lrwxrwxrwx root/root usr/lib/libcuda.so -> libcuda.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libcuda.so.1 -> libcuda.so.520.56.06 --rwxr-xr-x root/root usr/lib/libcuda.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libcudadebugger.so -> libcudadebugger.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libcudadebugger.so.1 -> libcudadebugger.so.520.56.06 --rwxr-xr-x root/root usr/lib/libcudadebugger.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvcuvid.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-allocator.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.520.56.06 +lrwxrwxrwx root/root usr/lib/libcuda.so -> libcuda.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libcuda.so.1 -> libcuda.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libcuda.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libcudadebugger.so -> libcudadebugger.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libcudadebugger.so.1 -> libcudadebugger.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libcudadebugger.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvcuvid.so -> libnvcuvid.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvcuvid.so.1 -> libnvcuvid.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvcuvid.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-allocator.so -> libnvidia-allocator.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-allocator.so.1 -> libnvidia-allocator.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-allocator.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-cfg.so -> libnvidia-cfg.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-cfg.so.1 -> libnvidia-cfg.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-compiler.so -> libnvidia-compiler.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-compiler.so.1 -> libnvidia-compiler.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.530.41.03 lrwxrwxrwx root/root usr/lib/libnvidia-egl-gbm.so -> libnvidia-egl-gbm.so.1.1.0 lrwxrwxrwx root/root usr/lib/libnvidia-egl-gbm.so.1 -> libnvidia-egl-gbm.so.1.1.0 -rwxr-xr-x root/root usr/lib/libnvidia-egl-gbm.so.1.1.0 --rwxr-xr-x root/root usr/lib/libnvidia-eglcore.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-encode.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-fbc.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-glsi.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-glvkspirv.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-gtk2.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-gtk3.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-ml.so -> libnvidia-ml.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-ml.so.1 -> libnvidia-ml.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-ml.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-ngx.so -> libnvidia-ngx.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-ngx.so.1 -> libnvidia-ngx.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-ngx.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-nvvm.so -> libnvidia-nvvm.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-nvvm.so.1 -> libnvidia-nvvm.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-nvvm.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so -> libnvidia-opencl.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so.1 -> libnvidia-opencl.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-opencl.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-opticalflow.so.1 -> libnvidia-opticalflow.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-opticalflow.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so -> libnvidia-ptxjitcompiler.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-ptxjitcompiler.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-rtcore.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-tls.so -> libnvidia-tls.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvidia-tls.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvoptix.so -> libnvoptix.so.520.56.06 -lrwxrwxrwx root/root usr/lib/libnvoptix.so.1 -> libnvoptix.so.520.56.06 --rwxr-xr-x root/root usr/lib/libnvoptix.so.520.56.06 -lrwxrwxrwx root/root usr/lib/nvidia-drm_gbm.so -> libnvidia-allocator.so.520.56.06 +lrwxrwxrwx root/root usr/lib/libnvidia-eglcore.so -> libnvidia-eglcore.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-eglcore.so.1 -> libnvidia-eglcore.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-eglcore.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-encode.so -> libnvidia-encode.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-encode.so.1 -> libnvidia-encode.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-encode.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-fbc.so -> libnvidia-fbc.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-fbc.so.1 -> libnvidia-fbc.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-fbc.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-glcore.so -> libnvidia-glcore.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-glcore.so.1 -> libnvidia-glcore.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-glsi.so -> libnvidia-glsi.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-glsi.so.1 -> libnvidia-glsi.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-glsi.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-glvkspirv.so -> libnvidia-glvkspirv.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-glvkspirv.so.1 -> libnvidia-glvkspirv.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-glvkspirv.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-gtk2.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-gtk3.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-ml.so -> libnvidia-ml.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-ml.so.1 -> libnvidia-ml.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-ml.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-ngx.so -> libnvidia-ngx.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-ngx.so.1 -> libnvidia-ngx.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-ngx.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-nvvm.so -> libnvidia-nvvm.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-nvvm.so.1 -> libnvidia-nvvm.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-nvvm.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so -> libnvidia-opencl.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so.1 -> libnvidia-opencl.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-opencl.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-opticalflow.so -> libnvidia-opticalflow.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-opticalflow.so.1 -> libnvidia-opticalflow.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-opticalflow.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so -> libnvidia-ptxjitcompiler.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-ptxjitcompiler.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-rtcore.so -> libnvidia-rtcore.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-rtcore.so.1 -> libnvidia-rtcore.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-rtcore.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-tls.so -> libnvidia-tls.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvidia-tls.so.1 -> libnvidia-tls.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvoptix.so -> libnvoptix.so.530.41.03 +lrwxrwxrwx root/root usr/lib/libnvoptix.so.1 -> libnvoptix.so.530.41.03 +-rwxr-xr-x root/root usr/lib/libnvoptix.so.530.41.03 drwxr-xr-x root/root usr/lib/nvidia/ drwxr-xr-x root/root usr/lib/nvidia/wine/ -rwxr-xr-x root/root usr/lib/nvidia/wine/_nvngx.dll -rwxr-xr-x root/root usr/lib/nvidia/wine/nvngx.dll drwxr-xr-x root/root usr/lib/nvidia/xorg/ -lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so -> libglxserver_nvidia.so.520.56.06 -lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.1 -> libglxserver_nvidia.so.520.56.06 --rwxr-xr-x root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.520.56.06 +lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so -> libglxserver_nvidia.so.530.41.03 +lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.1 -> libglxserver_nvidia.so.530.41.03 +-rwxr-xr-x root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.530.41.03 drwxr-xr-x root/root usr/lib/vdpau/ -lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.520.56.06 -lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.520.56.06 --rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.520.56.06 +lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.530.41.03 +lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.530.41.03 +-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.530.41.03 drwxr-xr-x root/root usr/lib/xorg/ drwxr-xr-x root/root usr/lib/xorg/modules/ drwxr-xr-x root/root usr/lib/xorg/modules/drivers/ @@ -121,7 +140,12 @@ drwxr-xr-x root/root usr/share/glvnd/ drwxr-xr-x root/root usr/share/glvnd/egl_vendor.d/ -rw-r--r-- root/root usr/share/glvnd/egl_vendor.d/10_nvidia.json drwxr-xr-x root/root usr/share/nvidia/ --rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-520.56.06-key-documentation --rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-520.56.06-rc +-rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-530.41.03-key-documentation +-rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-530.41.03-rc drwxr-xr-x root/root usr/share/pixmaps/ -rw-r--r-- root/root usr/share/pixmaps/nvidia-settings.png +drwxr-xr-x root/root usr/share/vulkan/ +drwxr-xr-x root/root usr/share/vulkan/icd.d/ +-rw-r--r-- root/root usr/share/vulkan/icd.d/nvidia_icd.json +drwxr-xr-x root/root usr/share/vulkan/implicit_layer.d/ +-rw-r--r-- root/root usr/share/vulkan/implicit_layer.d/nvidia_layers.json diff --git a/nvidia-fb/.signature b/nvidia-fb/.signature index e96be7857..60d4af448 100644 --- a/nvidia-fb/.signature +++ b/nvidia-fb/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/aZmOF9oe98zsV0jPiHWzoKTNiDv7sJ72b+Fx4pRd/U0BmuxU7478kpfdxwUl2aUlSWT4I5Q0Cehw8MwsDS+vA4= -SHA256 (Pkgfile) = c9c54fe0f26d0851ff1a5782c3f7f9bf4ffc2e2978ae715336fb41d84ef28a4e -SHA256 (.footprint) = 71f1c3a2e53eeb7ff55ff927f0007328d732222abb5ec6bbde99dd659fe06215 -SHA256 (NVIDIA-Linux-x86_64-520.56.06.run) = 51674b00bed6766ec43d41ca84d18d693906234f85519069b6a341f76c113c46 +RWSE3ohX2g5d/erEpbqsuoXqFrSj1XY073ejhogKH7MAVM+wCSJ6jj/DoO+MDZPNxDkDlgm5R16ZlkcKYUXL3XHZSGvQEpuoDAM= +SHA256 (Pkgfile) = edd6a65043ad33ade7d79e32ab1f8ad9f8590dc56728d53c37d59e3313f0741e +SHA256 (.footprint) = 6ff408ce8b77fbb98f004f0d98d4681f99b659be0ea1239ee6e399be4cc491a9 +SHA256 (NVIDIA-Linux-x86_64-530.41.03.run) = ae27a16a968c85503f5d161dda343c1602612b025f4aee15f92e2ea0acb784b1 SHA256 (90-nvidia-uvm.rules) = c35c61cebf5bf9a112ac06539bdc670a388afa4b50a7f8223a114fbeafedb140 SHA256 (10-nvidia-drm-outputclass.conf) = 4a72c70d7e348102f8c159b3f58973218bc740de1d86830f7cbee1c40744929c diff --git a/nvidia-fb/Pkgfile b/nvidia-fb/Pkgfile index 41b57a484..6fbdf25bc 100644 --- a/nvidia-fb/Pkgfile +++ b/nvidia-fb/Pkgfile @@ -4,7 +4,7 @@ # Depends on: gtk gtk3 libglvnd name=nvidia-fb -version=520.56.06 +version=530.41.03 release=1 source=(https://us.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x8... \ 90-nvidia-uvm.rules 10-nvidia-drm-outputclass.conf) @@ -34,12 +34,15 @@ build() { ln -s libnvidia-egl-gbm.so.1.1.0 $PKG/usr/lib/libnvidia-egl-gbm.so.1 ln -s libnvidia-egl-gbm.so.1.1.0 $PKG/usr/lib/libnvidia-egl-gbm.so install -D -m 0644 15_nvidia_gbm.json $PKG/usr/share/egl/egl_external_platform.d/15_nvidia_gbm.json - ln -s libnvidia-allocator.so.$version $PKG/usr/lib/nvidia-drm_gbm.so - - # wayland EGL library and config - if [ $(prt-get isinst wayland > /dev/null) -ne 0 ]; then + install -d -m 0755 $PKG/usr/lib/gbm + ln -s libnvidia-allocator.so.$version $PKG/usr/lib/gbm/nvidia-drm_gbm.so + + # wayland config + if prt-get isinst wayland > /dev/null; then + # let egl-wayland handle the library + echo -e "\n\nINFO: wayland is installed; if nvidia eglstream support is desired/needed, install 'egl-wayland'!\n\n" + sleep 5 install -d $PKG/usr/share/egl/egl_external_platform.d - install -m 0755 libnvidia-egl-wayland.so.1.1.9 $PKG/usr/lib/ install -m 0644 10_nvidia_wayland.json $PKG/usr/share/egl/egl_external_platform.d/ fi @@ -50,22 +53,17 @@ build() { ln -s libEGL_nvidia.so.$version $PKG/usr/lib/libEGL_nvidia.so.0 # vulkan ICD config - install -d $PKG/etc/vulkan/icd.d - install -m 0644 nvidia_icd.json $PKG/etc/vulkan/icd.d/nvidia_icd.json + install -D -m 0644 nvidia_icd.json $PKG/usr/share/vulkan/icd.d/nvidia_icd.json - # vulkan layers config - install -d $PKG/etc/vulkan/implicit_layer.d - install -m 0644 nvidia_layers.json $PKG/etc/vulkan/implicit_layer.d/nvidia_layers.json + # vulkan layer config + install -D -m 0644 nvidia_layers.json $PKG/usr/share/vulkan/implicit_layer.d/nvidia_layers.json # driver component libraries - install -m 0755 libnvidia-allocator.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-cfg.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-compiler.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-eglcore.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-glcore.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-glsi.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-glvkspirv.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-rtcore.so.$version $PKG/usr/lib/ + for C in allocator cfg compiler {e,}glcore gl{si,vkspirv} rtcore; do + install -m 0755 libnvidia-${C}.so.$version $PKG/usr/lib/ + ln -s libnvidia-${C}.so.$version $PKG/usr/lib/libnvidia-${C}.so.1 + ln -s libnvidia-${C}.so.$version $PKG/usr/lib/libnvidia-${C}.so + done # vendor VDPAU library install -D -m 0755 libvdpau_nvidia.so.$version $PKG/usr/lib/vdpau/libvdpau_nvidia.so.$version @@ -118,9 +116,11 @@ build() { install -m 0755 libnvidia-gtk{2,3}.so.$version $PKG/usr/lib/ # encoding/decoding libraries - install -m 0755 libnvcuvid.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-encode.so.$version $PKG/usr/lib/ - install -m 0755 libnvidia-fbc.so.$version $PKG/usr/lib/ + for C in nvcuvid nvidia-{encode,fbc}; do + install -m 0755 lib${C}.so.$version $PKG/usr/lib/ + ln -s lib${C}.so.$version $PKG/usr/lib/lib${C}.so.1 + ln -s lib${C}.so.$version $PKG/usr/lib/lib${C}.so + done # OptiX ray tracing engine install -m 0755 libnvoptix.so.$version $PKG/usr/lib/ @@ -138,13 +138,15 @@ build() { ln -s libnvidia-ngx.so.$version $PKG/usr/lib/libnvidia-ngx.so install -m 0755 nvidia-ngx-updater $PKG/usr/bin/ - # NGX for proton/wine - install -m 0755 -d $PKG/usr/lib/nvidia/wine - install -m 0755 nvngx.dll _nvngx.dll $PKG/usr/lib/nvidia/wine/ + # NGX for wine/proton + if prt-get listinst --regex '^wine' > /dev/null 2>&1; then + install -m 0755 -d $PKG/usr/lib/nvidia/wine + install -m 0755 *.dll $PKG/usr/lib/nvidia/wine/ + fi # GSP firmware install -m 0755 -d $PKG/lib/firmware/nvidia/$version - install -m 0644 firmware/gsp.bin $PKG/lib/firmware/nvidia/$version/ + install -m 0644 firmware/gsp_*.bin $PKG/lib/firmware/nvidia/$version/ # X driver config install -D -m 0644 $SRC/10-nvidia-drm-outputclass.conf \ diff --git a/nvidia-fb/README b/nvidia-fb/README index 180ad697d..e240ff216 100644 --- a/nvidia-fb/README +++ b/nvidia-fb/README @@ -1,9 +1,11 @@ -README for nvidia 1xx.xx+ +NOTE about groups and device permissions: +Add your user to the "video" group to be able to +use the nvidia devices required for 3D to function properly. -*** NOTE for nvidia with udev *** +NOTE about wayland and eglstream: -If using udev, add your user to the "video" group to be able to -use the nvidia devices required for 3d to function properly. +If wayland is installed and eglstream support is desired/needed, +additionally install the 'egl-wayland' port.
participants (1)
-
crux@crux.nu