After waking from suspend, my external monotor on usb-c/Displayport does not get signal. screen stays black. I need to disconnect my usb-c docking station and reconnect for nvidia graphics card to detect the external monitor again. This ritual needs to be done everytime after waking from suspend.
If the same monitor is connected to HDMI port, this does not happen and monitor gets signal correctly after suspend.
Machine: MSI Bravo laptop with AMD Ryzen 7730 CPU
Graphics card: RTX 4060
Please run nvidia-bug-report.sh as root after suspend/resume and attach the resulting nvidia-bug-report.log.gz file to your post.
Here is the bug report:
nvidia-bug-report.log.gz (534.7 KB)
No errors in the log, the dock seems to be gone after suspend. Which exact model is this?
Not much info to be found about that. I suspect the dock doesn’t recognize the laptop is sleeping and disables the DisplayPort converter because signal is lost. Is the power adater connected to the dock? In that case, does it stay alive after sleep without power connected to it?
The issue is likely on nvidia driver side since the dock has a lot of other things connected, like keyboard, mouse, audio interface, usb-hub etc, all of which work fine after suspend. Only the monitor when connected via usb-c displayport has this issue after suspend.
In fact, I am typing right now after waking from suspend, my external monitor is black, only laptop display is functional. All other things connected to dock are working fine. Once I do my ritual of disconnecting and reconnecting my usb-c dock, the nvidia driver is able to detect the external monitor. The nvidia driver seems to need this usb-c connect event to detect the monitor again.