Article 6PQ10 monitor not detected by nvidia driver after restart, but not always

monitor not detected by nvidia driver after restart, but not always

by
ardabro
from LinuxQuestions.org on (#6PQ10)
hi all
Configuration:
MB: MSI B760, GFX: Nvidia-1650,
Nvidia proprietary driver, Debian Bookworm
Dell 4K monitor on HDMI

I'm experiencing an issue with the driver not detecting my monitor after restart. One or more cold resets usually help. GRUB and kernel log at the start is shown normally, then it goes to a black screen when the graphical session is started.
When I resume from standby another issue usually appears: the screen is black on the x-org console, but I'm able to switch to text: ctrl+alt+1 and then immediately to gfx: ctrl+alt+7, and then the image is back.
What could be the reason for these? An issue with the monitor? A HDMI cable? Is there a chance that switching to DP-cable will help?
I see the following in xorg.o.log in a failing restart case:

Code:[ 6.686] (--) NVIDIA(0): Memory: 4194304 kBytes
[ 6.686] (--) NVIDIA(0): VideoBIOS: 90.06.5e.00.74
[ 6.686] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 6.686] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 6.686] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[ 6.686] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[ 6.686] (--) NVIDIA(GPU-0):
[ 6.686] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 6.686] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 6.686] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 6.686] (--) NVIDIA(GPU-0):
[ 6.686] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 6.686] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 6.686] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[ 6.686] (--) NVIDIA(GPU-0):
[ 6.686] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 6.686] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[ 6.686] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[ 6.686] (--) NVIDIA(GPU-0):
[ 6.686] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[ 6.686] (--) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 6.687] (II) NVIDIA(0): Validated MetaModes:
[ 6.687] (II) NVIDIA(0): "NULL"
[ 6.687] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 6.687] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 6.687] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments