Package: release.debian.org Severity: normal Tags: bookworm User: release.debian....@packages.debian.org Usertags: pu X-Debbugs-Cc: nvidia-graphics-drivers-tesla-...@packages.debian.org Control: affects -1 + src:nvidia-graphics-drivers-tesla-535
I'd like to introduce a new package into bookworm: src:nvidia-graphics-drivers-tesla-535 [ Reason ] Nvidia has stopped providing ppc64el builds for new releases of the nvidia graphics drivers, including the ltsb branches. Therefore we need to drop the ppc64el driver builds when updating src:nvidia-graphics-drivers to new upstream releases fixing CVEs. The ppc64el removal has an impact on the whole nvidia stack and the IMO easiest workaround is to fork the last driver supporting ppc64el to have a package satisfying the otherwise broken dependencies. This package won't see further updates (due to lack of upstream support for ppc64el) and will therefore accumulate CVEs ... (I haven't started with the ppc64el removal in sid, yet, so I can't give an estimation of the effort doing that in bookworm, too.) src:nvidia-graphics-drivers-tesla-535 is a fork from src:nvidia-graphics-drivers which supports old GPUs that will be dropped in the 570 series (which will soon reach experimental and sid) After this version has reached bookworm, I'll drop ppc64el support in sid (and upgrade to a newer upstream version), a change that won't be backported to bookworm. [ Impact ] src:nvidia-graphics-drivers can't be upgraded to new upstream releases fixing CVEs. [ Tests ] autopkgtests for building the kernel modules anything else would require nvidia gpus and using the proprietary driver [ Risks ] new package - no risks right now [ Checklist ] [*] *all* changes are documented in the d/changelog [*] I reviewed all changes and I approve them [ ] attach debdiff against the package in (old)stable A debdiff with the changes compared to the package in sid is attached. [*] the issue is verified as fixed in unstable [ Changes ] nvidia-graphics-drivers-tesla-535 (535.216.03-2~deb12u1) bookworm; urgency=medium * Rebuild for bookworm. * This is a fork of the last driver release from the 535 series that still supports the ppc64el architecture. Nvidia has discontinued ppc64el support and further updates of src:nvidia-graphics-drivers will therefore drop the ppc64el driver. * Do not build for i386 or arm64. * Provide more package names that will be dropped from src:nvidia-graphics-drivers to not break reverse dependencies. -- Andreas Beckmann <a...@debian.org> Wed, 30 Apr 2025 09:44:51 +0200 [ Other info ] I wanted to make changes to as few packages as possible in bookworm and without breaking any dependencies (and without relying on cruft packages that may remain in bookworm after dropping ppc64el driver binaries from src:nvidia-graphics-drivers). Therefore I've tried to bundle all neccessary changes into this new package. The new package is strictly not needed for amd64, but having it available there allows me easier testing that it is not completely broken ;-) Andreas
diff --git a/debian/changelog b/debian/changelog index 7c7415eb0..d2e8232c8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +nvidia-graphics-drivers-tesla-535 (535.216.03-2~deb12u1) bookworm; urgency=medium + + * Rebuild for bookworm. + * This is a fork of the last driver release from the 535 series that still + supports the ppc64el architecture. Nvidia has discontinued ppc64el support + and further updates of src:nvidia-graphics-drivers will therefore drop the + ppc64el driver. + * Do not build for i386 or arm64. + * Provide more package names that will be dropped from + src:nvidia-graphics-drivers to not break reverse dependencies. + + -- Andreas Beckmann <a...@debian.org> Wed, 30 Apr 2025 09:44:51 +0200 + nvidia-graphics-drivers-tesla-535 (535.216.03-2) unstable; urgency=medium * Rebuild as Tesla 535 driver. diff --git a/debian/control b/debian/control index 3c1224a94..d187e0eae 100644 --- a/debian/control +++ b/debian/control @@ -14,6 +14,7 @@ Standards-Version: 4.7.2 Rules-Requires-Root: no Build-Depends: debhelper-compat (= 13), + do-not-build-on-this-architecture [i386 arm64], Build-Depends-Arch: dh-sequence-dkms, dh-exec, @@ -53,6 +54,7 @@ Recommends: Suggests: ${nvidia:kmod:source}, Provides: + nvidia-driver [ppc64el], nvidia-driver-any, nvidia-glx-any, Description: NVIDIA metapackage${nvidia:VariantDesc} @@ -126,6 +128,7 @@ Conflicts: nvidia-tesla-460-alternative, nvidia-tesla-510-alternative, Provides: + nvidia-alternative [ppc64el], nvidia-alternative-any, ${nvidia}-alternative--kmod-alias, ${nvidia}-alternative-${nvidia:Version}, @@ -192,6 +195,7 @@ Recommends: ${nvidia}-driver (>= ${nvidia:Version}) | ${libcuda1} (>= ${nvidia:Version}), Provides: + nvidia-kernel-dkms [ppc64el], ${nvidia-kernel}-${nvidia:Version}, nvidia-kernel-dkms-any (= ${nvidia:Version}), Description: NVIDIA binary kernel module DKMS source${nvidia:VariantDesc} @@ -227,6 +231,8 @@ Recommends: ${nvidia-kernel}-support--v1, Suggests: ${nvidia}-driver (>= ${nvidia:Version}), +Provides: + nvidia-kernel-source [ppc64el], Description: NVIDIA binary kernel module source${nvidia:VariantDesc} This package provides the source for the NVIDIA binary kernel modules needed by ${nvidia}-driver in a form suitable @@ -268,6 +274,7 @@ Recommends: Suggests: ${nvidia:kmod:source}, Provides: + xserver-xorg-video-nvidia [ppc64el], xserver-xorg-video-nvidia-any, ${nvidia:xorgProvides}, Description: NVIDIA binary Xorg driver${nvidia:VariantDesc} @@ -310,6 +317,7 @@ Depends: ${nvidia}-alternative (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Provides: + libnvidia-cfg1 [ppc64el], libnvidia-cfg.so.1 (= ${nvidia:Version}), libnvidia-cfg1-any, Description: NVIDIA binary OpenGL/GLX configuration library${nvidia:VariantDesc} @@ -351,6 +359,7 @@ Breaks: libegl1-${nvidia}, ${nvidia}-nonglvnd-vulkan-icd, Provides: + nvidia-driver-libs [ppc64el], nvidia-driver-libs-any, Description: NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)${nvidia:VariantDesc} This metapackage depends on the NVIDIA binary libraries @@ -642,6 +651,8 @@ Recommends: ${nvidia:kmod:binary}, Suggests: ${nvidia:kmod:source}, +Provides: + nvidia-smi [ppc64el], Description: NVIDIA System Management Interface${nvidia:VariantDesc} The NVIDIA Management Library (NVML) provides a monitoring and management API. The application "nvidia-smi" is the NVIDIA System Management Interface (NVSMI) @@ -689,6 +700,7 @@ Suggests: nvidia-cuda-mps [${nvidia:archlist:driver}], ${nvidia:kmod:source}, Provides: + libcuda1 [ppc64el], libcuda.so.1 (= ${nvidia:Version}), libcuda1-any, libcuda-5.0-1, diff --git a/debian/control.in b/debian/control.in index bada9cbde..8cd80debf 100644 --- a/debian/control.in +++ b/debian/control.in @@ -12,6 +12,7 @@ Standards-Version: 4.7.2 Rules-Requires-Root: no Build-Depends: debhelper-compat (= 13), + do-not-build-on-this-architecture [i386 arm64], Build-Depends-Arch: dh-sequence-dkms, dh-exec, @@ -52,6 +53,7 @@ Recommends: Suggests: ${nvidia:kmod:source}, Provides: + nvidia-driver [ppc64el], nvidia-driver-any, nvidia-glx-any, Description: NVIDIA metapackage${nvidia:VariantDesc} @@ -125,6 +127,7 @@ Conflicts: nvidia-tesla-460-alternative, nvidia-tesla-510-alternative, Provides: + nvidia-alternative [ppc64el], nvidia-alternative-any, ${nvidia}-alternative--kmod-alias, ${nvidia}-alternative-${nvidia:Version}, @@ -191,6 +194,7 @@ Recommends: ${nvidia}-driver (>= ${nvidia:Version}) | ${libcuda1} (>= ${nvidia:Version}), Provides: + nvidia-kernel-dkms [ppc64el], ${nvidia-kernel}-${nvidia:Version}, nvidia-kernel-dkms-any (= ${nvidia:Version}), Description: NVIDIA binary kernel module DKMS source${nvidia:VariantDesc} @@ -226,6 +230,8 @@ Recommends: ${nvidia-kernel}-support--v1, Suggests: ${nvidia}-driver (>= ${nvidia:Version}), +Provides: + nvidia-kernel-source [ppc64el], Description: NVIDIA binary kernel module source${nvidia:VariantDesc} This package provides the source for the NVIDIA binary kernel modules needed by ${nvidia}-driver in a form suitable @@ -267,6 +273,7 @@ Recommends: Suggests: ${nvidia:kmod:source}, Provides: + xserver-xorg-video-nvidia [ppc64el], xserver-xorg-video-nvidia-any, ${nvidia:xorgProvides}, Description: NVIDIA binary Xorg driver${nvidia:VariantDesc} @@ -336,6 +343,7 @@ Depends: ${nvidia}-alternative (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Provides: + libnvidia-cfg1 [ppc64el], libnvidia-cfg.so.1 (= ${nvidia:Version}), libnvidia-cfg1-any, Description: NVIDIA binary OpenGL/GLX configuration library${nvidia:VariantDesc} @@ -377,6 +385,7 @@ Breaks: libegl1-${nvidia}, ${nvidia}-nonglvnd-vulkan-icd, Provides: + nvidia-driver-libs [ppc64el], nvidia-driver-libs-any, Description: NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)${nvidia:VariantDesc} This metapackage depends on the NVIDIA binary libraries @@ -860,6 +869,8 @@ Recommends: ${nvidia:kmod:binary}, Suggests: ${nvidia:kmod:source}, +Provides: + nvidia-smi [ppc64el], Description: NVIDIA System Management Interface${nvidia:VariantDesc} The NVIDIA Management Library (NVML) provides a monitoring and management API. The application "nvidia-smi" is the NVIDIA System Management Interface (NVSMI) @@ -939,6 +950,7 @@ Suggests: nvidia-cuda-mps [${nvidia:archlist:driver}], ${nvidia:kmod:source}, Provides: + libcuda1 [ppc64el], libcuda.so.1 (= ${nvidia:Version}), libcuda1-any, libcuda-5.0-1, diff --git a/debian/control.md5sum b/debian/control.md5sum index 66472c9ea..c5d830826 100644 --- a/debian/control.md5sum +++ b/debian/control.md5sum @@ -1,5 +1,5 @@ -40feafda1032932af7ed802de39b4063 debian/control -5e734dbb8be2b8e14713b1b42e7ca3fc debian/control.in +08ad4e7aef7591cf5fcdf3b9ca9092ed debian/control +0a80176268855d8885e168159cc616ef debian/control.in 8489c83cfe0171c9de6d052c01a6d19b debian/gen-control.pl 1c9d216bf15bbe00739104c4b15393d3 debian/rules fb690b7b0f77459987f538c6acffdf67 debian/rules.defs diff --git a/debian/gbp.conf b/debian/gbp.conf index 1013645e9..6d3bb6a92 100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@ -1,5 +1,5 @@ [DEFAULT] -debian-branch = tesla-535/main +debian-branch = tesla-535/bookworm [buildpackage] overlay = True