Has anyone had luck actually installing the "proper" NVIDIA drivers on the host?
I had the same issue as you. I received the message about using the Debian package manager to install instead. To fix this, I did apt remove purge nvidia*Has anyone had luck actually installing the "proper" NVIDIA drivers on the host?
I.e. On Proxmox 8 I download the appropriate .run file (for my Quadro P600) and the installation aborts, and tells me to use the Debian package manager to install instead. This is even after blacklisting nouveau, and 'apt remove --purge libnvcuvid1 libnvidia-encode1' (the two packages specified in the Jellyfin install instructions for Debian systems)
Trying later to just use those packages does not work. I end up with only /dev/nvram, and not the other 5 items in the /dev directory shown in most tuturials.
lxc.mount.entry: /usr/bin/nvidia-smi usr/bin/nvidia-smi none bind,optional,create=file
lxc.mount.entry: /usr/lib/x86_64-linux-gnu/libnvidia-ml.so usr/lib/x86_64-linux-gnu/libnvidia-ml.so none bind,optional,create=file
lxc.mount.entry: /usr/lib/x86_64-linux-gnu/libcuda.so usr/lib/x86_64-linux-gnu/libcuda.so none bind,optional,create=file
lxc.environment: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu
libnvidia-ml.so event though its mounted.dev0: /dev/nvidia0
dev1: /dev/nvidiactl
dev2: /dev/nvidia-uvm
dev3: /dev/nvidia-uvm-tools
dev4: /dev/nvidia-caps/nvidia-cap1
dev5: /dev/nvidia-caps/nvidia-cap2
So what you're ACTUALLY saying, is BUY THE SUB, pleb. Keeping documentation behind fake walled gardens is NOT conductive to learning your software, is it? Thankfully Wendell does what you guys REFUSE to do, and teaches us Proxmox for free.there is no detailed guide in the wiki AFAIK, but there is some guide e.g. for jellyfin: https://jellyfin.org/docs/general/administration/hardware-acceleration/intel#lxc-on-proxmox
basically you have to install the correct nvidia driver on the host and then follow the guide
(the things there are not only specific to jellyfin, but rather generally how to bind mount the gpu device nodes into the container)
mhmm? not sure i get what you mean. which documentation is "behind fake walled gardens" ? every piece of the software and docs are out in the open. Yes, we don't have any detailed guide ourselves on e.g. how you to run jellyfin with a gpu, because there is already the guide i linked to?So what you're ACTUALLY saying, is BUY THE SUB, pleb. Keeping documentation behind fake walled gardens is NOT conductive to learning your software, is it? Thankfully Wendell does what you guys REFUSE to do, and teaches us Proxmox for free.
I've hit the same problem, and looking for a clean way to do this. I need to pass the gpu through to lxc, then to docker. I know this isn't the recommended setup, but it can work, and its the least performance hit and easiest maintenance, in my opinion.
Both of these tutorials do work and do exactly that:
- https://sluijsjes.nl/2024/05/18/cor...to-install-frigate-video-surveillance-server/
- https://digitalspaceport.com/proxmox-lxc-gpu-passthru-setup-guide/
However, this requires manually installing the drivers on the host and all lxc containers that need the gpu. I need to pass this to more than one lxc. Maintaining this will be a nightmare, especially since I (and both of those tutorials) installed it manually, not through apt. I will probably never even update, out of fear of it falling apart.
Does anyone know of a verified method that would only have the drivers on the host, and everything is passed through lxc containers?
I've tried deleting the drivers from the lxc, and adding passthroughs like this (in different combinations of .so files):
Code:lxc.mount.entry: /usr/bin/nvidia-smi usr/bin/nvidia-smi none bind,optional,create=file lxc.mount.entry: /usr/lib/x86_64-linux-gnu/libnvidia-ml.so usr/lib/x86_64-linux-gnu/libnvidia-ml.so none bind,optional,create=file lxc.mount.entry: /usr/lib/x86_64-linux-gnu/libcuda.so usr/lib/x86_64-linux-gnu/libcuda.so none bind,optional,create=file lxc.environment: LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu
I can post more details if someone if willing to have a look, but i was wondering is there a working tutorial out there that I missed. I've spent hours on this, and abusing chatgpt to somehow solve it, but failed in all attempts. Mostly, it can't findlibnvidia-ml.soevent though its mounted.
Side note: in both of these tutorials the mapping can be simplified, to map the devices through the webui, without doing manual mount entries, cgroups etc. At least it works for me, provided that I install the no-kernel driver on the lxc (same as the tutorials do).
Code:dev0: /dev/nvidia0 dev1: /dev/nvidiactl dev2: /dev/nvidia-uvm dev3: /dev/nvidia-uvm-tools dev4: /dev/nvidia-caps/nvidia-cap1 dev5: /dev/nvidia-caps/nvidia-cap2
Unsure if you are OK with installing additional packages on the host, but the add-on ProxMenuX makes this task simple, it helps with a load of other Proxmox tasks in addition to the GPU assignment, it even lets you switch the GPU between CT & VM.Can somebody confirm what's the 'best' way doing this is in 2026?
We use essential cookies to make this site work, and optional cookies to enhance your experience.