Nope but I guess a workaround would be to make a oneshot workaround-nvidia-gpu.service systemd unit file that runs the command and have the lxc autostart depend on it?
Might be something about PCI resets that running the command triggers 🤷♀️
Nope but I guess a workaround would be to make a oneshot workaround-nvidia-gpu.service systemd unit file that runs the command and have the lxc autostart depend on it?
Might be something about PCI resets that running the command triggers 🤷♀️
Check lsmod and see if the kernel modules are loaded. Nvidia smi is probably loading them for you on first run.
Most of the setup guides I've seen, have a udev rule that runs nvidia-modprobe. Here's one I just found.
all 3 comments