Nvidia-smi not working. How to verify nvidia drivers are working?

Hello,

I am having an issue with the first steps of getting hardware acceleration set up on scale. I cannot seem to verify that nvidia drivers are installed or working correctly. I would eventually like to use HW acceleration for things like jellyfin and immich.

Running lspci does show the card

admin@truenas[~]$ lspci |grep NVIDIA
0d:00.0 VGA compatible controller: NVIDIA Corporation TU104 [GeForce RTX 2080 Rev. A] (rev a1)
0d:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
0d:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1)
0d:00.3 Serial bus controller: NVIDIA Corporation TU104 USB Type-C UCSI Controller (rev a1)

However, when I try to run nvidia-smi, the command is not found


admin@truenas[~]$ nvidia-smi
zsh: command not found: nvidia-smi

I only have a month or so of TrueNAS experience, but am I correct in understanding that nvidia drivers are supposed to come preinstalled and usually just work - indicating I have something wrong in my setup?

Most related forum posts I’ve found on google are cases where nvidia-smi is found at least. I feel like I’m doing something dumb.

Thanks in advance for the support and for reading.

OS Version: Truenas scale ElectricEel-24.10.0
CPU: AMD 5950x
GPU: Nvidia RTX 2080
MoBo: ASRock AM4/X570 Steel Legend
RAM: 128GB ECC

I forgot to mention that one thing I did was ensure secure boot was disabled in the BIOS. I believe it has been disabled since day 1

Try “sudo nvidia-smi” as you are logged in as admin and not root

Unfortunately no luck there

admin@truenas[~]$ sudo nvidia-smi
[sudo] password for admin: 
sudo: nvidia-smi: command not found

There are no Nvidia drivers included in 24.10.

@altoop4
Have you installed the drivers?
Apps / Configuration / Settings

Doh! That’ll do it.

nvidia-smi is working now that I’ve ticked that box to install NVIDIA drivers. I didn’t think to look in the apps menus - would have been great if the search bar returned that tick box when you search “NVIDIA”, but alas :slight_smile:
Thanks for the support!