All displays flicker at once on an AMD APU driving several high-refresh screens
drm/amd #5561 matches the symptom and cause: Ryzen AI 9 365, DCN 3.5, 2560x1600@300 eDP plus 2560x1440@144 and @100, simultaneous flicker during scrolling, clean kernel log, auto flickers and high is stable, vendor dcdebugmask=0x610 already disables PSR, PSR-SU and Replay. It also says lowering the panel from 300 to 240 Hz avoids it, which supports the lower-refresh alternative, and that pp_dpm_mclk writes are rejected with EINVAL on that APU, which is why the record labels mclk pinning as a discrete-card option. The Arch wiki AMDGPU page has the pp_dpm_mclk manual/index procedure for deep P-state flicker and the same udev rule shape (ACTION=="add", SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}). I checked whether Omarchy's power-profiles-daemon would overwrite the udev value: its amdgpu_dpm action is opt-in (action-optin TRUE) and /var/lib/power-profiles-daemon/state.ini here has amdgpu_dpm=false, so it does not by default. hl.monitor syntax matches ~/.config/hypr/monitors.lua. No AMD GPU here, so nothing was exercised.
high keeps the GPU clocks up permanently, which on a laptop noticeably raises idle power, heat and fan noise, including on battery. Prefer the lower refresh rate, or remove the udev rule when undocked. A wrong pp_dpm_mclk index is rejected by the kernel and does no harm. echo auto to power_dpm_force_performance_level, or a reboot without the rule, restores the default.
Symptom
With the laptop panel and two external monitors running, all of them flicker briefly at the same moment, most visibly while scrolling or switching windows. It starts within seconds of normal use, every session. GPU load is low, temperatures are normal, and the kernel log has no error at all. With fewer displays, or lower refresh rates, it goes away.
Cause
The driver accepts the combined display configuration but then lets the GPU's memory clock drop through DPM below what that configuration needs, which starves the display pipeline that all outputs share. drm/amd #5561 (Ryzen AI 9 365, Strix Point, DCN 3.5) describes 2560x1600@300 internal plus 2560x1440@144 and @100 externals. It flickered with power_dpm_force_performance_level=auto and was completely stable with high, with PSR, PSR-SU and Replay already disabled by the vendor's amdgpu.dcdebugmask=0x610. So this is not a self-refresh bug.
The Arch wiki describes the same class of problem for discrete cards: deep memory-clock P-states causing flicker or stutter, worked around by forbidding them.
Fix
**1. Test at runtime** (resets at reboot). card? matches card0 to card9 and skips connector directories:
cat /sys/class/drm/card?/device/power_dpm_force_performance_level
echo high | sudo tee /sys/class/drm/card?/device/power_dpm_force_performance_level
If the flicker stops, the memory clock is the cause. Put it back with echo auto.
**2. Cheaper alternatives first.** Lowering one display's refresh rate cuts the bandwidth the pipeline needs. For example, in ~/.config/hypr/monitors.lua on Omarchy 4:
hl.monitor({ output = "eDP-1", mode = "2560x1600@120", position = "auto", scale = 1.6 })
On a discrete card, the Arch wiki's approach of pinning only the memory clock to its top state, while leaving the core clock free, costs less power than high:
cat /sys/class/drm/card?/device/pp_dpm_mclk
echo manual | sudo tee /sys/class/drm/card?/device/power_dpm_force_performance_level
echo 3 | sudo tee /sys/class/drm/card?/device/pp_dpm_mclk # the highest index listed above
**3. Persist with a udev rule.** This is the same on Omarchy 4 and plain Arch:
sudo tee /etc/udev/rules.d/30-amdgpu-perf-high.rules >/dev/null <<'EOF'
ACTION=="add", SUBSYSTEM=="drm", DRIVERS=="amdgpu", ATTR{device/power_dpm_force_performance_level}="high"
EOF
sudo udevadm control --reload
Reboot to confirm that it applies at boot.
Verify
cat /sys/class/drm/card?/device/power_dpm_force_performance_level # high
cat /sys/class/drm/card?/device/pp_dpm_mclk # the * marks the active level
Scroll and switch windows with all displays connected: no simultaneous flicker.