mimir: NVIDIA tweaks

This commit is contained in:
Erwin Boskma 2024-05-17 22:27:46 +02:00
parent f268b9d170
commit 2396af5c51
Signed by: erwin
SSH key fingerprint: SHA256:3F6Cm6I3erRqlBwEghZWAQl6eS5WrGTX1Vs/Evec1lQ

View file

@ -121,13 +121,16 @@
enableAllFirmware = true; enableAllFirmware = true;
nvidia = { nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = true; powerManagement.enable = true; # Needed to make hibernate work properly
# forceFullCompositionPipeline = true; forceFullCompositionPipeline = true;
}; };
opengl = { opengl = {
driSupport32Bit = true; driSupport32Bit = true;
extraPackages = with pkgs; [ vaapiVdpau ]; extraPackages = with pkgs; [
vaapiVdpau
vulkan-validation-layers
];
}; };
}; };
@ -150,7 +153,7 @@
"apple-mfi-fastcharge" "apple-mfi-fastcharge"
"zenpower" "zenpower"
]; ];
# boot.kernelParams = [ "amd_pstate.shared_mem=1" ]; kernelParams = [ "nvidia_drm.fbdev=1" ];
extraModulePackages = with config.boot.kernelPackages; [ extraModulePackages = with config.boot.kernelPackages; [
zenpower zenpower
cpupower cpupower