USB-C monitor not detected with nvidia-driver on Ubuntu

I have an HP Zbook G5 with graphical card GP107GLM

Since last Friday I can’t make my monitor working using the USB-C port. It was still working on Thursday (when I run the software updater).

I also completely reinstalled the laptop with a fresh new Ubuntu and the problem is still there…

Some information about my laptop:

lshw -class display
*-display
description: VGA compatible controller
product: GP107GLM [Quadro P1000 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:152 memory:e8000000-e8ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128) memory:e9080000-e90fffff
*-graphics
product: EFI VGA
physical id: 2
logical name: /dev/fb0
capabilities: fb
configuration: depth=32 resolution=1920,1080

lspci|grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GLM [Quadro P1000 Mobile] (rev a1)

nvidia-smi
Mon Dec 4 14:46:20 2023
±--------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.129.03 Driver Version: 535.129.03 CUDA Version: 12.2 |
|-----------------------------------------±---------------------±---------------------+
| 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 Quadro P1000 Off | 00000000:01:00.0 On | N/A |
| N/A 48C P0 N/A / ERR! | 896MiB / 4096MiB | 1% Default |
| | | N/A |
±----------------------------------------±---------------------±---------------------+
±--------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| 0 N/A N/A 1801 G /usr/lib/xorg/Xorg 318MiB |
| 0 N/A N/A 2011 G /usr/bin/gnome-shell 42MiB |
| 0 N/A N/A 3458 C+G …9319132,14200362056835276957,262144 312MiB |
| 0 N/A N/A 8318 G …ures=SpareRendererForSitePerProcess 85MiB |
| 0 N/A N/A 12729 G …sion,SpareRendererForSitePerProcess 88MiB |
±--------------------------------------------------------------------------------------+

uname -r
6.2.0-37-generic

sudo cat /sys/module/nvidia_drm/parameters/modeset
Y

And the result of nvidia-bug-report.sh:
nvidia-bug-report.log.gz (483.5 KB)

Thank you by advance,

Jean-Guy

Already tried a different cable?

Yes sure, I tried 3 different docks (my dock is: HP USB-C Mini Dock / https://support.hp.com/in-en/drivers/hp-usb-c-mini-dock/17859030).

The dock is perfectly working on other laptop.

I also bought a simple cable HDMI to USB-C: https://amzn.eu/d/3TabIFX

But none of them are working on my laptop.

Again, it was working until last Friday.

Can you switch to hybrid graphics in bios? Does the USB-C come alive again if doing so?

I just did it but nothing changed

You could try reverting to the 470 driver though I don’t think that will help. I guess you should try to hard reset the mainboard. Check HP support pages on how to do that on your notebook model.

Hi again,

Thank you very much for your support!

I reverted to the 470 driver but it had no effect.

I will try the hard reset but what is expected? I will need to reinstall the entire os after? (I’m at the office and I need my laptop today…)

It’s just like removing power and battery to discharge the mainboard, just without disassembly.

No.

I guess you should also update your bios beforehand.

Hello generix,

I did the hard reset of the mainboard and it works, the display via USB-C is back!! :-)

But, if I do a normal reboot, the issue is back.

Do you have an idea how to get a definitive solution?

Regards,

This seems to be a firmware issue triggered by newer nvidia drivers. Did you already do the bios update?

I need to ask to my local IT manager to perform the bios upgrade, I let you know, it can take a while…

do you use runtime power management for nvidia gpu? (it might be Chapter 22. PCI-Express Runtime D3 (RTD3) Power Management (Known Issues And Workarounds, p.4))

Does the screen become available once you switch to another tty and back?