From 169a87f3b9a57cea38e70ce5007a2097891d188c Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Wed, 21 Oct 2026 11:12:08 +0800 Subject: [PATCH] fix(ai): pin the 4K monitor to its real 120 Hz mode The 4090 reports the panel 120 Hz mode as 119.880, not 120, so niri fell back to 144 Hz; that DSC link stays dark after a DPMS wake. Assisted-by: DeepSeek Harness (deepseek-flash) --- hosts/idols-ai/niri-hardware.kdl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/idols-ai/niri-hardware.kdl b/hosts/idols-ai/niri-hardware.kdl index 01b8accb..6f0d7911 100644 --- a/hosts/idols-ai/niri-hardware.kdl +++ b/hosts/idols-ai/niri-hardware.kdl @@ -23,7 +23,10 @@ output "Beihai Century Joint Innovation Technology Co.,Ltd P32A2V 0000000000000" // for the resolution. // If the mode is omitted altogether or is invalid, niri will pick one automatically. // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. - mode "3840x2160@120" + // Take the exact value from `niri msg outputs` on this host: niri matches + // refresh rates exactly, so this panel's 120 Hz mode is 119.880 (120/1.001) + // and "@120" falls back to 144 Hz, whose DSC link stays dark on wake. + mode "3840x2160@119.880" // Position of the output in the global coordinate space. // This affects directional monitor actions like "focus-monitor-left", and cursor movement.