Use 560 packaging base
Some checks failed
PikaOS Package Build & Release (i386) / build (push) Failing after 1m15s
PikaOS Package Build & Release (amd64-v3) / build (push) Failing after 53s

This commit is contained in:
Ward from fusion-voyager-3 2024-10-22 19:18:23 +03:00
parent e738b1e13e
commit 6b9989bce1
8 changed files with 73 additions and 8 deletions

1
.github/release-nest-i386 vendored Normal file
View File

@ -0,0 +1 @@
3

View File

@ -1 +1 @@
2 3

View File

@ -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.565.57.01
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.2
libnvidia-egl-wayland.so.1.1.17
libnvidia-pkcs11.so.565.57.01
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

View File

@ -1,4 +1,10 @@
nvidia-graphics-drivers-565 (565.57.01-101pika2) pika; urgency=medium nvidia-graphics-drivers-565 (565.57.01-101pika1) pika; urgency=medium
* New upstream
-- Andreas Beckmann <root@cybik.moe> Wed, 22 May 2024 07:31:41 -0700
nvidia-graphics-drivers-565 (565.31.02-101pika3) pika; urgency=medium
* New upstream * New upstream

View File

@ -118,7 +118,22 @@ Homepage: https://www.nvidia.com/CUDA
Description: NVIDIA CUDA Debugger Library 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. 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. This package contains the CUDA Debugger library for Pascal and later GPUs.
### Note Re-sync Upstream once nvidia or upstream package it
Package: libnvidia-vksc-core-565
Architecture: amd64 arm64 ppc64el
Multi-Arch: same
Depends:
nvidia-alternative-565 (= ${binary:Version}),
nvidia-vulkan-common-565 (= ${binary:Version}),
${shlibs:Depends}, ${misc:Depends}
Provides:
libnvidia-vksc-core (= ${binary:Version})
Conflicts:
libnvidia-vksc-core
Description: NVIDIA Vulkan SC Validation layers
Package: libegl-nvidia0-565 Package: libegl-nvidia0-565
Architecture: i386 amd64 arm64 ppc64el Architecture: i386 amd64 arm64 ppc64el
Multi-Arch: same Multi-Arch: same
@ -135,7 +150,8 @@ 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. 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. 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. This package contains the driver specific binary EGL implementation provided by NVIDIA that is accessed via GLVND.
### End of note
Package: libgl1-nvidia-glvnd-glx-565 Package: libgl1-nvidia-glvnd-glx-565
Architecture: i386 amd64 arm64 ppc64el Architecture: i386 amd64 arm64 ppc64el
Multi-Arch: same Multi-Arch: same

View File

@ -1,2 +1,6 @@
#! /usr/bin/dh-exec #! /usr/bin/dh-exec
libEGL_nvidia.so.565.57.01 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/ libEGL_nvidia.so.565.57.01 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
libnvidia-egl-xcb.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
libnvidia-egl-xlib.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
20_nvidia_xcb.json /usr/share/egl/egl_external_platform.d/
20_nvidia_xlib.json /usr/share/egl/egl_external_platform.d/

View File

@ -2,7 +2,7 @@
if ls /dev/ 2>&1 | grep nvidia[0-9] 2>&1 > /dev/null if ls /dev/ 2>&1 | grep nvidia[0-9] 2>&1 > /dev/null
then then
true true
else else
for gpu in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4) for gpu in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \ -f 4)
do do
@ -21,13 +21,13 @@ fi
if [[ ! -e /dev/nvidia-nvlink ]] if [[ ! -e /dev/nvidia-nvlink ]]
then then
echo "Creating Nvlink device nodes" echo "Creating Nvlink device nodes"
/usr/bin/nvidia-modprobe -l /usr/bin/nvidia-modprobe -l
fi fi
if [[ ! -e /dev/nvidia-modeset ]] if [[ ! -e /dev/nvidia-modeset ]]
then then
echo "Creating modeset device nodes" echo "Creating modeset device nodes"
/usr/bin/nvidia-modprobe -m /usr/bin/nvidia-modprobe -m
fi fi
if [[ ! -e /dev/nvidiactl ]] if [[ ! -e /dev/nvidiactl ]]

View File

@ -1,7 +1,7 @@
#! /bin/bash #! /bin/bash
export PIKA_BUILD_ARCH="amd64-v3" export PIKA_BUILD_ARCH="amd64-v3"
export DRIVER_ARCH="Linux-x86_64"
export DEBIAN_FRONTEND="noninteractive" export DEBIAN_FRONTEND="noninteractive"
export DRIVER_ARCH="Linux-x86_64"
export DEB_BUILD_MAINT_OPTIONS="optimize=+lto -march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32" 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_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_CPPFLAGS_MAINT_APPEND="-march=x86-64-v3 -O3 -flto -fuse-linker-plugin -falign-functions=32"