I want to execute
nvidia-smi
, but it doesn’t work.
CPU: Intel Core i7-7700HQ CPU @ 2.80GHz (4 cores)
Memory Total: about 66GB
GPU: NVIDIA GeForce GTX 1060
Ubuntu 16.04 LTS 64-bit
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
So, I tried to install nvidia driver.
- Access http://www.nvidia.co.jp/Download/index.aspx? and download installer.
- run the driver like below.
$ sudo sh NVIDIA-Linux-x86_64-375.39.run
But some errors happened.
Please read the following LICENSE and then select either "Accept" to accept the license and continue with the installation, or select "Do Not Accept" to abort the installation.
[Accept]
There appears to already be a driver installed on your system (version: 375.39). As part of installing this driver (version: 375.39), the existing driver will be uninstalled. Are you sure you want to continue?
[Continue installation]
The distribution-provided pre-install script failed! Are you sure you want to continue?
[Continue installation]
Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later.
[Yes]
Install NVIDIA's 32-bit compatibility libraries?
[Yes]
WARNING: Unable to determine the path to install the libglvnd EGL vendor library config files. Check that you have pkg-config and the libglvnd development libraries installed, or specify a path with --glvnd-egl-config-path.
[OK]
Installing DKMS kernel module:
ERROR: Unable to load the 'nvidia-drm' kernel module.
[OK]
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com
[OK]
What should I do?