kevinlekiller / amdctl

Set P-State voltages and clock speeds on recent AMD CPUs on Linux.
GNU General Public License v3.0
241 stars 22 forks source link

A way to reset the CPU to default settings #21

Closed 60percentCaffeine closed 2 years ago

60percentCaffeine commented 4 years ago

A way to restore default CPU frequency, voltage, etc. would be a really useful feature. I accidentally forgot to back up the defaults and now my notebook's power usage looks like this... my_pc_is_about_to_explode

EDIT: I was able to reset my CPU frequency/voltage by unplugging my notebook and rebooting it. Rebooting while connected to power didn't work.

kevinlekiller commented 2 years ago

I don't think this is possible, since changing values overwrites whatever is already there.

I recommend dumping the default values to a file, then you can reference them later:

sudo ./amdctl -g > amctl.txt