summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Housh <jaeger@crux.ninja>2021-09-13 15:45:33 -0500
committerMatt Housh <jaeger@crux.ninja>2021-09-13 15:45:33 -0500
commitb6d108016c630f8c88a2a68c6759ccffcc79e5db (patch)
tree741c3201dbfb47e726ddb2d10432babe55f40a7d
parent6738f42a45e42dbf74833af8e682a838ba6ec1de (diff)
downloadopt-b6d108016c630f8c88a2a68c6759ccffcc79e5db.tar.gz
opt-b6d108016c630f8c88a2a68c6759ccffcc79e5db.tar.xz
nvidia-sl: dropped in favor of nvidia-fb
-rw-r--r--nvidia-sl/.footprint97
-rw-r--r--nvidia-sl/.signature7
-rw-r--r--nvidia-sl/10-nvidia-drm-outputclass.conf13
-rw-r--r--nvidia-sl/90-nvidia-uvm.rules1
-rw-r--r--nvidia-sl/Pkgfile133
-rw-r--r--nvidia-sl/README1
-rwxr-xr-xnvidia-sl/pre-install20
7 files changed, 0 insertions, 272 deletions
diff --git a/nvidia-sl/.footprint b/nvidia-sl/.footprint
deleted file mode 100644
index 22a044099..000000000
--- a/nvidia-sl/.footprint
+++ /dev/null
@@ -1,97 +0,0 @@
-drwxr-xr-x root/root etc/
-drwxr-xr-x root/root etc/OpenCL/
-drwxr-xr-x root/root etc/OpenCL/vendors/
--rw-r--r-- root/root etc/OpenCL/vendors/nvidia.icd
-drwxr-xr-x root/root etc/vulkan/
-drwxr-xr-x root/root etc/vulkan/icd.d/
--rw-r--r-- root/root etc/vulkan/icd.d/nvidia_icd.json
-drwxr-xr-x root/root lib/
-drwxr-xr-x root/root lib/modules/
-drwxr-xr-x root/root lib/modules/<kernel-version>/
-drwxr-xr-x root/root lib/modules/<kernel-version>/extra/
--rw-r--r-- root/root lib/modules/<kernel-version>/extra/nvidia-drm.ko
--rw-r--r-- root/root lib/modules/<kernel-version>/extra/nvidia-modeset.ko
--rw-r--r-- root/root lib/modules/<kernel-version>/extra/nvidia-uvm.ko
--rw-r--r-- root/root lib/modules/<kernel-version>/extra/nvidia.ko
-drwxr-xr-x root/root lib/udev/
-drwxr-xr-x root/root lib/udev/rules.d/
--rw-r--r-- root/root lib/udev/rules.d/90-nvidia-uvm.rules
-drwxr-xr-x root/root usr/
-drwxr-xr-x root/root usr/bin/
--rwxr-xr-x root/root usr/bin/nvidia-cuda-mps-control
--rwxr-xr-x root/root usr/bin/nvidia-cuda-mps-server
--rwxr-xr-x root/root usr/bin/nvidia-debugdump
--rwsr-xr-x root/root usr/bin/nvidia-modprobe
--rwxr-xr-x root/root usr/bin/nvidia-persistenced
--rwxr-xr-x root/root usr/bin/nvidia-settings
--rwxr-xr-x root/root usr/bin/nvidia-smi
--rwxr-xr-x root/root usr/bin/nvidia-xconfig
-drwxr-xr-x root/root usr/lib/
-lrwxrwxrwx root/root usr/lib/libEGL_nvidia.so.0 -> libEGL_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/libEGL_nvidia.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libGLESv1_CM_nvidia.so.1 -> libGLESv1_CM_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/libGLESv1_CM_nvidia.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libGLESv2_nvidia.so.2 -> libGLESv2_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/libGLESv2_nvidia.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libGLX_nvidia.so.0 -> libGLX_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/libGLX_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/libOpenCL.so.1.0.0
-lrwxrwxrwx root/root usr/lib/libcuda.so -> libcuda.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libcuda.so.1 -> libcuda.so.455.45.01
--rwxr-xr-x root/root usr/lib/libcuda.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvcuvid.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-cbl.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-cfg.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-compiler.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-eglcore.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-encode.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-fbc.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-glcore.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-glsi.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-glvkspirv.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-gtk2.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-gtk3.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-ifr.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvidia-ml.so -> libnvidia-ml.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvidia-ml.so.1 -> libnvidia-ml.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-ml.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so -> libnvidia-opencl.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvidia-opencl.so.1 -> libnvidia-opencl.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-opencl.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so -> libnvidia-ptxjitcompiler.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvidia-ptxjitcompiler.so.1 -> libnvidia-ptxjitcompiler.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-ptxjitcompiler.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-rtcore.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvidia-tls.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvoptix.so -> libnvoptix.so.455.45.01
-lrwxrwxrwx root/root usr/lib/libnvoptix.so.1 -> libnvoptix.so.455.45.01
--rwxr-xr-x root/root usr/lib/libnvoptix.so.455.45.01
-drwxr-xr-x root/root usr/lib/nvidia/
-drwxr-xr-x root/root usr/lib/nvidia/xorg/
-lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so -> libglxserver_nvidia.so.455.45.01
-lrwxrwxrwx root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.1 -> libglxserver_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/nvidia/xorg/libglxserver_nvidia.so.455.45.01
-drwxr-xr-x root/root usr/lib/tls/
-drwxr-xr-x root/root usr/lib/vdpau/
-lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so -> libvdpau_nvidia.so.455.45.01
-lrwxrwxrwx root/root usr/lib/vdpau/libvdpau_nvidia.so.1 -> libvdpau_nvidia.so.455.45.01
--rwxr-xr-x root/root usr/lib/vdpau/libvdpau_nvidia.so.455.45.01
-drwxr-xr-x root/root usr/lib/xorg/
-drwxr-xr-x root/root usr/lib/xorg/modules/
-drwxr-xr-x root/root usr/lib/xorg/modules/drivers/
--rwxr-xr-x root/root usr/lib/xorg/modules/drivers/nvidia_drv.so
-drwxr-xr-x root/root usr/lib/xorg/modules/extensions/
-drwxr-xr-x root/root usr/share/
-drwxr-xr-x root/root usr/share/X11/
-drwxr-xr-x root/root usr/share/X11/xorg.conf.d/
--rw-r--r-- root/root usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
-drwxr-xr-x root/root usr/share/applications/
--rw-r--r-- root/root usr/share/applications/nvidia-settings.desktop
-drwxr-xr-x root/root usr/share/glvnd/
-drwxr-xr-x root/root usr/share/glvnd/egl_vendor.d/
--rw-r--r-- root/root usr/share/glvnd/egl_vendor.d/10_nvidia.json
-drwxr-xr-x root/root usr/share/nvidia/
--rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-455.45.01-key-documentation
--rw-r--r-- root/root usr/share/nvidia/nvidia-application-profiles-455.45.01-rc
-drwxr-xr-x root/root usr/share/pixmaps/
--rw-r--r-- root/root usr/share/pixmaps/nvidia-settings.png
diff --git a/nvidia-sl/.signature b/nvidia-sl/.signature
deleted file mode 100644
index f4b75f3d1..000000000
--- a/nvidia-sl/.signature
+++ /dev/null
@@ -1,7 +0,0 @@
-untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/UeryBGRGtfMEoxtdk0bNrwfYQbcZS1KKITvCt5r+R3EpGV54apHanwiKAYgL0sIWrtBUjZooUyZkfpq53oNPgg=
-SHA256 (Pkgfile) = 437f75a7b3e0bcb2d7e12897804b69e8d4e2ee55b6a80ee7248c3694f863d0c7
-SHA256 (.footprint) = b0ba13367aacb2a008178c3c02a5a328c8c049df2e594471aa004b2010eca922
-SHA256 (NVIDIA-Linux-x86_64-455.45.01.run) = eadc8c7e082f65540fa7f6a249d8309fb546fe62066f495472701dc8c103a153
-SHA256 (90-nvidia-uvm.rules) = c35c61cebf5bf9a112ac06539bdc670a388afa4b50a7f8223a114fbeafedb140
-SHA256 (10-nvidia-drm-outputclass.conf) = 4a72c70d7e348102f8c159b3f58973218bc740de1d86830f7cbee1c40744929c
diff --git a/nvidia-sl/10-nvidia-drm-outputclass.conf b/nvidia-sl/10-nvidia-drm-outputclass.conf
deleted file mode 100644
index ec56317bc..000000000
--- a/nvidia-sl/10-nvidia-drm-outputclass.conf
+++ /dev/null
@@ -1,13 +0,0 @@
-# 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.
-
-Section "OutputClass"
- Identifier "nvidia"
- MatchDriver "nvidia-drm"
- Driver "nvidia"
- ModulePath "/usr/lib/nvidia/xorg"
- ModulePath "/usr/lib/xorg/modules"
-EndSection
diff --git a/nvidia-sl/90-nvidia-uvm.rules b/nvidia-sl/90-nvidia-uvm.rules
deleted file mode 100644
index 3df8a3ab0..000000000
--- a/nvidia-sl/90-nvidia-uvm.rules
+++ /dev/null
@@ -1 +0,0 @@
-KERNEL=="nvidia_uvm", RUN+="/bin/bash -c '/bin/mknod -m 660 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \ -f 1) 0; /bin/chgrp video /dev/nvidia-uvm'"
diff --git a/nvidia-sl/Pkgfile b/nvidia-sl/Pkgfile
deleted file mode 100644
index cbcb98025..000000000
--- a/nvidia-sl/Pkgfile
+++ /dev/null
@@ -1,133 +0,0 @@
-# Description: NVIDIA Linux Display Driver (short lived branch)
-# URL: https://www.nvidia.com/
-# Maintainer: Matt Housh, jaeger at crux dot ninja
-# Depends on: gtk gtk3 libglvnd
-
-name=nvidia-sl
-version=455.45.01
-release=2
-source=(https://us.download.nvidia.com/XFree86/Linux-x86_64/$version/NVIDIA-Linux-x86_64-$version.run \
- 90-nvidia-uvm.rules 10-nvidia-drm-outputclass.conf)
-
-build() {
- sh NVIDIA-Linux-x86_64-$version.run --extract-only
- cd NVIDIA-Linux-x86_64-$version
-
- # X driver and GLX extension
- install -d $PKG/usr/lib/xorg/modules/{drivers,extensions}
- install -m 0755 nvidia_drv.so $PKG/usr/lib/xorg/modules/drivers/
- install -d -m 0755 $PKG/usr/lib/nvidia/xorg
- install -m 0755 libglxserver_nvidia.so.$version $PKG/usr/lib/nvidia/xorg/
- ln -s libglxserver_nvidia.so.$version $PKG/usr/lib/nvidia/xorg/libglxserver_nvidia.so
- ln -s libglxserver_nvidia.so.$version $PKG/usr/lib/nvidia/xorg/libglxserver_nvidia.so.1
-
- # EGL and OpenGL ES libraries and config
- install -d $PKG/usr/lib
- install -m 0755 libGLESv1_CM_nvidia.so.$version $PKG/usr/lib/
- ln -s libGLESv1_CM_nvidia.so.$version $PKG/usr/lib/libGLESv1_CM_nvidia.so.1
- install -m 0755 libGLESv2_nvidia.so.$version $PKG/usr/lib/
- ln -s libGLESv2_nvidia.so.$version $PKG/usr/lib/libGLESv2_nvidia.so.2
- install -D -m 0644 10_nvidia.json $PKG/usr/share/glvnd/egl_vendor.d/10_nvidia.json
-
- # wayland EGL library and config
- #install -d $PKG/usr/share/egl/egl_external_platform.d
- #install -m 0755 libnvidia-egl-wayland.so.1.0.2 $PKG/usr/lib/
- #install -m 0644 10_nvidia_wayland.json $PKG/usr/share/egl/egl_external_platform.d/
-
- # GLVND vendor implementation libraries
- install -m 0755 libGLX_nvidia.so.$version $PKG/usr/lib/
- ln -s libGLX_nvidia.so.$version $PKG/usr/lib/libGLX_nvidia.so.0
- install -m 0755 libEGL_nvidia.so.$version $PKG/usr/lib/
- ln -s libEGL_nvidia.so.$version $PKG/usr/lib/libEGL_nvidia.so.0
-
- # vulkan ICD config
- install -d $PKG/etc/vulkan/icd.d
- install -m 0644 nvidia_icd.json $PKG/etc/vulkan/icd.d/nvidia_icd.json
-
- # driver component libraries
- install -m 0755 libnvidia-cfg.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-compiler.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-eglcore.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-glcore.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-glsi.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-glvkspirv.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-rtcore.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-cbl.so.$version $PKG/usr/lib/
-
- # vendor VDPAU library
- install -D -m 0755 libvdpau_nvidia.so.$version $PKG/usr/lib/vdpau/libvdpau_nvidia.so.$version
- ln -s libvdpau_nvidia.so.$version $PKG/usr/lib/vdpau/libvdpau_nvidia.so.1
- ln -s libvdpau_nvidia.so.$version $PKG/usr/lib/vdpau/libvdpau_nvidia.so
-
- # CUDA libraries
- install -m 0755 libcuda.so.$version $PKG/usr/lib/
- ln -s libcuda.so.$version $PKG/usr/lib/libcuda.so.1
- ln -s libcuda.so.$version $PKG/usr/lib/libcuda.so
- install -m 0755 libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib/
- ln -s libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib/libnvidia-ptxjitcompiler.so.1
- ln -s libnvidia-ptxjitcompiler.so.$version $PKG/usr/lib/libnvidia-ptxjitcompiler.so
-
- # OpenCL libraries and config
- install -m 0755 libOpenCL.so.1.0.0 $PKG/usr/lib/
- install -m 0755 libnvidia-opencl.so.$version $PKG/usr/lib/
- ln -s libnvidia-opencl.so.$version $PKG/usr/lib/libnvidia-opencl.so.1
- ln -s libnvidia-opencl.so.$version $PKG/usr/lib/libnvidia-opencl.so
- install -D -m 0644 nvidia.icd $PKG/etc/OpenCL/vendors/nvidia.icd
-
- # CUDA MPI applications
- install -d $PKG/usr/bin
- install -m 0755 nvidia-cuda-mps-control $PKG/usr/bin/
- install -m 0755 nvidia-cuda-mps-server $PKG/usr/bin/
-
- # TLS libraries
- install -m 0755 libnvidia-tls.so.$version $PKG/usr/lib/
- install -d $PKG/usr/lib/tls
-
- # monitoring and management API library
- install -m 0755 libnvidia-ml.so.$version $PKG/usr/lib/
- ln -s libnvidia-ml.so.$version $PKG/usr/lib/libnvidia-ml.so.1
- ln -s libnvidia-ml.so.$version $PKG/usr/lib/libnvidia-ml.so
-
- # applications
- install -m 4755 nvidia-modprobe $PKG/usr/bin/
- install -m 0755 nvidia-{xconfig,settings,smi,debugdump,persistenced} \
- $PKG/usr/bin/
-
- # nvidia-settings UI libraries
- install -m 0755 libnvidia-gtk{2,3}.so.$version $PKG/usr/lib/
-
- # encoding/decoding libraries
- install -m 0755 libnvcuvid.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-encode.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-ifr.so.$version $PKG/usr/lib/
- install -m 0755 libnvidia-fbc.so.$version $PKG/usr/lib/
-
- # OptiX ray tracing engine
- install -m 0755 libnvoptix.so.$version $PKG/usr/lib/
- ln -s libnvoptix.so.$version $PKG/usr/lib/libnvoptix.so.1
- ln -s libnvoptix.so.$version $PKG/usr/lib/libnvoptix.so
-
- # X driver config
- install -D -m 0644 $SRC/10-nvidia-drm-outputclass.conf \
- $PKG/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
-
- # application profile keys and documentation
- install -d -m 0755 $PKG/usr/share/nvidia
- install -m 0644 nvidia-application-profiles-$version-rc $PKG/usr/share/nvidia/
- install -m 0644 nvidia-application-profiles-$version-key-documentation $PKG/usr/share/nvidia/
-
- # desktop file and icon
- install -d $PKG/usr/share/{applications,pixmaps}
- sed -i -e 's,__UTILS_PATH__,/usr/bin,' -e 's,__PIXMAP_PATH__,/usr/share/pixmaps,' nvidia-settings.desktop
- install -m 0644 nvidia-settings.desktop $PKG/usr/share/applications/
- install -m 0644 nvidia-settings.png $PKG/usr/share/pixmaps/
-
- # nvidia-uvm udev rules file
- install -D -m 0644 $SRC/90-nvidia-uvm.rules $PKG/lib/udev/rules.d/90-nvidia-uvm.rules
-
- # kernel modules
- cd kernel
- IGNORE_CC_MISMATCH=1 make module
- install -d $PKG/lib/modules/$(uname -r)/extra
- install -m 0644 *.ko $PKG/lib/modules/$(uname -r)/extra/
-}
diff --git a/nvidia-sl/README b/nvidia-sl/README
deleted file mode 100644
index 82e2ec910..000000000
--- a/nvidia-sl/README
+++ /dev/null
@@ -1 +0,0 @@
-This port has been replaced by nvidia-fb (feature branch) and will be removed in the future.
diff --git a/nvidia-sl/pre-install b/nvidia-sl/pre-install
deleted file mode 100755
index ffb223830..000000000
--- a/nvidia-sl/pre-install
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-# check for root privileges needed for gl-select
-if [ ! $(id -u) -eq 0 ]; then
- echo "root privileges needed to run this pre-install script!"
- exit 1
-fi
-
-# is gl-select available?
-if [ -x /usr/bin/gl-select ]; then
- printf '%b' "\033[33;1mNOTE: With the introduction of GLVND, gl-select is no
-longer needed. This pre-install script will reset gl-select
-to its default xorg setting if needed. It is recommended that
-gl-select be uninstalled after installing libglvnd and
-upgrading mesa3d.\033[0m\n"
- # is nvidia currently selected?
- if /usr/bin/gl-select status | grep -q 'nvidia.*is selected'; then
- /usr/bin/gl-select use xorg
- fi
-fi

Generated by cgit