Article View: linux.debian.devel.release
Article #1261Bug#1156180: trixie-pu: package nvidia-open-gpu-kernel-modules/550.163.01-2+deb13u1
From: Agathe Porte
Date: Wed, 02 Dec 2026 17:10
Date: Wed, 02 Dec 2026 17:10
189 lines
10439 bytes
10439 bytes
This is a multi-part MIME message sent by reportbug.
--===============8282109626736966871==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: nvidia-open-gpu-kernel-modules@packages.debian.org, gagath@debian.org
Control: affects -1 + src:nvidia-open-gpu-kernel-modules
User: release.debian.org@packages.debian.org
Usertags: pu
[ Reason ]
The driver version available in trixie can no longer be compiled against
the linux kernel version in trixie-security starting with
release 6.12.100+deb13
[ Impact ]
Users cannot use their NVIDIA GPU with the kernel from trixie-security;
they might disable kernel updates from trixie-security or keep booting
older kernels before 6.12.100 to keep their GPU working.
[ Tests ]
Manually tested by installing the package on my local trixie system
which is impacted. Everything works as expected on my NVIDIA GPU.
[ Risks ]
N/A.
[ Checklist ]
[x] *all* changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
* Added patch
* Updated d/gbp.conf and d/salsa-ci.yml for trixie
* The d/.gitignore file is automatically removed from the source package
after calling `gbp`; this is trivial and not worth investigating IMO.
[ Other info ]
Many users have been complaining about this for months, see the related
bugs. I have been merging them as much as I can but might have missed
some. This is not a perfect solution but better than the current
statu-quo.
Proposing a backport for this might be tricky as the driver has been
broken on forky for a while and backporting it means fixing forky first,
which is not on my priority list, so I hope this stable update comes in
due time as we cannot ask users to use trixie-backports in the meantime.
--===============8282109626736966871==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="nvidia-open-gpu-kernel-modules.debdiff"
diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog
--- nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog 2025-07-21 23:45:24.000000000 +0200
+++ nvidia-open-gpu-kernel-modules-550.163.01/debian/changelog 2026-12-02 17:25:15.000000000 +0100
@@ -1,3 +1,16 @@
+nvidia-open-gpu-kernel-modules (550.163.01-2+deb13u1) trixie; urgency=medium
+
+ [ Agathe Porte ]
+ * d/gbp.conf: update debian-branch to 550/trixie
+ * d/salsa-ci.yml: set RELEASE to trixie
+
+ [ Ciel Avenir ]
+ * Backport NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG changes from
+ 590.48.01 to fix open kernel module build for Linux 6.12.100.
+ (Closes: #1143204, #1147948)
+
+ -- Agathe Porte <gagath@debian.org> Wed, 02 Dec 2026 17:25:15 +0100
+
nvidia-open-gpu-kernel-modules (550.163.01-2) unstable; urgency=medium
* Sync with src:nvidia-graphics-drivers.
diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/gbp.conf nvidia-open-gpu-kernel-modules-550.163.01/debian/gbp.conf
--- nvidia-open-gpu-kernel-modules-550.163.01/debian/gbp.conf 2025-07-21 23:45:24.000000000 +0200
+++ nvidia-open-gpu-kernel-modules-550.163.01/debian/gbp.conf 2026-12-02 17:23:10.000000000 +0100
@@ -1,4 +1,4 @@
[DEFAULT]
-debian-branch = 550/main
+debian-branch = 550/trixie
upstream-branch = 550/upstream
upstream-vcs-tag = %(version)s
diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore
--- nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore 2025-07-21 23:45:24.000000000 +0200
+++ nvidia-open-gpu-kernel-modules-550.163.01/debian/.gitignore 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-/patches/*~
diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch
--- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch 1970-01-01 01:00:00.000000000 +0100
+++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/0073-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch 2026-12-02 17:25:15.000000000 +0100
@@ -0,0 +1,58 @@
+From: cielavenir <cielartisan@gmail.com>
+Date: Mon, 10 Aug 2026 15:00:00 +0900
+Subject: [PATCH] backport NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG from 590.48.01
+
+--- a/nvidia/nv-pci.c 2026-08-10 14:37:29.701142746 +0900
++++ b/nvidia/nv-pci.c 2026-08-10 14:47:54.711993675 +0900
+@@ -234,7 +234,11 @@
+
+ resize:
+ /* Attempt to resize BAR1 to the largest supported size */
++#if defined(NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG)
++ r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size, 0);
++#else
+ r = pci_resize_resource(pci_dev, NV_GPU_BAR1, requested_size);
++#endif
+
+ if (r) {
+ if (r == -ENOSPC)
+--- a/nvidia/nvidia.Kbuild 2026-08-10 14:42:53.576785875 +0900
++++ b/nvidia/nvidia.Kbuild 2026-08-10 14:46:57.086638469 +0900
+@@ -262,6 +262,7 @@
+ NV_CONFTEST_TYPE_COMPILE_TESTS += memory_failure_has_trapno_arg
+ NV_CONFTEST_TYPE_COMPILE_TESTS += foll_longterm_present
+ NV_CONFTEST_TYPE_COMPILE_TESTS += bus_type_has_iommu_ops
++NV_CONFTEST_TYPE_COMPILE_TESTS += pci_resize_resource_has_exclude_bars_arg
+
+ NV_CONFTEST_GENERIC_COMPILE_TESTS += dom0_kernel_present
+ NV_CONFTEST_GENERIC_COMPILE_TESTS += nvidia_vgpu_kvm_build
+--- a/conftest.sh 2026-08-10 14:42:53.584786074 +0900
++++ b/conftest.sh 2026-08-10 14:44:57.647827732 +0900
+@@ -6449,6 +6449,27 @@
+ compile_check_conftest "$CODE" "NV_PCI_REBAR_GET_POSSIBLE_SIZES_PRESENT" "" "functions"
+ ;;
+
++ pci_resize_resource_has_exclude_bars_arg)
++ #
++ # Determine if pci_resize_resource() has exclude_bars argument.
++ #
++ # exclude_bars argument was added to pci_resize_resource by commit
++ # 337b1b566db0 (11/14/2025) ("PCI: Fix restoring BARs on BAR resize rollback path")
++ # in linux-next.
++ #
++ CODE="
++ #include <linux/pci.h>
++
++ typeof(pci_resize_resource) conftest_pci_resize_resource_has_exclude_bars_arg;
++ int __must_check conftest_pci_resize_resource_has_exclude_bars_arg(struct pci_dev *dev,
++ int i, int size,
++ int exclude_bars) {
++ return 0;
++ }"
++
++ compile_check_conftest "$CODE" "NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG" "" "types"
++ ;;
++
+ wait_for_random_bytes)
+ #
+ # Determine if the wait_for_random_bytes() function is present.
diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series
--- nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series 2025-07-21 23:45:24.000000000 +0200
+++ nvidia-open-gpu-kernel-modules-550.163.01/debian/patches/module/series 2026-12-02 17:25:15.000000000 +0100
@@ -21,6 +21,7 @@
0070-backport-make_device_exclusive-changes-from-570.153..patch
0071-backport-nv_vma_start_write-changes-from-570.169.patch
0072-backport-NV_DRM_FBDEV_AVAILABLE-changes-from-570.169.patch
+0073-backport-NV_PCI_RESIZE_RESOURCE_HAS_EXCLUDE_BARS_ARG.patch
# build system updates
conftest-verbose.patch
diff -Nru nvidia-open-gpu-kernel-modules-550.163.01/debian/salsa-ci.yml nvidia-open-gpu-kernel-modules-550.163.01/debian/salsa-ci.yml
--- nvidia-open-gpu-kernel-modules-550.163.01/debian/salsa-ci.yml 2025-07-21 23:45:24.000000000 +0200
+++ nvidia-open-gpu-kernel-modules-550.163.01/debian/salsa-ci.yml 2026-12-02 17:24:29.000000000 +0100
@@ -5,6 +5,7 @@
variables:
SALSA_CI_COMPONENTS: 'main contrib non-free non-free-firmware'
SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1
+ RELEASE: 'trixie'
# some standard flags are not used while building a kernel module
blhc:
--===============8282109626736966871==--
Technical Details
Message-ID:
<O5W09-fzVv-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu.MISMATCH!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!fu-berlin.de!bofh.it!news.nic.it!robomod From: Agathe Porte <gagath@debian.org> Newsgroups: linux.debian.bugs.dist,linux.debian.devel.release Subject: Bug#1156180: trixie-pu: package nvidia-open-gpu-kernel-modules/550.163.01-2+deb13u1 Date: Wed, 02 Dec 2026 18:10:01 +0100 Message-ID: <O5W09-fzVv-13@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Wed Dec 2 17:09:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.9 Reply-To: Agathe Porte <gagath@debian.org>, 1156180@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: nvidia-open-gpu-kernel-modules@packages.debian.org, gagath@debian.org, debian-release@lists.debian.org X-Debian-Pr-Message: report 1156180 X-Debian-Pr-Package: release.debian.org X-Debian-Pr-Keywords: trixie Content-Type: multipart/mixed; boundary="===============8282109626736966871==" MIME-Version: 1.0 X-Mailer: reportbug 13.2.0 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2006577 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 189 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 02 Dec 2026 18:08:15 +0100 X-Original-Message-ID: <179623129587.4061.16084369294637596498.reportbug@athena.home.arpa>