Hello,
I have a similar issue using: Ubuntu 21.04 5.12.11-051211-generic and GeForce GTX 1650 Ti Mobile
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.
nvidia-settings:
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:27690): GLib-GObject-CRITICAL **: 11:43:16.219: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 11:43:16.227: PRIME: No offloading required. Abort
** Message: 11:43:16.227: PRIME: is it supported? no
dkms status:
nvidia, 460.91.03: added
no blacklist_nvidia.conf file exists
When I try dkms install nvidia/460.91.03 I get:
Error! Your kernel headers for kernel 5.12.11-051211-generic cannot be found.
Please install the linux-headers-5.12.11-051211-generic package,
or use the --kernelsourcedir option to tell DKMS where it’s located
Please find the nvidia-bug-report.log.gz file attached.
Great solution, which worked for me. While I guess I’m more risky as I chose automatic updates and I hear this may cause this issue. I’m testing a solution to re-create the blacklist file for nvidia and chattr +i the file. Let’s see if it occurs again. :)
I am also having problems with my driver in Ubuntu 18.04 with a GPU Geforce RTX 3060 and CPU intel core i7. I have installed the driver by all the methods I have seen online, but on all of them I get the following after introducing the command nvidia-smi:
“NVIDIA-SMI has failed becnvidia-bug-report.log.gz (1.0 MB)
ause it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running”
Right now I am trying with the driver 460, but I have also tried with 470.
I don have the file:
“/lib/modprobe.d/blacklist-nvidia.conf”
If I introduce the command sudo prime-select nvidia, I get:
“Info: the nvidia profile is already set”
I attach my bug report. If any one knows what is going on, I would really appreciate the help.
Ubuntu system does not recognize GPU Nvidia GeForce GTX 1660 Ti
I have a similar problem and I’d appreciate help on this. My configuration below: Microsoft Surface Book 3 Ubuntu 18.04.6 LTS (single OS, previously it was windows 10) fresh ubuntu Secure boot disabled in BIOS Minimum requirements were fulfilled Chapter 2. Minimum Requirements*
Before driver installation, system does not recognize GPU:
I downloaded driver NVIDIA-Linux-x86_64-470.74.run which supports the mentioned GPU, however, it fails with error ERROR: Unable to load the kernel module 'nvidia.ko'
Hey, running into a similar problem as many others.
Trying to get my Geforce RTX 3060 as the primary graphics card on Ubuntu 20.04 (on kernel 5.13) but all attempts to get nvidia-settings opened failed with:
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:4090): GLib-GObject-CRITICAL **: 13:38:30.606: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 13:38:30.610: PRIME: No offloading required. Abort
** Message: 13:38:30.610: PRIME: is it supported? no
I reinstalled everything and tried a lot of the additional settings in this post but won’t get closer.
Secure boot is disabled,
Blacklist is checked.
Attached you can find the output of the bug report. Help would be very much appreciated.
Cheers!
Hi. I am experiencing a similar problem. I use Ubuntu 18.04 in a dual boot system. In Windows 10 the Nvidia drivers are working fine, but on Ubuntu it doesn’t work. nvidia-smi says: “NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.” See attached nvidia-bug-report.log.gznvidia-bug-report.log.gz (138.5 KB)
Hi, I have similar problem as above. My conditions:
Package nvidia-prime is installed
nvidia profile already set
No blacklist-nvidia.conf file in modprobe.d directory.
No nvidia entry in /etc/modprobe.d/blacklist.conf
Secure boot disabled in BIOS.
Using newest nvidia driver 470.
Getting error when opening nvidia-settings: ERROR: NVIDIA driver is not loaded.
I enclosure nvidia log. Thanks if you would help me. nvidia-bug-report.log (1.4 MB)
@marco.c.simoes
First you need to disable secure boot in BIOS.
You installed the driver with the .run file (it failed to compile though). Uninstall it using the --uninstall option.
Then re-install via Ubuntu Software and Updates.
No blacklist-nvidia.conf file in modprobe.d directory.
No nvidia entry in /etc/modprobe.d/blacklist.conf
Secure boot disabled in BIOS.
Using newest nvidia driver 470.
Getting error when opening nvidia-settings: ERROR: NVIDIA driver is not loaded.
I enclosure nvidia log. Thanks if you would help me. Nvidia log below: nvidia-bug-report.log.gz (155.2 KB)
$ sudo apt install nvidia-prime
Reading package lists... Done
Building dependency tree
Reading state information... Done
nvidia-prime is already the newest version (0.8.16~0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
$ sudo prime-select nvidia
Info: the nvidia profile is already set
$ nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:21826): GLib-GObject-CRITICAL **: 16:17:28.054: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** Message: 16:17:28.056: PRIME: No offloading required. Abort
** Message: 16:17:28.056: PRIME: is it supported? no
You’re running a 5.15 kernel that was built for ubuntu 21.10 which has a dependency on glibc 2.33 so no kernel module can be compiled. Please use another kernel.
Hey,
thanks for the quick reply. Updated to 21.10 and reinstalled nvidia-driver-470. Still no success. Nvidia X Server Settings still gives empty window and nvidia-settings still says driver is not loaded.