monolith: fix amdgpu performance in new kernels

This commit is contained in:
Leonardo Eugênio 2024-07-08 02:04:58 -03:00
parent 34de8dab67
commit 99a9adc489
2 changed files with 2 additions and 2 deletions

View file

@ -65,8 +65,6 @@ in
rocmPackages.rocm-smi
];
boot.kernelPackages = pkgs.linuxPackages_6_1;
fileSystems."/mnt/old" = {
device = "/dev/disk/by-label/BTRFS_ROOT";
fsType = "btrfs";

View file

@ -3,6 +3,8 @@ let
undervoltGpu = pkgs.writeShellScript "undervolt-gpu" ''
set -xe
cd $1
echo "manual" > power_dpm_force_performance_level
echo "1" > pp_power_profile_mode
test -e pp_od_clk_voltage
echo "vo -100" > pp_od_clk_voltage
echo "c" > pp_od_clk_voltage