mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-07 02:18:47 +08:00
framework: workaround display issues on AMD GPUs
This commit is contained in:
committed by
mergify[bot]
parent
863e3ca998
commit
f6581f1c3b
@@ -5,8 +5,17 @@
|
|||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.kernelParams =
|
||||||
|
[
|
||||||
|
# There seems to be an issue with panel self-refresh (PSR) that
|
||||||
|
# causes hangs for users.
|
||||||
|
#
|
||||||
|
# https://community.frame.work/t/fedora-kde-becomes-suddenly-slow/58459
|
||||||
|
# https://gitlab.freedesktop.org/drm/amd/-/issues/3647
|
||||||
|
"amdgpu.dcdebugmask=0x10"
|
||||||
|
]
|
||||||
# Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/
|
# Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/
|
||||||
boot.kernelParams = lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"] ;
|
++ lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"];
|
||||||
|
|
||||||
# AMD has better battery life with PPD over TLP:
|
# AMD has better battery life with PPD over TLP:
|
||||||
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
||||||
|
|||||||
@@ -5,8 +5,17 @@
|
|||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.kernelParams =
|
||||||
|
[
|
||||||
|
# There seems to be an issue with panel self-refresh (PSR) that
|
||||||
|
# causes hangs for users.
|
||||||
|
#
|
||||||
|
# https://community.frame.work/t/fedora-kde-becomes-suddenly-slow/58459
|
||||||
|
# https://gitlab.freedesktop.org/drm/amd/-/issues/3647
|
||||||
|
"amdgpu.dcdebugmask=0x10"
|
||||||
|
]
|
||||||
# Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/
|
# Workaround for SuspendThenHibernate: https://lore.kernel.org/linux-kernel/20231106162310.85711-1-mario.limonciello@amd.com/
|
||||||
boot.kernelParams = lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"] ;
|
++ lib.optionals (lib.versionOlder config.boot.kernelPackages.kernel.version "6.8") ["rtc_cmos.use_acpi_alarm=1"];
|
||||||
|
|
||||||
# AMD has better battery life with PPD over TLP:
|
# AMD has better battery life with PPD over TLP:
|
||||||
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
# https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13
|
||||||
|
|||||||
Reference in New Issue
Block a user