Skip to content

Instantly share code, notes, and snippets.

@furui
Created December 23, 2020 22:34
Show Gist options
  • Save furui/8fc583bb70bb05a099f03190a4ff4937 to your computer and use it in GitHub Desktop.
Save furui/8fc583bb70bb05a099f03190a4ff4937 to your computer and use it in GitHub Desktop.
Motile M142 ryzenadj and zenstates services [35W TDP and 1.2 undervolt]
Linux Mint 20 (Ubuntu) instructions:
git clone https://github.com/r4m0n/ZenStates-Linux
modify zenstates.py to use python3
copy zenstates.py to /usr/local/bin/zenstates
git clone https://github.com/FlyGoat/RyzenAdj
build ryzenadj
copy ryzenadj to /usr/local/bin/ryzenadj
copy service files to /etc/systemd/system/
chmod 744 service files
systemctl daemon-reload
systemctl enable service files
systemctl start service files
[Unit]
After=network.target
[Service]
ExecStart=/usr/local/bin/ryzenadj --stapm-limit=35000 --fast-limit=35000 --slow-limit=35000 --tctl-temp=90 --vrm-current=55000 --vrmsoc-current=55000 --vrmmax-current=55000 --vrmsocmax-current=55000 --psi0-current=55000 --psi0soc-current=55000
Restart=no
[Install]
WantedBy=default.target
[Unit]
After=network.target
[Service]
ExecStartPre=modprobe msr
ExecStart=/usr/local/bin/zenstates -p 0 -f 69 -v 38
Restart=no
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment