Created
July 29, 2022 10:23
-
-
Save megumintyan/5b1f96a609351d0b27d564b1ddb60af3 to your computer and use it in GitHub Desktop.
gpu undervault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=set gpu signal clock and voultage | |
[Service] | |
User=root | |
# ExecStartPre=/bin/sleep 5 | |
ExecStart=/bin/bash -c 'echo "s 1 1704" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "vc 0 500 700" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "vc 1 1102 775" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "vc 2 1704 999" > /sys/class/drm/card0/device/pp_od_clk_voltage && \ | |
echo "c" > /sys/class/drm/card0/device/pp_od_clk_voltage' | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment