Files
command-center/dotfiles/zz-blankpad/niri/.config/niri/cfg/desk-1-home.kdl
T
Frank 23372e96f5 fix(niri): pin the ultrawide to the 180 Hz mode its EDID actually offers
desk-1-home.kdl asked the Sceptre M34 for 3440x1440@239.999, a mode the panel
has never offered. niri does not reject an unavailable mode: it logs "configured
mode ... could not be found, falling back to preferred" and drives the EDID
preferred mode - 60 Hz - on every connector event, which is why the monitor
looked like it was dying rather than misconfigured. Read live with
`niri msg outputs`, the mode list tops out at 180.

Also destroys the copies of the phantom number: displays.md carried 239.999 in
its diagram, its panel table and its copy-paste pattern block, and its rule 4
claimed an impossible mode leaves the output dark. Rule 4 now states the real
failure mode, a new section separates config / DP-link / amdgpu-driver faults by
log signature, and wlr-randr is corrected to not-installed (three pages claimed
it; `pacman -Qs wlr` matches nothing).

Applied live with `niri msg output <panel> mode <mode>` - the temporary
per-output path, so no config reload and no logged-out session - verified at
3440x1440 @ 180.000 Hz with the compositor PID unchanged.

Refs #58
2026-10-21 00:05:17 -07:00

61 lines
1.7 KiB
KDL

// ────────────── Desk Profile: home (current rig) ──────────────
// Applied by symlinking this file to cfg/display.kdl (see scripts/desk.sh).
// Panels are keyed by EDID identity (manufacturer model serial), NOT by
// connector name — connector names reshuffle between desks; identity travels.
//
// requires: Sceptre Tech Inc Sceptre M34 Unknown
// requires: Lenovo Group Limited 0x40A9 Unknown
// optional: HDMI-A-1 (PM1601, dock-dependent)
// This panel's EDID tops out at 3440x1440@180 (read live from niri: no 240 Hz mode
// exists). Ask for a mode the panel does not offer and niri does not fail — it logs
// "could not be found, falling back to preferred" and drops to 60 Hz on every
// reconnect. Keep 180 here unless a re-read EDID says otherwise.
output "Sceptre Tech Inc Sceptre M34 Unknown" {
mode "3440x1440@180.000"
scale 1
transform "normal"
position x=1581 y=-600
focus-at-startup
}
// PM1601 portrait panel (dock-dependent). EDID string NOT captured as of
// 2026-10-09 (panel disconnected) — connector-keyed placeholder.
// When plugged in: run `desk.sh capture`, re-key this block to the printed
// long name, update #optional above.
output "HDMI-A-1" {
scale 1
transform "90"
position x=1200 y=0
}
output "Lenovo Group Limited 0x40A9 Unknown" {
scale 1.0
position x=-339 y=-240
focus-at-startup
}
output "DP-2" {
mode "3440x1440@180.000"
scale 1.0
transform "normal"
position x=1581 y=-600
}
output "eDP-1" {
mode "1920x1080@60.001"
scale 1.0
transform "normal"
position x=-339 y=-240
}
output "DP-1" {
mode "3440x1440@180.000"
scale 1.0
transform "normal"
position x=1581 y=-600
}