monolith: fix amdgpu performance in new kernels
This commit is contained in:
parent
34de8dab67
commit
99a9adc489
|
@ -65,8 +65,6 @@ in
|
||||||
rocmPackages.rocm-smi
|
rocmPackages.rocm-smi
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_6_1;
|
|
||||||
|
|
||||||
fileSystems."/mnt/old" = {
|
fileSystems."/mnt/old" = {
|
||||||
device = "/dev/disk/by-label/BTRFS_ROOT";
|
device = "/dev/disk/by-label/BTRFS_ROOT";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|
|
@ -3,6 +3,8 @@ let
|
||||||
undervoltGpu = pkgs.writeShellScript "undervolt-gpu" ''
|
undervoltGpu = pkgs.writeShellScript "undervolt-gpu" ''
|
||||||
set -xe
|
set -xe
|
||||||
cd $1
|
cd $1
|
||||||
|
echo "manual" > power_dpm_force_performance_level
|
||||||
|
echo "1" > pp_power_profile_mode
|
||||||
test -e pp_od_clk_voltage
|
test -e pp_od_clk_voltage
|
||||||
echo "vo -100" > pp_od_clk_voltage
|
echo "vo -100" > pp_od_clk_voltage
|
||||||
echo "c" > pp_od_clk_voltage
|
echo "c" > pp_od_clk_voltage
|
||||||
|
|
Loading…
Reference in a new issue