2021-03-13 18:09:41 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
case "$(printf "normal mode\\nfluff mode\\nlight gaming\\nheavy gaming\\nsuper heavy programs" | dmenu -p "Choose Ryzen 5 mode")" in
|
2021-05-20 14:41:48 +02:00
|
|
|
"normal mode") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=30 --vrmmax-current=30000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=60 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000; break ;;
|
|
|
|
"fluff mode") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=30 --vrmmax-current=30000 --max-gfxclk=550 --max-fclk-frequency=1200 --tctl-temp=70 --stapm-limit=5000 --stapm-time=150 --fast-limit=7000 --slow-limit=6000; break ;;
|
|
|
|
"light gaming") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=30 --vrmmax-current=35000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=65 --stapm-limit=10000 --stapm-time=300 --fast-limit=12000 --slow-limit=11000; break ;;
|
|
|
|
"heavy gaming") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=60 --vrmmax-current=60000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=70 --stapm-limit=20000 --stapm-time=1000 --fast-limit=25000 --slow-limit=21000; break ;;
|
|
|
|
"super heavy programs") sudo $HOME/.local/bin/custom/ryzenadj --slow-time=60 --vrmmax-current=60000 --max-gfxclk=900 --max-fclk-frequency=1200 --tctl-temp=75 --stapm-limit=25000 --stapm-time=1000 --fast-limit=30000 --slow-limit=27000; break ;;
|
2021-03-13 18:09:41 +01:00
|
|
|
esac
|