NVIDIA driver install not working

  • Hello All,

    I'm using using OMV 8.11 Synchrony with proxmox 6.14.11-5-pve kernel. I'm trying to install the nvidia drivers but it fails:

    relevant part from the logs:

    Setting up nvidia-kernel-dkms (550.163.01-2) ...

    Loading new nvidia-current/550.163.01 DKMS files...

    WARNING: No kernel headers were found, skipping module build.

    To get the headers for the running kernel (6.14.11-5-pve)

    please install the linux-headers-6.14.11-5-pve package.


    The header is installed already:


    root@nas:~# apt-get install linux-headers-6.14.11-5-pve

    Reading package lists... Done

    Building dependency tree... Done

    Reading state information... Done

    Note, selecting 'linux-headers-6.14.11-5-pve-amd64' for regex 'linux-headers-6.14.11-5-pve'

    Note, selecting 'proxmox-headers-6.14.11-5-pve' instead of 'linux-headers-6.14.11-5-pve-amd64'

    proxmox-headers-6.14.11-5-pve is already the newest version (6.14.11-5).

    0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.


    So the issue in my interpretation is its looking for the wrong header name for some reason. I cant figure out why or how to fix it. Any tips?

  • I don't use an nvidia card, but I set one up for a friend. Here is the process that worked for me.


    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

    • New
    • Official Post

    Building nvidia drivers on the proxmox kernel is kind of a pain. I recommend using the Debian kernel - I do on my nvidia system.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Building nvidia drivers on the proxmox kernel is kind of a pain. I recommend using the Debian kernel - I do on my nvidia system.

    The problem is I already have a 40 TB ZFS pool I would like to stick with. I didnt find a good way to get ZFS working on the debian kernel, but maybe that would be an easier fix...

    I don't use an nvidia card, but I set one up for a friend. Here is the process that worked for me.

    This wouldnt work for me due the proxmox kernel. I tried installing the driver with the debian kernel and thats working fine so its a good guide for that situation.


    Anyway I think I figured it out.

    Looks like if you dont use the Debian kernel you shouldnt use either the Debian wiki nor the nvidia wiki it wont install due the nvidia installer being so dumb it cant find the correct header. This seems to be a common problem based on the proxmox forum, many people ran into this problem. So you cant install the drivers via APT, you have to download the ran file from nvidia and install with a small script.

    You need this one I found on the Proxmox forum, but with an additonal parameter defining the kernel source path:

    ./$(ls -t NVIDIA*.run | head -n 1) --dkms --disable-nouveau --no-install-libglvnd --kernel-source-path /usr/src/linux-headers-6.14.11-5-pve


    This first failed because I was missing a package but based on the install logs I could fix it with:

    Code
    sudo apt install libdw1t64



    This helped to install the driver, but got 2 warning:

    Warning 1: not sure if its really an issue, things seem to work.


    Warning 2:


    I added:

    ln -sf /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/libGL.so.1


    Now nvidia-smi starts and shows the correct GPU and driver version. I also generated the CDI definition for docker based on the nvidia guide and tested by running an AI modell in ollama:

    • New
    • Official Post

    The problem is I already have a 40 TB ZFS pool I would like to stick with. I didnt find a good way to get ZFS working on the debian kernel, but maybe that would be an easier fix...

    Somehow I knew you were going to say that. If you can compile the nvidia driver, there shouldn't be a problem compiling the the zfs module. I would make sure backports is enabled (button in omv-extras). Installing the zfs plugin should install zfs-dkms when you don't have the proxmox kernel installed. zfs-dkms will compile the module for you.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • This wouldnt work for me due the proxmox kernel.

    I have my buddy running the proxmox kernel too, and it worked for him.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

    • New
    • Official Post

    proxmox kernel will work. just have to deal with the header issues. If you are compiling modules anyway, there isn't much incentive to use the proxmox kernel.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • proxmox kernel will work. just have to deal with the header issues. If you are compiling modules anyway, there isn't much incentive to use the proxmox kernel.

    Well I'm learning linux as I go.... I remember spending like a week trying to get ZFS work with the debian kernel a year ago and couldnt get it work.

    Maybe I will give it another shot I understand linux slightly better now.

    • New
    • Official Post

    I remember spending like a week trying to get ZFS work with the debian kernel a year ago and couldnt get it work.

    Strange. Normally just installing the zfs plugin gets everything working.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!