From 72db6ca7846b3e3a13b34cffe871dcc8086a8bcc Mon Sep 17 00:00:00 2001 From: thomas Date: Fri, 9 Oct 2026 16:53:56 +0100 Subject: [PATCH] Fix: Disabled VRR to stop flickering on Acer monitor Co-Authored-By: Claude Opus 5.5 --- dotfiles/.config/hypr/UserConfigs/monitors.conf | 2 +- dotfiles/.config/hypr/core/hyprmod.lua | 9 +++++++-- dotfiles/.config/hypr/hyprland-gui.conf | 9 +++++++-- dotfiles/.config/hypr/layout/monitors.lua | 2 +- 4 files changed, 16 insertions(+), 6 deletions(-) diff --git a/dotfiles/.config/hypr/UserConfigs/monitors.conf b/dotfiles/.config/hypr/UserConfigs/monitors.conf index 8449297..9d60854 100644 --- a/dotfiles/.config/hypr/UserConfigs/monitors.conf +++ b/dotfiles/.config/hypr/UserConfigs/monitors.conf @@ -8,5 +8,5 @@ # <<<<< TUI AUTO START monitor=desc:LG Electronics LG ULTRAWIDE 0x0002E68A,2560x1080@60.00000,1920x-740,1.00000000,transform,3,vrr,0 monitor=desc:HP Inc. HP 524pf VNG447017D,1920x1080@100.00000,-1920x0,1.00000000,transform,0,vrr,0 -monitor=desc:Acer Technologies VG240Y S 0x126191DE,1920x1080@165.00301,0x0,1.00000000,transform,0,vrr,1,bitdepth,10,cm,wide +monitor=desc:Acer Technologies VG240Y S 0x126191DE,1920x1080@165.00301,0x0,1.00000000,transform,0,vrr,0,bitdepth,10,cm,wide # <<<<< TUI AUTO END diff --git a/dotfiles/.config/hypr/core/hyprmod.lua b/dotfiles/.config/hypr/core/hyprmod.lua index aecc459..29d9f9c 100644 --- a/dotfiles/.config/hypr/core/hyprmod.lua +++ b/dotfiles/.config/hypr/core/hyprmod.lua @@ -5,6 +5,11 @@ -- whatever it last wrote. If you reinstall HyprMod, prefer letting its own "Migrate to Lua…" -- wizard take over managing this file instead of hand-editing it going forward. +-- vrr forced off globally: the per-monitor vrr = 0 flag below does NOT override this when +-- misc.vrr is 1 (tested live on Hyprland 0.56.2 — DP-2 stayed vrr:true until this global +-- was changed). DP-2 (Acer VG240Y S) flickers under VRR when idle in fullscreen (mouse +-- stationary -> no repaint damage -> frame delivery stalls near the panel's VRR floor). +-- The other two monitors don't negotiate VRR at all, so this has no effect on them. hl.config({ general = { allow_tearing = true, @@ -13,12 +18,12 @@ hl.config({ }, }, misc = { - vrr = 1, + vrr = 0, }, }) -- Monitors -hl.monitor({ output = "DP-2", mode = "1920x1080@165.00Hz", position = "0x0", scale = 1, bitdepth = 10, cm = "wide" }) +hl.monitor({ output = "DP-2", mode = "1920x1080@165.00Hz", position = "0x0", scale = 1, bitdepth = 10, cm = "wide", vrr = 0 }) -- Keybinds -- (unbind = SUPER SHIFT, Print / unbind = SUPER, up from the source .conf have no Lua equivalent needed — diff --git a/dotfiles/.config/hypr/hyprland-gui.conf b/dotfiles/.config/hypr/hyprland-gui.conf index f766fd3..9a5bd14 100644 --- a/dotfiles/.config/hypr/hyprland-gui.conf +++ b/dotfiles/.config/hypr/hyprland-gui.conf @@ -2,10 +2,15 @@ general:allow_tearing = 1 general:snap:enabled = 0 -misc:vrr = 1 +# vrr forced off globally: the per-monitor vrr,0 flag below does NOT override this when +# misc:vrr is 1 (tested live on Hyprland 0.56.2 — DP-2 stayed vrr:true until this global +# was changed). DP-2 (Acer VG240Y S) flickers under VRR when idle in fullscreen (mouse +# stationary -> no repaint damage -> frame delivery stalls near the panel's VRR floor). +# The other two monitors don't negotiate VRR at all, so this has no effect on them. +misc:vrr = 0 # Monitors -monitor = DP-2, 1920x1080@165.00Hz, 0x0, 1, bitdepth, 10, cm, wide +monitor = DP-2, 1920x1080@165.00Hz, 0x0, 1, bitdepth, 10, cm, wide, vrr, 0 # Keybinds unbind = SUPER SHIFT, Print diff --git a/dotfiles/.config/hypr/layout/monitors.lua b/dotfiles/.config/hypr/layout/monitors.lua index 87e7d66..2c9a348 100644 --- a/dotfiles/.config/hypr/layout/monitors.lua +++ b/dotfiles/.config/hypr/layout/monitors.lua @@ -10,6 +10,6 @@ -- <<<<< TUI AUTO START hl.monitor({ output = "desc:LG Electronics LG ULTRAWIDE 0x0002E68A", mode = "2560x1080@60.00000", position = "1920x-740", scale = 1.00000000, transform = 3, vrr = 0 }) hl.monitor({ output = "desc:HP Inc. HP 524pf VNG447017D", mode = "1920x1080@100.00000", position = "-1920x0", scale = 1.00000000, transform = 0, vrr = 0 }) -hl.monitor({ output = "desc:Acer Technologies VG240Y S 0x126191DE", mode = "1920x1080@165.00301", position = "0x0", scale = 1.00000000, transform = 0, vrr = 1, bitdepth = 10, cm = "wide" }) +hl.monitor({ output = "desc:Acer Technologies VG240Y S 0x126191DE", mode = "1920x1080@165.00301", position = "0x0", scale = 1.00000000, transform = 0, vrr = 0, bitdepth = 10, cm = "wide" }) hl.monitor({ output = "HEADLESS-1", mode = "1728x1080@60.00000", position = "4480x0", scale = 1.00000000, transform = 0, vrr = 0 }) -- <<<<< TUI AUTO END