gaming: match monitor by EDID desc to fix 180Hz on connector drift

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
rope 2026-06-07 20:40:26 +01:00
parent 0e36440c71
commit a08e9b6977

View file

@ -48,7 +48,9 @@
boot.loader.systemd-boot.configurationLimit = 5;
boot.initrd.systemd.enable = true;
boot.kernelParams = [ "video=DP-2:3440x1440@180" ];
# Early-console mode hint only (Hyprland sets the real mode at runtime via
# the desc-matched rule below). Connector name has drifted DP-2/DP-3.
boot.kernelParams = [ "video=DP-3:3440x1440@180" ];
# LAN has no IPv6 route — AAAA lookups succeed but connect fails, which
# made NetworkManager's connectivity probe report "limited" at boot
@ -85,8 +87,12 @@
};
home-manager.users.fred = { ... }: {
# Match by description, not connector name: the DRM connector has
# drifted between DP-2/DP-3 depending on which port / cable state the
# GPU enumerated, which silently dropped this rule and fell back to the
# EDID-preferred 60Hz. The description is stable across port renames.
wayland.windowManager.hyprland.settings.monitor = [{
output = "DP-2";
output = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. G34WQCP 25272B000088";
mode = "3440x1440@180";
position = "0x0";
scale = 1;