Adjust Ryzen APU max temp max power in CachyOS

Generated with AI

RyzenAdj is the primary tool for adjusting power limits (watts) and max temperature on Ryzen APUs in Linux, including CachyOS (Arch-based). CachyOS often uses amd-pstate in guided mode by default, which enforces OS-managed limits; disabling or switching this mode can help unlock higher performance.

Install RyzenAdj
CachyOS supports AUR packages via helpers like yay or paru.
Install an AUR helper if needed: sudo pacman -S –needed base-devel git then git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si.
Install RyzenAdj: yay -S ryzenadj (or paru -S ryzenadj).
Verify with ryzenadj –info.

Switch AMD P-State Mode
Guided mode limits boosts; switch to active or passive for more control.
Edit /etc/default/grub: Add amd_pstate=active (or passive) to GRUB_CMDLINE_LINUX_DEFAULT.
Or disable: initcall_blacklist=amd_pstate amd_pstate.enable=0.
Run sudo grub-mkconfig -o /boot/grub/grub.cfg and reboot.236
Check mode: cat /sys/devices/system/cpu/amd_pstate/status.

Set Power and Temp Limits
Run as root for persistence across sessions (add to systemd service for boot).
Example for 35W limits and 95°C max (adjust in mW and °C for your APU/cooling):
sudo ryzenadj –stapm-limit=35000 –fast-limit=35000 –slow-limit=35000 –tctl-temp=95

–stapm-limit: Short-term average power.
–fast-limit/–slow-limit: Fast/slow PPT.
–tctl-temp: Max temp throttle point.
Add VRMs if needed: –vrm-current=50000 –vrmsoc-current=50000
Monitor with ryzenadj –info or watch sensors. Test stability with stress tools like stress-ng.

Make Persistent
Create a systemd service:
sudo tee /etc/systemd/system/ryzenadj.service <<EOF
[Unit]
Description=RyzenAdj Power Limits
After=multi-user.target

[Service]
Type=oneshot
ExecStart=/usr/bin/ryzenadj –stapm-limit=35000 –fast-limit=35000 –slow-limit=35000 –tctl-temp=95
RemainAfterExit=true

[Install]
WantedBy=multi-user.target
EOF

Enable: sudo systemctl enable –now ryzenadj.service.1
Warning: Higher limits risk overheating/hardware damage; monitor temps and start conservative. BIOS PBO may also help if available

For managing and monitoring Ryzen APU wattage on CachyOS (an Arch-based Linux distribution), ryzenadj is the best CLI tool for changing TDP/power limits. It is often paired with GUI wrappers like Ryzen Controller

Links
https://wiki.archlinux.org/title/Ryzen