Bug#1132490: nvidia-graphics-drivers: Patch series to port packaging from 550 to 580.142
Daniel Carraher
daniel.carraher at gmail.com
Wed Apr 1 18:24:04 BST 2026
Package: nvidia-graphics-drivers
Version: 550.163.01-5
Severity: wishlist
Tags: patch
X-Debbugs-Cc: pkg-nvidia-devel at lists.alioth.debian.org
User: pkg-nvidia-devel at lists.alioth.debian.org
Usertags: 580 packaging
I have a working patch series that ports nvidia-graphics-drivers packaging
from the 550 branch to upstream 580.142, plus matching version bumps for
the three companion packages (nvidia-settings, nvidia-modprobe,
nvidia-persistenced). All four build cleanly on trixie.
Patches are attached as a zip containing git format-patch output, one
folder per source package, against the current branches on Salsa.
Apply with: git am *.patch in each folder.
Motivation
----------
The 550 branch has accumulated 21 kernel backport patches to support Linux
6.13 through 6.19, and every kernel release requires more. Meanwhile, 555
has been in experimental since early 2026 with no progress toward sid.
580 eliminates all 21 backport patches (they are upstream), provides native
kernel 6.19 support, and fixes several real bugs:
- nv_drm_revoke_modeset_permission WARNING storm on Wayland screen unlock,
which stalls terminal multiplexers via printk (workaround: printk
suppression in sysctl). Fixed properly in 580's DRM code.
- 10-bit (ARGB2101010) DRM/KMS output on Wayland. The 550 driver's DRM
path defaulted to 8bpc. 580 enables 10-bit from boot when the monitor
supports it.
580 is also the last driver branch supporting Pascal GPUs (GTX 10-series).
NVIDIA 590 drops Pascal, so 580 is the long-term driver for those users.
Changes (nvidia-graphics-drivers, 8 patches)
---------------------------------------------
1. Update version to 580.142-1 (changelog, gbp.conf, watch)
2. Drop 23 backport and support-fallback patches (all upstream in 580)
3. Refresh retained patches: drop 3 more (min kernel version, warning
fixes, BTF generation -- all fixed upstream), refresh 2 (typo fix
dropped the nv.c hunk, use-kbuild-flags updated for 580's new
filter-std line). 10 patches retained, all apply cleanly.
4. Add new 580 libraries to .install files (libnvidia-present,
libnvidia-sandboxutils, libnvidia-egl-xcb/xlib, libnvidia-nvvm70,
nvidia-suspend-then-hibernate.service)
5. Update GPU ID extraction regex for 580's wider README.txt columns
(58 chars, was 41/49). Add JSON fallback for open kernel GPU IDs
(580 removed the SUPPORTED GPUS section from README.txt).
6. Relax symbol checking (dh_makeshlibs -- -c0), skip copyright
comparison (580 updated license text). Both marked as TODOs.
7. Refresh man page patch (nvidia-smi.1 reformatted upstream, keep
nvidia-cuda-mps-control.1 typo fix only)
8. Install new EGL platform configs (20_nvidia_xcb.json,
20_nvidia_xlib.json) and nvidia-pcc (Power and Clock Control tool)
Deliberately skipped: libnvidia-vksc-core.so (Vulkan Safety Critical,
not for desktop), nvngx_dlssg.dll (Windows DLSS DLL),
sandboxutils-filelist.json (metadata).
Companion packages (1 patch each, also attached)
-------------------------------------------------
- nvidia-settings 580.142-1: all 6 patches apply cleanly. 580 ships
libnvidia-wayland-client.so enabling nvidia-settings to run natively
on Wayland (DISPLAY= nvidia-settings).
- nvidia-modprobe 580.142-1: both patches apply cleanly.
- nvidia-persistenced 580.142-1: all 3 patches apply cleanly.
Test results
------------
- Debian trixie, kernel 6.19.8+deb14-amd64
- GPU: GeForce GTX 1080 (Pascal), KDE Plasma 6 Wayland
- 49 binary .deb packages from nvidia-graphics-drivers, clean build
- Companion packages build clean (1 deb each)
- DKMS module builds and loads against 6.19.8
- nvidia-smi, VA-API (NVDEC), 10-bit DRM output all verified working
- Screen lock/unlock cycle produces no kernel WARNINGs
TODOs for the team
------------------
- Update .symbols files for new 580 exports (using -c0 for now)
- Update debian/copyright for 580's revised license text
- Test arm64 build
- Review whether nvidia-pcc belongs in nvidia-driver-bin or its own
package
Thanks for maintaining these packages.
--
-- Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20260401/09516658/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-580.142-debian-patches.zip
Type: application/zip
Size: 38302 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20260401/09516658/attachment-0001.zip>
More information about the pkg-nvidia-devel
mailing list