From 3d5cb8273405c14c1fbdc163a60decf7b6a10ec9 Mon Sep 17 00:00:00 2001 From: NVIDIA Package Group <> Date: Tue, 22 Oct 2024 17:05:20 +0200 Subject: [PATCH] Initial commit --- .github/workflows/build-canaryi386.yml | 37 + .github/workflows/build-canaryv3.yml | 37 + .github/workflows/build-nesti386.yml | 37 + .github/workflows/build-nestv3.yml | 37 + .github/workflows/release-canaryi386.yml | 40 + .github/workflows/release-canaryv3.yml | 40 + .github/workflows/release-nesti386.yml | 40 + .github/workflows/release-nestv3.yml | 40 + LICENSE | 373 +++++ README.md | 2 + create-from-template.sh | 21 + main.sh | 26 + .../debian/README.alternatives | 84 ++ .../debian/changelog | 5 + .../debian/control | 1339 +++++++++++++++++ .../debian/copyright | 445 ++++++ ...-nvidia-gsp-#DRIVER_VERSION_MAJOR#.install | 2 + ...p-#DRIVER_VERSION_MAJOR#.lintian-overrides | 4 + .../libcuda1-#DRIVER_VERSION_MAJOR#.install | 2 + .../libcuda1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 9 + .../libcuda1-#DRIVER_VERSION_MAJOR#.postinst | 17 + ...dadebugger1-#DRIVER_VERSION_MAJOR#.install | 2 + ...cudadebugger1-#DRIVER_VERSION_MAJOR#.links | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 10 + ...egl-nvidia0-#DRIVER_VERSION_MAJOR#.install | 2 + ...ibegl-nvidia0-#DRIVER_VERSION_MAJOR#.links | 2 + ...0-#DRIVER_VERSION_MAJOR#.lintian-overrides | 11 + ...idia-glvnd-glx-#DRIVER_VERSION_MAJOR#.docs | 2 + ...les-nvidia1-#DRIVER_VERSION_MAJOR#.install | 2 + ...bgles-nvidia1-#DRIVER_VERSION_MAJOR#.links | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 10 + ...les-nvidia2-#DRIVER_VERSION_MAJOR#.install | 2 + ...bgles-nvidia2-#DRIVER_VERSION_MAJOR#.links | 2 + ...2-#DRIVER_VERSION_MAJOR#.lintian-overrides | 10 + ...glx-nvidia0-#DRIVER_VERSION_MAJOR#.install | 2 + ...ibglx-nvidia0-#DRIVER_VERSION_MAJOR#.links | 2 + ...0-#DRIVER_VERSION_MAJOR#.lintian-overrides | 12 + ...libnvcuvid1-#DRIVER_VERSION_MAJOR#.install | 2 + .../libnvcuvid1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 9 + ...-allocator1-#DRIVER_VERSION_MAJOR#.install | 2 + ...ia-allocator1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 8 + ...nvidia-api1-#DRIVER_VERSION_MAJOR#.install | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 9 + ...nvidia-cfg1-#DRIVER_VERSION_MAJOR#.install | 2 + ...ibnvidia-cfg1-#DRIVER_VERSION_MAJOR#.links | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 10 + ...dia-eglcore-#DRIVER_VERSION_MAJOR#.install | 3 + ...e-#DRIVER_VERSION_MAJOR#.lintian-overrides | 17 + ...dia-encode1-#DRIVER_VERSION_MAJOR#.install | 2 + ...vidia-encode1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 8 + ...nvidia-fbc1-#DRIVER_VERSION_MAJOR#.install | 2 + ...ibnvidia-fbc1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 7 + ...idia-glcore-#DRIVER_VERSION_MAJOR#.install | 3 + ...e-#DRIVER_VERSION_MAJOR#.lintian-overrides | 18 + ...a-glvkspirv-#DRIVER_VERSION_MAJOR#.install | 2 + ...v-#DRIVER_VERSION_MAJOR#.lintian-overrides | 15 + ...dia-gpucomp-#DRIVER_VERSION_MAJOR#.install | 2 + ...p-#DRIVER_VERSION_MAJOR#.lintian-overrides | 15 + ...bnvidia-ml1-#DRIVER_VERSION_MAJOR#.install | 2 + ...libnvidia-ml1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 8 + ...nvidia-ngx1-#DRIVER_VERSION_MAJOR#.install | 4 + ...ibnvidia-ngx1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 9 + ...vidia-nvvm4-#DRIVER_VERSION_MAJOR#.install | 2 + ...bnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.links | 3 + ...4-#DRIVER_VERSION_MAJOR#.lintian-overrides | 7 + ...pticalflow1-#DRIVER_VERSION_MAJOR#.install | 2 + ...-opticalflow1-#DRIVER_VERSION_MAJOR#.links | 3 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 7 + ...11-openssl3-#DRIVER_VERSION_MAJOR#.install | 2 + ...3-#DRIVER_VERSION_MAJOR#.lintian-overrides | 15 + ...itcompiler1-#DRIVER_VERSION_MAJOR#.install | 2 + ...xjitcompiler1-#DRIVER_VERSION_MAJOR#.links | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 15 + ...idia-rtcore-#DRIVER_VERSION_MAJOR#.install | 2 + ...e-#DRIVER_VERSION_MAJOR#.lintian-overrides | 14 + ...libnvoptix1-#DRIVER_VERSION_MAJOR#.install | 3 + .../libnvoptix1-#DRIVER_VERSION_MAJOR#.links | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 10 + .../debian/not-installed | 38 + ...ia-alternative-#DRIVER_VERSION_MAJOR#.dirs | 11 + ...alternative-#DRIVER_VERSION_MAJOR#.install | 1 + ...e-#DRIVER_VERSION_MAJOR#.lintian-overrides | 11 + ...lternative-#DRIVER_VERSION_MAJOR#.postinst | 139 ++ ...a-alternative-#DRIVER_VERSION_MAJOR#.prerm | 14 + ...lternative-#DRIVER_VERSION_MAJOR#.triggers | 15 + ...vidia-cuda-mps-#DRIVER_VERSION_MAJOR#.dirs | 1 + ...ia-cuda-mps-#DRIVER_VERSION_MAJOR#.install | 2 + ...idia-cuda-mps-#DRIVER_VERSION_MAJOR#.links | 1 + ...s-#DRIVER_VERSION_MAJOR#.lintian-overrides | 5 + ...a-cuda-mps-#DRIVER_VERSION_MAJOR#.manpages | 1 + .../nvidia-driver-#DRIVER_VERSION_MAJOR#.docs | 4 + ...-driver-bin-#DRIVER_VERSION_MAJOR#.install | 5 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 8 + ...s-#DRIVER_VERSION_MAJOR#.lintian-overrides | 1 + ...river-libs-#DRIVER_VERSION_MAJOR#.postinst | 22 + ...-egl-common-#DRIVER_VERSION_MAJOR#.install | 1 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 2 + ...rnel-common-#DRIVER_VERSION_MAJOR#.install | 2 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 5 + ...-kernel-common-#DRIVER_VERSION_MAJOR#.udev | 10 + ...ia-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms | 35 + ...ia-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs | 1 + ...kernel-dkms-#DRIVER_VERSION_MAJOR#.install | 1 + ...s-#DRIVER_VERSION_MAJOR#.lintian-overrides | 5 + ...-kernel-source-#DRIVER_VERSION_MAJOR#.docs | 2 + ...rnel-source-#DRIVER_VERSION_MAJOR#.install | 6 + ...nel-support-#DRIVER_VERSION_MAJOR#.install | 4 + ...ernel-support-#DRIVER_VERSION_MAJOR#.links | 1 + ...t-#DRIVER_VERSION_MAJOR#.lintian-overrides | 2 + ...el-support-#DRIVER_VERSION_MAJOR#.postinst | 19 + ...rnel-support-#DRIVER_VERSION_MAJOR#.postrm | 12 + ...-libopencl1-#DRIVER_VERSION_MAJOR#.install | 2 + ...ia-libopencl1-#DRIVER_VERSION_MAJOR#.links | 2 + ...1-#DRIVER_VERSION_MAJOR#.lintian-overrides | 13 + ...ia-modprobe-#DRIVER_VERSION_MAJOR#.install | 2 + ...e-#DRIVER_VERSION_MAJOR#.lintian-overrides | 1 + ...vidia-modprobe-#DRIVER_VERSION_MAJOR#.udev | 16 + ...ia-open-driver-#DRIVER_VERSION_MAJOR#.docs | 4 + ...rnel-common-#DRIVER_VERSION_MAJOR#.install | 2 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 5 + ...-kernel-common-#DRIVER_VERSION_MAJOR#.udev | 10 + ...en-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms | 35 + ...en-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs | 1 + ...kernel-dkms-#DRIVER_VERSION_MAJOR#.install | 1 + ...s-#DRIVER_VERSION_MAJOR#.lintian-overrides | 5 + ...-kernel-source-#DRIVER_VERSION_MAJOR#.docs | 2 + ...rnel-source-#DRIVER_VERSION_MAJOR#.install | 6 + ...encl-common-#DRIVER_VERSION_MAJOR#.install | 1 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 2 + ...-opencl-icd-#DRIVER_VERSION_MAJOR#.install | 2 + ...ia-opencl-icd-#DRIVER_VERSION_MAJOR#.links | 2 + ...d-#DRIVER_VERSION_MAJOR#.lintian-overrides | 12 + ...ersistenced-#DRIVER_VERSION_MAJOR#.install | 3 + ...d-#DRIVER_VERSION_MAJOR#.lintian-overrides | 2 + ...rsistenced-#DRIVER_VERSION_MAJOR#.postinst | 11 + ...dia-powerd-#DRIVER_VERSION_MAJOR#.examples | 2 + ...idia-powerd-#DRIVER_VERSION_MAJOR#.install | 2 + ...d-#DRIVER_VERSION_MAJOR#.lintian-overrides | 4 + ...ia-settings-#DRIVER_VERSION_MAJOR#.install | 7 + ...s-#DRIVER_VERSION_MAJOR#.lintian-overrides | 8 + .../nvidia-smi-#DRIVER_VERSION_MAJOR#.install | 2 + ...i-#DRIVER_VERSION_MAJOR#.lintian-overrides | 9 + ...idia-support-#DRIVER_VERSION_MAJOR#.config | 17 + ...dia-support-#DRIVER_VERSION_MAJOR#.install | 4 + ...t-#DRIVER_VERSION_MAJOR#.lintian-overrides | 21 + ...ia-support-#DRIVER_VERSION_MAJOR#.manpages | 1 + ...ia-support-#DRIVER_VERSION_MAJOR#.postinst | 7 + ...idia-support-#DRIVER_VERSION_MAJOR#.postrm | 11 + ...a-support-#DRIVER_VERSION_MAJOR#.templates | 58 + ...pend-common-#DRIVER_VERSION_MAJOR#.install | 5 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 15 + ...end-common-#DRIVER_VERSION_MAJOR#.postinst | 5 + ...uspend-common-#DRIVER_VERSION_MAJOR#.prerm | 5 + ...a-vdpau-driver-#DRIVER_VERSION_MAJOR#.docs | 1 + ...dpau-driver-#DRIVER_VERSION_MAJOR#.install | 2 + ...-vdpau-driver-#DRIVER_VERSION_MAJOR#.links | 2 + ...r-#DRIVER_VERSION_MAJOR#.lintian-overrides | 8 + ...lkan-common-#DRIVER_VERSION_MAJOR#.install | 2 + ...n-#DRIVER_VERSION_MAJOR#.lintian-overrides | 2 + ...dia-xconfig-#DRIVER_VERSION_MAJOR#.install | 2 + ...g-#DRIVER_VERSION_MAJOR#.lintian-overrides | 1 + .../debian/rules | 39 + .../debian/source/format | 1 + .../debian/source/lintian-overrides | 21 + ...g-video-nvidia-#DRIVER_VERSION_MAJOR#.docs | 1 + ...ideo-nvidia-#DRIVER_VERSION_MAJOR#.install | 6 + ...-video-nvidia-#DRIVER_VERSION_MAJOR#.links | 3 + ...a-#DRIVER_VERSION_MAJOR#.lintian-overrides | 4 + ...deo-nvidia-#DRIVER_VERSION_MAJOR#.postinst | 22 + ...video-nvidia-#DRIVER_VERSION_MAJOR#.postrm | 29 + .../extra_files/10-nvidia-amd64-module.conf | 15 + .../extra_files/alternate-install-present | 3 + .../extra_files/bug-script | 158 ++ .../extra_files/build-module-packages.sh | 70 + .../extra_files/build-open-module-packages.sh | 70 + .../check-for-conflicting-opengl-libraries | 76 + .../check-for-mismatching-nvidia-module | 66 + .../extra_files/control.models | 3 + .../nvidia-blacklists-nouveau.conf | 4 + .../extra_files/nvidia-bug-report.sh.1 | 20 + .../extra_files/nvidia-create-device-nodes | 37 + .../extra_files/nvidia-libdir.conf | 3 + .../extra_files/nvidia-load.conf | 1 + .../extra_files/nvidia-modprobe.conf | 27 + .../extra_files/nvidia-options.conf | 10 + .../systemd/nvidia-persistenced.service | 37 + .../sysv/nvidia-persistenced | 81 + .../extra_files/nvidia-settings.desktop | 43 + .../extra_files/nvidia.ids | 380 +++++ .../extra_files/nvidia_helper | 5 + .../extra_files/nvidia_helper.ck | 7 + .../extra_files/pre-install | 30 + pika-build-config/amd64-v3.sh | 11 + pika-build-config/i386.sh | 6 + release.sh | 2 + version.sh | 2 + 203 files changed, 5012 insertions(+) create mode 100644 .github/workflows/build-canaryi386.yml create mode 100644 .github/workflows/build-canaryv3.yml create mode 100644 .github/workflows/build-nesti386.yml create mode 100644 .github/workflows/build-nestv3.yml create mode 100644 .github/workflows/release-canaryi386.yml create mode 100644 .github/workflows/release-canaryv3.yml create mode 100644 .github/workflows/release-nesti386.yml create mode 100644 .github/workflows/release-nestv3.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100755 create-from-template.sh create mode 100755 main.sh create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/README.alternatives create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/changelog create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/control create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/copyright create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgl1-nvidia-glvnd-glx-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/not-installed create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.dirs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.prerm create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.triggers create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.dirs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.manpages create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.udev create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postrm create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.udev create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-driver-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.udev create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.examples create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.config create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.manpages create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postrm create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.templates create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/rules create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/format create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.docs create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.install create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.links create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.lintian-overrides create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postinst create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postrm create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/10-nvidia-amd64-module.conf create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/alternate-install-present create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/bug-script create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-module-packages.sh create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-open-module-packages.sh create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-conflicting-opengl-libraries create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-mismatching-nvidia-module create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/control.models create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-blacklists-nouveau.conf create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-bug-report.sh.1 create mode 100755 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-create-device-nodes create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-libdir.conf create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-load.conf create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-modprobe.conf create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-options.conf create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/systemd/nvidia-persistenced.service create mode 100755 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/sysv/nvidia-persistenced create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-settings.desktop create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia.ids create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper.ck create mode 100644 nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/pre-install create mode 100755 pika-build-config/amd64-v3.sh create mode 100755 pika-build-config/i386.sh create mode 100755 release.sh create mode 100755 version.sh diff --git a/.github/workflows/build-canaryi386.yml b/.github/workflows/build-canaryi386.yml new file mode 100644 index 0000000..5d3fcb7 --- /dev/null +++ b/.github/workflows/build-canaryi386.yml @@ -0,0 +1,37 @@ +name: PikaOS Package Build Only (Canary) (i386) + +on: + push: + branches: + - main + paths: + - '.github/build-canary-i386' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:canaryi386 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh diff --git a/.github/workflows/build-canaryv3.yml b/.github/workflows/build-canaryv3.yml new file mode 100644 index 0000000..bff3d86 --- /dev/null +++ b/.github/workflows/build-canaryv3.yml @@ -0,0 +1,37 @@ +name: PikaOS Package Build Only (Canary) (amd64-v3) + +on: + push: + branches: + - main + paths: + - '.github/build-canary-v3' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh diff --git a/.github/workflows/build-nesti386.yml b/.github/workflows/build-nesti386.yml new file mode 100644 index 0000000..10c1653 --- /dev/null +++ b/.github/workflows/build-nesti386.yml @@ -0,0 +1,37 @@ +name: PikaOS Package Build Only (i386) + +on: + push: + branches: + - main + paths: + - '.github/build-nest-i386' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:nesti386 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh diff --git a/.github/workflows/build-nestv3.yml b/.github/workflows/build-nestv3.yml new file mode 100644 index 0000000..3c9c34d --- /dev/null +++ b/.github/workflows/build-nestv3.yml @@ -0,0 +1,37 @@ +name: PikaOS Package Build Only (amd64-v3) + +on: + push: + branches: + - main + paths: + - '.github/build-nest-v3' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:nestv3 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh diff --git a/.github/workflows/release-canaryi386.yml b/.github/workflows/release-canaryi386.yml new file mode 100644 index 0000000..653861d --- /dev/null +++ b/.github/workflows/release-canaryi386.yml @@ -0,0 +1,40 @@ +name: PikaOS Package Build & Release (Canary) (i386) + +on: + push: + branches: + - main + paths: + - '.github/release-canary-i386' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:canaryi386 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh + + - name: Release Package + run: ./release.sh diff --git a/.github/workflows/release-canaryv3.yml b/.github/workflows/release-canaryv3.yml new file mode 100644 index 0000000..436c8ff --- /dev/null +++ b/.github/workflows/release-canaryv3.yml @@ -0,0 +1,40 @@ +name: PikaOS Package Build & Release (Canary) (amd64-v3) + +on: + push: + branches: + - main + paths: + - '.github/release-canary-v3' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh + + - name: Release Package + run: ./release.sh diff --git a/.github/workflows/release-nesti386.yml b/.github/workflows/release-nesti386.yml new file mode 100644 index 0000000..126d643 --- /dev/null +++ b/.github/workflows/release-nesti386.yml @@ -0,0 +1,40 @@ +name: PikaOS Package Build & Release (i386) + +on: + push: + branches: + - main + paths: + - '.github/release-nest-i386' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:nesti386 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh + + - name: Release Package + run: ./release.sh diff --git a/.github/workflows/release-nestv3.yml b/.github/workflows/release-nestv3.yml new file mode 100644 index 0000000..ed42bb7 --- /dev/null +++ b/.github/workflows/release-nestv3.yml @@ -0,0 +1,40 @@ +name: PikaOS Package Build & Release (amd64-v3) + +on: + push: + branches: + - main + paths: + - '.github/release-nest-v3' + +jobs: + build: + runs-on: ubuntu-latest + container: + image: ghcr.io/pikaos-linux/pikaos-builder:nestv3 + volumes: + - /proc:/proc + options: --privileged -it + + steps: + - uses: actions/checkout@v3 + + - name: Install SSH key + uses: shimataro/ssh-key-action@v2 + with: + key: ${{ secrets.SSH_KEY }} + name: id_rsa + known_hosts: ${{ secrets.KNOWN_HOSTS }} + if_key_exists: replace + + - name: Update APT Cache + run: apt-get update -y + + - name: Set Build Config + run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh + + - name: Build Package + run: ./main.sh + + - name: Release Package + run: ./release.sh diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ee6256c --- /dev/null +++ b/LICENSE @@ -0,0 +1,373 @@ +Mozilla Public License Version 2.0 +================================== + +1. Definitions +-------------- + +1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + +1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + +1.3. "Contribution" + means Covered Software of a particular Contributor. + +1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + +1.5. "Incompatible With Secondary Licenses" + means + + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + +1.6. "Executable Form" + means any form of the work other than Source Code Form. + +1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + +1.8. "License" + means this document. + +1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + +1.10. "Modifications" + means any of the following: + + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + + (b) any new file in Source Code Form that contains any Covered + Software. + +1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + +1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + +1.13. "Source Code Form" + means the form of the work preferred for making modifications. + +1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + +2. License Grants and Conditions +-------------------------------- + +2.1. Grants + +Each Contributor hereby grants You a world-wide, royalty-free, +non-exclusive license: + +(a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + +(b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + +2.2. Effective Date + +The licenses granted in Section 2.1 with respect to any Contribution +become effective for each Contribution on the date the Contributor first +distributes such Contribution. + +2.3. Limitations on Grant Scope + +The licenses granted in this Section 2 are the only rights granted under +this License. No additional rights or licenses will be implied from the +distribution or licensing of Covered Software under this License. +Notwithstanding Section 2.1(b) above, no patent license is granted by a +Contributor: + +(a) for any code that a Contributor has removed from Covered Software; + or + +(b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + +(c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + +This License does not grant any rights in the trademarks, service marks, +or logos of any Contributor (except as may be necessary to comply with +the notice requirements in Section 3.4). + +2.4. Subsequent Licenses + +No Contributor makes additional grants as a result of Your choice to +distribute the Covered Software under a subsequent version of this +License (see Section 10.2) or under the terms of a Secondary License (if +permitted under the terms of Section 3.3). + +2.5. Representation + +Each Contributor represents that the Contributor believes its +Contributions are its original creation(s) or it has sufficient rights +to grant the rights to its Contributions conveyed by this License. + +2.6. Fair Use + +This License is not intended to limit any rights You have under +applicable copyright doctrines of fair use, fair dealing, or other +equivalents. + +2.7. Conditions + +Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted +in Section 2.1. + +3. Responsibilities +------------------- + +3.1. Distribution of Source Form + +All distribution of Covered Software in Source Code Form, including any +Modifications that You create or to which You contribute, must be under +the terms of this License. You must inform recipients that the Source +Code Form of the Covered Software is governed by the terms of this +License, and how they can obtain a copy of this License. You may not +attempt to alter or restrict the recipients' rights in the Source Code +Form. + +3.2. Distribution of Executable Form + +If You distribute Covered Software in Executable Form then: + +(a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + +(b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + +3.3. Distribution of a Larger Work + +You may create and distribute a Larger Work under terms of Your choice, +provided that You also comply with the requirements of this License for +the Covered Software. If the Larger Work is a combination of Covered +Software with a work governed by one or more Secondary Licenses, and the +Covered Software is not Incompatible With Secondary Licenses, this +License permits You to additionally distribute such Covered Software +under the terms of such Secondary License(s), so that the recipient of +the Larger Work may, at their option, further distribute the Covered +Software under the terms of either this License or such Secondary +License(s). + +3.4. Notices + +You may not remove or alter the substance of any license notices +(including copyright notices, patent notices, disclaimers of warranty, +or limitations of liability) contained within the Source Code Form of +the Covered Software, except that You may alter any license notices to +the extent required to remedy known factual inaccuracies. + +3.5. Application of Additional Terms + +You may choose to offer, and to charge a fee for, warranty, support, +indemnity or liability obligations to one or more recipients of Covered +Software. However, You may do so only on Your own behalf, and not on +behalf of any Contributor. You must make it absolutely clear that any +such warranty, support, indemnity, or liability obligation is offered by +You alone, and You hereby agree to indemnify every Contributor for any +liability incurred by such Contributor as a result of warranty, support, +indemnity or liability terms You offer. You may include additional +disclaimers of warranty and limitations of liability specific to any +jurisdiction. + +4. Inability to Comply Due to Statute or Regulation +--------------------------------------------------- + +If it is impossible for You to comply with any of the terms of this +License with respect to some or all of the Covered Software due to +statute, judicial order, or regulation then You must: (a) comply with +the terms of this License to the maximum extent possible; and (b) +describe the limitations and the code they affect. Such description must +be placed in a text file included with all distributions of the Covered +Software under this License. Except to the extent prohibited by statute +or regulation, such description must be sufficiently detailed for a +recipient of ordinary skill to be able to understand it. + +5. Termination +-------------- + +5.1. The rights granted under this License will terminate automatically +if You fail to comply with any of its terms. However, if You become +compliant, then the rights granted under this License from a particular +Contributor are reinstated (a) provisionally, unless and until such +Contributor explicitly and finally terminates Your grants, and (b) on an +ongoing basis, if such Contributor fails to notify You of the +non-compliance by some reasonable means prior to 60 days after You have +come back into compliance. Moreover, Your grants from a particular +Contributor are reinstated on an ongoing basis if such Contributor +notifies You of the non-compliance by some reasonable means, this is the +first time You have received notice of non-compliance with this License +from such Contributor, and You become compliant prior to 30 days after +Your receipt of the notice. + +5.2. If You initiate litigation against any entity by asserting a patent +infringement claim (excluding declaratory judgment actions, +counter-claims, and cross-claims) alleging that a Contributor Version +directly or indirectly infringes any patent, then the rights granted to +You by any and all Contributors for the Covered Software under Section +2.1 of this License shall terminate. + +5.3. In the event of termination under Sections 5.1 or 5.2 above, all +end user license agreements (excluding distributors and resellers) which +have been validly granted by You or Your distributors under this License +prior to termination shall survive termination. + +************************************************************************ +* * +* 6. Disclaimer of Warranty * +* ------------------------- * +* * +* Covered Software is provided under this License on an "as is" * +* basis, without warranty of any kind, either expressed, implied, or * +* statutory, including, without limitation, warranties that the * +* Covered Software is free of defects, merchantable, fit for a * +* particular purpose or non-infringing. The entire risk as to the * +* quality and performance of the Covered Software is with You. * +* Should any Covered Software prove defective in any respect, You * +* (not any Contributor) assume the cost of any necessary servicing, * +* repair, or correction. This disclaimer of warranty constitutes an * +* essential part of this License. No use of any Covered Software is * +* authorized under this License except under this disclaimer. * +* * +************************************************************************ + +************************************************************************ +* * +* 7. Limitation of Liability * +* -------------------------- * +* * +* Under no circumstances and under no legal theory, whether tort * +* (including negligence), contract, or otherwise, shall any * +* Contributor, or anyone who distributes Covered Software as * +* permitted above, be liable to You for any direct, indirect, * +* special, incidental, or consequential damages of any character * +* including, without limitation, damages for lost profits, loss of * +* goodwill, work stoppage, computer failure or malfunction, or any * +* and all other commercial damages or losses, even if such party * +* shall have been informed of the possibility of such damages. This * +* limitation of liability shall not apply to liability for death or * +* personal injury resulting from such party's negligence to the * +* extent applicable law prohibits such limitation. Some * +* jurisdictions do not allow the exclusion or limitation of * +* incidental or consequential damages, so this exclusion and * +* limitation may not apply to You. * +* * +************************************************************************ + +8. Litigation +------------- + +Any litigation relating to this License may be brought only in the +courts of a jurisdiction where the defendant maintains its principal +place of business and such litigation shall be governed by laws of that +jurisdiction, without reference to its conflict-of-law provisions. +Nothing in this Section shall prevent a party's ability to bring +cross-claims or counter-claims. + +9. Miscellaneous +---------------- + +This License represents the complete agreement concerning the subject +matter hereof. If any provision of this License is held to be +unenforceable, such provision shall be reformed only to the extent +necessary to make it enforceable. Any law or regulation which provides +that the language of a contract shall be construed against the drafter +shall not be used to construe this License against a Contributor. + +10. Versions of the License +--------------------------- + +10.1. New Versions + +Mozilla Foundation is the license steward. Except as provided in Section +10.3, no one other than the license steward has the right to modify or +publish new versions of this License. Each version will be given a +distinguishing version number. + +10.2. Effect of New Versions + +You may distribute the Covered Software under the terms of the version +of the License under which You originally received the Covered Software, +or under the terms of any subsequent version published by the license +steward. + +10.3. Modified Versions + +If you create software not governed by this License, and you want to +create a new license for such software, you may create and use a +modified version of this License if you rename the license and remove +any references to the name of the license steward (except to note that +such modified license differs from this License). + +10.4. Distributing Source Code Form that is Incompatible With Secondary +Licenses + +If You choose to distribute Source Code Form that is Incompatible With +Secondary Licenses under the terms of this version of the License, the +notice described in Exhibit B of this License must be attached. + +Exhibit A - Source Code Form License Notice +------------------------------------------- + + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at https://mozilla.org/MPL/2.0/. + +If it is not possible or desirable to put the notice in a particular +file, then You may include the notice in a location (such as a LICENSE +file in a relevant directory) where a recipient would be likely to look +for such a notice. + +You may add additional accurate notices of copyright ownership. + +Exhibit B - "Incompatible With Secondary Licenses" Notice +--------------------------------------------------------- + + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. diff --git a/README.md b/README.md new file mode 100644 index 0000000..946bfb2 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# nvidia-driver-template + diff --git a/create-from-template.sh b/create-from-template.sh new file mode 100755 index 0000000..bd599cc --- /dev/null +++ b/create-from-template.sh @@ -0,0 +1,21 @@ +#! /bin/bash + +set -e + +source ./version.sh + +mv ./nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" + +for f in $(find ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" -type f) +do + mv "$f" "$(echo "$f" | sed s/#DRIVER_VERSION_MAJOR#/"$DRIVER_VERSION_MAJOR"/)" || true +done + +for f in $(find ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" -type f) +do + sed -i s/#DRIVER_VERSION_MAJOR#/"$DRIVER_VERSION_MAJOR"/g "$f" || true + sed -i s/#DRIVER_VERSION_FULL#/"$DRIVER_VERSION_FULL"/g "$f" || true + sed -i s/#DRIVER_ARCH#/"$DRIVER_ARCH"/g "$f" || true +done + +rm -f ./create-from-template.sh diff --git a/main.sh b/main.sh new file mode 100755 index 0000000..4ed6086 --- /dev/null +++ b/main.sh @@ -0,0 +1,26 @@ +#! /bin/bash + +set -e + +source ./version.sh + +source ./pika-build-config.sh + +echo "$PIKA_BUILD_ARCH" > pika-build-arch + +# Get nvidia run file +cd ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" +wget https://us.download.nvidia.com/XFree86/$DRIVER_ARCH/$DRIVER_VERSION_FULL/NVIDIA-$DRIVER_ARCH-$DRIVER_VERSION_FULL.run -O nvidia-installer.run +chmod +x nvidia-installer.run + +# Get build deps +apt-get build-dep ./ -y + +# Build package +LOGNAME=root dh_make --createorig -y -l -p nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR"_"$DRIVER_VERSION_FULL" || true +dpkg-buildpackage --no-sign + +# Move the debs to output +cd ../ +mkdir -p ./output +mv ./*.deb ./output/ diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/README.alternatives b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/README.alternatives new file mode 100644 index 0000000..1ad8c0f --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/README.alternatives @@ -0,0 +1,84 @@ +Short summary about selecting a glx implementation +================================================== + +To switch between the current and legacy NVIDIA drivers, use + + update-glx --config nvidia + +To switch between the GLX implementation from MESA/glvnd and NVIDIA +use the command + + update-glx --config glx + +This will also trigger an update of the initrd with a possibly changed +kernel module blacklist. + + +Detailed description of the diversions/alternatives for libGL.so.1 etc. +======================================================================= + +NVIDIA provides accelerated OpenGL libraries libGL.so.* which are shipped +in the libgl1-nvidia-glx (or a corresponding libgl1-nvidia-legacy*-glx) +package. Furthermore NVIDIA maintains several legacy driver releases that +support older GPUs and ship files with the same names (but of course they +may not be mixed between different versions). +As these libraries and modules "replace" system libraries (libGL.so* from +MESA) and Xorg modules, care has to be taken to allow clean upgrades of +both the drivers and the system libraries. + +Several additional requests have risen over time, e.g. from live systems: + * allow parallel installation of several drivers (even from different + vendors) + * allow driver selection at runtime + * allow switching back to the free Xorg/MESA implementation without having + to uninstall the accelerated driver and libraries + +The vendor replacement libraries are only meant to be used as a complete +set as partial usage usually lead to hard to detect errors. So we only +support switching to a vendor implementation completely or using it not at +all. + +Therefore we have chosen the following approach using diversions and +alternatives. + +The system libraries are being diverted (to /usr/lib/mesa-diverted), so they +are moved out of the way of possible replacements and further updates to +them will happen at the diversion location. This is implemented in the +package glx-diversions which is a general solution to be used by all vendor +implementations. +All vendor implementations install their files in a private library directory +so there are no file conflicts happening. Then they register an alternative +'glx' which allows one to select the implementation. In case it is enabled, +all libraries (and other files) belonging to the implementation will be enabled +via slave alternatives, i.e. appropriate symlinks will be put into the system +locations. Triggers are being used to detect the installation or removal of +any file belonging to the slave set of an alternative and to update the +alternative accordingly. + +User configuration can be done with the command + + update-glx --config glx + +which allows one to select a glx provider from mesa, nvidia. +(Available choices depend on the installed drivers.) + +For NVIDIA, there is a second alternative that allows one to switch between + the current driver version and eventually installed legacy ones: + + update-glx --config nvidia + + +libGL.so +======== + +The libGL.so link is managed by a dpkg trigger as an alternative, too. +But there are no alternative solutions available besides the diverted link +from the libgl1-mesa-dev package (if this package is installed), so this +cannot be reconfigured. The intention behind this is to always link an +application at compile time to the MESA implementation of libGL.so.1 in +order to produce portable binaries, but to use the accelerated libGL.so.1 +when the application is being executed. + + + -- Andreas Beckmann Wed, 22 Jun 2011 12:44:11 +0200 + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/changelog b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/changelog new file mode 100644 index 0000000..b7116a8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/changelog @@ -0,0 +1,5 @@ +nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# (#DRIVER_VERSION_FULL#-101pika2) pika; urgency=medium + + * New upstream + + -- Andreas Beckmann Wed, 22 May 2024 07:31:41 -0700 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/control b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/control new file mode 100644 index 0000000..9efb1ff --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/control @@ -0,0 +1,1339 @@ +Source: nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# +Section: non-free/libs +Priority: optional +Maintainer: Debian NVIDIA Maintainers +Uploaders: + Andreas Beckmann , + Luca Boccassi , +Vcs-Browser: https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers +Vcs-Git: https://salsa.debian.org/nvidia-team/nvidia-graphics-drivers.git -b #DRIVER_VERSION_MAJOR# +Build-Depends: + debhelper-compat (= 13), +Build-Depends-Arch: + dh-sequence-dkms, + dh-exec, + libvulkan1 (>= 1.0.42), + libxext6, + po-debconf, + quilt, + xz-utils, + zstd, + libglvnd-dev, + libgtk2.0-0, +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: https://www.nvidia.com +Testsuite: autopkgtest-pkg-dkms +XS-Autobuild: yes + +Package: firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR# +Section: non-free-firmware/kernel +Architecture: amd64 arm64 +Multi-Arch: foreign +Depends: + ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + firmware-nvidia-gsp (= ${binary:Version}), + firmware-nvidia-gsp-#DRIVER_VERSION_FULL# (= ${binary:Version}), +Conflicts: + firmware-nvidia-gsp, + firmware-nvidia-gsp-#DRIVER_VERSION_FULL# +Description: NVIDIA GSP firmware + The GPU System Processor (GSP) was first introduced in the Turing architecture and supports accelerating tasks traditionally performed by the driver on the CPU. + This package provides the firmware to drive the GSP. + +Package: libcuda1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + nvidia-support-#DRIVER_VERSION_MAJOR#, + ${misc:Pre-Depends} +Depends: + nvidia-support-#DRIVER_VERSION_MAJOR#, + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [amd64], + ${shlibs:Depends}, ${misc:Depends} +Recommends: + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-smi-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-cfg1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-persistenced-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libcuda1-#DRIVER_VERSION_MAJOR#:i386 (= ${binary:Version}) [amd64], +Suggests: + nvidia-cuda-mps-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) +Provides: + libcuda.so.1 (= #DRIVER_VERSION_MAJOR#), + libcuda1-any, + libcuda-5.0-1, + libcuda-5.0-1-i386 [i386], + libcuda-5.5-1, + libcuda-5.5-1-i386 [i386], + libcuda-6.0-1, + libcuda-6.0-1-i386 [i386], + libcuda-6.5-1, + libcuda-6.5-1-i386 [i386], + libcuda-7.0-1, + libcuda-7.5-1, + libcuda-8.0-1, + libcuda-9.0-1, + libcuda-9.1-1, + libcuda-9.2-1, + libcuda-10.0-1, + libcuda-10.1-1, + libcuda-10.2-1, + libcuda-11.0-1, + libcuda-11.1-1, + libcuda-11.2-1, + libcuda-11.3-1, + libcuda-11.4-1, + libcuda-11.5-1, + libcuda-11.6-1, + libcuda-11.7-1, + libcuda-11.8-1, + libcuda-12.0-1, + libcuda-12.1-1, + libcuda-12.2-1, + libcuda-12.3-1, + libcuda1 (= ${binary:Version}) +Conflicts: + libcuda1 +Homepage: https://www.nvidia.com/CUDA +Description: NVIDIA CUDA Driver Library + +Package: libcudadebugger1-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 ppc64el +Multi-Arch: same +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libcuda1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libcudadebugger1 (= ${binary:Version}) +Conflicts: + libcudadebugger1 +Homepage: https://www.nvidia.com/CUDA +Description: NVIDIA CUDA Debugger Library + The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation. + This package contains the CUDA Debugger library for Pascal and later GPUs. + +Package: libegl-nvidia0-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libegl-nvidia0 (= ${binary:Version}) +Conflicts: + libegl-nvidia0 +Description: NVIDIA binary EGL library + EGL provides a platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES. + See the description of the nvidia-driver package or /usr/share/doc/libgl1-nvidia-glx/README.txt.gz for a complete list of supported GPUs and PCI IDs. + This package contains the driver specific binary EGL implementation provided by NVIDIA that is accessed via GLVND. + +Package: libgl1-nvidia-glvnd-glx-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Depends: + libgl1 (>= 0.2.999) | libgl1-glvnd-nvidia-glx-#DRIVER_VERSION_MAJOR#, + libglx-nvidia0-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Provides: + libgl1-nvidia-glx-any, + libgl1-nvidia-glvnd-glx (= ${binary:Version}) +Conflicts: + libgl1-nvidia-glvnd-glx +Description: NVIDIA binary OpenGL/GLX library (GLVND variant) + The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. + See the description of the nvidia-driver package or /usr/share/doc/libgl1-nvidia-glvnd-glx/README.txt.gz for a complete list of supported GPUs and PCI IDs. + This metapackage depends on the NVIDIA binary OpenGL/GLX implementation using GLVND and the corresponding GLVND loader library. + +Package: libgles-nvidia1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles1 (>= 0.2.999) | libgles1-glvnd-nvidia-#DRIVER_VERSION_MAJOR#, + libnvidia-eglcore-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libgles-nvidia1 (= ${binary:Version}) +Conflicts: + libgles-nvidia1 +Description: NVIDIA binary OpenGL|ES 1.x library + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles. It contains a subset of OpenGL plus a number of extensions for the special needs of embedded systems. + OpenGL|ES 1.x provides an API for fixed-function hardware. + See the description of the nvidia-driver package or /usr/share/doc/libgl1-nvidia-glx/README.txt.gz for a complete list of supported GPUs and PCI IDs. + This package contains the driver specific binary OpenGL|ES 1.x implementation by NVIDIA that is accessed via GLVND. + +Package: libgles-nvidia2-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles2 (>= 0.2.999) | libgles2-glvnd-nvidia-#DRIVER_VERSION_MAJOR#, + libnvidia-eglcore-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libgles-nvidia2 (= ${binary:Version}) +Conflicts: + libgles-nvidia2 +Description: NVIDIA binary OpenGL|ES 2.x library + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles. It contains a subset of OpenGL plus a number of extensions for the special needs of embedded systems. + OpenGL|ES 2.x provides an API for programmable hardware including vertex and fragment shaders. + See the description of the nvidia-driver package or /usr/share/doc/libgl1-nvidia-glx/README.txt.gz for a complete list of supported GPUs and PCI IDs. + This package contains the driver specific binary OpenGL|ES 2.x implementation by NVIDIA that is accessed via GLVND. + +Package: libglx-nvidia0-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libglx0 | libglx0-glvnd-nvidia-#DRIVER_VERSION_MAJOR#, + ${shlibs:Depends}, ${misc:Depends} +Provides: + libglx-vendor, + libglx-nvidia0 (= ${binary:Version}) +Conflicts: + libglx-nvidia0 +Description: NVIDIA binary GLX library + GLX ("OpenGL Extension to the X Window System") provides an interface between OpenGL and the X Window System as well as extensions to OpenGL itself. + See the description of the nvidia-driver package or /usr/share/doc/libgl1-nvidia-glx/README.txt.gz for a complete list of supported GPUs and PCI IDs. + This package contains the driver specific binary GLX implementation by NVIDIA that is accessed via GLVND. + +Package: libnvcuvid1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + libcuda1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvcuvid1 (= ${binary:Version}) +Conflicts: + libnvcuvid1 +Description: NVIDIA CUDA Video Decoder runtime library + The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation. + The NVIDIA CUDA Video Decoder (NVCUVID) library provides an interface to hardware video decoding capabilities on NVIDIA GPUs with CUDA. + +Package: libnvidia-allocator1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Recommends: + libnvidia-egl-gbm1-#DRIVER_VERSION_MAJOR#, +Provides: + libnvidia-allocator1 (= ${binary:Version}) +Conflicts: + libnvidia-allocator1 +Description: NVIDIA allocator runtime library + The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. + This package contains the private nvidia-allocator runtime library which is used by other driver components. + +Package: libnvidia-api1-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-api1 (= ${binary:Version}) +Conflicts: + libnvidia-api1 +Description: NVAPI runtime library + NVAPI provides an interface for managing properties of GPUs. + This package contains the NVAPI runtime library. + +Package: libnvidia-cfg1-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-cfg.so.1 (= #DRIVER_VERSION_MAJOR#), + libnvidia-cfg1-any, + libnvidia-cfg1 (= ${binary:Version}) +Conflicts: + libnvidia-cfg1 +Description: NVIDIA binary OpenGL/GLX configuration library + The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. + This package contains the private libnvidia-cfg runtime library which is used by other driver components. + + +Package: libnvidia-eglcore-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-eglcore (= ${binary:Version}), +Conflicts: + libnvidia-eglcore, +Description: NVIDIA binary EGL core libraries + EGL provides a platform-agnostic mechanism for creating rendering surfaces for use with other graphics libraries, such as OpenGL|ES. + OpenGL|ES is a cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles. It contains a subset of OpenGL plus a number of extensions for the special needs of embedded systems. + This package contains the private core libraries used by the NVIDIA implementation of EGL and OpenGL|ES. + +Package: libnvidia-encode1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-encode1 (= ${binary:Version}) +Conflicts: + libnvidia-encode1 +Description: NVENC Video Encoding runtime library + The NVENC Video Encoding library provides an interface to video encoder hardware on supported NVIDIA GPUs. + This package contains the nvidia-encode runtime library. + +Package: libnvidia-fbc1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + libcuda1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-fbc1 (= ${binary:Version}) +Conflicts: + libnvidia-fbc1 +Description: NVIDIA OpenGL-based Framebuffer Capture runtime library + The NVIDIA OpenGL-based Framebuffer Capture (NvFBCOpenGL) library provides a high performance, low latency interface to capture and optionally encode an OpenGL framebuffer. NvFBCOpenGL is a private API that is only available to approved partners for use in remote graphics scenarios. + This package contains the NvFBCOpenGL runtime library. + +Package: libnvidia-glcore-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-glcore (= ${binary:Version}), +Conflicts: + libnvidia-glcore, +Description: NVIDIA binary OpenGL/GLX core libraries + The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. + This package contains the private core libraries used by the NVIDIA implementation of OpenGL and GLX. + +Package: libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-glvkspirv (= ${binary:Version}), +Conflicts: + libnvidia-glvkspirv, +Description: NVIDIA binary Vulkan Spir-V compiler library + Vulkan is a multivendor open standard by the Khronos Group for 3D graphics. + This library provides a NVIDIA Vulkan Spir-V compiler which reduces shader compilation time and shader system memory consumption. + This package contains the private Spir-V compiler libraries used by the NVIDIA implementation of Vulkan. + +Package: libnvidia-gpucomp-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-gpucomp (= ${binary:Version}), +Conflicts: + libnvidia-gpucomp, +Description: NVIDIA binary GPU compiler library + +Package: libnvidia-ml1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-ml.so.1 (= #DRIVER_VERSION_MAJOR#), + libnvidia-ml1 (= ${binary:Version}), +Conflicts: + libnvidia-ml1, +Homepage: https://developer.nvidia.com/nvidia-management-library-NVML +Description: NVIDIA Management Library (NVML) runtime library + The NVIDIA Management Library (NVML) provides a monitoring and management API. It provides a direct access to the queries and commands exposed via nvidia-smi. + This package contains the nvidia-ml runtime library. + +Package: libnvidia-ngx1-#DRIVER_VERSION_MAJOR# +Architecture: amd64 +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-ngx1 (= ${binary:Version}), +Conflicts: + libnvidia-ngx1, +Description: NVIDIA NGX runtime library + The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. + This package contains the NVIDIA NGX runtime library. + +Package: libnvidia-nvvm4-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-nvvm4 (= ${binary:Version}), +Conflicts: + libnvidia-nvvm4, +Description: NVIDIA NVVM Compiler library + The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation. + This package contains the NVVM Compiler library. + +Package: libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-opticalflow1 (= ${binary:Version}), +Conflicts: + libnvidia-opticalflow1, +Homepage: https://developer.nvidia.com/opticalflow-sdk +Description: NVIDIA Optical Flow runtime library + The NVIDIA Optical Flow SDK exposes the latest hardware capability of Turing GPUs dedicated to computing the relative motion of pixels between images. + This package contains the Optical Flow runtime library. + +Package: libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR# +Architecture: amd64 +Multi-Arch: same +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvidia-pkcs11-openssl3 (= ${binary:Version}), +Conflicts: + libnvidia-pkcs11-openssl3, +Homepage: https://www.nvidia.com/CUDA +Description: NVIDIA PKCS #11 Library (OpenSSL 3) + The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation. + This package contains the NVIDIA PKCS #11 library with OpenSSL 3 backend. + +Package: libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-ptxjitcompiler1 (= ${binary:Version}), +Conflicts: + libnvidia-ptxjitcompiler1, +Description: NVIDIA PTX JIT Compiler library + The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation. + This package contains the runtime PTX JIT Compiler library. + +Package: libnvidia-rtcore-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + libnvidia-rtcore (= ${binary:Version}), +Conflicts: + libnvidia-rtcore +Description: NVIDIA binary Vulkan ray tracing (rtcore) library + Vulkan is a multivendor open standard by the Khronos Group for 3D graphics. + This library is part of the Vulkan real-time ray tracing extensions (VK_NV_raytracing) implementation by NVIDIA. + This package contains the private rtcore library used by the NVIDIA implementation of Vulkan. + +Package: libnvoptix1-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + libcuda1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + libnvoptix1 (= ${binary:Version}), +Conflicts: + libnvoptix1 +Description: NVIDIA implementation of the OptiX ray tracing engine + The OptiX API is an application framework for achieving optimal ray tracing performance on the GPU. + This package contains runtime library of the OptiX ray tracing engine implementation for NVIDIA CUDA. It is used by liboptix.so.* coming with applications using the OptiX API. + +Package: nvidia-alternative-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: foreign +Pre-Depends: + dpkg (>= 1.17.21), + nvidia-support-#DRIVER_VERSION_MAJOR#, + ${misc:Pre-Depends} +Depends: + glx-alternative-nvidia (>= 1.2), + ${misc:Depends} +Provides: + nvidia-alternative (= ${binary:Version}), + nvidia-alternative-any, + nvidia-alternative-kmod-alias, + nvidia-alternative--kmod-alias, + nvidia-alternative-#DRIVER_VERSION_FULL#, + nvidia-alternative-#DRIVER_VERSION_MAJOR#-kmod-alias, + nvidia-alternative-#DRIVER_VERSION_FULL#-kmod-alias, +Conflicts: + libglvnd0-nvidia, + libopengl0-glvnd-nvidia, + libglx0-glvnd-nvidia, + libgl1-glvnd-nvidia-glx, + libegl1-glvnd-nvidia, + libgles1-glvnd-nvidia, + libgles2-glvnd-nvidia, + nvidia-legacy-304xx-alternative, + nvidia-legacy-340xx-alternative, + nvidia-legacy-390xx-alternative, + nvidia-tesla-418-alternative, + nvidia-tesla-450-alternative, + nvidia-tesla-460-alternative, + nvidia-tesla-510-alternative, + nvidia-tesla-alternative, + nvidia-alternative-525, + nvidia-alternative-530, + nvidia-alternative-535, + nvidia-alternative-545, + nvidia-alternative-550, +Description: allows the selection of NVIDIA as GLX provider + In setups with several NVIDIA driver versions installed (e.g. current and legacy) this metapackage registers an alternative to allow easy switching between the different versions. + Use 'update-glx --config nvidia' to select a version. + This package does not depend on the corresponding NVIDIA libraries. In order to install the NVIDIA driver and libraries, install the nvidia-driver package instead. + +Package: nvidia-cuda-mps-#DRIVER_VERSION_MAJOR# +Section: non-free/utils +Architecture: amd64 arm64 ppc64el +Depends: + ${shlibs:Depends}, ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-cuda-mps (= ${binary:Version}), +Conflicts: + nvidia-cuda-mps +Description: NVIDIA CUDA Multi Process Service (MPS) + The Compute Unified Device Architecture (CUDA) enables NVIDIA graphics processing units (GPUs) to be used for massively parallel general purpose computation. + CUDA MPS is a feature that allows multiple CUDA processes to share a single GPU context. CUDA MPS should be transparent to CUDA programs. + CUDA MPS requires a device that supports Unified Virtual Address (UVA) and has compute capability SM 3.5 or higher. Pre-CUDA 4.0 APIs are not supported under CUDA MPS. + +Package: nvidia-driver-#DRIVER_VERSION_MAJOR# +Section: non-free/x11 +Architecture: amd64 arm64 ppc64el +Pre-Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Depends: + nvidia-driver-libs-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-driver-bin-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-closed-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles-nvidia1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles-nvidia2-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-cfg1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-encode1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vulkan-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-allocator1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-rtcore-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-smi-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libcudadebugger1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-fbc1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvoptix1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-ngx1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [amd64], + libnvidia-api1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-opencl-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-powerd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [amd64], + nvidia-cuda-mps-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-suspend-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-persistenced-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-settings-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-modprobe-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-xconfig-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-egl-wayland1, + libnvidia-egl-gbm1, +# Note: Not Upstream + libnvidia-vksc-core-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +# End of Note + ${misc:Depends} +Recommends: + nvidia-vaapi-driver, +Suggests: + nvidia-kernel-source-#DRIVER_VERSION_MAJOR#, + nvidia-closed-kernel-source-#DRIVER_VERSION_MAJOR#, +Provides: + nvidia-driver (= ${binary:Version}), + nvidia-driver-full (= ${binary:Version}), + nvidia-closed-driver (= ${binary:Version}), + nvidia-closed-driver-full (= ${binary:Version}), + nvidia-driver-any, + nvidia-glx-any, +Conflicts: + nvidia-driver, + nvidia-open-driver, + nvidia-open-driver-#DRIVER_VERSION_MAJOR#, +Description: NVIDIA #DRIVER_VERSION_FULL# metapackage + This metapackage depends on the NVIDIA binary driver and libraries + that provide optimized hardware acceleration of + OpenGL/GLX/EGL/GLES/Vulkan applications via a direct-rendering X Server. + +Package: nvidia-open-driver-#DRIVER_VERSION_MAJOR# +Section: non-free/x11 +Architecture: amd64 arm64 ppc64el +Pre-Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Depends: + nvidia-driver-libs-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-driver-bin-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles-nvidia1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles-nvidia2-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-cfg1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-encode1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vulkan-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-allocator1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-rtcore-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-smi-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libcudadebugger1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-fbc1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvoptix1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-ngx1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [amd64], + libnvidia-api1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-opencl-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-powerd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [amd64], + nvidia-cuda-mps-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-suspend-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-persistenced-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-settings-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-modprobe-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-xconfig-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-egl-wayland1, + libnvidia-egl-gbm1, +# Note: Not Upstream + libnvidia-vksc-core-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +# End of Note + ${misc:Depends} +Recommends: + nvidia-vaapi-driver, +Suggests: + nvidia-kernel-source-#DRIVER_VERSION_MAJOR#, + nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#, +Provides: + nvidia-driver (= ${binary:Version}), + nvidia-driver-full (= ${binary:Version}), + nvidia-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-driver (= ${binary:Version}), + nvidia-open-driver-full (= ${binary:Version}), + nvidia-driver-any, + nvidia-glx-any, +Conflicts: + nvidia-driver, + nvidia-driver-#DRIVER_VERSION_MAJOR#, + nvidia-closed-driver, + nvidia-closed-driver-#DRIVER_VERSION_MAJOR#, +Description: NVIDIA #DRIVER_VERSION_FULL# metapackage (With open kernel modules) + This metapackage depends on the NVIDIA binary driver and libraries + that provide optimized hardware acceleration of + OpenGL/GLX/EGL/GLES/Vulkan applications via a direct-rendering X Server. + +Package: nvidia-driver-bin-#DRIVER_VERSION_MAJOR# +Section: non-free/x11 +Architecture: amd64 arm64 ppc64el +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Recommends: + nvidia-driver-#DRIVER_VERSION_MAJOR#, +Provides: + nvidia-driver-bin (= ${binary:Version}), +Conflicts: + nvidia-driver-bin , +Description: NVIDIA driver support binaries + The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. + This package contains supporting binaries for the driver. + +Package: nvidia-driver-libs-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Depends: + libgl1-nvidia-glvnd-glx (= ${binary:Version}), + nvidia-egl-icd (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Recommends: + nvidia-driver-libs-#DRIVER_VERSION_MAJOR#:i386 (= ${binary:Version}) [amd64], + libopengl0 | libopengl0-glvnd-nvidia-#DRIVER_VERSION_MAJOR#, + libglx-nvidia0-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles-nvidia1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libgles-nvidia2-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-cfg1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-encode1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vulkan-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-allocator1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-driver-libs (= ${binary:Version}), + nvidia-driver-libs-any, +Conflicts: + nvidia-driver-libs, + libglvnd0-nvidia, + libopengl0-glvnd-nvidia, + libglx0-glvnd-nvidia, + libgl1-glvnd-nvidia-glx, + libegl1-glvnd-nvidia, + libgles1-glvnd-nvidia, + libgles2-glvnd-nvidia, +Breaks: + nvidia-driver-libs-nonglvnd, + libgl1-nvidia-glx, + libegl1-nvidia, + nvidia-nonglvnd-vulkan-icd, +Description: NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries) + This metapackage depends on the NVIDIA binary libraries + that provide optimized hardware acceleration of + OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server. + +Package: nvidia-egl-common-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el armhf +Multi-Arch: foreign +Depends: + ${misc:Depends} + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-egl-common (= ${binary:Version}), +Conflicts: + nvidia-egl-common +Suggests: + libegl-nvidia0 +Description: NVIDIA binary EGL driver - common files + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES. + . + This package provides the common files for the NVIDIA installable client + driver (ICD) for EGL via GLVND. + +Package: nvidia-egl-icd-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Depends: + nvidia-egl-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libegl1 (>= 0.2.999) | libegl1-glvnd-nvidia, + libegl-nvidia0-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Enhances: + libegl1, +Provides: + libegl-vendor, + egl-icd, + nvidia-egl-icd (= ${binary:Version}), +Conflicts: + nvidia-egl-icd +Description: NVIDIA EGL installable client driver (ICD) + EGL provides a platform-agnostic mechanism for creating rendering surfaces + for use with other graphics libraries, such as OpenGL|ES. + . + This metapackage provides the NVIDIA installable client driver (ICD) for + EGL via GLVND which supports NVIDIA GPUs. + +Package: nvidia-kernel-common-#DRIVER_VERSION_MAJOR# +Section: contrib/kernel +Architecture: amd64 i386 armhf arm64 ppc64el +Pre-Depends: ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Provides: + nvidia-kernel-common (= ${binary:Version}), + nvidia-closed-kernel-common (= ${binary:Version}), + nvidia-closed-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Conflicts: + nvidia-kernel-common, + nvidia-open-kernel-common, + nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#, +Description: NVIDIA binary kernel module support files + This package contains support files used for any version of the NVIDIA + kernel module. It sets up udev and ConsoleKit rules, ensures the NVIDIA + control device is created, and performs any other tasks required for the + module to work properly. + +Package: nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR# +Section: contrib/kernel +Architecture: amd64 i386 armhf arm64 ppc64el +Pre-Depends: ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Provides: + nvidia-kernel-common (= ${binary:Version}), + nvidia-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-common (= ${binary:Version}), + nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Conflicts: + nvidia-kernel-common, + nvidia-kernel-common-#DRIVER_VERSION_MAJOR#, + nvidia-closed-kernel-common, + nvidia-closed-kernel-common-#DRIVER_VERSION_MAJOR#, +Description: NVIDIA binary kernel module support files (Open) + This package contains support files used for any version of the NVIDIA + kernel module. It sets up udev and ConsoleKit rules, ensures the NVIDIA + control device is created, and performs any other tasks required for the + module to work properly. + +Package: nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR# +Section: non-free/kernel +Architecture: amd64 arm64 ppc64el +Depends: + firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-closed-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-closed-kernel-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-closed-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + dkms, + ${misc:Depends} +Recommends: + nvidia-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-closed-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-closed-kernel-module (= ${binary:Version}), + nvidia-kernel-module (= ${binary:Version}), + nvidia-kernel-dkms (= ${binary:Version}), + nvidia-kernel-dkms-closed (= ${binary:Version}), + nvidia-kernel-dkms-any (= ${binary:Version}), +Conflicts: + nvidia-kernel-dkms, + nvidia-open-kernel-dkms, + nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#, + nvidia-kernel-pikaos-module-#DRIVER_VERSION_MAJOR#, + nvidia-open-kernel-pikaos-module-#DRIVER_VERSION_MAJOR#, + nvidia-kernel-pikaos-module, + nvidia-open-kernel-pikaos-module, +Description: NVIDIA binary kernel DKMS module + This package provides the DKMS build configuration for the source for the NVIDIA binary kernel modules + needed by nvidia-driver. + +Package: nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR# +Section: non-free/kernel +Architecture: amd64 arm64 ppc64el +Depends: + firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + dkms, + ${misc:Depends} +Recommends: + nvidia-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-open-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-module (= ${binary:Version}), + nvidia-kernel-module (= ${binary:Version}), + nvidia-kernel-dkms (= ${binary:Version}), + nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-dkms-open (= ${binary:Version}), + nvidia-kernel-dkms-any (= ${binary:Version}), +Conflicts: + nvidia-kernel-dkms, + nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#, + nvidia-closed-kernel-dkms, + nvidia-closed-kernel-dkms-#DRIVER_VERSION_MAJOR#, + nvidia-kernel-pikaos-module-#DRIVER_VERSION_MAJOR#, + nvidia-open-kernel-pikaos-module-#DRIVER_VERSION_MAJOR#, + nvidia-kernel-pikaos-module, + nvidia-open-kernel-pikaos-module, +Description: NVIDIA binary kernel DKMS module (Open) + This package provides the DKMS build configuration for the source for the NVIDIA binary kernel modules + needed by nvidia-driver. + +Package: nvidia-kernel-source-#DRIVER_VERSION_MAJOR# +Section: non-free/kernel +Architecture: amd64 arm64 ppc64el +Depends: + debhelper-compat (= 13), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + module-assistant, + ${misc:Depends} +Recommends: + firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Suggests: + nvidia-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-kernel-source (= ${binary:Version}), + nvidia-closed-kernel-source (= ${binary:Version}), + nvidia-closed-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Conflicts: + nvidia-kernel-source, + nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#, + nvidia-open-kernel-source, +Description: NVIDIA binary kernel module source + This package provides the source for the NVIDIA binary kernel modules + needed by nvidia-driver in a form suitable + for use by module-assistant. + . + The NVIDIA binary driver provides optimized hardware acceleration of + OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server + for graphics cards using NVIDIA chip sets. + . + PLEASE read /usr/share/doc/nvidia-kernel-source/README.Debian.gz + for building information. If you want the kernel module to be automatically + installed via DKMS, install nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR# instead. + +Package: nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR# +Section: non-free/kernel +Architecture: amd64 arm64 ppc64el +Depends: + debhelper-compat (= 13), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + module-assistant, + ${misc:Depends} +Recommends: + firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Suggests: + nvidia-open-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + nvidia-open-kernel-source (= ${binary:Version}), + nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-source (= ${binary:Version}), + nvidia-kernel-source-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Conflicts: + nvidia-kernel-source, + nvidia-kernel-source-#DRIVER_VERSION_MAJOR#, + nvidia-closed-kernel-source, + nvidia-closed-kernel-source-#DRIVER_VERSION_MAJOR#, +Description: NVIDIA binary kernel module source (Open) + This package provides the source for the NVIDIA binary kernel modules + needed by nvidia-driver in a form suitable + for use by module-assistant. + . + The NVIDIA binary driver provides optimized hardware acceleration of + OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server + for graphics cards using NVIDIA chip sets. + . + PLEASE read /usr/share/doc/nvidia-kernel-source/README.Debian.gz + for building information. If you want the kernel module to be automatically + installed via DKMS, install nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR# instead. + +Package: nvidia-kernel-support-#DRIVER_VERSION_MAJOR# +Section: non-free/kernel +Architecture: amd64 arm64 ppc64el +Multi-Arch: foreign +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-modprobe-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Provides: + nvidia-kernel-support-any, + nvidia-kernel-support--v1, + nvidia-kernel-support (= ${binary:Version}), + nvidia-closed-kernel-support (= ${binary:Version}), + nvidia-closed-kernel-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-open-kernel-support (= ${binary:Version}), + nvidia-open-kernel-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Conflicts: + nvidia-kernel-support, + nvidia-open-kernel-support, + nvidia-open-kernel-support-#DRIVER_VERSION_MAJOR#, +Description: NVIDIA binary kernel module support files + The NVIDIA binary driver provides optimized hardware acceleration of + OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server + for graphics cards using NVIDIA chip sets. + . + This package provides supporting configuration for the kernel module. + +Package: nvidia-libopencl1-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Recommends: + nvidia-opencl-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) | opencl-icd, +Provides: + libopencl1, + libopencl-1.1-1, + libopencl-1.2-1, + libopencl-2.0-1, + libopencl-2.1-1, + libopencl-2.2-1, + libopencl-3.0-1, + nvidia-libopencl1 (= ${binary:Version}), +Conflicts: + libopencl1, + nvidia-libopencl1, +Replaces: + libopencl1, +Description: NVIDIA OpenCL ICD Loader library + OpenCL (Open Computing Language) is a multivendor open standard for + general-purpose parallel programming of heterogeneous systems that include + CPUs, GPUs and other processors. + . + The OpenCL installable client driver loader (ICD Loader) acts as a dispatcher + between an OpenCL application and one (or more) installable client drivers + (ICD) that can be from any vendor. At least one ICD (and the corresponding + hardware) is required to run OpenCL applications. + . + This package contains the ICD Loader library provided by NVIDIA. + +Package: nvidia-modprobe-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 ppc64el +Multi-Arch: foreign +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: nvidia-modprobe (= ${binary:Version}) +Conflicts: nvidia-modprobe +Description: utility to load NVIDIA kernel modules and create device nodes + This setuid program is used to create NVIDIA Linux device files and load the + NVIDIA kernel module, on behalf of NVIDIA Linux driver components which may + not have sufficient privileges to perform these actions on their own. + +Package: nvidia-opencl-common-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: foreign +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Provides: + nvidia-opencl-common (= ${binary:Version}), +Conflicts: + nvidia-opencl-common +Suggests: + nvidia-opencl-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) +Description: NVIDIA OpenCL driver - common files + OpenCL (Open Computing Language) is a multivendor open standard for + general-purpose parallel programming of heterogeneous systems that include + CPUs, GPUs and other processors. + . + This package provides the common files for the NVIDIA installable client + driver (ICD) for OpenCL. + +Package: nvidia-opencl-icd-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-opencl-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ocl-icd-libopencl1 | nvidia-libopencl1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) | libopencl1, + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libcuda1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-nvvm4-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Enhances: + libopencl1, +Provides: + opencl-icd, + nvidia-opencl-icd (= ${binary:Version}) +Conflicts: + nvidia-opencl-icd +Description: NVIDIA OpenCL installable client driver (ICD) + OpenCL (Open Computing Language) is a multivendor open standard for + general-purpose parallel programming of heterogeneous systems that include + CPUs, GPUs and other processors. + . + This package provides the NVIDIA installable client driver (ICD) for OpenCL + which supports NVIDIA GPUs. + +Package: nvidia-persistenced-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 ppc64el +Multi-Arch: foreign +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-cfg1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [!i386 !armhf], + adduser, + ${shlibs:Depends}, + ${misc:Depends} +Provides: + nvidia-persistenced (= ${binary:Version}), +Conflicts: + nvidia-persistenced +Description: daemon to maintain persistent software state in the NVIDIA driver + When persistence mode is enabled, the daemon prevents the driver from + releasing device state when the device is not in use. + This can improve the startup time of new clients in this scenario. + +Package: nvidia-powerd-#DRIVER_VERSION_MAJOR# +Section: non-free/utils +Architecture: amd64 +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Provides: + nvidia-powerd (= ${binary:Version}), +Conflicts: + nvidia-powerd +Description: NVIDIA Dynamic Boost (daemon) + The 'nvidia-powerd' daemon provides support for the NVIDIA Dynamic Boost + feature on Linux platforms. Dynamic Boost is a system-wide power controller + which manages GPU and CPU power, according to the workload on the system. By + shifting power between the GPU and the CPU, Dynamic Boost can deliver more + power to the component that would benefit most from it, without impacting the + system's total thermal and electrical budgets. This optimizes overall system + performance per watt. + +Package: nvidia-smi-#DRIVER_VERSION_MAJOR# +Section: non-free/utils +Architecture: amd64 arm64 ppc64el +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + libnvidia-ml1-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Recommends: + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# +Provides: + nvidia-smi (= ${binary:Version}), +Conflicts: + nvidia-smi +Suggests: + nvidia-kernel-source-#DRIVER_VERSION_MAJOR# +Description: NVIDIA System Management Interface + The NVIDIA Management Library (NVML) provides a monitoring and management API. + The application "nvidia-smi" is the NVIDIA System Management Interface (NVSMI) + and provides a command line interface to this functionality. + . + See the output from the --help command line option for supported models and + further information. + +Package: nvidia-suspend-common-#DRIVER_VERSION_MAJOR# +Section: non-free/x11 +Architecture: amd64 arm64 ppc64el +Multi-Arch: foreign +Depends: + kbd, + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Provides: + nvidia-suspend-common (= ${binary:Version}), +Conflicts: + nvidia-suspend-common +Description: NVIDIA driver - systemd power management scripts + This package provides the common files for the NVIDIA power management + integration with systemd. + +Package: nvidia-settings-#DRIVER_VERSION_MAJOR# +Architecture: amd64 arm64 ppc64el +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Recommends: + libgl1-nvidia-glvnd-glx-#DRIVER_VERSION_MAJOR#, + nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#, + libnvidia-ml1-#DRIVER_VERSION_MAJOR# +Provides: nvidia-settings-gtk-#DRIVER_VERSION_FULL#, nvidia-settings (= ${binary:Version}), +Conflicts: nvidia-settings-gtk-#DRIVER_VERSION_FULL#, nvidia-settings +Description: tool for configuring the NVIDIA graphics driver + The nvidia-settings utility is a tool for configuring the NVIDIA + Linux graphics driver. It operates by communicating with the NVIDIA + X driver, querying and updating state as appropriate. This + communication is done with the NV-CONTROL X extension. + . + Values such as brightness and gamma, XVideo attributes, temperature, + and OpenGL settings can be queried and configured via nvidia-settings. + +Package: nvidia-support-#DRIVER_VERSION_MAJOR# +Architecture: amd64 i386 armhf arm64 ppc64el +Multi-Arch: foreign +Depends: + ${misc:Depends} +Provides: nvidia-support (= ${binary:Version}), nvidia-installer-cleanup (= ${binary:Version}) +Conflicts: nvidia-support, nvidia-installer-cleanup +Description: NVIDIA binary graphics driver support files + This package contains support files needed for all current and legacy + versions of the non-free NVIDIA graphics drivers. These include scripts + used for warning about a mismatching version of the kernel module. + +Package: nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR# +Section: non-free/video +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends} +Depends: + libvdpau1 (>= 0.9), + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${shlibs:Depends}, ${misc:Depends} +Recommends: + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Suggests: + nvidia-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Enhances: + libvdpau1, +Provides: + vdpau-driver, + nvidia-vdpau-driver (= ${binary:Version}), +Conflicts: + nvidia-vdpau-driver +Description: Video Decode and Presentation API for Unix - NVIDIA driver + +Package: nvidia-vulkan-common-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: foreign +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Suggests: + nvidia-vulkan-icd-#DRIVER_VERSION_MAJOR# +Provides: + nvidia-vulkan-common (= ${binary:Version}), +Conflicts: + libgl1-nvidia-glx, + libgl1-nvidia-tesla-418-glx, + libgl1-nvidia-legacy-390xx-glx, + nvidia-nonglvnd-vulkan-common, + nvidia-vulkan-common +Description: NVIDIA Vulkan driver - common files + Vulkan is a multivendor open standard by the Khronos Group for 3D graphics. + . + This package provides the common files for the NVIDIA installable client + driver (ICD) for Vulkan (GLVND variant). + +Package: nvidia-vulkan-icd-#DRIVER_VERSION_MAJOR# +Architecture: i386 amd64 arm64 ppc64el +Multi-Arch: same +Depends: + nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#, + libvulkan1 (>= 1.0.42), + libglx-nvidia0-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + ${misc:Depends} +Recommends: + libnvidia-rtcore-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) [!i386 !ppc64el], +Suggests: + vulkan-tools, +Enhances: + libvulkan1, +Provides: + vulkan-icd, + nvidia-vulkan-icd-any, + nvidia-vulkan-icd (= ${binary:Version}), +Conflicts: + nvidia-nonglvnd-vulkan-icd, + nvidia-vulkan-icd +Description: NVIDIA Vulkan installable client driver (ICD) + Vulkan is a multivendor open standard by the Khronos Group for 3D graphics. + . + This metapackage provides the NVIDIA installable client driver (ICD) for + Vulkan (GLVND variant) which supports NVIDIA GPUs. + +Package: nvidia-xconfig-#DRIVER_VERSION_MAJOR# +Architecture: amd64 +Pre-Depends: nvidia-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) +Depends: + ${shlibs:Depends}, + ${misc:Depends} +Recommends: nvidia-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}) +Provides: nvidia-xconfig (= ${binary:Version}) +Conflicts: nvidia-xconfig +Description: deprecated X configuration tool for non-free NVIDIA drivers + This tool is deprecated. The NVIDIA drivers now automatically integrate with + the Xorg Xserver configuration. Creating an xorg.conf is no longer needed for + normal setups. + . + The nvidia-xconfig program helps with manipulation of X configuration + files, primarily for systems that use the non-free drivers provided by + NVIDIA. It automatically changes the configuration to use the NVIDIA + driver and can add additional options given on the command line. + +Package: xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR# +Section: non-free/x11 +Architecture: amd64 arm64 ppc64el +Pre-Depends: + ${misc:Pre-Depends} +Depends: + nvidia-alternative-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-support-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + xserver-xorg-core, + ${shlibs:Depends}, ${misc:Depends} +Recommends: + nvidia-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-vulkan-icd-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-kernel-module-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-suspend-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-persistenced-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), + nvidia-settings-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Suggests: + nvidia-kernel-common-#DRIVER_VERSION_MAJOR# (= ${binary:Version}), +Provides: + xserver-xorg-video-nvidia-any, + xserver-xorg-video-nvidia (= ${binary:Version}), +Conflicts: + xserver-xorg-video-nvidia +Description: NVIDIA binary Xorg driver diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/copyright b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/copyright new file mode 100644 index 0000000..b2bf8cc --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/copyright @@ -0,0 +1,445 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: NVIDIA Linux Display Drivers +Upstream-Contact: NVIDIA Corporation +Source: + https://download.nvidia.com/XFree86/Linux-x86_64/ + https://download.nvidia.com/XFree86/Linux-aarch64/ +Disclaimer: + This package is not part of the GNU/Linux Debian distribution. It is + provided in the non-free archive area as a convenience to Debian users. + The contents of this package cannot be distributed as part of the Debian + distribution because the NVIDIA Software License covering it is not a free + software license. No modifications of the included binaries are + permitted, and the binaries are not distributed with source code. + +Files: + amd64/* + arm64/* + ppc64el/* +Copyright: + 1993-2023 NVIDIA Corporation. All rights reserved. +License: NVIDIA-graphics-drivers + +Files: supported-gpus/supported-gpus.json +Copyright: 2020 NVIDIA Corporation +License: zlib/libpng + +Files: debian/* +Copyright: 2001-2010 Randall Donald + 2009-2010 Andres Mejia + 2009-2024 Andreas Beckmann + 2010-2011 Russ Allbery + 2014-2015 Vincent Cheng + 2015-2019 Luca Boccassi + 2018 Philipp Kern + Based on packages by Christopher Cheney. +License: GPL-2.0+ + +Files: debian/detect/nvidia-detect.in +Copyright: + © 2008-2011 Filipus Klutiero + © 2011-2024 Andreas Beckmann +License: GPL-2.0+ + +Files: debian/patches/* +Copyright: + (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +License: Expat +Comment: + Except where noted otherwise, the individual kernel module source files + (but not the blobs) are licensed as MIT (aka Expat). + +License: GPL-2.0+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General Public + License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: NVIDIA-graphics-drivers + NVIDIA Driver License Agreement + . + IMPORTANT NOTICE - PLEASE READ AND AGREE BEFORE USING THE SOFTWARE. + . + This license agreement ("Agreement") is a legal agreement between you, whether + an individual or entity ("you") and NVIDIA Corporation ("NVIDIA") and governs + your use of the NVIDIA driver, and any additional software and materials + provided (the "SOFTWARE"). + . + If you don't have the required age or authority to enter into this Agreement or + if you don't accept all the terms below, do not use the SOFTWARE. + . + You agree to use the SOFTWARE only for purposes that are permitted by this + Agreement and any applicable law or regulation in the relevant jurisdictions. + . + 1. License. + . + 1.1 Subject to the terms of this Agreement, NVIDIA grants you a non-exclusive, + revocable, non-transferable and non-sublicensable (except as expressly provided + in this Agreement) license to: + . + a. Install and use copies of the SOFTWARE, + . + b. Modify and create derivative works of any portion of the SOFTWARE delivered + by NVIDIA in source code format, + . + c. Deploy, for your own use, the SOFTWARE on infrastructure you own or lease, + and + . + d. Distribute the SOFTWARE provided for use with operating systems distributed + under the terms of an OSI-approved open source license as listed by the Open + Source Initiative at http://opensource.org, provided that (i) the binary files + thereof are not modified in any way (except for uncompressing of compressed + files) and (ii) this Agreement is provided to each SOFTWARE recipient. + . + 2. Limitations. + . + The following license limitations apply to your use of the SOFTWARE: + . + 2.1 The SOFTWARE is only licensed for use in conjunction with microprocessor(s), + SoCs, and GPUs which have been (i) designed by NVIDIA and/or its affiliates and + (ii) sold (directly or indirectly) by NVIDIA and/or its affiliates ("NVIDIA + Platform"). You may only use firmware in NVIDIA Platforms. You may not translate + firmware, nor cause or permit firmware to be translated, from the architecture + or language in which it is originally provided by NVIDIA, into any other + architecture or language. + . + 2.2 You may not reverse engineer, decompile, or disassemble the SOFTWARE + provided in binary form, nor attempt in any other manner to obtain source code + of such SOFTWARE. + . + 2.3 You may not modify or create derivative works of the SOFTWARE provided in + binary form. + . + 2.4 You may not distribute any modified header files. + . + 2.5 You may not change or remove copyright or other proprietary notices in the + SOFTWARE, or misrepresent the authorship of the SOFTWARE, and you must cause any + modified files to carry prominent notices stating that you changed the files + such that modifications are not misrepresented as an original SOFTWARE. + . + 2.6 You may not bypass, disable, or circumvent any technical limitation, + encryption, security, digital rights management or authentication mechanism in + the SOFTWARE. + . + 2.7 Except as expressly granted in this Agreement, you may not sell, rent, + sublicense, distribute or transfer the SOFTWARE or provide commercial hosting + services with the SOFTWARE. + . + 2.8 You agree that GeForce or Titan SOFTWARE: (i) is licensed for use only on + GeForce or Titan hardware products you own, and (ii) is not licensed for + datacenter deployment. + . + 2.9 You may not use the SOFTWARE in any manner that would cause it to become + subject to an open source software license, subject to the terms in the + "Components Under Other Licenses" section below. + . + 2.10 You acknowledge that the SOFTWARE as delivered is not tested or certified + by NVIDIA for use in any system or application where the use of or failure of + such system or application developed with the SOFTWARE could result in injury, + death or catastrophic damage (each, a "Critical Application"). Examples of + Critical Applications include use in avionics, navigation, autonomous vehicle + applications, automotive products, military, medical, life support or other life + critical applications. NVIDIA will not be liable to you or any third party, in + whole or in part, for any claims or damages arising from these uses. You are + solely responsible for ensuring that systems and applications developed with the + SOFTWARE include sufficient safety and redundancy features, and comply with all + applicable legal and regulatory standards and requirements. + . + 2.11 You agree to defend, indemnify and hold harmless NVIDIA and its affiliates, + and their respective employees, contractors, agents, officers and directors, + from and against any and all claims, damages, obligations, losses, liabilities, + costs or debt, fines, restitutions and expenses (including but not limited to + attorney's fees and costs incident to establishing the right of indemnification) + arising out of or related to products or services that have been developed with + or use the SOFTWARE (including for use in or for Critical Applications), and for + use of the SOFTWARE outside of the scope of this Agreement or not in compliance + with its terms. + . + 3. Authorized Users. + . + You may allow employees and contractors of your entity or of your + subsidiary(ies) to access and use the SOFTWARE from your secure network to + perform the work authorized by this Agreement on your behalf. + . + If you are an academic institution, you may allow users enrolled or employed by + the academic institution to access and use the SOFTWARE as authorized by this + Agreement from your secure network. + . + You are responsible for the compliance with the terms of this Agreement by your + authorized users. Any act or omission that if committed by you would constitute + a breach of this Agreement will be deemed to constitute a breach of this + Agreement if committed by your authorized users. + . + 4. Pre-Release SOFTWARE. + . + The SOFTWARE versions identified as alpha, beta, preview or otherwise as + pre-release may not be fully functional, may contain errors or design flaws, and + may have reduced or different security, privacy, accessibility and reliability + standards relative to commercial versions of NVIDIA software and materials. + . + You may use pre-release SOFTWARE at your own risk, understanding that + pre-release SOFTWARE is not intended for use in production or business-critical + systems and NVIDIA may choose not to make available a commercial version of any + pre-release SOFTWARE. + . + 5. Support and Updates. + . + NVIDIA is not obligated to support any SOFTWARE, unless there is a separate + agreement for this purpose. NVIDIA may, at its option, make available patches, + workarounds or other updates to the SOFTWARE. Unless the updates are provided + with their separate governing terms, they are deemed part of the SOFTWARE + licensed to you as provided in this Agreement. + . + 6. Components Under Other Licenses. + . + The SOFTWARE may include or be distributed with components provided with + separate legal notices or terms that accompany the components, such as open + source software licenses and other license terms ("Other Licenses"). The + components are subject to the applicable Other Licenses, including any + proprietary notices, disclaimers, requirements and extended use rights; except + that this Agreement will prevail regarding the use of third-party open source + software, unless a third-party open source software license requires its license + terms to prevail. Open source software license means any software, data or + documentation subject to any license identified as an open source license by the + Open Source Initiative (http://opensource.org), Free Software Foundation + (http://www.fsf.org) or other similar open source organization or listed by the + Software Package Data Exchange (SPDX) Workgroup under the Linux Foundation + (http://www.spdx.org). + . + You acknowledge and agree that it is your sole responsibility to obtain any + additional third-party licenses required to make, have made, use, have used, + sell, import, and offer for sale your products or services that include or + incorporate any third-party software and content, including, without limitation, + audio and/or video encoders and decoders and implementations of technical + standards. NVIDIA does not grant to you under this Agreement any necessary + patent or other rights, including standard essential patent rights, with respect + to any third-party software and content. + . + 7. Termination. + . + This Agreement will automatically terminate without notice from NVIDIA if you + fail to comply with any of the terms in this Agreement or if you commence or + participate in any legal proceeding against NVIDIA with respect to the + SOFTWARE. Upon any termination, you must stop using and destroy all copies of + the SOFTWARE. You can terminate this Agreement whenever you want by stopping use + of the SOFTWARE and destroying all copies of the SOFTWARE. Your prior + distributions according to this Agreement are not affected by termination. All + provisions will survive termination, except for the licenses granted to you. + . + 8. Ownership. + . + The SOFTWARE, including all intellectual property rights, is and will remain the + sole and exclusive property of NVIDIA or its licensors. Except as expressly + granted in this Agreement, (i) NVIDIA reserves all rights, interests, and + remedies in connection with the SOFTWARE, and (ii) no other license or right is + granted to you by implication, estoppel or otherwise. You agree to cooperate + with NVIDIA and provide reasonably requested information to verify your + compliance with this Agreement. + . + 9. Feedback. + . + You may, but you are not obligated to, provide suggestions, requests, fixes, + modifications, enhancements, or other feedback regarding the SOFTWARE + (collectively, "Feedback"). Feedback, even if designated as confidential by you, + will not create any confidentiality obligation for NVIDIA or its affiliates. If + you provide Feedback, you grant NVIDIA, its affiliates and its designees a + non-exclusive, perpetual, irrevocable, sublicensable, worldwide, royalty-free, + fully paid-up and transferable license, under your intellectual property rights, + to publicly perform, publicly display, reproduce, use, make, have made, sell, + offer for sale, distribute (through multiple tiers of distribution), import, + create derivative works of and otherwise commercialize and exploit the Feedback + at NVIDIA's discretion. You will not give Feedback (i) that you have reason to + believe is subject to any restriction that impairs the exercise of the grant + stated in this section; or (ii) subject to license terms which seek to require + any product incorporating or developed using such Feedback, or other + intellectual property of NVIDIA or its affiliates, to be licensed to or + otherwise shared with any third party. + . + 10. Governing Law and Jurisdiction. + . + This Agreement will be governed in all respects by the laws of the United States + and the laws of the State of Delaware, without regard to conflict of laws + principles or the United Nations Convention on Contracts for the International + Sale of Goods. The state and federal courts residing in Santa Clara County, + California will have exclusive jurisdiction over any dispute or claim arising + out of or related to this Agreement, and the parties irrevocably consent to + personal jurisdiction and venue in those courts; except that either party may + apply for injunctive remedies or an equivalent type of urgent legal relief in + any jurisdiction. + . + 11. Disclaimer of Warranties. + . + THE SOFTWARE IS PROVIDED BY NVIDIA AS-IS AND WITH ALL FAULTS. TO THE FULLEST + EXTENT PERMITTED BY APPLICABLE LAW, NVIDIA DISCLAIMS ALL WARRANTIES AND + REPRESENTATIONS OF ANY KIND, WHETHER EXPRESS, IMPLIED OR STATUTORY, RELATING TO + OR ARISING UNDER THIS AGREEMENT, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES + OF TITLE, NONINFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, + USAGE OF TRADE AND COURSE OF DEALING. WITHOUT LIMITING THE FOREGOING, NVIDIA + DOES NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS; THAT ANY DEFECTS + OR ERRORS WILL BE CORRECTED; THAT ANY CERTAIN CONTENT WILL BE AVAILABLE; OR THAT + THE SOFTWARE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. + . + In addition, you agree that you are solely responsible for maintaining + appropriate data backups and system restore points for systems that include the + SOFTWARE, and that NVIDIA will have no responsibility for any damage or loss to + such systems (including loss of data or access) arising from or relating to (a) + any changes to the configuration, application settings, environment variables, + registry, drivers, BIOS, or other attributes of the system (or any part of such + system) initiated through the SOFTWARE; or (b) installation of any SOFTWARE or + third party software patches through the NVIDIA update service. + . + NO INFORMATION OR ADVICE GIVEN BY NVIDIA WILL IN ANY WAY INCREASE THE SCOPE OF + ANY WARRANTY EXPRESSLY PROVIDED IN THIS AGREEMENT. You are responsible for + checking that a SOFTWARE version is the appropriate one for your NVIDIA product + model, operating system, and computer hardware. + . + 12. Limitations of Liability. + . + TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL NVIDIA BE + LIABLE FOR ANY (I) INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL OR CONSEQUENTIAL + DAMAGES, OR (II) DAMAGES FOR (A) THE COST OF PROCURING SUBSTITUTE GOODS, OR (B) + LOSS OF PROFITS, REVENUES, USE, DATA OR GOODWILL ARISING OUT OF OR RELATED TO + THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING + NEGLIGENCE), STRICT LIABILITY, OR OTHERWISE, AND EVEN IF NVIDIA HAS BEEN ADVISED + OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF A PARTY'S REMEDIES FAIL THEIR + ESSENTIAL PURPOSE. + . + ADDITIONALLY, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, NVIDIA'S TOTAL + CUMULATIVE AGGREGATE LIABILITY FOR ANY AND ALL LIABILITIES, OBLIGATIONS OR + CLAIMS ARISING OUT OF OR RELATED TO THIS AGREEMENT WILL NOT EXCEED FIVE + U.S. DOLLARS (US$5). + . + 13. Data Collection. + . + If you are using the SOFTWARE on a Windows operating system, you hereby + acknowledge that at the time of SOFTWARE installation, NVIDIA will access and + collect data to: (a) properly configure and optimize the system for use with the + SOFTWARE; (b) deliver content or service through SOFTWARE; and (c) improve + NVIDIA products and services. Information collected may include configuration + data such as GPU and CPU, and operating system. + . + The SOFTWARE may contain links to third party websites and services. NVIDIA + encourages you to review the privacy statements on those sites and services that + you choose to visit to understand how they may collect, use and share your + data. NVIDIA is not responsible for the privacy statements or practices of third + party sites or services. + . + Please review the NVIDIA Privacy Policy, located at + https://www.nvidia.com/en-us/about-nvidia/privacy-policy, which explains + NVIDIA's policy for collecting and using data. + . + 14. Assignment. + . + NVIDIA may assign, delegate or transfer its rights or obligations under this + Agreement by any means or operation of law. You may not, without NVIDIA's prior + written consent, assign, delegate or transfer any of its rights or obligations + under this Agreement by any means or operation of law, and any attempt to do so + is null and void. + . + 15. Trade Compliance. + . + You agree to comply with all applicable export, import, trade and economic + sanctions laws and regulations, including U.S. Export Administration + Regulations and Office of Foreign Assets Control regulations. These laws include + restrictions on destinations, end-users and end-use. + . + 16. Government Use. + . + The SOFTWARE, including related documentation ("Protected Items") is a + "Commercial product" as this term is defined at 48 C.F.R. 2.101, consisting of + "commercial computer software" and "commercial computer software documentation" + as such terms are used in, respectively, 48 C.F.R. 12.212 and 48 C.F.R. 227.7202 + & 252.227- 7014(a)(1). Before any Protected Items are supplied to the + U.S. Government, you will (i) inform the U.S. Government in writing that the + Protected Items are and must be treated as commercial computer software and + commercial computer software documentation developed at private expense; (ii) + inform the U.S. Government that the Protected Items are provided subject to the + terms of this Agreement; and (iii) mark the Protected Items as commercial + computer software and commercial computer software documentation developed at + private expense. In no event will you permit the U.S. Government to acquire + rights in Protected Items beyond those specified in 48 + C.F.R. 52.227-19(b)(1)-(2) or 252.227-7013(c) except as expressly approved by + NVIDIA in writing. + . + 17. Notices. + . + Please direct your legal notices or other correspondence to NVIDIA Corporation, + 2788 San Tomas Expressway, Santa Clara, California 95051, United States of + America, Attention: Legal Department. If NVIDIA needs to contact you about the + SOFTWARE, you consent to receive the notices by email and that such notices will + satisfy any legal communication requirements. + . + 18. Entire Agreement. + . + Regarding the subject matter of this Agreement, the parties agree that (i) this + Agreement constitutes the entire and exclusive agreement between the parties and + supersedes all prior and contemporaneous communications and (ii) any additional + or different terms or conditions, whether contained in purchase orders, order + acknowledgments, invoices or otherwise, will not be binding on the receiving + party and are null and void. This Agreement may only be modified in a writing + signed by an authorized representative of each party. + . + If a court of competent jurisdiction rules that a provision of this Agreement is + unenforceable, that provision will be deemed modified to the extent necessary to + make it enforceable and the remainder of this Agreement will continue in full + force and effect. + . + 19. No Waiver. + . + No failure or delay by a party to enforce any Agreement term or obligation will + operate as a waiver by that party, or prevent the enforcement of such term or + obligation later. + . + 20. Licensing. + . + For any questions regarding this Agreement, please contact NVIDIA at + driver-licensing@nvidia.com + . + (v. February 27, 2023) + +License: zlib/libpng + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..fea1a66 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +firmware/gsp*.bin lib/firmware/nvidia/#DRIVER_VERSION_FULL#/ +#RIM_GH100PROD.swidtag usr/share/nvidia/rim/#DRIVER_VERSION_FULL#/ diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..cc42c3d --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/firmware-nvidia-gsp-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,4 @@ +# Firmware blob. +binary-from-other-architecture [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin] +spelling-error-in-binary * [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin] +unstripped-binary-or-object [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin] diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..eb25997 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libcuda.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..931b672 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..fce104a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,9 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[i386]: specific-address-in-shared-library +spelling-error-in-binary +hardening-no-bindnow +[!arm64]: hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..2bdabbd --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcuda1-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +if [ "$1" = "configure" ] +then + + if [ -x /usr/lib/nvidia/check-for-mismatching-nvidia-module ] + then + /usr/lib/nvidia/check-for-mismatching-nvidia-module #DRIVER_VERSION_FULL# + fi + +fi + + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..984cbea --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libcudadebugger.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..7122b04 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcudadebugger.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcudadebugger.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..8f43643 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libcudadebugger1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,10 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +binary-has-unneeded-section +[i386]: specific-address-in-shared-library +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..8446ea3 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libEGL_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..9eafac9 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libEGL_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libEGL_nvidia.so.0 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..eed5323 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libegl-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,11 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgl1-nvidia-glvnd-glx-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgl1-nvidia-glvnd-glx-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..b5f6a15 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgl1-nvidia-glvnd-glx-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1,2 @@ +debian/README.alternatives +README.txt \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..71b020d --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libGLESv1_CM_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..74702bb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv1_CM_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv1_CM_nvidia.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..46cb9a5 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,10 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..7a7416a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libGLESv2_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..e593e4c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv2_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv2_nvidia.so.2 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..46cb9a5 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libgles-nvidia2-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,10 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..775564d --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libGLX_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..0f2a2a8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLX_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLX_nvidia.so.0 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..939404d --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libglx-nvidia0-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,12 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +exit-in-shared-library +[i386]: specific-address-in-shared-library +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..b392925 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvcuvid.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..f3525f1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..f6a42ef --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvcuvid1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,9 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[i386 ppc64el]: specific-address-in-shared-library +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..43cae5a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..e6fb228 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia-drm_gbm.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..1abac5c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-allocator1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,8 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..4eb017e --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-api.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..5397737 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-api1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,9 @@ +# The NVIDIA license does not allow any form of modification. +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..c96f5ba --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-cfg.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..407154a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-cfg.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-cfg.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0f1cba8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-cfg1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,10 @@ +# The NVIDIA license does not allow any form of modification. +[ppc64el]: specific-address-in-shared-library +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..af9a95a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +libnvidia-eglcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ +libnvidia-glsi.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..65cdbfe --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-eglcore-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,17 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +embedded-library libzstd [usr/lib/*/libnvidia-eglcore.so.#DRIVER_VERSION_FULL#] +[i386]: specific-address-in-shared-library +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# The libnvidia-{eglcore,glsi}.so.* SONAME changes with every upstream +# release. +# These private libraries are only used (and usable) as plugins +# loaded by other NVIDIA libraries with the same upstream version +# (and a stable SONAME). +# Therefore we do not include the SONAME in this package name to +# avoid going through NEW for every new upstream release. +package-name-doesnt-match-sonames libnvidia-eglcore#DRIVER_VERSION_FULL# libnvidia-glsi#DRIVER_VERSION_FULL# +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..4543480 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-encode.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..2bd5689 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..e28c2c8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-encode1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,8 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[i386 ppc64el]: specific-address-in-shared-library +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..1eea88a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-fbc.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..b05b1f9 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..da0f07f --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-fbc1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,7 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..29c23c2 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +libnvidia-glcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ +libnvidia-tls.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..b73a7d7 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glcore-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,18 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[arm64 ppc64el]: elf-warning +embedded-library libzstd [usr/lib/*/libnvidia-glcore.so.#DRIVER_VERSION_FULL#] +[i386]: specific-address-in-shared-library +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# The libnvidia-{glcore,tls}.so.* SONAME changes with every upstream +# release. +# These private libraries are only used (and usable) as plugins +# loaded by other NVIDIA libraries with the same upstream version +# (and a stable SONAME). +# Therefore we do not include the SONAME in this package name to +# avoid going through NEW for every new upstream release. +package-name-doesnt-match-sonames libnvidia-glcore#DRIVER_VERSION_FULL# libnvidia-tls#DRIVER_VERSION_FULL# +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..2ef64cf --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-glvkspirv.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..18a1545 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-glvkspirv-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,15 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# The libnvidia-glvkspirv.so.* SONAME changes with every upstream +# release. +# These private libraries are only used (and usable) as plugins +# loaded by other NVIDIA libraries with the same upstream version +# (and a stable SONAME). +# Therefore we do not include the SONAME in this package name to +# avoid going through NEW for every new upstream release. +package-name-doesnt-match-sonames libnvidia-glvkspirv#DRIVER_VERSION_FULL# +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..66c5ddf --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-gpucomp.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..1b0ef8d --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-gpucomp-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,15 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# The libnvidia-{glcore,tls}.so.* SONAME changes with every upstream +# release. +# These private libraries are only used (and usable) as plugins +# loaded by other NVIDIA libraries with the same upstream version +# (and a stable SONAME). +# Therefore we do not include the SONAME in this package name to +# avoid going through NEW for every new upstream release. +package-name-doesnt-match-sonames libnvidia-gpucomp#DRIVER_VERSION_FULL# +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..8a9e0ec --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-ml.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..48d6625 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..1abac5c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ml1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,8 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..e067b79 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,4 @@ +#! /usr/bin/dh-exec +libnvidia-ngx.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +_nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine +nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..6779ba6 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..b39b1f7 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ngx1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,9 @@ +# The NVIDIA license does not allow any form of modification. +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# Location expected by Proton. +repeated-path-segment nvidia [usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/] \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..47f976c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-nvvm.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..d409494 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.4 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.4 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..587eeb8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-nvvm4-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,7 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..1656afc --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-opticalflow.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..d090481 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1 +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..95b6c03 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-opticalflow1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,7 @@ +# The NVIDIA license does not allow any form of modification. +[i386 ppc64el]: specific-address-in-shared-library +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..66d7308 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-pkcs11-openssl3.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..a00870a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-pkcs11-openssl3-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,15 @@ +# The NVIDIA license does not allow any form of modification. +hardening-no-bindnow + +# Use wildcard instead of exact path substitution, this is a M-A: same package. +library-not-linked-against-libc [usr/lib*/libnvidia-pkcs11-openssl3.so.#DRIVER_VERSION_FULL#] + +# The libnvidia-pkcs11-openssl3.so.* SONAME changes with every upstream +# release. +# These private libraries are only used (and usable) as plugins +# loaded by other NVIDIA libraries with the same upstream version +# (and a stable SONAME). +# Therefore we do not include the SONAME in this package name to +# avoid going through NEW for every new upstream release. +package-name-doesnt-match-sonames libnvidia-pkcs11-openssl3-#DRIVER_VERSION_FULL# +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..7e5dc04 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..356a23d --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ptxjitcompiler.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..bbd05bb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-ptxjitcompiler1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,15 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +spelling-error-in-binary +[!arm64]: hardening-no-bindnow +[!arm64]: hardening-no-fortify-functions + +# Use wildcard instead of exact path substitution, this is a M-A: same package. +embedded-library +embedded-library zlib [usr/lib*/libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL#] + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..d5157f5 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-rtcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..1f8d07b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvidia-rtcore-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,14 @@ +# The NVIDIA license does not allow any form of modification. +spelling-error-in-binary +hardening-no-bindnow +[!arm64]: hardening-no-fortify-functions + +# The libnvidia-rtcore.so.* SONAME changes with every upstream +# release. +# These private libraries are only used (and usable) as plugins +# loaded by other NVIDIA libraries with the same upstream version +# (and a stable SONAME). +# Therefore we do not include the SONAME in this package name to +# avoid going through NEW for every new upstream release. +package-name-doesnt-match-sonames libnvidia-rtcore#DRIVER_VERSION_FULL# +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..0350fcd --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +libnvoptix.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +nvoptix.bin usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..b275ee8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvoptix.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvoptix.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..ab2838f --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/libnvoptix1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,10 @@ +# The NVIDIA license does not allow any form of modification. +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/not-installed b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/not-installed new file mode 100644 index 0000000..e770506 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/not-installed @@ -0,0 +1,38 @@ +# Non version dependent exist elsewhere in debian repos +10_nvidia_wayland.json +15_nvidia_gbm.json +# Useless files or broken symlinks +libEGL.so.1.1.0 +libEGL.so.#DRIVER_VERSION_FULL# +libGL.so.1.7.0 +libGLESv1_CM.so.1.2.0 +libGLESv2.so.2.1.0 +libGLX.so.0 +libGLdispatch.so.0 +libOpenGL.so.0 +libglvnd_install_checker +libnvidia-egl-gbm.so.1.1.1 +libnvidia-egl-wayland.so.1.1.13 +libnvidia-pkcs11.so.#DRIVER_VERSION_FULL# +makeself-help-script.sh +makeself.sh +mkprecompiled +nvidia-cuda-mps-control.1.gz +nvidia-drm-outputclass.conf +nvidia-installer +nvidia-installer.1 +nvidia-installer.1.gz +nvidia-modprobe.1 +nvidia-modprobe.1.gz +nvidia-ngx-updater +nvidia-persistenced-init.tar.bz2 +nvidia-persistenced.1 +nvidia-persistenced.1.gz +nvidia-settings.1 +nvidia-settings.desktop +nvidia-smi.1 +nvidia-xconfig.1 +pkg-history.txt +supported-gpus/LICENSE +LICENSE +NVIDIA_Changelog diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.dirs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.dirs new file mode 100644 index 0000000..43ac66c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.dirs @@ -0,0 +1,11 @@ +#! /usr/bin/dh-exec +etc/modprobe.d +etc/nvidia +usr/lib/nvidia/#DRIVER_VERSION_FULL# +usr/lib/nvidia/#DRIVER_VERSION_FULL#-open +usr/lib/${DEB_HOST_MULTIARCH}/gbm +usr/lib/${DEB_HOST_MULTIARCH}/nvidia +usr/lib/${DEB_HOST_MULTIARCH}/vdpau +usr/share/applications +usr/share/man/man1 +usr/share/nvidia \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..3304ff9 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1 @@ +extra_files/nvidia-libdir.conf etc/ld.so.conf.d/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..878b6c8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,11 @@ +# This directory is used as a master alternative. +package-contains-empty-directory [usr/lib/nvidia/#DRIVER_VERSION_FULL#/] +package-contains-empty-directory [usr/lib/nvidia/#DRIVER_VERSION_FULL#-open/] + +# Slave alternatives may be installed there. +package-contains-empty-directory [usr/lib/x86_64-linux-gnu/gbm/] +package-contains-empty-directory [usr/lib/x86_64-linux-gnu/nvidia/] +package-contains-empty-directory [usr/lib/x86_64-linux-gnu/vdpau/] +package-contains-empty-directory [usr/share/applications/] +package-contains-empty-directory [usr/share/man/man1/] +package-contains-empty-directory [usr/share/nvidia/] \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..fbfbd91 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,139 @@ +#!/bin/sh +set -e + + +TRIPLETS="/ /i386-linux-gnu/ /x86_64-linux-gnu/ /aarch64-linux-gnu/ /powerpc64le-linux-gnu/" + +add_slave() +{ + local target_link name source_path prefix + target_link="$1" + name="$2" + source_path="$3" + prefix="nvidia--" + + if [ -f "${source_path}" ] && [ -d "$(dirname "${target_link}")" ]; then + echo --slave "${target_link}" "${prefix}${name}" "${source_path}" + fi +} + +add_multiarch_slave() +{ + local target_dir target_sub_dir file source_dir source_sub_dir prefix suffix triplet + target_dir="$1" + target_sub_dir="$2" + file="$3" + source_dir="$4" + source_sub_dir="$5" + prefix="$6" + + for triplet in $TRIPLETS ; do + # s|/$||; s|^/|-|; + suffix="${triplet%/}" + suffix="${suffix:+-${suffix#/}}" + add_slave "${target_dir}${triplet}${target_sub_dir}${file}" "${prefix}${file}${suffix}" "${source_dir}${triplet}${source_sub_dir}${file}" + done +} + +# A trigger that handles the alternatives for /usr/lib[/]/nvidia/*.* +if [ "$1" = "triggered" ]; then + + slaves=" + $(add_slave /usr/lib/nvidia/libglxserver_nvidia.so libglxserver_nvidia.so /usr/lib/nvidia/current/libglxserver_nvidia.so) + $(add_slave /usr/lib/nvidia/nvidia_drv.so nvidia_drv.so /usr/lib/nvidia/current/nvidia_drv.so) + $(add_multiarch_slave /usr/lib vdpau/ libvdpau_nvidia.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libGLX_nvidia.so.0 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libEGL_nvidia.so.0 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libGLESv1_CM_nvidia.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libGLESv2_nvidia.so.2 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libcuda.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libcuda.so /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libcudadebugger.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvcuvid.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvcuvid.so /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-allocator.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-api.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-encode.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-fbc.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-ml.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-ngx.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.4 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.#DRIVER_VERSION_FULL# /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-opencl.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-opticalflow.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvidia-ptxjitcompiler.so.1 /usr/lib nvidia/current/) + $(add_multiarch_slave /usr/lib "" libnvoptix.so.1 /usr/lib nvidia/current/) + $(add_slave /usr/share/nvidia/nvoptix.bin nvoptix.bin /usr/lib/x86_64-linux-gnu/nvidia/current/nvoptix.bin) + $(add_multiarch_slave /usr/lib gbm/ nvidia-drm_gbm.so /usr/lib nvidia/current/) + $(add_slave /usr/bin/nvidia-smi nvidia-smi /usr/lib/nvidia/current/nvidia-smi) + $(add_slave /usr/share/man/man1/nvidia-smi.1.gz nvidia-smi.1.gz /usr/lib/nvidia/current/nvidia-smi.1.gz) + $(add_slave /usr/lib/nvidia/nvidia-bug-report.sh nvidia-bug-report.sh /usr/lib/nvidia/current/nvidia-bug-report.sh) + $(add_slave /usr/bin/nvidia-debugdump nvidia-debugdump /usr/lib/nvidia/current/nvidia-debugdump) + $(add_slave /usr/share/nvidia/nvidia-application-profiles-key-documentation nvidia-application-profiles-key-documentation /usr/share/nvidia/nvidia-application-profiles-#DRIVER_VERSION_FULL#-key-documentation) + $(add_slave /usr/bin/nvidia-settings nvidia-settings /usr/lib/nvidia/current/nvidia-settings) + $(add_slave /usr/bin/nv-control-dpy nv-control-dpy /usr/lib/nvidia/current/nv-control-dpy) + $(add_slave /usr/share/applications/nvidia-settings.desktop nvidia-settings.desktop /usr/lib/nvidia/current/nvidia-settings.desktop) + $(add_slave /usr/share/man/man1/nvidia-settings.1.gz nvidia-settings.1.gz /usr/lib/nvidia/current/nvidia-settings.1.gz) +" + conf_slaves=" + $(add_multiarch_slave /usr/lib nvidia/ libnvidia-cfg.so.1 /usr/lib nvidia/current/) + $(add_slave /etc/nvidia/nvidia-drm-outputclass.conf nvidia-drm-outputclass.conf /etc/nvidia/current/nvidia-drm-outputclass.conf) +" + kmod_slaves=" + $(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-blacklists-nouveau.conf) + $(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-modprobe.conf) + $(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-options.conf) + $(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-load.conf) +" + kmod_open_slaves=" + $(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-blacklists-nouveau.conf) + $(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-modprobe.conf) + $(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-options.conf) + $(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-load.conf) +" + libnvidia_ml_so_slave= + if [ -f /usr/include/nvml.h ]; then + libnvidia_ml_so_slave="$(add_multiarch_slave /usr/lib "" libnvidia-ml.so /usr/lib nvidia/current/)" + fi + normal_alternative=0 + open_alternative=0 + if echo "$slaves" | grep -q "slave" ; then + if echo "${kmod_slaves}" | grep -q "slave" ; then + normal_alternative=1 + fi + if echo "${kmod_open_slaves}" | grep -q "slave" ; then + open_alternative=1 + else + # fallback: normal alternative w/o kernel module + normal_alternative=1 + fi + fi + if [ "$normal_alternative" = 1 ]; then + update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current #DRIVER_VERSION_MAJOR# $slaves $conf_slaves $kmod_slaves $libnvidia_ml_so_slave + else + update-alternatives --remove nvidia /usr/lib/nvidia/current + fi + if [ "$open_alternative" = 1 ]; then + update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current-open $((#DRIVER_VERSION_MAJOR# - 1)) $slaves $conf_slaves $kmod_open_slaves $libnvidia_ml_so_slave + else + update-alternatives --remove nvidia /usr/lib/nvidia/current-open + fi + + # activate the trigger selecting NVIDIA as GLX provider + dpkg-trigger --no-await register-glx-alternative-nvidia + + # let glx-alternative-mesa take over handling libGLX_indirect.so.0 + dpkg-trigger --no-await register-glx-alternative-mesa + +fi + + +if [ "$1" = "configure" ]; then + + # activate our trigger + dpkg-trigger register-nvidia-alternative + +fi + + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.prerm b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.prerm new file mode 100644 index 0000000..747452c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.prerm @@ -0,0 +1,14 @@ +#!/bin/sh +set -e + + +if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then + + update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#-open + update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL# + dpkg-trigger --no-await register-glx-alternative-nvidia + +fi + + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.triggers b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.triggers new file mode 100644 index 0000000..d343131 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-alternative-#DRIVER_VERSION_MAJOR#.triggers @@ -0,0 +1,15 @@ +interest-await register-nvidia-alternative + +interest-await /etc/nvidia/current +interest-await /etc/nvidia/current-open +interest-await /etc/nvidia/nvidia-#DRIVER_VERSION_FULL# +interest-await /etc/nvidia/#DRIVER_VERSION_FULL#-open + +interest-await /usr/lib/nvidia/current +interest-await /usr/lib/i386-linux-gnu/nvidia/current +interest-await /usr/lib/x86_64-linux-gnu/nvidia/current +interest-await /usr/lib/aarch64-linux-gnu/nvidia/current +interest-await /usr/lib/powerpc64le-linux-gnu/nvidia/current + +interest-await /usr/include/nvml.h + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.dirs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.dirs new file mode 100644 index 0000000..e0c746f --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.dirs @@ -0,0 +1 @@ +var/log/nvidia-mps \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..475b9f4 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +nvidia-cuda-mps-control usr/bin/ +nvidia-cuda-mps-server usr/sbin/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..cd521e1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1 @@ +usr/share/man/man1/nvidia-cuda-mps-control.1 usr/share/man/man8/nvidia-cuda-mps-server.8 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..b1535d4 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,5 @@ +# The NVIDIA license does not allow any form of modification. +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions +hardening-no-pie \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.manpages b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.manpages new file mode 100644 index 0000000..2e62a82 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-cuda-mps-#DRIVER_VERSION_MAJOR#.manpages @@ -0,0 +1 @@ +nvidia-cuda-mps-control.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..3b436f6 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1,4 @@ +README.txt +html/ +debian/README.alternatives +supported-gpus/supported-gpus.json \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..59b8f87 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,5 @@ +#! /usr/bin/dh-exec +nvidia-bug-report.sh usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +nvidia-debugdump usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +nvidia-application-profiles-#DRIVER_VERSION_FULL#-rc usr/share/nvidia/ +nvidia-application-profiles-#DRIVER_VERSION_FULL#-key-documentation usr/share/nvidia/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..86af853 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-bin-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,8 @@ +# The NVIDIA license does not allow any form of modification. +hardening-no-bindnow +hardening-no-fortify-functions +hardening-no-pie + +# The current setup involving multiple chained alternatives would be very +# hard to migrate to /usr/libexec. +executable-in-usr-lib \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..1d7bcdc --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1 @@ +breaks-without-version \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..aa6f8cb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-driver-libs-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +if [ "$1" = "configure" ] +then + + if [ -x /usr/lib/nvidia/check-for-conflicting-opengl-libraries ] + then + /usr/lib/nvidia/check-for-conflicting-opengl-libraries + fi + + if [ -x /usr/lib/nvidia/check-for-mismatching-nvidia-module ] + then + /usr/lib/nvidia/check-for-mismatching-nvidia-module #DRIVER_VERSION_FULL# + fi + +fi + + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..2dfc88a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1 @@ +10_nvidia.json /usr/share/glvnd/egl_vendor.d/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0f8c9b1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-egl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,2 @@ +# We do not build arch:all packages from the proprietary driver. +package-contains-no-arch-dependent-files \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..9db97ae --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +extra_files/nvidia_helper.ck /usr/lib/ConsoleKit/run-seat.d/ +extra_files/nvidia_helper /usr/lib/udev/ diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..c6f12a2 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,5 @@ +# Hook location. +executable-in-usr-lib [usr/lib/ConsoleKit/run-seat.d/nvidia_helper.ck] + +# We do not build arch:all packages for the proprietary driver. +package-contains-no-arch-dependent-files diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.udev b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.udev new file mode 100644 index 0000000..7395d18 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-common-#DRIVER_VERSION_MAJOR#.udev @@ -0,0 +1,10 @@ +# Set ACLs for console users on /dev/nvidia* +# This is necessary until the driver uses some other form of auth +ENV{ACL_MANAGE}=="0", GOTO="nvidia_end" +DRIVER=="nvidia",ENV{NVIDIA_DEVICE}="1" +ENV{NVIDIA_DEVICE}!="1", GOTO="nvidia_end" +ENV{ACL_MANAGE}="1" +TEST!="/lib/libglib-2.0.so.0", GOTO="nvidia_end" +# apply ACL for all locally logged in users +TEST=="/var/run/ConsoleKit/database", RUN+="nvidia_helper --action=$env{ACTION} --device=$env{DEVNAME}" +LABEL="nvidia_end" diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms new file mode 100644 index 0000000..b679935 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms @@ -0,0 +1,35 @@ +# DKMS configuration for the NVIDIA kernel module. -*- sh -*- + +PACKAGE_NAME="nvidia" +PACKAGE_VERSION="#DRIVER_VERSION_FULL#" + +# Only kernels from 3.10 onwards are supported. +BUILD_EXCLUSIVE_KERNEL="^(3\.[1-9][0-9]|[4-9]\.)" + +# The NVIDIA driver does not support real-time kernels. +BUILD_EXCLUSIVE_CONFIG="!CONFIG_PREEMPT_RT !CONFIG_PREEMPT_RT_FULL" + +AUTOINSTALL=yes + +MAKE[0]="env NV_VERBOSE=1 make ${parallel_jobs+-j$parallel_jobs} modules KERNEL_UNAME=${kernelver}" +CLEAN="make KERNEL_UNAME=${kernelver} clean" + +BUILT_MODULE_NAME[0]="nvidia" +DEST_MODULE_NAME[0]="$PACKAGE_NAME" +DEST_MODULE_LOCATION[0]="/updates/dkms" + +BUILT_MODULE_NAME[1]="nvidia-modeset" +DEST_MODULE_NAME[1]="$PACKAGE_NAME-modeset" +DEST_MODULE_LOCATION[1]="/updates/dkms" + +BUILT_MODULE_NAME[2]="nvidia-drm" +DEST_MODULE_NAME[2]="$PACKAGE_NAME-drm" +DEST_MODULE_LOCATION[2]="/updates/dkms" + +BUILT_MODULE_NAME[3]="nvidia-uvm" +DEST_MODULE_NAME[3]="$PACKAGE_NAME-uvm" +DEST_MODULE_LOCATION[3]="/updates/dkms" + +BUILT_MODULE_NAME[4]="nvidia-peermem" +DEST_MODULE_NAME[4]="$PACKAGE_NAME-peermem" +DEST_MODULE_LOCATION[4]="/updates/dkms" diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..c3ca074 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1 @@ +README.txt \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..9fd5c93 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1 @@ +kernel/* usr/src/nvidia-#DRIVER_VERSION_FULL#/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..a141fb1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,5 @@ +# These object files are linked into kernel modules. +unstripped-binary-or-object + +# False positives in non-string parts. +spelling-error-in-binary \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..1ae5866 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1,2 @@ +README.txt +extra_files/build-module-packages.sh \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..663feda --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-source-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,6 @@ +kernel/* usr/src/modules/nvidia-kernel/ +extra_files/bug-script usr/src/modules/nvidia-kernel/debian/ +debian/changelog usr/src/modules/nvidia-kernel/debian/ +extra_files/control.models usr/src/modules/nvidia-kernel/debian/ +debian/copyright usr/src/modules/nvidia-kernel/debian/ +# debian/module/debian/* usr/src/modules/nvidia-kernel/debian/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..5781a2e --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,4 @@ +extra_files/nvidia-load.conf etc/nvidia/current/ +extra_files/nvidia-modprobe.conf etc/nvidia/current/ +extra_files/nvidia-options.conf etc/nvidia/current/ +extra_files/nvidia-blacklists-nouveau.conf etc/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..7158080 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1 @@ +etc/nvidia/current etc/nvidia/nvidia-#DRIVER_VERSION_FULL# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0f8c9b1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,2 @@ +# We do not build arch:all packages from the proprietary driver. +package-contains-no-arch-dependent-files \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..fb47fb3 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,19 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ] +then + + if [ -f /etc/nvidia/current/nvidia-modprobe.conf.dpkg-old ] && [ ! -f /etc/nvidia/current/nvidia-modprobe.conf ] + then + + # restore modprobe.conf erroneously obsoleted due to bugs in + # debhelper (#994919) and dpkg (#995387), causing #994971 + mv -v /etc/nvidia/current/nvidia-modprobe.conf.dpkg-old /etc/nvidia/current/nvidia-modprobe.conf + dpkg-trigger --no-await register-nvidia-alternative + + fi + +fi + +###DEBHELPER### \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postrm b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postrm new file mode 100644 index 0000000..56bf9de --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-kernel-support-#DRIVER_VERSION_MAJOR#.postrm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + + +if [ "$1" = "remove" ] || [ "$1" = "purge" ] ; then + + # activate our trigger + dpkg-trigger register-nvidia-alternative + +fi + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..72c8fd0 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libOpenCL.so.1.0.0 usr/lib/${DEB_HOST_MULTIARCH}/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..f129d37 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/libOpenCL.so.1.0.0 usr/lib/${DEB_HOST_MULTIARCH}/libOpenCL.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..7d4d63c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-libopencl1-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,13 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[i386]: specific-address-in-shared-library +hardening-no-bindnow +hardening-no-fortify-functions + +# There are multiple vendors providing this library. +package-name-doesnt-match-sonames libOpenCL1 + +# The free libOpenCL.so.1 library is preferred. +symbols-declares-dependency-on-other-package ocl-icd-libopencl1 (libOpenCL.so.1) [symbols] +symbols-declares-dependency-on-other-package ocl-icd-libopencl1 (>= *) (libOpenCL.so.1) [symbols] +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..effba6f --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +nvidia-modprobe /usr/bin/ +extra_files/nvidia-create-device-nodes /usr/bin/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..3bc6c78 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1 @@ +elevated-privileges 4755 root/root [usr/bin/nvidia-modprobe] \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.udev b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.udev new file mode 100644 index 0000000..256493b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-modprobe-#DRIVER_VERSION_MAJOR#.udev @@ -0,0 +1,16 @@ +# Device nodes are created by nvidia-modprobe, which is called by the nvidia DDX. +# In case the DDX is not started, the device nodes are never created, so call +# nvidia-modprobe in the udev rules to cover the Wayland/EGLStream and compute +# case without a started display. In the case where vfio-pci is used +# nvidia-modprobe should not be invoked. +ACTION=="add|bind", ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \ + DRIVER=="nvidia", TEST!="/dev/nvidia-uvm", \ + RUN+="/usr/bin/nvidia-create-device-nodes" + +# Enable runtime PM for NVIDIA VGA/3D controller devices on driver bind +ACTION=="add|bind", SUBSYSTEM=="pci", DRIVERS=="nvidia", ATTR{vendor}=="0x10de", \ + ATTR{class}=="0x03[0-9]*", TEST=="power/control", ATTR{power/control}="auto" + +# Disable runtime PM for NVIDIA VGA/3D controller devices on driver unbind +ACTION=="remove|unbind", SUBSYSTEM=="pci", DRIVERS=="nvidia", ATTR{vendor}=="0x10de", \ + ATTR{class}=="0x03[0-9]*", TEST=="power/control", ATTR{power/control}="on" diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-driver-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-driver-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..3b436f6 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-driver-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1,4 @@ +README.txt +html/ +debian/README.alternatives +supported-gpus/supported-gpus.json \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..acae3b2 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +extra_files/nvidia_helper.ck /usr/lib/ConsoleKit/run-seat.d/ +extra_files/nvidia_helper /usr/lib/udev/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..7f134fb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,5 @@ +# Hook location. +executable-in-usr-lib [usr/lib/ConsoleKit/run-seat.d/nvidia_helper.ck] + +# We do not build arch:all packages for the proprietary driver. +package-contains-no-arch-dependent-files \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.udev b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.udev new file mode 100644 index 0000000..6a015de --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-common-#DRIVER_VERSION_MAJOR#.udev @@ -0,0 +1,10 @@ +# Set ACLs for console users on /dev/nvidia* +# This is necessary until the driver uses some other form of auth +ENV{ACL_MANAGE}=="0", GOTO="nvidia_end" +DRIVER=="nvidia",ENV{NVIDIA_DEVICE}="1" +ENV{NVIDIA_DEVICE}!="1", GOTO="nvidia_end" +ENV{ACL_MANAGE}="1" +TEST!="/lib/libglib-2.0.so.0", GOTO="nvidia_end" +# apply ACL for all locally logged in users +TEST=="/var/run/ConsoleKit/database", RUN+="nvidia_helper --action=$env{ACTION} --device=$env{DEVNAME}" +LABEL="nvidia_end" \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms new file mode 100644 index 0000000..ad5e421 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.dkms @@ -0,0 +1,35 @@ +# DKMS configuration for the NVIDIA kernel module. -*- sh -*- + +PACKAGE_NAME="nvidia" +PACKAGE_VERSION="#DRIVER_VERSION_FULL#" + +# Only kernels from 3.10 onwards are supported. +BUILD_EXCLUSIVE_KERNEL="^(3\.[1-9][0-9]|[4-9]\.)" + +# The NVIDIA driver does not support real-time kernels. +BUILD_EXCLUSIVE_CONFIG="!CONFIG_PREEMPT_RT !CONFIG_PREEMPT_RT_FULL" + +AUTOINSTALL=yes + +MAKE[0]="env NV_VERBOSE=1 make ${parallel_jobs+-j$parallel_jobs} modules KERNEL_UNAME=${kernelver}" +CLEAN="make KERNEL_UNAME=${kernelver} clean" + +BUILT_MODULE_NAME[0]="nvidia" +DEST_MODULE_NAME[0]="$PACKAGE_NAME" +DEST_MODULE_LOCATION[0]="/updates/dkms" + +BUILT_MODULE_NAME[1]="nvidia-modeset" +DEST_MODULE_NAME[1]="$PACKAGE_NAME-modeset" +DEST_MODULE_LOCATION[1]="/updates/dkms" + +BUILT_MODULE_NAME[2]="nvidia-drm" +DEST_MODULE_NAME[2]="$PACKAGE_NAME-drm" +DEST_MODULE_LOCATION[2]="/updates/dkms" + +BUILT_MODULE_NAME[3]="nvidia-uvm" +DEST_MODULE_NAME[3]="$PACKAGE_NAME-uvm" +DEST_MODULE_LOCATION[3]="/updates/dkms" + +BUILT_MODULE_NAME[4]="nvidia-peermem" +DEST_MODULE_NAME[4]="$PACKAGE_NAME-peermem" +DEST_MODULE_LOCATION[4]="/updates/dkms" \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..c3ca074 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1 @@ +README.txt \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..36656c0 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1 @@ +kernel-open/* usr/src/nvidia-#DRIVER_VERSION_FULL#/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..a141fb1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-dkms-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,5 @@ +# These object files are linked into kernel modules. +unstripped-binary-or-object + +# False positives in non-string parts. +spelling-error-in-binary \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..a959bb9 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1,2 @@ +README.txt +extra_files/build-open-module-packages.sh \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..b509689 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-open-kernel-source-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,6 @@ +kernel-open/* usr/src/modules/nvidia-kernel/ +extra_files/bug-script usr/src/modules/nvidia-kernel/debian/ +debian/changelog usr/src/modules/nvidia-kernel/debian/ +extra_files/control.models usr/src/modules/nvidia-kernel/debian/ +debian/copyright usr/src/modules/nvidia-kernel/debian/ +# debian/module/debian/* usr/src/modules/nvidia-kernel/debian/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..1d43508 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1 @@ +nvidia.icd etc/OpenCL/vendors/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0f8c9b1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-common-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,2 @@ +# We do not build arch:all packages from the proprietary driver. +package-contains-no-arch-dependent-files \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..d97d091 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libnvidia-opencl.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..ef1e49b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opencl.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opencl.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0bd08de --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-opencl-icd-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,12 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[i386]: specific-address-in-shared-library +spelling-error-in-binary +hardening-no-bindnow +[!arm64]: hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger + +# There is no .so link. +symbols-file-missing-build-depends-package-field \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..34e919c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,3 @@ +extra_files/nvidia-persistenced-init/sysv/nvidia-persistenced /etc/init.d/ +extra_files/nvidia-persistenced-init/systemd/nvidia-persistenced.service /usr/lib/systemd/system/ +nvidia-persistenced /usr/bin/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..a353d59 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,2 @@ +# Upstream uses /var/run/nvidia-persistenced in various locations. +adduser-with-home-var-run [postinst:*] diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..982b2f1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-persistenced-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; then + if ! getent passwd nvpd >/dev/null; then + # Create ad-hoc system user/group + adduser --system --group --home /var/run/nvpd/ --gecos 'NVIDIA Persistence Daemon' --no-create-home nvpd + fi +fi + +#DEBHELPER# diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.examples b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.examples new file mode 100644 index 0000000..d9e1fe4 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.examples @@ -0,0 +1,2 @@ +nvidia-dbus.conf +systemd/system/nvidia-powerd.service \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..915d615 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#nvidia-dbus.conf usr/share/dbus-1/system.d/ +nvidia-powerd usr/sbin/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..9f27e58 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-powerd-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,4 @@ +# The NVIDIA license does not allow any form of modification. +hardening-no-bindnow +hardening-no-fortify-functions +hardening-no-pie \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..49119a1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,7 @@ +nvidia-settings usr/lib/nvidia/current/ +extra_files/nvidia-settings.desktop usr/lib/nvidia/current/ +nvidia-settings.1.gz usr/lib/nvidia/current/ +libnvidia-gtk2.so.#DRIVER_VERSION_FULL# usr/lib/nvidia/current/ +libnvidia-gtk3.so.#DRIVER_VERSION_FULL# usr/lib/nvidia/current/ +libnvidia-wayland-client.so.#DRIVER_VERSION_FULL# usr/lib/nvidia/current/ +nvidia-settings.png usr/share/icons/hicolor/128x128/apps/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..e4d6f91 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-settings-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,8 @@ +# The shared libraries are actually version-specific plugins. +package-name-doesnt-match-sonames +exit-in-shared-library +no-symbols-control-file + +# The current setup involving multiple chained alternatives would be very +# hard to migrate to /usr/libexec. +executable-in-usr-lib diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..5745995 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +nvidia-smi usr/lib/nvidia/current/ +nvidia-smi.1.gz usr/lib/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..5032586 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-smi-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,9 @@ +# The NVIDIA license does not allow any form of modification. +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions +hardening-no-pie + +# The current setup involving multiple chained alternatives would be very +# hard to migrate to /usr/libexec. +executable-in-usr-lib \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.config b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.config new file mode 100644 index 0000000..3f77264 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.config @@ -0,0 +1,17 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +if [ "$1" = "configure" ] +then + + if false && [ -d /etc/X11 ] && [ ! -f /etc/X11/nvidia.conf ] && [ ! -f /etc/X11/xorg.conf ] + then + db_input high nvidia-support/create-nvidia-conf || true + db_go + fi + +fi + +#DEBHELPER# diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..3a5f36b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,4 @@ +extra_files/check-for-mismatching-nvidia-module usr/lib/nvidia/ +extra_files/alternate-install-present usr/lib/nvidia/ +extra_files/pre-install usr/lib/nvidia/ +extra_files/check-for-conflicting-opengl-libraries usr/lib/nvidia/ diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..c7d289e --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,21 @@ +# The check for mismatching nvidia kernel module version has been moved to a +# script that is called from several postinst scripts only. +debconf-is-not-a-registry [usr/lib/nvidia/check-for-mismatching-nvidia-module:6] +executable-in-usr-lib [usr/lib/nvidia/check-for-mismatching-nvidia-module] +unused-debconf-template nvidia-support/check-running-module-version [templates:*] +unused-debconf-template nvidia-support/last-mismatching-module-version [templates:*] +unused-debconf-template nvidia-support/warn-mismatching-module-version [templates:*] +unused-debconf-template nvidia-support/warn-nouveau-module-loaded [templates:*] + +# The notes about needing a xorg.conf or leftover xorg.conf are displayed by +# xserver-xorg-video-nvidia. +unused-debconf-template nvidia-support/needs-xorg-conf-to-enable [templates:*] +unused-debconf-template nvidia-support/check-xorg-conf-on-removal [templates:*] +unused-debconf-template nvidia-support/removed-but-enabled-in-xorg-conf [templates:*] + +# The script is shipped by several driver packages depending on us. +spare-manual-page [usr/share/man/man1/nvidia-bug-report.sh.1.gz] + +# We do not build arch:all packages for the proprietary driver. +package-contains-no-arch-dependent-files + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.manpages b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.manpages new file mode 100644 index 0000000..f9b02e0 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.manpages @@ -0,0 +1 @@ +extra_files/nvidia-bug-report.sh.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..0171662 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,7 @@ +#!/bin/sh +set -e + +# dummy postinst to ensure that the templates get imported and the config script is executed +. /usr/share/debconf/confmodule + +#DEBHELPER# diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postrm b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postrm new file mode 100644 index 0000000..6ab3c1f --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.postrm @@ -0,0 +1,11 @@ +#!/bin/sh +set -e + +if [ "$1" = "purge" ] +then + + rm -f /etc/X11/nvidia.conf + +fi + +#DEBHELPER# diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.templates b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.templates new file mode 100644 index 0000000..448d94e --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-support-#DRIVER_VERSION_MAJOR#.templates @@ -0,0 +1,58 @@ +Template: nvidia-support/check-running-module-version +Type: boolean +Default: true +Description: for internal use + Can be preseeded. If set to false, disables the nouveau module check + and nvidia module version check entirely. + +Template: nvidia-support/last-mismatching-module-version +Type: string +Default: none +Description: for internal use + Remembers the last version for which we displayed the warning, so that we + warn only once for each version. + +Template: nvidia-support/warn-mismatching-module-version +Type: error +Description: Mismatching nvidia kernel module loaded + The NVIDIA driver that is being installed (version ${new-version}) + does not match the nvidia kernel module currently loaded + (version ${running-version}). + . + The X server, OpenGL, and GPGPU applications may not work properly. + . + The easiest way to fix this is to reboot the machine once the + installation has finished. You can also stop the X server (usually by + stopping the login manager, e.g. gdm3, sddm, or xdm), manually unload the + module ("modprobe -r nvidia"), and restart the X server. + +Template: nvidia-support/warn-nouveau-module-loaded +Type: error +Description: Conflicting nouveau kernel module loaded + The free nouveau kernel module is currently loaded and conflicts with the + non-free nvidia kernel module. + . + The easiest way to fix this is to reboot the machine once the + installation has finished. + +Template: nvidia-support/needs-xorg-conf-to-enable +Type: note +Description: Manual configuration required to enable NVIDIA driver + The NVIDIA driver is not yet configured; it needs to be enabled in + xorg.conf before it can be used. + . + Please see the package documentation for instructions. + +Template: nvidia-support/check-xorg-conf-on-removal +Type: boolean +Default: true +Description: for internal use + Can be preseeded. If set to false, does not warn about fglrx still being + enabled in xorg.conf(.d/) when removing the package. + +Template: nvidia-support/removed-but-enabled-in-xorg-conf +Type: error +Description: NVIDIA driver is still enabled in xorg.conf + The NVIDIA driver was just removed, but it is still enabled in the + Xorg configuration. X cannot be (re-)started successfully until NVIDIA + is disabled. diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..66c615e --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,5 @@ +systemd/system/nvidia-suspend.service usr/lib/systemd/system/ +systemd/system/nvidia-hibernate.service usr/lib/systemd/system/ +systemd/system/nvidia-resume.service usr/lib/systemd/system/ +systemd/system-sleep/nvidia usr/lib/systemd/system-sleep/ +systemd/nvidia-sleep.sh usr/bin/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..a1faf8c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,15 @@ +# Names and locations required by the .service files. +no-manual-page [usr/bin/nvidia-sleep.sh] +script-with-language-extension [usr/bin/nvidia-sleep.sh] +executable-in-usr-lib [usr/lib/systemd/system-sleep/nvidia] + +systemd-service-file-refers-to-unusual-wantedby-target systemd-hibernate.service [usr/lib/systemd/system/nvidia-hibernate.service] +systemd-service-file-refers-to-unusual-wantedby-target systemd-hibernate.service [usr/lib/systemd/system/nvidia-resume.service] +systemd-service-file-refers-to-unusual-wantedby-target systemd-suspend.service [usr/lib/systemd/system/nvidia-resume.service] +systemd-service-file-refers-to-unusual-wantedby-target systemd-suspend.service [usr/lib/systemd/system/nvidia-suspend.service] +systemd-service-file-missing-documentation-key [usr/lib/systemd/system/nvidia-hibernate.service] +systemd-service-file-missing-documentation-key [usr/lib/systemd/system/nvidia-resume.service] +systemd-service-file-missing-documentation-key [usr/lib/systemd/system/nvidia-suspend.service] + +# We do not build arch:all packages from the proprietary driver. +package-contains-no-arch-dependent-files \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..527a1b1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,5 @@ +#!/bin/sh + +systemctl enable nvidia-hibernate || true +systemctl enable nvidia-resume || true +systemctl enable nvidia-suspend || true diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm new file mode 100644 index 0000000..7a7406c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-suspend-common-#DRIVER_VERSION_MAJOR#.prerm @@ -0,0 +1,5 @@ +#!/bin/sh + +systemctl disable nvidia-hibernate || true +systemctl disable nvidia-resume || true +systemctl disable nvidia-suspend || true diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..c3ca074 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1 @@ +README.txt \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..13a8cb5 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +libvdpau_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..a72fdac --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,2 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libvdpau_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libvdpau_nvidia.so.1 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..e28c2c8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vdpau-driver-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,8 @@ +# The NVIDIA license does not allow any form of modification. +[i386]: binary-file-built-without-LFS-support +[i386 ppc64el]: specific-address-in-shared-library +hardening-no-bindnow +hardening-no-fortify-functions + +# Lintian and debhelper disagree w.r.t. a library in a private directory. +package-has-unnecessary-activation-of-ldconfig-trigger \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..34b6bac --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +nvidia_icd.json usr/share/vulkan/icd.d/ +nvidia_layers.json usr/share/vulkan/implicit_layer.d/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0f8c9b1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-vulkan-common-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,2 @@ +# We do not build arch:all packages from the proprietary driver. +package-contains-no-arch-dependent-files \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..36ecbfc --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,2 @@ +nvidia-xconfig usr/bin/ +nvidia-xconfig.1.gz usr/share/man/man1/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..29cd9cb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/nvidia-xconfig-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1 @@ +etc/X11 \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/rules b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/rules new file mode 100644 index 0000000..71e5b78 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/rules @@ -0,0 +1,39 @@ +#! /usr/bin/make -f + +## See debhelper(7) (uncomment to enable). +## Output every command that modifies files on the build system. +export DH_VERBOSE = 1 +export PIKA_BUILD_ARCH = $(shell cat ../pika-build-arch) + +override_dh_prep: +# amd64 build prep +ifeq (amd64,$(DEB_HOST_ARCH)) + # Extract nvidia files from run archive + ./nvidia-installer.run --extract-only + mkdir -p debian/tmp + # Copy installer contents into debian temp dir + cp -rf ./NVIDIA-Linux-*/* debian/tmp + # Delete 32 libs on amd64 builds + rm -rf debian/tmp/32 + # Extract all manpages + gunzip debian/tmp/*.1.gz -k +endif + +# i386 (x86) build +ifeq (i386,$(DEB_HOST_ARCH)) + # Extract nvidia files from run archive + ./nvidia-installer.run --extract-only + mkdir -p debian/tmp + # Copy installer contents into debian temp dir + cp -rf ./NVIDIA-Linux-*/* debian/tmp + # Replace libs with 32 bit + rm -rf debian/tmp/*.so* + cp -rf ./NVIDIA-Linux-*/32/* debian/tmp + rm -rf debian/tmp/32 +endif + +override_dh_shlibdeps: + dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/nvidia/current/:/usr/lib/nvidia/current/ + +%: + dh $@ diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/format b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/lintian-overrides new file mode 100644 index 0000000..9e93b1a --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/source/lintian-overrides @@ -0,0 +1,21 @@ +# patching is done manually after unpacking the .run files +patch-file-present-but-not-mentioned-in-series + +# this file is part of the compressed .run files +superfluous-file-pattern supported-gpus/supported-gpus.json [debian/copyright:*] + +# upstream provides no signatures +debian-watch-does-not-check-openpgp-signature + +# running tests would require nvidia hardware and using the +# proprietary kernel module +superficial-tests + +# several library packages ship their *.so link, so they actually +# are their own -dev package +package-placeholder-in-symbols-file + +# only binary releases +upstream-metadata-missing-repository +very-long-line-length-in-source-file * > 512 [*/NVIDIA-Linux-*-*.run:*] +#unicode-trojan * [*/NVIDIA-Linux-*-*.run:*] diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.docs b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.docs new file mode 100644 index 0000000..c3ca074 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.docs @@ -0,0 +1 @@ +README.txt \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.install new file mode 100644 index 0000000..7b4bfcb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.install @@ -0,0 +1,6 @@ +#! /usr/bin/dh-exec +nvidia_drv.so usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +libglxserver_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +extra_files/nvidia.ids usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ +nvidia-drm-outputclass.conf etc/nvidia/current/ +extra_files/10-nvidia-amd64-module.conf usr/share/X11/xorg.conf.d/ \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.links b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.links new file mode 100644 index 0000000..a51dd4b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.links @@ -0,0 +1,3 @@ +#! /usr/bin/dh-exec +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libglxserver_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libglxserver_nvidia.so +usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia_drv.so usr/lib/nvidia/current/nvidia_drv.so \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.lintian-overrides b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.lintian-overrides new file mode 100644 index 0000000..0f05f85 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.lintian-overrides @@ -0,0 +1,4 @@ +# The NVIDIA license does not allow any form of modification. +spelling-error-in-binary +hardening-no-bindnow +hardening-no-fortify-functions \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postinst b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postinst new file mode 100644 index 0000000..aa6f8cb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postinst @@ -0,0 +1,22 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +if [ "$1" = "configure" ] +then + + if [ -x /usr/lib/nvidia/check-for-conflicting-opengl-libraries ] + then + /usr/lib/nvidia/check-for-conflicting-opengl-libraries + fi + + if [ -x /usr/lib/nvidia/check-for-mismatching-nvidia-module ] + then + /usr/lib/nvidia/check-for-mismatching-nvidia-module #DRIVER_VERSION_FULL# + fi + +fi + + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postrm b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postrm new file mode 100644 index 0000000..37f69ce --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/xserver-xorg-video-nvidia-#DRIVER_VERSION_MAJOR#.postrm @@ -0,0 +1,29 @@ +#!/bin/sh +set -e + +. /usr/share/debconf/confmodule + +warn_about_remaining_xorg_configuration() +{ + # allow to disable the check via preseeding + db_get nvidia-support/check-xorg-conf-on-removal || true + test "$RET" = "true" || return 0 + + XORG_CONF=$(grep -l '^[^#]*nvidia' /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*.conf 2>/dev/null || true) + + test -n "$XORG_CONF" || return 0 + + db_subst nvidia-support/removed-but-enabled-in-xorg-conf config-files "$XORG_CONF" + db_fset nvidia-support/removed-but-enabled-in-xorg-conf seen false + db_input high nvidia-support/removed-but-enabled-in-xorg-conf || true + db_go + +} + +if [ "$1" = "remove" ]; then + + warn_about_remaining_xorg_configuration + +fi + +#DEBHELPER# \ No newline at end of file diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/10-nvidia-amd64-module.conf b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/10-nvidia-amd64-module.conf new file mode 100644 index 0000000..9bf70ee --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/10-nvidia-amd64-module.conf @@ -0,0 +1,15 @@ +# This xorg.conf.d configuration snippet configures the X server to +# automatically load the nvidia X driver when it detects a device driven by the +# nvidia-drm.ko kernel module. Please note that this only works on Linux kernels +# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko +# kernel module is loaded before the X server is started. + +# Adds x86_64-linux-gnu module path to X11 + +Section "OutputClass" + Identifier "nvidia" + MatchDriver "nvidia-drm" + Driver "nvidia" + ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/current" +EndSection + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/alternate-install-present b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/alternate-install-present new file mode 100644 index 0000000..a8f8c95 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/alternate-install-present @@ -0,0 +1,3 @@ +Please use the Debian packages instead of the .run file. + + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/bug-script b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/bug-script new file mode 100644 index 0000000..55cefdb --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/bug-script @@ -0,0 +1,158 @@ +#!/bin/sh + +PATH=/sbin:$PATH + +export LC_ALL=C + +exec >&3 + +echo "uname -a:" +uname -a +echo + +echo "/proc/version:" +cat /proc/version +echo + +if [ -e /proc/driver/nvidia/version ]; then + echo "/proc/driver/nvidia/version:" + cat /proc/driver/nvidia/version + echo +fi + +if (lspci --version) > /dev/null 2>&1; then + echo "lspci 'display controller [030?]':" + for device in $(lspci -mn | awk '{ if ($2 ~ "\"030[0-2]\"") { print $1 } }'); do + LC_ALL=C lspci -vvnn -s $device + done +fi + +if [ -x /bin/dmesg ]; then + echo "dmesg:" + dmesg | grep -iE 'nvidia|nvrm|agp|vga' + echo +fi + +echo "Device node permissions:" +ls -l /dev/dri/* /dev/nvidia* 2>/dev/null +getent group video +echo + +echo "Alternative 'nvidia':" +update-alternatives --display nvidia +echo + +echo "Alternative 'glx':" +update-alternatives --display glx +echo + +echo "OpenGL and NVIDIA library files installed:" +ls -l /etc/alternatives/glx* \ + /etc/alternatives/nvidia* \ + /etc/alternatives/*libGL* \ + /etc/alternatives/*_gl_conf \ + /etc/ld.so.conf.d/*_GL.conf \ + /etc/X11/*.conf \ + /usr/lib/libEGL.* \ + /usr/lib/libGL.* \ + /usr/lib/libGLES*.* \ + /usr/lib/libGLcore* \ + /usr/lib/libcuda* \ + /usr/lib/libnvidia* \ + /usr/lib/*-linux-gnu*/libEGL.* \ + /usr/lib/*-linux-gnu*/libGL.* \ + /usr/lib/*-linux-gnu*/libGLES*.* \ + /usr/lib/*-linux-gnu*/libGLcore* \ + /usr/lib/*-linux-gnu*/libcuda* \ + /usr/lib/*-linux-gnu*/libnvidia* \ + /usr/lib32/libGL.* \ + /usr/lib32/libGLcore* \ + /usr/lib32/libnvidia* \ + /usr/lib/xorg/modules/*glx* \ + /usr/lib/xorg/modules/*/*glx* \ + /usr/lib/xorg/modules/*nvidia* \ + /usr/lib/xorg/modules/*/*nvidia* \ + /var/log/Xorg.*.log* \ + 2>/dev/null + +ls -la \ + /etc/nvidia/ \ + /etc/OpenCL/vendors/ \ + /usr/lib/nvidia/ \ + /usr/lib/nvidia/*/ \ + /usr/lib/*-linux-gnu*/nvidia/ \ + /usr/lib/*-linux-gnu*/nvidia/*/ \ + /usr/lib/mesa/ \ + /usr/lib/*-linux-gnu*/mesa/ \ + /usr/lib/mesa-diverted/ \ + /usr/lib/mesa-diverted/*-linux-gnu*/ \ + /usr/lib32/nvidia/ \ + /usr/lib32/nvidia/diversions/ \ + /etc/X11/xorg.conf.d/ \ + /usr/share/X11/xorg.conf.d/ \ + 2>/dev/null +echo + +echo "/etc/modprobe.d:" +ls -la /etc/modprobe.d/ +echo +grep -ri nvidia /etc/modprobe.d/ +grep -ri nouveau /etc/modprobe.d/ +echo + +echo "/etc/modules-load.d:" +ls -la /etc/modules /etc/modules-load.d/ 2>&1 +echo +grep -ri nvidia /etc/modules /etc/modules-load.d/ 2>/dev/null +grep -ri nouveau /etc/modules /etc/modules-load.d/ 2>/dev/null +echo + +echo "Files from nvidia-installer:" +ls -la /usr/bin/nvidia-installer /usr/bin/nvidia-uninstall /var/lib/nvidia 2>/dev/null +echo + +echo "Config and logfiles:" +echo +for file in \ + /etc/bumblebee/bumblebee.conf \ + /etc/bumblebee/xorg.conf.nvidia \ + /etc/modprobe.d/*nvidia*.conf \ + /etc/X11/xorg.conf \ + /etc/X11/xorg.conf.d/*.conf \ + $(ls -dt $HOME/.local/share/xorg/Xorg.*.log* 2>/dev/null | head -n 2) \ + $(ls -dt /var/log/Xorg.*.log* 2>/dev/null | head -n 2) +do + if [ -f "$file" ] && [ -r "$file" ]; then + echo "<<<<<<<<<< $file >>>>>>>>>>" + cat "$file" + echo "^^^^^^^^^^ $file ^^^^^^^^^^" + echo + fi +done + +if [ -d /run/systemd/system ]; then + echo "<<<<<<<<<< Xorg (journald) >>>>>>>>>>" + journalctl -b _COMM=Xorg --no-pager + echo "^^^^^^^^^^ Xorg (journald) ^^^^^^^^^^" + echo +fi + +echo "Kernel modules: nvidia.ko" +find /lib/modules -name "nvidia*.ko" +echo +find /lib/modules -name "nvidia*.ko" | xargs -r modinfo | grep -v ^parm: +echo + +echo "lsmod:" +lsmod +echo + +echo "xrandr:" +test ! -x /usr/bin/xrandr || xrandr 2>&1 +echo + +echo "OpenCL ICDs:" +grep -H . /etc/OpenCL/vendors/* 2>/dev/null +echo + +exit 0 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-module-packages.sh b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-module-packages.sh new file mode 100644 index 0000000..be7a578 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-module-packages.sh @@ -0,0 +1,70 @@ +#!/bin/sh +set -e + +# compilation will succeed, but the module may not be loadable due to mismatching symvers +#export IGNORE_CC_MISMATCH=1 + +test -x /usr/bin/module-assistant || apt-get install module-assistant + +cd /usr/src + +summary= +nl=" +" + +kernels= +slenrek= +failed= +kmin=3.10 +for k in $(ls -dvr1 /lib/modules/*/build 2>/dev/null | cut -d/ -f4) ; do + if dpkg --compare-versions "$k" lt "$kmin" ; then + summary="${summary}SKIP $k (older than $kmin)${nl}" + continue + fi + kconfig=/lib/modules/$k/build/.config + if [ -f "$kconfig" ]; then + if grep -q -E "^CONFIG_PREEMPT_RT=[ym]" $kconfig ; then + summary="${summary}SKIP $k (CONFIG_PREEMPT_RT)${nl}" + continue + fi + if grep -q -E "^CONFIG_PREEMPT_RT_FULL=[ym]" $kconfig ; then + summary="${summary}SKIP $k (CONFIG_PREEMPT_RT_FULL)${nl}" + continue + fi + fi + kernels="$kernels $k" + slenrek="$k $slenrek" +done + +modules=nvidia-kernel + +module-assistant clean $modules +for k in $kernels ; do + ret=0 + module-assistant build --text-mode --force --kvers-list "$k" $modules || ret=$? + if [ "$ret" = 0 ]; then + summary="${summary}PASS $k${nl}" + else + failed="$failed $k" + summary="${summary}FAIL $k ($ret)${nl}" + fi +done + +ls -l *.deb || true +for m in $modules ; do + for k in $slenrek ; do + echo "* ${m} ${k}:" + ls -l ${m}-${k}_*.deb || true + done +done + +if [ -n "$summary" ]; then + echo "Summary:" + echo -n "$summary" +fi + +for k in $failed ; do + echo "$modules MODULE BUILD FAILED FOR $k" +done + +test -z "$failed" || exit 1 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-open-module-packages.sh b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-open-module-packages.sh new file mode 100644 index 0000000..77672d9 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/build-open-module-packages.sh @@ -0,0 +1,70 @@ +#!/bin/sh +set -e + +# compilation will succeed, but the module may not be loadable due to mismatching symvers +#export IGNORE_CC_MISMATCH=1 + +test -x /usr/bin/module-assistant || apt-get install module-assistant + +cd /usr/src + +summary= +nl=" +" + +kernels= +slenrek= +failed= +kmin=3.10 +for k in $(ls -dvr1 /lib/modules/*/build 2>/dev/null | cut -d/ -f4) ; do + if dpkg --compare-versions "$k" lt "$kmin" ; then + summary="${summary}SKIP $k (older than $kmin)${nl}" + continue + fi + kconfig=/lib/modules/$k/build/.config + if [ -f "$kconfig" ]; then + if grep -q -E "^CONFIG_PREEMPT_RT=[ym]" $kconfig ; then + summary="${summary}SKIP $k (CONFIG_PREEMPT_RT)${nl}" + continue + fi + if grep -q -E "^CONFIG_PREEMPT_RT_FULL=[ym]" $kconfig ; then + summary="${summary}SKIP $k (CONFIG_PREEMPT_RT_FULL)${nl}" + continue + fi + fi + kernels="$kernels $k" + slenrek="$k $slenrek" +done + +modules=nvidia-open-kernel + +module-assistant clean $modules +for k in $kernels ; do + ret=0 + module-assistant build --text-mode --force --kvers-list "$k" $modules || ret=$? + if [ "$ret" = 0 ]; then + summary="${summary}PASS $k${nl}" + else + failed="$failed $k" + summary="${summary}FAIL $k ($ret)${nl}" + fi +done + +ls -l *.deb || true +for m in $modules ; do + for k in $slenrek ; do + echo "* ${m} ${k}:" + ls -l ${m}-${k}_*.deb || true + done +done + +if [ -n "$summary" ]; then + echo "Summary:" + echo -n "$summary" +fi + +for k in $failed ; do + echo "$modules MODULE BUILD FAILED FOR $k" +done + +test -z "$failed" || exit 1 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-conflicting-opengl-libraries b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-conflicting-opengl-libraries new file mode 100644 index 0000000..59c79ae --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-conflicting-opengl-libraries @@ -0,0 +1,76 @@ +#!/bin/sh +# This script is called from the postinst of all libgl1-nvidia{,-legacy-*}-glx{,-ia32} +# and xserver-xorg-video-nvidia* packages. +set -e + +. /usr/share/debconf/confmodule + +package="nvidia-installer-cleanup" +templates="$(dpkg-query --control-path "$package" templates)" +if [ -n "$templates" ]; then + db_x_loadtemplatefile "$templates" "$package" +fi + + +# dpkg-reconfigure does not set DPKG_MAINTSCRIPT_PACKAGE (##DRIVER_VERSION_MAJOR#317) +if [ -z "$DPKG_MAINTSCRIPT_PACKAGE" ] +then + echo "ERROR: DPKG_MAINTSCRIPT_PACKAGE is not set, usually a bug in dpkg-reconfigure" + exit 1 +fi + +case "$DPKG_MAINTSCRIPT_PACKAGE" in + xserver-xorg-video*) + libdir="/usr/lib/xorg/modules/extensions" + pattern="libglx.so.*" + ;; + *-ia32*) + libdir="/usr/lib32" + pattern="libGL.so.*.*" + ;; + *) + libdir="/usr/lib" + pattern="libGL.so.*.*" + ;; +esac + +CONFLICT_LIBS="" +for f in "$libdir"/$pattern "$libdir"/i386-linux-gnu/$pattern "$libdir"/x86_64-linux-gnu/$pattern "$libdir"/arm-linux-gnueabihf/$pattern /usr/lib32/libGL.so* +do + if [ -e "$f" ] || [ -L "$f" ] + then + if dpkg-query -S "$f" >/dev/null 2>&1 + then + echo "ERROR: The conflicting library '$f' is known to dpkg." >&2 + dpkg-query -S "$f" >&2 + exit 1 + fi + CONFLICT_LIBS="$CONFLICT_LIBS $f" + fi +done +CONFLICT_LIBS="${CONFLICT_LIBS#[ ]}" + +if [ -n "$CONFLICT_LIBS" ]; then + db_subst nvidia-installer-cleanup/remove-conflicting-libraries conflict-libs "$CONFLICT_LIBS" + db_fset nvidia-installer-cleanup/remove-conflicting-libraries seen false + # The following command intentionally fails in DEBIAN_FRONTEND=noninteractive mode. + db_input high nvidia-installer-cleanup/remove-conflicting-libraries + db_go + db_get nvidia-installer-cleanup/remove-conflicting-libraries + if [ "$RET" = "true" ]; then + backupdir=$(mktemp -d /var/tmp/nvidia-backup.XXXXXX) + mv $CONFLICT_LIBS "$backupdir" + echo "Moved the conflicting libraries '$CONFLICT_LIBS' to '$backupdir'." + unset backupdir + # fix possibly broken link + dpkg-trigger /usr/libGL.so.1 + dpkg-trigger register-alternative-glx-nvidia + else + echo "ERROR: The conflicting libraries '$CONFLICT_LIBS' still exist." >&2 + exit 1 + fi +fi + + +exit 0 + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-mismatching-nvidia-module b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-mismatching-nvidia-module new file mode 100644 index 0000000..579a746 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/check-for-mismatching-nvidia-module @@ -0,0 +1,66 @@ +#!/bin/sh +# This script is called from the postinst of all libgl1-nvidia{,-legacy-*}-glx{,-ia32}, +# xserver-xorg-video-nvidia* and libcuda1{,-ia32} packages. +set -e + +. /usr/share/debconf/confmodule + +package="nvidia-support" +templates="$(dpkg-query --control-path "$package" templates)" +if [ -n "$templates" ]; then + db_x_loadtemplatefile "$templates" "$package" +fi + + +# Upstream version of the newly installed driver. +new_version="$1" + +test -n "$new_version" || exit 0 + +warn_nvidia="" +warn_nouveau="" + +# Is an nvidia module currently loaded? +if [ -e /proc/driver/nvidia/version ]; then + + running_version="$(grep NVRM /proc/driver/nvidia/version | awk '{ print $8 }')" + + if [ -z "$running_version" ]; then + echo "ERROR: Cannot get version of currently loaded NVIDIA module." >&2 + elif [ "$running_version" != "$new_version" ]; then + warn_nvidia="1" + fi + +fi + +# Is the nouveau module currently loaded? +if [ -x /bin/lsmod ] && [ -n "$(lsmod 2>/dev/null | grep nouveau)" ]; then + warn_nouveau="1" +fi + +test -n "$warn_nvidia$warn_nouveau" || exit 0 + +# Allow preseeding to FALSE. +db_get nvidia-support/check-running-module-version +test "$RET" = "true" || exit 0 + +# Don't warn multiple times for the same version. +db_get nvidia-support/last-mismatching-module-version +test "$RET" != "$new_version" || exit 0 + +if [ "$warn_nvidia" ]; then + db_subst nvidia-support/warn-mismatching-module-version running-version "$running_version" + db_subst nvidia-support/warn-mismatching-module-version new-version "$new_version" + db_fset nvidia-support/warn-mismatching-module-version seen false + db_input high nvidia-support/warn-mismatching-module-version || true +fi +if [ "$warn_nouveau" ]; then + db_fset nvidia-support/warn-nouveau-module-loaded seen false + db_input high nvidia-support/warn-nouveau-module-loaded || true +fi +db_go || true +db_set nvidia-support/last-mismatching-module-version "$new_version" + + +exit 0 + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/control.models b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/control.models new file mode 100644 index 0000000..8b5e4ae --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/control.models @@ -0,0 +1,3 @@ +This version only supports GeForce, NVS, Quadro, RTX, Tesla, ... GPUs based on +the Maxwell, Pascal, Volta, Turing, Ampere, Ada, Hopper or newer architectures. +Look at the legacy driver or Tesla driver packages for older cards. diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-blacklists-nouveau.conf b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-blacklists-nouveau.conf new file mode 100644 index 0000000..5642b0e --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-blacklists-nouveau.conf @@ -0,0 +1,4 @@ +# You need to run "update-initramfs -u" after editing this file. + +# see #580894 +blacklist nouveau diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-bug-report.sh.1 b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-bug-report.sh.1 new file mode 100644 index 0000000..4bd1f6b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-bug-report.sh.1 @@ -0,0 +1,20 @@ +.TH NVIDIA-BUG-REPORT.SH "1" "November 2010" "nvidia-glx 195.36" +.SH NAME +nvidia\-bug\-report.sh \- creates a report to troubleshoot NVIDIA driver problems. +.SH SYNOPSIS +.B nvidia\-bug\-report.sh +.SH DESCRIPTION +.B nvidia\-bug\-report.sh +collects information about your system (requires root privileges) and creates a file called 'nvidia-bug-report.log.gz' in order to diagnose NVIDIA driver issues. This file can then be sent to linux-bugs@nvidia.com or reported to the NVIDIA Linux forum (https://devtalk.nvidia.com/default/board/98/linux/). +.SH NOTES +.PP +To make sure this log file includes as much relevant information as possible, +please start the X server with `\fBstartx \-\- \-logverbose 6\fR` +and run `\fBnvidia-bug-report.sh\fR` after the problem has occurred. +If X can not be started or the machine appears to have crashed, +please check if you can log into it remotely (e.g. via ssh or telnet) +and run `\fBnvidia-bug-report.sh\fR` in the remote shell, if possible. +.SH AUTHOR +.PP +This manual page was written by Vincent Cheng , for the Debian project (and may be used by others). + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-create-device-nodes b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-create-device-nodes new file mode 100755 index 0000000..396e1d5 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-create-device-nodes @@ -0,0 +1,37 @@ +#! /bin/bash + +if ls /dev/ 2>&1 | grep nvidia[0-9] 2>&1 > /dev/null +then + true +else + for gpu in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4) + do + echo "Creating device node for NVGPU: ${gpu}" + /usr/bin/nvidia-modprobe -c${gpu} + /usr/bin/nvidia-modprobe -s -c${gpu} + done +fi + +if [[ ! -e /dev/nvidia-uvm ]] +then + echo "Creating Unified Memory device nodes" + /usr/bin/nvidia-modprobe -c0 -u +fi + +if [[ ! -e /dev/nvidia-nvlink ]] +then + echo "Creating Nvlink device nodes" + /usr/bin/nvidia-modprobe -l +fi + +if [[ ! -e /dev/nvidia-modeset ]] +then + echo "Creating modeset device nodes" + /usr/bin/nvidia-modprobe -m +fi + +if [[ ! -e /dev/nvidiactl ]] +then + echo "Creating NVIDIA Control device nodes" + nvidia-smi +fi diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-libdir.conf b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-libdir.conf new file mode 100644 index 0000000..6070f0c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-libdir.conf @@ -0,0 +1,3 @@ +/usr/lib/nvidia/current +/usr/lib/x86_64-linux-gnu/nvidia/current +/usr/lib/i386-linux-gnu/nvidia/current diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-load.conf b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-load.conf new file mode 100644 index 0000000..e62abd4 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-load.conf @@ -0,0 +1 @@ +nvidia-drm diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-modprobe.conf b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-modprobe.conf new file mode 100644 index 0000000..52ce67b --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-modprobe.conf @@ -0,0 +1,27 @@ +install nvidia modprobe -i nvidia $CMDLINE_OPTS + +install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-modeset $CMDLINE_OPTS + +install nvidia-drm modprobe nvidia-modeset ; modprobe -i nvidia-drm $CMDLINE_OPTS + +install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-uvm $CMDLINE_OPTS + +install nvidia-peermem modprobe nvidia ; modprobe -i nvidia-peermem $CMDLINE_OPTS + +# unloading needs the internal names (i.e. upstream's names, not our renamed files) + +remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-peermem nvidia-uvm nvidia + +remove nvidia-modeset modprobe -r -i nvidia-drm nvidia-modeset + + +alias char-major-195* nvidia + +# These aliases are defined in *all* nvidia modules. +# Duplicating them here sets higher precedence and ensures the selected +# module gets loaded instead of a random first match if more than one +# version is installed. See #798207. +alias pci:v000010DEd00000E00sv*sd*bc04sc80i00* nvidia +alias pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00* nvidia +alias pci:v000010DEd*sv*sd*bc03sc02i00* nvidia +alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-options.conf b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-options.conf new file mode 100644 index 0000000..be2d66c --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-options.conf @@ -0,0 +1,10 @@ +#options nvidia NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=44 NVreg_DeviceFileMode=0660 + +# To grant performance counter access to unprivileged users, uncomment the following line: +#options nvidia NVreg_RestrictProfilingToAdminUsers=0 + +# Uncomment to enable this power management feature: +#options nvidia NVreg_PreserveVideoMemoryAllocations=1 + +# Uncomment to enable this power management feature: +#options nvidia NVreg_EnableS0ixPowerManagement=1 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/systemd/nvidia-persistenced.service b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/systemd/nvidia-persistenced.service new file mode 100644 index 0000000..dadb681 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/systemd/nvidia-persistenced.service @@ -0,0 +1,37 @@ +# NVIDIA Persistence Daemon Init Script +# +# Copyright (c) 2013 NVIDIA Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# This is a sample systemd service file, designed to show how the NVIDIA +# Persistence Daemon can be started. +# + +[Unit] +Description=NVIDIA Persistence Daemon +Wants=syslog.target + +[Service] +Type=forking +ExecStart=/usr/bin/nvidia-persistenced --user nvpd +ExecStopPost=/bin/rm -rf /var/run/nvidia-persistenced + +[Install] +WantedBy=multi-user.target diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/sysv/nvidia-persistenced b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/sysv/nvidia-persistenced new file mode 100755 index 0000000..2c788f1 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-persistenced-init/sysv/nvidia-persistenced @@ -0,0 +1,81 @@ +#!/bin/sh -e +# +# NVIDIA Persistence Daemon Init Script +# +# Copyright (c) 2013 NVIDIA Corporation +# +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. +# +# This is a sample System V init script, designed to show how the NVIDIA +# Persistence Daemon can be started. +# +# This sample does not rely on any init system functions, to ensure the +# widest portability possible. +# +# chkconfig: 2345 99 01 +# description: Starts and stops the NVIDIA Persistence Daemon +# processname: nvidia-persistenced +# +### BEGIN INIT INFO +# Provides: nvidia-persistenced +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Starts and stops the NVIDIA Persistence Daemon +# Description: Starts and stops the NVIDIA Persistence Daemon +### END INIT INFO + + +NVPD=nvidia-persistenced +NVPD_BIN=/usr/bin/${NVPD} +NVPD_RUNTIME=/var/run/${NVPD} +NVPD_PIDFILE=${NVPD_RUNTIME}/${NVPD}.pid +NVPD_USER=nvpd + +if [ -f ${NVPD_PIDFILE} ]; then + read -r NVPD_PID < "${NVPD_PIDFILE}" + # Remove stale runtime files + if [ "${NVPD_PID}" ] && [ ! -d /proc/${NVPD_PID} ]; then + unset NVPD_PID + rm -rf "${NVPD_RUNTIME}" + fi +fi + +case "${1}" in + start) + echo "Starting NVIDIA Persistence Daemon" + + # Execute the daemon as the intended user + ${NVPD_BIN} --user ${NVPD_USER} + ;; + stop) + echo "Stopping NVIDIA Persistence Daemon" + + # Stop the daemon - its PID should have been read in + [ ! -z "${NVPD_PID}" ] && kill ${NVPD_PID} >/dev/null 2>&1 + ;; + restart|force-reload) + $0 stop + sleep 2 + $0 start + ;; + *) echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-settings.desktop b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-settings.desktop new file mode 100644 index 0000000..8152db4 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia-settings.desktop @@ -0,0 +1,43 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Exec=nvidia-settings +Terminal=false +Categories=HardwareSettings;System;Settings; +Icon=nvidia-settings +Name=NVIDIA X Server Settings +Comment=Configure NVIDIA X Server Settings + +# Translation by Marcin Mikołajczak +Name[pl]=Ustawienia serwera X NVIDIA +Comment[pl]=Narzędzie konfiguracyjne dla ustawień serwera X NVIDIA + +# Translation by RDL +Name[ru]=Параметры NVIDIA X Server +Comment[ru]=Конфигурирование параметров NVIDIA X Server + +# Translation by Tractix +Name[ro]=Setări NVIDIA X Server +Comment[ro]=Configurează setările NVIDIA X Server + +# Translations provided by Sun Microsystems +Name[de]=NVIDIA X-Server-Einstellungen +Name[es]=Valores de configuración del servidor NVIDIA X +Name[fr]=Paramètres du serveur X NVIDIA +Name[it]=NVIDIA X Server Settings +Name[ja]=NVIDIA X サーバー設定 +Name[ko]=NVIDIA X 서버 설정 +Name[pt_BR]=Configurações do NVIDIA X Server +Name[zh_CN]=NVIDIA X 服务器设置 +Name[zh_HK]=NVIDIA X 伺服器設定 +Name[zh_TW]=NVIDIA X 伺服器設定 +Comment[de]=Konfigurieren der NVIDIA X-Server-Einstellungen +Comment[es]=Establezca los valores de configuración del servidor NVIDIA X +Comment[fr]=Configurer les paramètres du serveur X NVIDIA +Comment[it]=Configura NVIDIA X Server Settings +Comment[ja]=NVIDIA X サーバー設定を構成します +Comment[ko]=NVIDIA X 서버 설정 구성 +Comment[pt_BR]=Definir &configurações de gerenciamento de usuário... +Comment[zh_CN]=配置 NVIDIA X 服务器设置 +Comment[zh_HK]=配置 NVIDIA X 伺服器設定 +Comment[zh_TW]=配置 NVIDIA X 伺服器設定 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia.ids b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia.ids new file mode 100644 index 0000000..b1f9022 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia.ids @@ -0,0 +1,380 @@ +10DE1340 +10DE1341 +10DE1344 +10DE1346 +10DE1347 +10DE1348 +10DE1349 +10DE134B +10DE134D +10DE134E +10DE134F +10DE137A +10DE137B +10DE1380 +10DE1381 +10DE1382 +10DE1390 +10DE1391 +10DE1392 +10DE1393 +10DE1398 +10DE1399 +10DE139A +10DE139B +10DE139C +10DE139D +10DE13B0 +10DE13B1 +10DE13B2 +10DE13B3 +10DE13B4 +10DE13B6 +10DE13B9 +10DE13BA +10DE13BB +10DE13BC +10DE13C0 +10DE13C2 +10DE13D7 +10DE13D8 +10DE13D9 +10DE13DA +10DE13F0 +10DE13F1 +10DE13F2 +10DE13F3 +10DE13F8 +10DE13F9 +10DE13FA +10DE13FB +10DE1401 +10DE1402 +10DE1406 +10DE1407 +10DE1427 +10DE1430 +10DE1431 +10DE1436 +10DE15F0 +10DE15F7 +10DE15F8 +10DE15F9 +10DE1617 +10DE1618 +10DE1619 +10DE161A +10DE1667 +10DE174D +10DE174E +10DE179C +10DE17C2 +10DE17C8 +10DE17F0 +10DE17F1 +10DE17FD +10DE1B00 +10DE1B02 +10DE1B06 +10DE1B30 +10DE1B38 +10DE1B80 +10DE1B81 +10DE1B82 +10DE1B83 +10DE1B84 +10DE1B87 +10DE1BA0 +10DE1BA1 +10DE1BA2 +10DE1BB0 +10DE1BB1 +10DE1BB4 +10DE1BB5 +10DE1BB6 +10DE1BB7 +10DE1BB8 +10DE1BB9 +10DE1BBB +10DE1BC7 +10DE1BE0 +10DE1BE1 +10DE1C02 +10DE1C03 +10DE1C04 +10DE1C06 +10DE1C07 +10DE1C09 +10DE1C20 +10DE1C21 +10DE1C22 +10DE1C23 +10DE1C30 +10DE1C31 +10DE1C60 +10DE1C61 +10DE1C62 +10DE1C81 +10DE1C82 +10DE1C83 +10DE1C8C +10DE1C8D +10DE1C8F +10DE1C90 +10DE1C91 +10DE1C92 +10DE1C94 +10DE1C96 +10DE1CB1 +10DE1CB2 +10DE1CB3 +10DE1CB6 +10DE1CBA +10DE1CBB +10DE1CBC +10DE1CBD +10DE1CFA +10DE1CFB +10DE1D01 +10DE1D02 +10DE1D10 +10DE1D11 +10DE1D12 +10DE1D13 +10DE1D16 +10DE1D33 +10DE1D34 +10DE1D52 +10DE1D81 +10DE1DB1 +10DE1DB3 +10DE1DB4 +10DE1DB5 +10DE1DB6 +10DE1DB7 +10DE1DB8 +10DE1DBA +10DE1DF0 +10DE1DF2 +10DE1DF6 +10DE1E02 +10DE1E04 +10DE1E07 +10DE1E09 +10DE1E30 +10DE1E36 +10DE1E37 +10DE1E78 +10DE1E81 +10DE1E82 +10DE1E84 +10DE1E87 +10DE1E89 +10DE1E90 +10DE1E91 +10DE1E93 +10DE1EB0 +10DE1EB1 +10DE1EB4 +10DE1EB5 +10DE1EB6 +10DE1EB8 +10DE1EB9 +10DE1EC2 +10DE1EC7 +10DE1ED0 +10DE1ED1 +10DE1ED3 +10DE1EF5 +10DE1F02 +10DE1F03 +10DE1F06 +10DE1F07 +10DE1F08 +10DE1F0A +10DE1F0B +10DE1F10 +10DE1F11 +10DE1F12 +10DE1F14 +10DE1F15 +10DE1F36 +10DE1F42 +10DE1F47 +10DE1F50 +10DE1F51 +10DE1F54 +10DE1F55 +10DE1F76 +10DE1F82 +10DE1F83 +10DE1F91 +10DE1F95 +10DE1F96 +10DE1F97 +10DE1F98 +10DE1F99 +10DE1F9C +10DE1F9D +10DE1F9F +10DE1FA0 +10DE1FB0 +10DE1FB1 +10DE1FB2 +10DE1FB6 +10DE1FB7 +10DE1FB8 +10DE1FB9 +10DE1FBA +10DE1FBB +10DE1FBC +10DE1FDD +10DE1FF0 +10DE1FF2 +10DE1FF9 +10DE20B0 +10DE20B1 +10DE20B2 +10DE20B3 +10DE20B5 +10DE20B6 +10DE20B7 +10DE20BD +10DE20F0 +10DE20F1 +10DE20F2 +10DE20F3 +10DE20F5 +10DE20F6 +10DE2182 +10DE2184 +10DE2187 +10DE2188 +10DE2189 +10DE2191 +10DE2192 +10DE21C4 +10DE21D1 +10DE2203 +10DE2204 +10DE2206 +10DE2207 +10DE2208 +10DE220A +10DE220D +10DE2216 +10DE2230 +10DE2231 +10DE2232 +10DE2233 +10DE2235 +10DE2236 +10DE2237 +10DE2238 +10DE2321 +10DE2322 +10DE2324 +10DE2330 +10DE2331 +10DE2339 +10DE233A +10DE2414 +10DE2420 +10DE2438 +10DE2460 +10DE2482 +10DE2484 +10DE2486 +10DE2487 +10DE2488 +10DE2489 +10DE248A +10DE249C +10DE249D +10DE24A0 +10DE24B0 +10DE24B1 +10DE24B6 +10DE24B7 +10DE24B8 +10DE24B9 +10DE24BA +10DE24BB +10DE24C7 +10DE24C9 +10DE24DC +10DE24DD +10DE24E0 +10DE24FA +10DE2503 +10DE2504 +10DE2507 +10DE2508 +10DE2520 +10DE2521 +10DE2523 +10DE2531 +10DE2544 +10DE2#DRIVER_VERSION_MAJOR# +10DE2563 +10DE2571 +10DE2582 +10DE25A0 +10DE25A2 +10DE25A5 +10DE25A6 +10DE25A7 +10DE25A9 +10DE25AA +10DE25AB +10DE25AC +10DE25AD +10DE25B6 +10DE25B8 +10DE25B9 +10DE25BA +10DE25BB +10DE25BC +10DE25BD +10DE25E0 +10DE25E2 +10DE25E5 +10DE25EC +10DE25ED +10DE25F9 +10DE25FA +10DE25FB +10DE2684 +10DE26B1 +10DE26B2 +10DE26B5 +10DE26B8 +10DE26B9 +10DE2704 +10DE2717 +10DE2730 +10DE2757 +10DE2770 +10DE2782 +10DE2786 +10DE27A0 +10DE27B0 +10DE27B1 +10DE27B2 +10DE27B8 +10DE27BA +10DE27BB +10DE27E0 +10DE27FB +10DE2803 +10DE2805 +10DE2820 +10DE2838 +10DE2860 +10DE2882 +10DE28A0 +10DE28A1 +10DE28B8 +10DE28E0 +10DE28E1 +10DE28F8 diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper new file mode 100644 index 0000000..d263759 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper @@ -0,0 +1,5 @@ +#!/bin/sh +for i in /dev/nvidia*; do + /lib/udev/udev-acl "$1" "--device=$i" +done + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper.ck b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper.ck new file mode 100644 index 0000000..576d998 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/nvidia_helper.ck @@ -0,0 +1,7 @@ +#!/bin/sh +[ -x /lib/udev/udev-acl ] || exit 0 +# This is enough to renew the device owners +for i in /dev/nvidia*; do + /lib/udev/udev-acl "--action=change" "--device=$i" +done + diff --git a/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/pre-install b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/pre-install new file mode 100644 index 0000000..c094c57 --- /dev/null +++ b/nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/extra_files/pre-install @@ -0,0 +1,30 @@ +#!/bin/sh + +# This is a hook script executed by the nvidia-installer +# (i.e. by running a NVIDIA-Linux-*.run file directly). + +cat - << EOF | tee /dev/tty + + + + +If you want to use the nvidia-installer please uninstall the Debian packages +first. The two methods of installation cannot be used at the same time. + +EOF + +for i in 10 9 8 7 6 5 4 3 2 1 +do + printf "\rTerminating nvidia-installer in $i seconds. " | tee /dev/tty + sleep 1 +done + +echo "" | tee /dev/tty +echo "Killing nvidia-installer" | tee /dev/tty + +# let's try to kill nvidia-installer +# yes, the missing 'r' is correct +pkill -x nvidia-installe + +exit 1 + diff --git a/pika-build-config/amd64-v3.sh b/pika-build-config/amd64-v3.sh new file mode 100755 index 0000000..9eebe74 --- /dev/null +++ b/pika-build-config/amd64-v3.sh @@ -0,0 +1,11 @@ +#! /bin/bash +export PIKA_BUILD_ARCH="amd64-v3" +export DRIVER_ARCH="Linux-x86_64" +export DEBIAN_FRONTEND="noninteractive" +export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +export DEB_CFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +export DEB_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +export DEB_CXXFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +export DEB_LDFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" +export DEB_BUILD_OPTIONS="nocheck notest terse" +export DPKG_GENSYMBOLS_CHECK_LEVEL=0 diff --git a/pika-build-config/i386.sh b/pika-build-config/i386.sh new file mode 100755 index 0000000..a2a29c6 --- /dev/null +++ b/pika-build-config/i386.sh @@ -0,0 +1,6 @@ +#! /bin/bash +export PIKA_BUILD_ARCH="i386" +export DRIVER_ARCH="Linux-x86_64" +export DEBIAN_FRONTEND="noninteractive" +export DEB_BUILD_OPTIONS="nocheck notest terse" +export DPKG_GENSYMBOLS_CHECK_LEVEL=0 diff --git a/release.sh b/release.sh new file mode 100755 index 0000000..1e45a35 --- /dev/null +++ b/release.sh @@ -0,0 +1,2 @@ +# send debs to server +rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/cockatiel-incoming/⏎ \ No newline at end of file diff --git a/version.sh b/version.sh new file mode 100755 index 0000000..7583313 --- /dev/null +++ b/version.sh @@ -0,0 +1,2 @@ +DRIVER_VERSION_MAJOR="555" +DRIVER_VERSION_FULL="555.58.02"