📚 Encyclopedia

Linux Desktop · updated 2026-10-13

Powering off an HDMI monitor kills the KDE X11 session (hybrid-GPU laptop)

xorgkdekscreennvidiaprimecrashsuspendlogind

On a laptop whose external monitor hangs off the NVIDIA GPU and whose internal panel hangs off the AMD iGPU, turning the monitor's power off looks to the system exactly like unplugging it. KDE's kscreen then tries to light up the internal panel across GPUs, Xorg segfaults, and the whole Plasma session dies. With the lid closed, logind then suspends. The user experiences "the machine crashed", but uptime shows no reboot.

The sequence (seen twice on VictusPop, 2026-10-03 and 2026-10-06)

  1. External monitor (Dell S2721QS, 4K, HDMI, NVIDIA DFP-0) reports disconnected for about 1 s because it was powered off (to avoid burn-in while long jobs ran).
  2. kscreen disables the HDMI output and tries to enable eDP-1-0 (internal panel, AMD via PRIME) at 1920x1080@144.
  3. Kernel logs nvidia-drm ... Failed to get memory pages for NvKmsKapiMemory; Xorg dies with signal 11; kscreen_backend segfaults in KSC_XRandR.so. Which component is truly at fault (NVIDIA driver vs Xorg) was not established.
  4. The session is gone. Its lid inhibitor (powerdevil) is dead and the lid is closed, so systemd-logind: Suspending... follows. Suspend is a consequence, not the cause. Opening the lid wakes to the login screen.

Triage

Options and why they were rejected

Gotchas

See also

Linked from

Sources: home memory reference_hdmi_drop_session_crash, reference_screen_off_tool