Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions framework/13-inch/common/amd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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") [
Expand Down
8 changes: 5 additions & 3 deletions framework/16-inch/common/amd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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") [
Expand Down