GPU passthough not working on PVE 9 with NVIDIA Quadro K2000 GPU

pmxart

New Member
Apr 16, 2025
2
0
1
I have tried all possible settings, configs and all available posts. I end up getting nouveau as driver in use on VM. I have a ubuntu VM. I have tried installing drivers using DKMS, PPA, add repositories, using .run file and every possible method that is there. It never shows driver in use: NVIDIA. It either shows nouveau or it does not show any driver at all. I have tried to black list driver on VM using blackist.conf but as soon as I blacklist nouveau driver in use line goes missing and nothing works.

Please help.
 
Hi!

Proxmox host add the following:

Code:
/etc/modprobe.d/nvidia.conf
---------------------------------------------
#
blacklist nvidiafb
blacklist nouveau
#
blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_modeset
#
blacklist nova_core
blacklist nova_drm
---------------------------------------------

then
Code:
$> update-initramfs -c -d -u

Reboot Promxox host.

Inside the VM, you can use the Official Nvidia driver installer: https://www.nvidia.com/en-us/drivers/
Example:
Code:
$> apt install build-essential pkg-config autoconf libtool
$> apt install linux-headers-amd64
$> bash NVIDIA-Linux-x86_64-570.181.run

This will build binary drivers and configure Xorg.
After reboot the VM, the Nvidia driver will load.
 
Hi!

Proxmox host add the following:

Code:
/etc/modprobe.d/nvidia.conf
---------------------------------------------
#
blacklist nvidiafb
blacklist nouveau
#
blacklist nvidia
blacklist nvidia_drm
blacklist nvidia_modeset
#
blacklist nova_core
blacklist nova_drm
---------------------------------------------

then
Code:
$> update-initramfs -c -d -u

Reboot Promxox host.

Inside the VM, you can use the Official Nvidia driver installer: https://www.nvidia.com/en-us/drivers/
Example:
Code:
$> apt install build-essential pkg-config autoconf libtool
$> apt install linux-headers-amd64
$> bash NVIDIA-Linux-x86_64-570.181.run

This will build binary drivers and configure Xorg.
After reboot the VM, the Nvidia driver will load.
I tried with your instructions but my GPU K2000 is not supported with 570.181 so I had to use the old install file.
I googled some more and found a solution on NVIDIA support forum mentioning that 6.14 kernel does not work with nvidia 470.256.02. Therefore, I followed his instructions and installed older kernel 6.8.12 and disabled secureboot and my driver is working.
If anyone comes to the post here is the link to that solution page: https://forums.developer.nvidia.com...ile-on-ubuntu-24-04-kernel-6-11-0-29/339777/2

Thanks for the help though.