Nvidia driver install issue on Proxmox 9

dasaint80

Member
Jun 22, 2023
10
0
6
Hello,

I've upgraded my proxmox from 8 to 9.
I'm trying to reinstall the mvidia drivers.
I've tried everything the magical Google provides.

Currently running Proxmox 9.1.5 on a Zimacube with an RTX 3050 (ZT-A30510L-10L), Kernel is 6.17.4-2-PVE.

# zfs version
zfs-2.4.0-pve1
zfs-kmod-2.3.4-pve1
# cat /sys/module/zfs/version
2.3.4-pve1
# [ -e /sys/firmware/efi/efivars/ ] && echo "EFI" || echo "BIOS"
EFI
# pveversion
pve-manager/9.1.5/80cf92a64bef6889 (running kernel: 6.17.4-2-pve)
# uname -a
Linux ledonnemanor 6.17.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.17.4-2 (2025-12-03T15:42Z) x86_64 GNU/Linux


Whenever I run ./NVIDIA-Linux-x86_64-580.126.09.run I ge tthe following error.

Code:
  ERROR: Unable to find the kernel source tree for the currently running kernel.  Please make sure you have installed the kernel source files for your
                kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
                installed.  If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path'
                command line option.

I've ran apt install -y build-essential dkms pve-headers-$(uname -r) prior to install.

I'm very close to doing a fresh install but really don't want to if we can find a fix for this.
 

Attachments

Last edited:
Bumpie....

so I'm able to install the drivers... somehow the vfio-pci are binded to the GPU instead of nvidia. I can manually unbind them but on reboot the issue persist.
 
What are you trying to use the GPU for? Did you configure passthrough?