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
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)
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: