diff --git a/framework/13-inch/common/amd.nix b/framework/13-inch/common/amd.nix index 4a89f8dae..1f454371e 100644 --- a/framework/13-inch/common/amd.nix +++ b/framework/13-inch/common/amd.nix @@ -7,12 +7,14 @@ ]; boot.kernelParams = [ - # There seems to be an issue with panel self-refresh (PSR) that - # causes hangs for users. + # 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. # # https://community.frame.work/t/fedora-kde-becomes-suddenly-slow/58459 # https://gitlab.freedesktop.org/drm/amd/-/issues/3647 - "amdgpu.dcdebugmask=0x10" + # https://community.frame.work/t/workaround-graphical-corruption-with-780m-igpu/61750 + # https://gist.github.com/lbrame/f9034b1a9fe4fc2d2835c5542acb170a + "amdgpu.dcdebugmask=0x410" ] # Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/ ++ lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") [ diff --git a/framework/16-inch/common/amd.nix b/framework/16-inch/common/amd.nix index 4a89f8dae..1f454371e 100644 --- a/framework/16-inch/common/amd.nix +++ b/framework/16-inch/common/amd.nix @@ -7,12 +7,14 @@ ]; boot.kernelParams = [ - # There seems to be an issue with panel self-refresh (PSR) that - # causes hangs for users. + # 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. # # https://community.frame.work/t/fedora-kde-becomes-suddenly-slow/58459 # https://gitlab.freedesktop.org/drm/amd/-/issues/3647 - "amdgpu.dcdebugmask=0x10" + # https://community.frame.work/t/workaround-graphical-corruption-with-780m-igpu/61750 + # https://gist.github.com/lbrame/f9034b1a9fe4fc2d2835c5542acb170a + "amdgpu.dcdebugmask=0x410" ] # Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/ ++ lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") [