Hi, i have a similar problem. I have verified secure boot is off in bios. I reinstalled the kernel as suggested. I still see
$ 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. Here is the bug report.
# nvidia-settings
ERROR: NVIDIA driver is not loaded
(nvidia-settings:6901): GLib-GObject-CRITICAL **: 02:18:49.817: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (nvidia-settings:6901): CRITICAL **: 02:18:49.819: ctk_powermode_new: assertion '(ctrl_target != NULL) && (ctrl_target->h != NULL)' failed
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This
file should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will
continue to work, but values cannot be prepopulated or validated, and will not be listed in
the help text. Please see the README for possible values and descriptions.
** Message: 02:18:49.875: PRIME: No offloading required. Abort
** Message: 02:18:49.875: PRIME: is it supported? no
# dpkg -l |grep nvidia
ii libnvidia-cfg1-555:amd64 555.42.02-0ubuntu1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-555 555.42.02-0ubuntu1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-535-server:amd64 535.161.08-0ubuntu2.22.04.1 amd64 NVIDIA libcompute package
ii libnvidia-compute-555:amd64 555.42.02-0ubuntu1 amd64 NVIDIA libcompute package
ii libnvidia-compute-555:i386 555.42.02-0ubuntu1 i386 NVIDIA libcompute package
ii libnvidia-decode-555:amd64 555.42.02-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-decode-555:i386 555.42.02-0ubuntu1 i386 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-555:amd64 555.42.02-0ubuntu1 amd64 NVENC Video Encoding runtime library
ii libnvidia-encode-555:i386 555.42.02-0ubuntu1 i386 NVENC Video Encoding runtime library
ii libnvidia-extra-555:amd64 555.42.02-0ubuntu1 amd64 Extra libraries for the NVIDIA driver
ii libnvidia-fbc1-555:amd64 555.42.02-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-fbc1-555:i386 555.42.02-0ubuntu1 i386 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-555:amd64 555.42.02-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-gl-555:i386 555.42.02-0ubuntu1 i386 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii nvidia-compute-utils-555 555.42.02-0ubuntu1 amd64 NVIDIA compute utilities
rc nvidia-dkms-535-open 535.171.04-0ubuntu0.22.04.1 amd64 NVIDIA DKMS package (open kernel module)
ii nvidia-dkms-555 555.42.02-0ubuntu1 amd64 NVIDIA DKMS package
rc nvidia-dkms-555-open 555.42.02-0ubuntu1 amd64 NVIDIA DKMS package (open kernel module)
ii nvidia-driver-555 555.42.02-0ubuntu1 amd64 NVIDIA driver metapackage
ii nvidia-firmware-555-555.42.02 555.42.02-0ubuntu1 amd64 Firmware files used by the kernel module
ii nvidia-kernel-common-555 555.42.02-0ubuntu1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-555 555.42.02-0ubuntu1 amd64 NVIDIA kernel source package
ii nvidia-prime 0.8.17.1 all Tools to enable NVIDIA's Prime
ii nvidia-settings 510.47.03-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-555 555.42.02-0ubuntu1 amd64 NVIDIA driver support binaries
ii screen-resolution-extra 0.18.2 all Extension for the nvidia-settings control panel
ii xserver-xorg-video-nvidia-555 555.42.02-0ubuntu1 amd64 NVIDIA binary Xorg driver
@zlatan.stajic did you end up solving your issue?
I have the exact same error message, and none of the steps I found online solved my issue.
Doesn’t matter which drivers I use, 535, 545, 550, 560 …
Haven’t tried 555, but I don’t expect that to matter at this point.
I’m on Zorin OS (which is Ubuntu 22-04 based) on a laptop with an RTX4070.
I installed Ubuntu 22.04.5 LTS with Kernel version of 6.8.0-52-generic on my new system.
The system build is Dell G15 5530 with NVIDIA RTX 4060.
I have tried installing the nvidia driver but on each attempt, after rebooting it will black out. (secure boot is turned off)
Steps i have take sudo apt install --reinstall linux-headers-$(uname -r)
ERROR: nvidia-settings could not find the registry key file or the X server is not accessible. This file should have been installed along with this driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The application profiles will continue to work, but values cannot be prepopulated or validated, and will not be listed in the help
text. Please see the README for possible values and descriptions.
** Message: 16:59:26.960: PRIME: No offloading required. Abort
** Message: 16:59:26.960: PRIME: is it supported? no
I have purged and reinstalled many times and purged again
i did nvidia-smi and it gave the options below which i have tried countless time
nvidia-smi
Command ‘nvidia-smi’ not found, but can be installed with:
sudo apt install nvidia-utils-390 # version 390.157-0ubuntu0.22.04.2, or
sudo apt install nvidia-utils-418-server # version 418.226.00-0ubuntu5~0.22.04.1
sudo apt install nvidia-utils-450-server # version 450.248.02-0ubuntu0.22.04.1
sudo apt install nvidia-utils-470 # version 470.256.02-0ubuntu0.22.04.1
sudo apt install nvidia-utils-470-server # version 470.256.02-0ubuntu0.22.04.1
sudo apt install nvidia-utils-535 # version 535.183.01-0ubuntu0.22.04.1
sudo apt install nvidia-utils-535-server # version 535.216.01-0ubuntu0.22.04.1
sudo apt install nvidia-utils-545 # version 545.29.06-0ubuntu0.22.04.2
sudo apt install nvidia-utils-550 # version 550.120-0ubuntu0.22.04.1
sudo apt install nvidia-utils-550-server # version 550.127.05-0ubuntu0.22.04.1
sudo apt install nvidia-utils-510 # version 510.60.02-0ubuntu1
sudo apt install nvidia-utils-510-server # version 510.47.03-0ubuntu3