Just an update: I can reproduce this problem with Ubuntu 20.04, stock Gnome and latest NVidia beta driver 470.42.01 as suggested by X11 maintainers.
Gnome doesn't crash, but just restarts the desktop. The var/crash folder is also empty, and EnterVT errors are printed in syslog I posted at NVIDIA the issue: https://forums.developer.nvidia.com/t/linux-for-homeoffice-docking-undocking-produces-ee-nvidia-0-failed-to-enter-vt-mode-initialization-failed/183481/2 I observed, that when the monitors and dockingstations are powercycled, the sporadic desktop crash on resume ahppens almost every 2nd time. MIght be the monitors just need just more time the be ready for X11/nvidia?? ** Attachment added: "desktopcrash_after_resume.2_nvidia470_beta.zip" https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/+bug/1935951/+attachment/5511468/+files/desktopcrash_after_resume.2_nvidia470_beta.zip -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to nvidia-graphics-drivers-460 in Ubuntu. https://bugs.launchpad.net/bugs/1935951 Title: [nvidia] HomeOffice & Un-/Docking: X11 crash on resume when docked to multi monitor Status in nvidia-graphics-drivers-460 package in Ubuntu: Incomplete Bug description: X11 crashes on resume and my current desktop is lost and the login manager appears. I posted a bugreported here https://gitlab.freedesktop.org/xorg/xserver/-/issues/1197 with configu details. But it seems to be nvidia, but may be a workaround is possible in Ubuntu? This bug prevents me to use Linux for daily docking /undocking cycles for HomeOffice (works fine with Windows). [ 1272.639] (II) NVIDIA(0): Setting mode "DP-4: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}" [ 1272.639] (WW) NVIDIA(0): Failed to set the display configuration [ 1272.639] (WW) NVIDIA(0): - Setting a mode on head 1 failed: Invalid surface parameters [ 1272.639] (WW) NVIDIA(0): were specified [ 1272.639] (EE) NVIDIA(0): Failed to enter VT (mode initialization failed) [ 1272.639] (EE) Fatal server error: [ 1272.639] (EE) EnterVT failed for screen 0 [ 1272.639] (EE) [ 1272.639] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 1272.639] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information. [ 1272.639] (EE) [ 1274.034] (EE) Server terminated with error (1). Closing log file. I found something similar which could handle the EnterVT failed issue: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/443/ but I am not sure if it is already in Ubuntu 20.04 LTS Hardware: Hardware used: Dell Precision 15" 7540, Xeon E-2286M@2.4GHz, 128 GB ECC RAM, NVIDIA Quadro RTX 5000 16GB VRAM Dockingstations at Home and Offices: WD19DC (240W) Monitors used for Linux migration Office1: 2x 4K U4320Q, 42.5" @ 96dpi font / No scaling a Monitors used for Linux migration Office2: 2xU3818DW, 37.5" Monitors used for Linux migration at home: 3x FullHD Dell monitors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-460/+bug/1935951/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp