Linux for HomeOffice Docking/Undocking produces (EE) NVIDIA(0): Failed to enter VT (mode initialization failed)

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 "Faile

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


  • 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)

Additional info:
I tried a fresh Ubuntu 20.04LTS with default GNome and recent 470.42.01 beta driver as suggested by X11 maintainers.
Also here same effect. Only that Gnome just restarts the desktop without any crash.

Seems to be reproducable when moinotrs and dockingstation have been power cycled.
nvidia-bug-report.log.gz (1.4 MB)
dmesg.txt (207.5 KB)
fwupdmgr_get-topology.txt (9.8 KB)
fwupdmgr_get-updates.txt (1.3 KB)
issue.txt (26 Bytes)
lspci.txt (3.4 KB)
lsusb.txt (1.6 KB)
meminfo.txt (1.4 KB)
nvidia-smi.txt (1.7 KB)
syslog (6.5 MB)
uname.txt (113 Bytes)
Xorg.0.log (89.9 KB)
Xorg.0.log.old (35.6 KB)
Xorg.1.log (55.5 KB)
Xorg.1.log.old (122.6 KB)
xrandr.txt (2.0 KB)
Xversion.txt (717 Bytes)

X11 doesn’t crash (most) of the time, if monitors have not been powercycled.
But after power cycling, X11 crashes everytime:

  1. Switch off monitors and dockingstation → Causes X11 to crash on later resume
  2. Turn on monitors&dockingstation after 60sec
  3. Dock Laptop to dockingstation
  4. Resume laptop after 30sec
  5. X11 Crash (NVIDIA error “Invalid surface parameters”)

Any help/hint very much appreciated - having an unreliable NVIDIA RTX 5000 GPU in laptop, I am completely clueless.

Just an update , in case an expert will read it

Same behavior also with Ubuntu 21.04 and NVIdia 470.57.02.

nvidia-bug-report.log.gz (1.2 MB)
Xorg.0.log (56.4 KB)
Xorg.0.log.old (62.2 KB)
Xorg.1.log (42.0 KB)
Xorg.1.log.old (304.2 KB)

nvidia-bug-report.log.gz.good (1.1 MB)