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."

I have done “sudo apt-get install nvidia-driver-430”

Which seems to work fine.

prime-select query=> nvidia

nvidia-bug-report.log (635 KB)
nvidia-bug-report.log (734 KB)

I ran nvidia-smi after reboot ofc

You have secure boot enabled so the nvidia driver doesn’t load since it isn’t signed. Please disable secure boot in bios.

I disabled it, still having same issue, I ran the script again, see the attached file(second one).

NVM ty it worked

I have the same issue.

output from 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.

output from nvidia-settings:
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:7815): GLib-GObject-CRITICAL **: 16:26:17.501: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 16:26:17.508: PRIME: No offloading required. Abort
** Message: 16:26:17.508: PRIME: is it supported? no

Secure boot is disabled, os Ubuntu 18.04. I tried multiple drivers, installation through Software & updates or through apt-get, spent 7 hours trying everything. Absolutely no result. Please save me.

nvidia-bug-report.log.gz (2.5 MB)