External Monitor getting no input from laptop on Ubuntu 22.04 with GeForce RTX 3050 Ti Mobile

First of all :)
nvidia-bug-report.log.gz (145.0 KB)

I have a dual boot Windows 11 with Ubuntu 22.04. My windows works fine and external monitors work with it.

Initially the built-in screen was not recognized by the OS, therefore I figured the problem was graphics. I have a HP Victus 16-e0007ni with a NVIDIA GeForce RTX 3050 Ti Mobi and build-in AMD Graphics. Here is a result of a command that might help.

~$ lspci | grep VGA

01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Ti Mobile] (rev a1)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5)

I then swapped from what was described in the Software & Update application as a custom installed driver. To proprietary NVIDIA drivers using

~$ sudo apt install nvidia-driver-510 
~$ reboot

and similar commands (i.e. 470 et cetera), after testing all of them the same thing happened.

They fixed the problem of the laptop’s built-in display not being recognized, however none of them recognized my external monitor. Further, I tried the X.org drivers. Here it worked the first time I booted, however from then on I had to boot to safe mode first for it to boot in at all. So in conclusion I now switched back, using

~$ sudo ubuntu-drivers autoinstall

to nvidia-driver-515.

Anyway so here are a few suspicious things:

nvidia-smi throws this error. This leaves me to believe there is a error with loading the graphics driver.

~$ 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.

Another suspicious output:

 xrandr --listproviders
Providers: number : 0

This is my GPU-Manager log file

gpu-manager.log (27.2 KB)

These are the Nvidia packages I believe.

dpkg -l | grep nvidia
ii  libnvidia-cfg1-515:amd64                   515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-515                       515.65.01-0ubuntu0.22.04.1              all          Shared files used by the NVIDIA libraries
rc  libnvidia-compute-470:amd64                470.129.06-0ubuntu0.22.04.1             amd64        NVIDIA libcompute package
rc  libnvidia-compute-510:amd64                510.73.05-0ubuntu0.22.04.1              amd64        NVIDIA libcompute package
ii  libnvidia-compute-515:amd64                515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA libcompute package
ii  libnvidia-compute-515:i386                 515.65.01-0ubuntu0.22.04.1              i386         NVIDIA libcompute package
ii  libnvidia-decode-515:amd64                 515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-515:i386                  515.65.01-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-515:amd64                 515.65.01-0ubuntu0.22.04.1              amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-515:i386                  515.65.01-0ubuntu0.22.04.1              i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-515:amd64                  515.65.01-0ubuntu0.22.04.1              amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-515:amd64                   515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-515:amd64                     515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-515:i386                      515.65.01-0ubuntu0.22.04.1              i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
rc  linux-modules-nvidia-515-5.15.0-41-generic 5.15.0-41.44+1                          amd64        Linux kernel nvidia modules for version 5.15.0-41
rc  linux-objects-nvidia-515-5.15.0-41-generic 5.15.0-41.44+1                          amd64        Linux kernel nvidia modules for version 5.15.0-41 (objects)
rc  nvidia-compute-utils-470                   470.129.06-0ubuntu0.22.04.1             amd64        NVIDIA compute utilities
rc  nvidia-compute-utils-510                   510.73.05-0ubuntu0.22.04.1              amd64        NVIDIA compute utilities
ii  nvidia-compute-utils-515                   515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA compute utilities
rc  nvidia-dkms-470                            470.129.06-0ubuntu0.22.04.1             amd64        NVIDIA DKMS package
rc  nvidia-dkms-510                            510.73.05-0ubuntu0.22.04.1              amd64        NVIDIA DKMS package
ii  nvidia-dkms-515                            515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA DKMS package
ii  nvidia-driver-515                          515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA driver metapackage
rc  nvidia-kernel-common-470                   470.129.06-0ubuntu0.22.04.1             amd64        Shared files used with the kernel module
rc  nvidia-kernel-common-510                   510.73.05-0ubuntu0.22.04.1              amd64        Shared files used with the kernel module
ii  nvidia-kernel-common-515                   515.65.01-0ubuntu0.22.04.1              amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-515                   515.65.01-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-515                           515.65.01-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-515              515.65.01-0ubuntu0.22.04.1              amd64        NVIDIA binary Xorg driver

