Nvidia-smi command not found ubuntu 16.04
I am trying to install nvidia drivers on my ubuntu 16.04 (I have a GeForce GTX 960M). I tried a lot of methods shown on the internet but none seemed to work (I saw How to install nvidia-smi?, nvidia-smi: command not found on Ubuntu 16, but these did not help...)
Indeed when I run nvidia-smi
, I get nvidia-smi
command not found, and when I run lshw -numeric -C display
I see that my graphical card is has status display unclaimed
. I don't know if it is related but it seems weird
Best Answer
The solution that worked for me was to disable secure boot when rebooting after installing the NVIDIA drivers.
sudo apt purge nvidia-*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-381
Then reboot, in the menu choose "change secure boot options", put the password you previously chose and disable the secure boot.