I bought a Telsa K80 for Frigate (NVR) and want to get it running in docker.
I ran install-dev-tools and added the nvidia-container-toolkit repo.
After rebooting I ran apt install nvidia-tesla-470-driver, however I can’t get the driver to finish the kernel build process
Error! Bad return status for module build on kernel: 6.12.15-production+truenas (x86_64)
Consult /var/lib/dkms/nvidia-tesla-470/470.256.02/build/make.log for more information.
dpkg: error processing package nvidia-tesla-470-kernel-dkms (–configure):
installed nvidia-tesla-470-kernel-dkms package post-installation script subprocess returned error exit status 10
Simple answer: you can’t install drivers yourself. Truenas is designed as an appliance os not a generic linux distro. If you want to install software on the base os you’d have to enable developer mode, but be warned installing software yourself may break the truenas middleware and completly bork your install. iX doesn’t accept bug reports from systems with enabled developer mode unless you can reproduce the error on a clean system.
Yes I enabled developer mode, and I understand the limitations there and that this is meant to be an appliance. It’s just frustrating that an otherwise still perfectly good and working GPU can’t be setup more easily. I can get it to work in a bare install of Debian 12, so why not in TrueNas … I don’t need or want a fancy new $1000+ GPU just for NVR.
I got it working enough where I can see the GPU for VM/Container use (incus now I think) but it won’t work in Docker, which I need for Frigate
Nesting another docker instance in a VM just for this seems kinda dumb when Docker is already available right on the host.
I’ll search for a more compatible GPU and see what turns up I guess. I thought a K80 would have still been good enough, I liked that it had 24 GB and 2 different chips on the card for more flexibility on what I could use it for.