Nvidia driver didn't load - Ubuntu 22.04 Login Splash Showing on Notebook Monitor Instead of External Monitor


I have an additional monitor connected via HDMI to my Dell G3 notebook. The login splash of Ubuntu 22.04 used to always appear on the extra monitor, but recently it started appearing on the notebook’s monitor. This means that the Nvidia driver didn’t load. I tried removing everything and reinstalling, but without success.

# nvidia-smi 
Fri Jul 14 22:18:07 2023       
| NVIDIA-SMI 525.125.06   Driver Version: 525.125.06   CUDA Version: 12.0     |
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   44C    P8     2W /  50W |     54MiB /  4096MiB |     25%      Default |
|                               |                      |                  N/A |
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|    0   N/A  N/A      3219      G   /usr/lib/xorg/Xorg                 53MiB |
# uname -r
# dpkg -l |grep nvidia
ii  libnvidia-cfg1-525:amd64                   525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-525                       525.125.06-0ubuntu0.22.04.1                all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-525:amd64                525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA libcompute package
ii  libnvidia-compute-525:i386                 525.125.06-0ubuntu0.22.04.1                i386         NVIDIA libcompute package
ii  libnvidia-decode-525:amd64                 525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-525:i386                  525.125.06-0ubuntu0.22.04.1                i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64               1:1.1.9-1.1                                amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-525:amd64                 525.125.06-0ubuntu0.22.04.1                amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-525:i386                  525.125.06-0ubuntu0.22.04.1                i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-525:amd64                  525.125.06-0ubuntu0.22.04.1                amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-525:amd64                   525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-525:amd64                     525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-525:i386                      525.125.06-0ubuntu0.22.04.1                i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  linux-modules-nvidia-525-5.15.0-76-generic 5.15.0-76.83+5                             amd64        Linux kernel nvidia modules for version 5.15.0-76
ii  linux-modules-nvidia-525-generic           5.15.0-76.83+5                             amd64        Extra drivers for nvidia-525 for the generic flavour
ii  linux-objects-nvidia-525-5.15.0-76-generic 5.15.0-76.83+5                             amd64        Linux kernel nvidia modules for version 5.15.0-76 (objects)
ii  linux-signatures-nvidia-5.15.0-76-generic  5.15.0-76.83+5                             amd64        Linux kernel signatures for nvidia modules for version 5.15.0-76-generic
ii  nvidia-compute-utils-525                   525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA compute utilities
ii  nvidia-driver-525                          525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-525                   525.125.06-0ubuntu0.22.04.1                amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-525                   525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA kernel source package
ii  nvidia-prime                                                        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-525                           525.125.06-0ubuntu0.22.04.1                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-525              525.125.06-0ubuntu0.22.04.1                amd64        NVIDIA binary Xorg driver

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

If you need any further information, please don’t hesitate to ask.



It’s working now!

Here’s what I did:

  • I installed nvidia-dkms-525, which I noticed was missing.
  • I removed the Intel driver xserver-xorg-video-intel.
  • I ran “prime-select intel”.
  • I ran “prime-select nvidia”.
  • I rebooted the system.