Proxmox + Older NVIDIA GPUs (GTX 1060 / P4000 / V100) LXC Passthrough Guide (Updated June 2026)

itamarbudin

New Member
Aug 13, 2024
8
1
3

Recommended Configurations​

Most Proven Configuration​

Code:
Proxmox Kernel 6.14 / 6.17
NVIDIA Driver 575.57.08
CUDA 12.9.1

Works well with:

  • GTX 1060 / 1070 / 1080
  • Quadro P4000 / P5000
  • Tesla V100

New Configuration (Kernel 7.x)​

Code:
Proxmox Kernel 7.x
NVIDIA Driver 580.159.04
CUDA 13.x

Reported working with:

  • Tesla V100
  • Various Volta-based GPUs
Kernel 7.x support is still evolving for older Pascal cards. If stability is your top priority, stay on Kernel 6.x.


HOST INSTALLATION​

Install build tools:

Code:
apt update
apt install -y build-essential dkms pve-headers-$(uname -r)

Download NVIDIA driver:

575 branch:

Code:
wget https://us.download.nvidia.com/tesla/575.57.08/NVIDIA-Linux-x86_64-575.57.08.run

580 branch:

Code:
wget https://us.download.nvidia.com/tesla/580.159.04/NVIDIA-Linux-x86_64-580.159.04.run

Make executable:

Code:
chmod +x NVIDIA-Linux-x86_64-580.159.04.run

Install:

Code:
./NVIDIA-Linux-x86_64-580.159.04.run

Installer recommendations:

  • YES to DKMS
  • NO to OpenGL libraries (headless server)
Reboot:

Code:
reboot

Verify:

Code:
nvidia-smi


LXC GPU PASSTHROUGH​

Edit container config:

Code:
nano /etc/pve/lxc/.conf

Add:

Code:
lxc.cgroup2.devices.allow: c 195:* rwm
lxc.cgroup2.devices.allow: c 509:* rwm
lxc.cgroup2.devices.allow: c 511:* rwm

lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidiactl dev/nvidiactl none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-modeset dev/nvidia-modeset none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm dev/nvidia-uvm none bind,optional,create=file
lxc.mount.entry: /dev/nvidia-uvm-tools dev/nvidia-uvm-tools none bind,optional,create=file

Restart:

Code:
pct restart


MULTIPLE GPU SETUPS​

Check GPU numbering:

Code:
nvidia-smi -L

Example:

Code:
GPU 0: Tesla V100
GPU 1: Quadro P4000
GPU 2: GTX 1060

Pass only a specific GPU:

Code:
lxc.mount.entry: /dev/nvidia1 dev/nvidia1 none bind,optional,create=file

Pass multiple GPUs:

Code:
lxc.mount.entry: /dev/nvidia0 dev/nvidia0 none bind,optional,create=file
lxc.mount.entry: /dev/nvidia2 dev/nvidia2 none bind,optional,create=file

Limit CUDA visibility:

Code:
export CUDA_VISIBLE_DEVICES=0

or

Code:
export CUDA_VISIBLE_DEVICES=0,1


INSIDE THE CONTAINER​

Download the same driver version as the host.

Example:

Code:
wget https://us.download.nvidia.com/tesla/580.159.04/NVIDIA-Linux-x86_64-580.159.04.run

Install userspace libraries only:

Code:
chmod +x NVIDIA-Linux-x86_64-580.159.04.run

./NVIDIA-Linux-x86_64-580.159.04.run --no-kernel-module

Verify:

Code:
nvidia-smi


OPTIONAL CUDA INSTALLATION​

CUDA 12.9.1 (575 branch):

Code:
wget https://developer.download.nvidia.com/compute/cuda/12.9.1/local_installers/cuda_12.9.1_575.57.08_linux.run

Install:

Code:
chmod +x cuda_12.9.1_575.57.08_linux.run

./cuda_12.9.1_575.57.08_linux.run

Skip driver installation during CUDA setup.


CURRENT RECOMMENDATION​

For Tesla V100:
Code:
Kernel 7.x + 580.159.04

For mixed environments (GTX 1060 + P4000 + V100):
Code:
Kernel 6.14/6.17 + 575.57.08

until broader Kernel 7.x compatibility is consistently confirmed across Pascal GPUs.
 
Last edited:
580.159.04 is the latest driver which support nvidia v100, and DKMS compile failures on kernel 7 seems has been fixed in this version
 
  • Like
Reactions: itamarbudin
580.159.04 is the latest driver which support nvidia v100, and DKMS compile failures on kernel 7 seems has been fixed in this version
Thank you. I tried this version and can confirm it works with kernels 6.17 and 7.x. I will update the guide
 
Thanks for this guide. I just got my Quadro P4000 working. It didn't like kernel 7.x or 6.17, but 6.14 worked like a charm. NVIDIA Driver 575.57.08 installed, and the device was able to pass through to my jellyfin container successfully
 
Thanks for this guide. I just got my Quadro P4000 working. It didn't like kernel 7.x or 6.17, but 6.14 worked like a charm. NVIDIA Driver 575.57.08 installed, and the device was able to pass through to my jellyfin container successfully
You're welcome :)

The problem is that when you are using a passthrough, the kernel driver might be blocking you from installing the driver.

see here: https://forum.proxmox.com/threads/unable-to-load-the-kernel-module-nvidia-ko.89428/