Can't get Nvidia GPU passthrough to work on LXC

fabian69420

New Member
Jun 18, 2026
2
0
1
Hey there, I recently added an NVidia RTX 3060 ti GPU to my working Proxmox server and I wanted to pass it through to my Debian LXC container to use with Jellyfin for 4k films.

How I have it configged right now: Proxmox running a Debian 13 LXC Container (unpriviledged), which runs a docker container containing Jellyfin.


I tried to follow the guide over here: https://jellyfin.org/docs/general/post-install/transcoding/hardware-acceleration/nvidia
Tried the Debian one and the Virtual environment one, but when I:

Code:
# modprobe nvidia

modprobe: FATAL: Module nvidia-current not found in directory /lib/modules/7.0.2-6-pve

modprobe: ERROR: Error running install command 'modprobe -i nvidia-current ' for module nvidia: retcode 1

modprobe: ERROR: could not insert 'nvidia': Invalid argument


# nvidia-smi

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

so it appears not to work, even though i downloaded the nvidia-driver package (even went through the trouble of setting up the auto-detect thing just to be sure) and the linux-header-amd64. oh- also the errors above i get on the Proxmox host as well as the debian container

I honestly don't know what else to add here, so if there's anything I need to add in order to receive help with this, please let me know.
 
hey, thanks for reaching out! i tried to use your guide, specifically the Nvidia-specific part of the GPU passthrough section. but still no worky. and i ran a lot of commands on the host as well as the container bc it wasnt clear to me where i should use them, so often i just tried both to see what sticks
 
Let's start with this from the node side
Bash:
lspci -vnnk | awk '/VGA/{print $0}' RS=
nvidia-smi
pct config CTIDHERE