Hi! Sometimes, when resuming from screen blanking, i can see the screen where i left but the screen is not responsive, but the laptop keeps running (music or renderings). I have to restart via tty. It happens at every 5th or so screen blanking, i could not reproduce it.
Tried a lot but ran out of ideas. Can anyone help?
I cannot switch to Wayland because it does not give control over HDMI Output (like nvidia does, with color range and gamma settings) and lots of the apps look fuzzy (fractionized scaling).
Relevant System Information
Asus Rog Strix laptop, nvidia 4070 mobile, newest 595 driver
The Trigger: When the laptop is left idle and the monitor turns off (Screen Blanking / Standby), the system freezes upon waking up.
Freeze Behavior: The screen wakes up displaying an “old screenshot” (a frozen visual buffer from the past, usually several hours old). The desktop is kind of unresponsive to mouse/keyboard inputs. The only escape is switching to a TTY to force a restart gdm3.
Crucial Clue: Background processes continue perfectly—audio/music keeps playing through the speakers without stuttering. The kernel is alive; only the X-server crashes. This issue never happens under a Wayland session.
Extracted Log Errors (from Xorg.0.log.old)
Right before the crash, when Xorg tries to restore the graphical terminal upon monitor wakeup, it throws these Input/Output warnings:
Diagnosis: A critical signaling/handshake failure between the Linux kernel’s Virtual Terminals (TTYs), Xorg, and the NVIDIA driver module when recovering from display sleep?
NVIDIA VRAM allocation preservation (NVreg_PreserveVideoMemoryAllocations=1) → Removed, did not fix the cache sync bug.
NVIDIA Dynamic Power Management tweaks (0x02 / 0x00) → Removed, no effect.
NVIDIA Persistence Mode (nvidia-persistenced.service) → Active, but doesn’t prevent the VT-switch crash on its own.
PCIe ASPM power saving parameters in GRUB → Removed, since the freeze happens regardless of the Ubuntu power profile (Power Saver/Balanced/Performance).
Xorg HardDPMS "false" device option → Removed, caused a black screen with a blinking cursor on boot.