Bug#1135362: linux-image-7.0.3+deb14-amd64: Fails to build nVidia module
Nate McKay
natemckay+debianbugs at gmail.com
Mon May 25 07:50:18 BST 2026
Hello,
I have an older card [GeForce GTX 1050 Ti] that is no longer supported
with the 590 and 595 drivers as was noted by Forrest Cahoon. The 580
series still does support these older cards (maybe yours is one). The
nVidia repo referenced above no longer has the 580 version drivers
available, but I found them referenced here:
https://developer.nvidia.com/datacenter-driver-580-downloads?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=12&target_type=deb_local
This installs a local repo on your machine containing the 580.159.04
series drivers and userspace libraries that can then be
installed/upgraded by apt.
#Installation Instructions:
wget https://developer.download.nvidia.com/compute/nvidia-driver/580.159.04/local_installers/nvidia-driver-local-repo-debian12-580.159.04_1.0-1_amd64.deb
sudo dpkg -i nvidia-driver-local-repo-debian12-580.159.04_1.0-1_amd64.deb
sudo cp /var/nvidia-driver-local-repo-debian12-580.159.04/nvidia-driver-*-keyring.gpg
/usr/share/keyrings/
sudo apt-get update
#NVIDIA Driver Instructions (choose one option)
#To install the open kernel module flavor:
#sudo apt-get install -y nvidia-open-580
#To install the proprietary kernel module flavor:
sudo apt-get install -y cuda-drivers-580
#To switch between NVIDIA Driver kernel module flavors see here:
#https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/#switching-between-driver-module-flavors
I had the main NVIDIA repo added at the time (as you do), I tested
this and needed to pin the nvidia-driver and all relevant dependencies
to 580.159.04-1, which you are probably going to need to do anyway if
your card is no longer supported from 590 onward. I have attached the
pin files for your convenience (the amd64 one I built out by hand, the
i386 version uses wildcards once I knew what all the deps were -
sorry, I was tired).
With the 580 repo package and pins set up, 'sudo apt-get install -y
cuda-drivers-580' ran normally and set up the 580 driver DKMS for all
installed kernels, including the 7.0.x versions I had installed. I saw
somewhere the 580 driver was updated against linux 7.1.x at least.
$ apt list --installed | grep -i nvidia
firmware-nvidia-graphics/unstable,unstable,now 20260410-1 all [installed]
firmware-nvidia-gsp/unknown,now 580.159.04-1 amd64 [installed,automatic]
libegl-nvidia0/unknown,now 580.159.04-1 amd64 [installed,automatic]
libegl-nvidia0/unknown,now 580.159.04-1 i386 [installed,automatic]
libgles-nvidia1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libgles-nvidia1/unknown,now 580.159.04-1 i386 [installed,automatic]
libgles-nvidia2/unknown,now 580.159.04-1 amd64 [installed,automatic]
libgles-nvidia2/unknown,now 580.159.04-1 i386 [installed,automatic]
libglx-nvidia0/unknown,now 580.159.04-1 amd64 [installed,automatic]
libglx-nvidia0/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-allocator1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-allocator1/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-api1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-cfg1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-egl-gbm1/unknown,now 1.1.3-1 amd64 [installed,automatic]
libnvidia-egl-gbm1/unknown,now 1.1.3-1 i386 [installed,automatic]
libnvidia-egl-wayland1/unknown,now 1:1.1.21-1 amd64 [installed,automatic]
libnvidia-egl-wayland1/unknown,now 1:1.1.21-1 i386 [installed,automatic]
libnvidia-egl-xcb1/unknown,now 1:1.0.5-1 amd64 [installed,automatic]
libnvidia-egl-xcb1/unknown,now 1:1.0.5-1 i386 [installed,automatic]
libnvidia-egl-xlib1/unknown,now 1:1.0.5-1 amd64 [installed,automatic]
libnvidia-egl-xlib1/unknown,now 1:1.0.5-1 i386 [installed,automatic]
libnvidia-eglcore/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-eglcore/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-encode1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-fbc1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-glcore/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-glcore/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-glvkspirv/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-glvkspirv/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-gpucomp/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-gpucomp/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-ml1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-ml1/unknown,now 580.159.04-1 i386 [installed,automatic]
libnvidia-ngx1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-nvvm4/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-nvvm704/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-opticalflow1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-pkcs11-openssl3/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-present/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-ptxjitcompiler1/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-rtcore/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-sandboxutils/unknown,now 580.159.04-1 amd64 [installed,automatic]
libnvidia-vksc-core/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-driver-cuda/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-driver-libs/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-driver-libs/unknown,now 580.159.04-1 i386 [installed]
nvidia-driver-local-repo-debian12-580.159.04/now 1.0-1 amd64 [installed,local]
nvidia-driver/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-egl-icd/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-kernel-dkms/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-kernel-support/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-modprobe/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-opencl-icd/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-persistenced/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-settings/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-vdpau-driver/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-vulkan-icd/unknown,now 580.159.04-1 amd64 [installed,automatic]
nvidia-vulkan-icd/unknown,now 580.159.04-1 i386 [installed,automatic]
nvidia-xconfig/unknown,now 580.159.04-1 amd64 [installed,automatic]
xserver-xorg-video-nvidia/unknown,now 580.159.04-1 amd64 [installed,automatic]
$
$ uname -r
7.0.9+deb14-amd64
nvidia-smi
Sun May 24 23:24:21 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.159.04 Driver Version: 580.159.04
CUDA Version: 13.0 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A |
Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage |
GPU-Util Compute M. |
| | |
MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1050 Ti On | 00000000:01:00.0 Off |
N/A |
| 30% 26C P8 N/A / 75W | 751MiB / 4096MiB |
0% Default |
| | |
N/A |
+-----------------------------------------+------------------------+----------------------+
Thanks,
Nathan
On Sun, 24 May 2026 12:55:22 -0500 Tim McConnell
<tmcconnell168 at gmail.com> wrote:
> Package: nvidia-kernel-dkms
> Version: 595.71.05-1
> Followup-For: Bug #1135362
> X-Debbugs-Cc: tmcconnell168 at gmail.com
> Control: tags -1 ftbfs
>
> Dear Maintainer,
>
> I followed these steps:
> 1.ran $ wget
> https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/cuda-
> keyring_1.1-1_all.deb
> 2. Then ran dpkg -i /path/to/cuda-keyring_1.1-1_all.deb
> 3. Then ran apt update && apt upgrade
> and it installed both just fine. HOWEVER the drivers are not recognized, if I
> run
> nvidia-smi NVIDIA-SMI has failed because it couldn't communicate with the
> NVIDIA driver. Make sure that the latest NVIDIA driver is installed and
> running.
> dpkg -l
> rc nvidia-alternative 550.163.01-5
> amd64 allows the selection of NVIDIA as GLX provider
> ii nvidia-driver 595.71.05-1
> amd64 NVIDIA metapackage
> ii nvidia-driver-cuda 595.71.05-1
> amd64 NVIDIA driver CUDA integration components
> ii nvidia-driver-libs:amd64 595.71.05-1
> amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
> ii nvidia-egl-icd 595.71.05-1
> amd64 NVIDIA EGL installable client driver (ICD)
> rc nvidia-installer-cleanup 20240109+1
> amd64 cleanup after driver installation with the nvidia-installer
> rc nvidia-kernel-common 20240109+1
> amd64 NVIDIA binary kernel module support files
> ii nvidia-kernel-dkms 595.71.05-1
> amd64 NVIDIA binary kernel module DKMS source
> ii nvidia-kernel-support 595.71.05-1
> amd64 NVIDIA binary kernel module support files
> ii nvidia-modprobe 595.71.05-1
> amd64 utility to load NVIDIA kernel modules and create device nodes
> ii nvidia-opencl-icd:amd64 595.71.05-1
> amd64 NVIDIA OpenCL installable client driver (ICD)
> ii nvidia-persistenced 595.71.05-1
> amd64 daemon to maintain persistent software state in the NVIDIA driver
> ii nvidia-settings 595.71.05-1
> amd64 Tool for configuring the NVIDIA graphics driver
> rc nvidia-support 20240109+1
> amd64 NVIDIA binary graphics driver support files
> ii nvidia-vdpau-driver:amd64 595.71.05-1
> amd64 Video Decode and Presentation API for Unix - NVIDIA driver
> ii nvidia-vulkan-icd:amd64 595.71.05-1
> amd64 NVIDIA Vulkan installable client driver (ICD)
> ii nvidia-xconfig
>
> lspci | grep VGA
> 01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080]
> (rev a1) 02:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce
> GTX 1080] (rev a1)
>
> To ensure DKMS and the nvidia driver installed I ran:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-580-pin
Type: application/octet-stream
Size: 3479 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20260525/3300e6ee/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-580-i386-pin
Type: application/octet-stream
Size: 292 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20260525/3300e6ee/attachment-0003.obj>
More information about the pkg-nvidia-devel
mailing list