Skip to content

Instantly share code, notes, and snippets.

@wvdschel
Last active May 28, 2024 15:08
Show Gist options
  • Save wvdschel/5535fb63148747eed8b09c2e42b03891 to your computer and use it in GitHub Desktop.
Save wvdschel/5535fb63148747eed8b09c2e42b03891 to your computer and use it in GitHub Desktop.
amdgpu power stuff
# Monitor AMDGPU clocks and power draw
sudo watch -n 0.2 cat /sys/kernel/debug/dri/0/amdgpu_pm_info
# Set upper power draw limit:
echo 85000000 | sudo tee /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/hwmon/hwmon4/power1_cap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment