Skip to content

Instantly share code, notes, and snippets.

@williambl
Last active September 6, 2017 11:21
Show Gist options
  • Save williambl/84c59268defedc81e4db0e1c85ade4d6 to your computer and use it in GitHub Desktop.
Save williambl/84c59268defedc81e4db0e1c85ade4d6 to your computer and use it in GitHub Desktop.
Changes AMD DPM values to prevent crashes in certain games, including HL2, TF2, L4D2, Garry's Mod, KSP, Stellaris, and CSGO. Run as sudo.
echo 'high' > '/sys/class/drm/card0/device/power_dpm_force_performance_level'
echo 'performance' > '/sys/class/drm/card0/device/power_dpm_state'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment