1
0
forked from ports/opt

nvidia-fb: updated to version 520.56.06

This commit is contained in:
Matt Housh 2022-10-16 00:58:35 -05:00
parent 71398c3108
commit fc86c4baf4
3 changed files with 112 additions and 56 deletions

View File

@ -5,7 +5,13 @@ drwxr-xr-x root/root etc/OpenCL/vendors/
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/modules/
drwxr-xr-x root/root lib/modules/<kernel-version>/
drwxr-xr-x root/root lib/modules/<kernel-version>/extra/
@ -23,63 +29,80 @@ drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/nvidia-cuda-mps-server
-rwxr-xr-x root/root usr/bin/nvidia-debugdump
-rwsr-xr-x root/root usr/bin/nvidia-modprobe
-rwxr-xr-x root/root usr/bin/nvidia-ngx-updater
-rwxr-xr-x root/root usr/bin/nvidia-persistenced
-rwxr-xr-x root/root usr/bin/nvidia-settings
-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.495.46
-rwxr-xr-x root/root usr/lib/libEGL_nvidia.so.495.46
lrwxrwxrwx root/root usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.495.46
-rwxr-xr-x root/root usr/lib/libGLESv1_CM_nvidia.so.495.46
lrwxrwxrwx root/root usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.495.46
-rwxr-xr-x root/root usr/lib/libGLESv2_nvidia.so.495.46
lrwxrwxrwx root/root usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.495.46
-rwxr-xr-x root/root usr/lib/libGLX_nvidia.so.495.46
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
-rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0
lrwxrwxrwx root/root usr/lib/libcuda.so -> libcuda.so.495.46
lrwxrwxrwx root/root usr/lib/libcuda.so.1 -> libcuda.so.495.46
-rwxr-xr-x root/root usr/lib/libcuda.so.495.46
-rwxr-xr-x root/root usr/lib/libnvcuvid.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-allocator.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.495.46
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/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.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-encode.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-fbc.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-glsi.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-glvkspirv.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-gtk2.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-gtk3.so.495.46
lrwxrwxrwx root/root usr/lib/libnvidia-ml.so -> libnvidia-ml.so.495.46
lrwxrwxrwx root/root usr/lib/libnvidia-ml.so.1 -> libnvidia-ml.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-ml.so.495.46
lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so -> libnvidia-opencl.so.495.46
lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so.1 -> libnvidia-opencl.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-opencl.so.495.46
lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so -> libnvidia-ptxjitcompiler.so.495.46
lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-ptxjitcompiler.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-rtcore.so.495.46
-rwxr-xr-x root/root usr/lib/libnvidia-tls.so.495.46
lrwxrwxrwx root/root usr/lib/libnvoptix.so -> libnvoptix.so.495.46
lrwxrwxrwx root/root usr/lib/libnvoptix.so.1 -> libnvoptix.so.495.46
-rwxr-xr-x root/root usr/lib/libnvoptix.so.495.46
lrwxrwxrwx root/root usr/lib/nvidia-drm_gbm.so -> libnvidia-allocator.so.495.46
-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
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.495.46
lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.1 -> libglxserver_nvidia.so.495.46
-rwxr-xr-x root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.495.46
drwxr-xr-x root/root usr/lib/tls/
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
drwxr-xr-x root/root usr/lib/vdpau/
lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.495.46
lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.495.46
-rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.495.46
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
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/
@ -98,7 +121,7 @@ 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-495.46-key-documentation
-rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-495.46-rc
-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
drwxr-xr-x root/root usr/share/pixmaps/
-rw-r--r-- root/root usr/share/pixmaps/nvidia-settings.png

View File

@ -1,7 +1,7 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/e0HOXfUTSwj+6cpFVMT+gx8ZKT98ImQCCKvjGKDfkM7dykPeN3jKgXr5rb+8Xh5Xfnj6syFb3V9r4a5jvGyuw8=
SHA256 (Pkgfile) = 01fffb15c2ad450dcc07677c47135c7387886659404127fb6f50b177f0d086cb
SHA256 (.footprint) = 0e4493932dd3e3f38d7e31c14cc89fd836a2edb608c07bd0cf9bf1d1ed7a059c
SHA256 (NVIDIA-Linux-x86_64-495.46.run) = d83b77d17da0c54667aa5b13d6ea95a5c51304257b1ecf2f8d4a3b5ae31c62f5
RWSE3ohX2g5d/aZmOF9oe98zsV0jPiHWzoKTNiDv7sJ72b+Fx4pRd/U0BmuxU7478kpfdxwUl2aUlSWT4I5Q0Cehw8MwsDS+vA4=
SHA256 (Pkgfile) = c9c54fe0f26d0851ff1a5782c3f7f9bf4ffc2e2978ae715336fb41d84ef28a4e
SHA256 (.footprint) = 71f1c3a2e53eeb7ff55ff927f0007328d732222abb5ec6bbde99dd659fe06215
SHA256 (NVIDIA-Linux-x86_64-520.56.06.run) = 51674b00bed6766ec43d41ca84d18d693906234f85519069b6a341f76c113c46
SHA256 (90-nvidia-uvm.rules) = c35c61cebf5bf9a112ac06539bdc670a388afa4b50a7f8223a114fbeafedb140
SHA256 (10-nvidia-drm-outputclass.conf) = 4a72c70d7e348102f8c159b3f58973218bc740de1d86830f7cbee1c40744929c

View File

@ -4,7 +4,7 @@
# Depends on: gtk gtk3 libglvnd
name=nvidia-fb
version=495.46
version=520.56.06
release=1
source=(https://us.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run \
90-nvidia-uvm.rules 10-nvidia-drm-outputclass.conf)
@ -37,9 +37,11 @@ build() {
ln -s libnvidia-allocator.so.$version $PKG/usr/lib/nvidia-drm_gbm.so
# wayland EGL library and config
#install -d $PKG/usr/share/egl/egl_external_platform.d
#install -m 0755 libnvidia-egl-wayland.so.1.0.2 $PKG/usr/lib/
#install -m 0644 10_nvidia_wayland.json $PKG/usr/share/egl/egl_external_platform.d/
if [ $(prt-get isinst wayland > /dev/null) -ne 0 ]; then
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
# GLVND vendor implementation libraries
install -m 0755 libGLX_nvidia.so.$version $PKG/usr/lib/
@ -51,6 +53,10 @@ build() {
install -d $PKG/etc/vulkan/icd.d
install -m 0644 nvidia_icd.json $PKG/etc/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
# driver component libraries
install -m 0755 libnvidia-allocator.so.$version $PKG/usr/lib/
install -m 0755 libnvidia-cfg.so.$version $PKG/usr/lib/
@ -70,9 +76,15 @@ build() {
install -m 0755 libcuda.so.$version $PKG/usr/lib/
ln -s libcuda.so.$version $PKG/usr/lib/libcuda.so.1
ln -s libcuda.so.$version $PKG/usr/lib/libcuda.so
install -m 0755 libcudadebugger.so.$version $PKG/usr/lib/
ln -s libcudadebugger.so.$version $PKG/usr/lib/libcudadebugger.so.1
ln -s libcudadebugger.so.$version $PKG/usr/lib/libcudadebugger.so
install -m 0755 libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib/
ln -s libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib/libnvidia-ptxjitcompiler.so.1
ln -s libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib/libnvidia-ptxjitcompiler.so
install -m 0755 libnvidia-nvvm.so.$version $PKG/usr/lib/
ln -s libnvidia-nvvm.so.$version $PKG/usr/lib/libnvidia-nvvm.so.1
ln -s libnvidia-nvvm.so.$version $PKG/usr/lib/libnvidia-nvvm.so
# OpenCL libraries and config
install -m 0755 libOpenCL.so.1.0.0 $PKG/usr/lib/
@ -88,7 +100,9 @@ build() {
# TLS libraries
install -m 0755 libnvidia-tls.so.$version $PKG/usr/lib/
install -d $PKG/usr/lib/tls
ln -s libnvidia-tls.so.$version $PKG/usr/lib/libnvidia-tls.so.1
ln -s libnvidia-tls.so.$version $PKG/usr/lib/libnvidia-tls.so
#install -d $PKG/usr/lib/tls
# monitoring and management API library
install -m 0755 libnvidia-ml.so.$version $PKG/usr/lib/
@ -113,6 +127,25 @@ build() {
ln -s libnvoptix.so.$version $PKG/usr/lib/libnvoptix.so.1
ln -s libnvoptix.so.$version $PKG/usr/lib/libnvoptix.so
# optical flow library
install -m 0755 libnvidia-opticalflow.so.$version $PKG/usr/lib/
ln -s libnvidia-opticalflow.so.$version $PKG/usr/lib/libnvidia-opticalflow.so.1
ln -s libnvidia-opticalflow.so.$version $PKG/usr/lib/libnvidia-opticalflow.so
# NGX library and updater
install -m 0755 libnvidia-ngx.so.$version $PKG/usr/lib/
ln -s libnvidia-ngx.so.$version $PKG/usr/lib/libnvidia-ngx.so.1
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/
# GSP firmware
install -m 0755 -d $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 \
$PKG/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf