OPINIONATED OMARCHY
TROUBLESHOOTING CORPUS
790
RECORDS
790
AUDITED
0
UNCHECKED
2388
SOURCES
LIVE
gpu-drivers high occasional DISPUTE

Fix NVIDIA driver crash when switching to a TTY with VRR/G-Sync on

omarchyarchendeavouroscachyosnvidiahyprlandwaylanddesktop
AUDITED Audited against its sources and confirmed accurate.

Symptom

Pressing Ctrl+Alt+F2 (or leaving a G-Sync monitor idle) kills the session or hangs the display. The journal shows:


[drm:nv_drm_atomic_commit [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID ...] Flip event timeout
nvidia-modeset: ERROR: GPU:0: Idling display engine timed out: ...

Cause

The NVIDIA display engine mishandles the mode transition while variable refresh rate (G-Sync / FreeSync) is active, so the atomic commit never completes and the flip times out.

Fix

Easiest test: turn VRR off in the monitor's own OSD menu, and off in Hyprland.

In ~/.config/hypr/hyprland.conf (Hyprland ≤ 0.54):


misc {
    vrr = 0
}

Hyprland 0.55+ / Omarchy 4 Lua config:


hl.set("misc:vrr", 0)

To keep VRR usable for games only, use vrr = 2 (fullscreen only) instead of 0.

System-wide alternative: hide the driver's VRR capability entirely so nothing can enable it. Add this kernel parameter:


nvidia_modeset.conceal_vrr_caps=1
  • systemd-boot: append to options in /boot/loader/entries/*.conf
  • Limine: append to cmdline: in /boot/limine.conf
  • GRUB: add to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub, then sudo grub-mkconfig -o /boot/grub/grub.cfg

Reboot.

Verify

hyprctl getoption misc:vrr reports 0. Ctrl+Alt+F2 and back no longer hangs, and journalctl -k | grep 'Flip event timeout' stays empty.

Sources

nvidia-vrr-tty-switch-flip-timeout