Nvidia driver is not working on Ubuntu 22.04

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-bug-report.log.gz (119.0 KB)

Hi, similar issue here as well.

  • Secure boot is off in BIOS.
  • Linux headers were reinstalled
  • GeForce GTX 1050 graphic card is in ASUS laptop
  • nVidia driver 555 installed
# uname -r
5.15.0-112-generic
# 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
# dkms status
nvidia/555.42.02, 5.15.0-112-generic, x86_64: installed
rtl8821ce/5.5.2.1, 5.15.0-107-generic, x86_64: installed
rtl8821ce/5.5.2.1, 5.15.0-112-generic, x86_64: installed
# 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

nvidia-bug-report.log.gz (196.4 KB)