This I believe this confirms my Graphics card is picked up at least

sudo dmesg | grep -i hdmi
[sudo] password for raymond: 
[    0.308917] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    3.551965] input: HD-Audio Generic HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:08.1/0000:06:00.1/sound/card1/input18
[    3.552696] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input19
[    4.516660] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input20
[    4.516692] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input21
[    4.516723] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input22

These are all the Graphics Drivers I tried with all the same problem of external monitor not displaying

~$ apt list | grep nvidia-driver

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

nvidia-driver-390/jammy-updates,jammy-security 390.154-0ubuntu0.22.04.1 amd64
nvidia-driver-390/jammy-updates,jammy-security 390.154-0ubuntu0.22.04.1 i386
nvidia-driver-418-server/jammy 418.226.00-0ubuntu4 amd64
nvidia-driver-418/jammy 430.50-0ubuntu3 amd64
nvidia-driver-430/jammy 440.100-0ubuntu1 amd64
nvidia-driver-435/jammy 455.45.01-0ubuntu1 amd64
nvidia-driver-440-server/jammy-updates,jammy-security 450.203.03-0ubuntu0.22.04.1 amd64
nvidia-driver-440/jammy 450.119.03-0ubuntu1 amd64
nvidia-driver-450-server/jammy-updates,jammy-security 450.203.03-0ubuntu0.22.04.1 amd64
nvidia-driver-450/jammy 460.91.03-0ubuntu1 amd64
nvidia-driver-455/jammy 460.91.03-0ubuntu1 amd64
nvidia-driver-460-server/jammy-updates,jammy-security 470.141.03-0ubuntu0.22.04.1 amd64
nvidia-driver-460/jammy-updates,jammy-security 470.141.03-0ubuntu0.22.04.1 amd64
nvidia-driver-465/jammy-updates,jammy-security 470.141.03-0ubuntu0.22.04.1 amd64
nvidia-driver-470-server/jammy-updates,jammy-security 470.141.03-0ubuntu0.22.04.1 amd64
nvidia-driver-470/jammy-updates,jammy-security 470.141.03-0ubuntu0.22.04.1 amd64
nvidia-driver-495/jammy 515.48.07-0ubuntu0.22.04.1 amd64
nvidia-driver-510-server/jammy-updates,jammy-security 510.85.02-0ubuntu0.22.04.1 amd64
nvidia-driver-510/jammy-updates,jammy-security 510.85.02-0ubuntu0.22.04.1 amd64
nvidia-driver-515-server/jammy-updates,jammy-security 515.65.01-0ubuntu0.22.04.1 amd64
nvidia-driver-515/jammy-updates,jammy-security,now 515.65.01-0ubuntu0.22.04.1 amd64 [installed]

No clue what this is what I saw someone else post (probably applicable on most of the information I have posted)

sudo lshw -c video 
       description: VGA compatible controller
       product: GA107M [GeForce RTX 3050 Ti Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: /dev/fb0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list fb
       configuration: depth=32 latency=0 mode=1920x1080 visual=truecolor xres=1920 yres=1080
       resources: iomemory:fe0-fdf iomemory:ff0-fef memory:fb000000-fbffffff memory:fe00000000-feffffffff memory:ff00000000-ff01ffffff ioport:f000(size=128) memory:fc000000-fc07ffff
       description: VGA compatible controller
       product: Cezanne
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: /dev/fb0
       version: c5
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list fb
       configuration: depth=32 driver=amdgpu latency=0 resolution=1920,1080
       resources: irq:45 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:c000(size=256) memory:fc500000-fc57ffff

What are the chances? An NVIDIA driver update just became available an hour after I posted this and now my driver is picked up! (I just went a month without a second screen!)
The nvidia-smi runs and I have 2 screens.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.