"nvidia-smi" do not work.

OS: Ubuntu 18.04 (4.15.0-43-generic)

I use “Geforce GTX1080 Ti” and device info is follows:

~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:1c.4/0000:05:00.0/0000:06:01.0/0000:09:00.0/0000:0a:01.0/0000:0b:00.0 ==
modalias : pci:v000010DEd00001B06sv000010DEsd0000120Fbc03sc00i00
vendor : NVIDIA Corporation
model : GP102 [GeForce GTX 1080 Ti]
driver : nvidia-driver-390 - distro non-free recommended
driver : xserver-xorg-video-nouveau - distro free builtin

I installed nvidia-driver-390, and recognized as proprietary driver in use at “Software & Updates”.

But, “nvidia-smi” command doesn’t work.

~$ 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.

NVRM is follows:

~$ dmesg | grep -i nvrm | head

[ 5403.502055] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0b:00.0)
[ 5403.502056] NVRM: The system BIOS may have misconfigured your GPU.
[ 5403.502072] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 5403.502072] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 5403.635864] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 0M @ 0x0 (PCI:0000:0b:00.0)
[ 5403.635864] NVRM: The system BIOS may have misconfigured your GPU.
[ 5403.635878] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 5403.635878] NVRM: None of the NVIDIA graphics adapters were initialized!

What should I do fix this?

Either a kernel/bios/mainboard incompatibility, check for a bios update, test upgrading the kernel.

All things must be working perfectly
TURN OFF SECURE BOOT and try again nvidia-smi

Did you solve your problem? I’m having a very similar one…