From f51e6789f31a2241333887e414b467cc117342e1 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 14 Jan 2026 11:22:21 -0500 Subject: [PATCH] mreow: try and fix graphical corruption issue --- system/system-mreow.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/system-mreow.nix b/system/system-mreow.nix index ecfc6ad..aadfc75 100644 --- a/system/system-mreow.nix +++ b/system/system-mreow.nix @@ -14,6 +14,12 @@ inputs.nixos-hardware.nixosModules.framework-amd-ai-300-series ]; + # Disable PSR, PSR-SU, and Panel Replay to fix display hangs and corruption. + # Panel Replay requires PSR/PSR-SU to also be disabled to avoid issues. + # This overrides nixos-hardware's 0x10 with 0x410 (last value wins in kernel cmdline). + # https://github.com/NixOS/nixos-hardware/pull/1692 + boot.kernelParams = lib.mkAfter [ "amdgpu.dcdebugmask=0x410" ]; + hardware.framework.laptop13.audioEnhancement.rawDeviceName = lib.mkDefault "alsa_output.pci-0000_c1_00.6.analog-stereo";