Here’s what happened: I had Ubuntu 19.10 installed + NVIDIA driver 340 + 4K screen. Everything worked file. I upgraded my NVIDIA driver to 435 and then everything is still fine until the login screen (the login screen itself shows perfectly fine). Now, when I enter my password, the screen goes black and after a short while switches to stand-by mode. So, I connected my old HD monitor, rebooted, and everything was just working again!
Funny thing is that, when I’m logged in the OS, if I reconnect my 4K monitor, it works fine! But if I restart the system, the problem persists.
In that bug report you attached the old Xorg.0.log, which is the one from the working GDM session. Please attach/post old the Xorg.1.log from the non-working session.
If it’s not there, please don’t add anything. Please post the output of
sudo cat /sys/module/nvidia_drm/parameters/modeset
(should return ‘N’)
and attach Xorg.1.log from a failed boot.
Since I didn’t know if Xorg.1.log contains the previous boots, here’s what I did: I reproduced a failed boot (by connecting my 4K monitor), then turned off my PC, and connected back the HD monitor, and then saved the Xorg.1.log. I also attached the journalctl log from the previous boot.
All xorg logs are from a boot with only the Dell HD monitor connected.
Please connect the HP monitor, boot, log into black screen, reboot with HD monitor and immediately run nvidia-bug-report.sh as root and attach the resulting .gz file to your post. Hovering the mouse over an existing post of yours will reveal a paperclip icon. https://devtalk.nvidia.com/default/topic/1043347/announcements/attaching-files-to-forum-topics-posts/