fix acer suspend
This commit is contained in:
+7
-7
@@ -116,15 +116,15 @@ rec {
|
|||||||
];
|
];
|
||||||
boot.kernelModules = [ "acer-wmi-ext" ];
|
boot.kernelModules = [ "acer-wmi-ext" ];
|
||||||
|
|
||||||
# Installs ryzenadj + ryzen_smu kernel module for manual undervolt experiments.
|
# # Installs ryzenadj + ryzen_smu kernel module for manual undervolt experiments.
|
||||||
# Does not auto-apply any tuning yet.
|
# # Does not auto-apply any tuning yet.
|
||||||
lumpiasty.acerUndervolt = true;
|
# lumpiasty.acerUndervolt = true;
|
||||||
|
|
||||||
boot.initrd.kernelModules = [ "amdgpu" "thunderbolt" ];
|
boot.initrd.kernelModules = [ "amdgpu" "thunderbolt" ];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
# https://community.frame.work/t/attn-critical-bugs-in-amdgpu-driver-included-with-kernel-6-18-x-6-19-x/79221
|
# # https://community.frame.work/t/attn-critical-bugs-in-amdgpu-driver-included-with-kernel-6-18-x-6-19-x/79221
|
||||||
"amdgpu.cwsr_enable=0"
|
# "amdgpu.cwsr_enable=0"
|
||||||
|
|
||||||
# Increase GPU memory limits
|
# Increase GPU memory limits
|
||||||
"ttm.pages_limit=7864320" # 30GB in pages (30 * 1024 * 1024 * 1024 / 4096)
|
"ttm.pages_limit=7864320" # 30GB in pages (30 * 1024 * 1024 * 1024 / 4096)
|
||||||
@@ -133,8 +133,8 @@ rec {
|
|||||||
"amdttm.page_pool_size=7864320"
|
"amdttm.page_pool_size=7864320"
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.corectrl.enable = true;
|
# programs.corectrl.enable = true;
|
||||||
hardware.amdgpu.overdrive.enable = true;
|
# hardware.amdgpu.overdrive.enable = true;
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
|
|||||||
Reference in New Issue
Block a user