I posted bugreported in X11, but it seems to be a driver bug.
So I am posting the bug here:
Please check Linux for HomeOffice - Sporadic X11 crash when docking/undocking "Failed to enter VT" (#1197) · Issues · xorg / xserver · GitLab
Summary:
It happens sporadically, when docking to multimonitor setup.
[ 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
Systemconfig:
- Most recent Ubuntu 20.04LTS and KDE Plasma version
- 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
In google a similar post came up[1], but I thnik this error is not the same.
I am not using load legaycy option, the post is more than three years old.
[1] (EE) NVIDIA(0): Failed to enter VT (mode initialization failed) with "Load legacy option rom&qu
nvidia-bug-report.log.gz (1.2 MB)