erpalma / throttled

Workaround for Intel throttling issues in Linux.
MIT License
2.68k stars 166 forks source link

The mandatory "Update_Rate_s" parameter is missing. #196

Closed Lusitaniae closed 4 years ago

Lusitaniae commented 4 years ago
~/workspace/lenovo-throttling-fix$ sudo ./lenovo_fix.py --debug
[I] Detected CPU architecture: Intel Haswell
[I] Loading config file.
[E] The mandatory "Update_Rate_s" parameter is missing.

This is after following the Ubuntu installatnowion instructions.

sudo systemctl status lenovo_fix
● lenovo_fix.service - Stop Intel throttling
   Loaded: loaded (/etc/systemd/system/lenovo_fix.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2020-05-02 03:13:33 +07; 6s ago
  Process: 28449 ExecStart=/opt/lenovo_fix/venv/bin/python3 /opt/lenovo_fix/lenovo_fix.py (code=exited, status=1/FAILURE)
 Main PID: 28449 (code=exited, status=1/FAILURE)

May 02 03:13:32 q systemd[1]: Started Stop Intel throttling.
May 02 03:13:33 q python3[28449]: [I] Detected CPU architecture: Intel Haswell
May 02 03:13:33 q python3[28449]: [I] Loading config file.
May 02 03:13:33 q python3[28449]: [E] The mandatory "Update_Rate_s" parameter is missing.
May 02 03:13:33 q systemd[1]: lenovo_fix.service: Main process exited, code=exited, status=1/FAILURE
May 02 03:13:33 q systemd[1]: lenovo_fix.service: Failed with result 'exit-code'.
Lusitaniae commented 4 years ago

Think I created the conf file in /etc with the undervolt block only from the Readme.

Installing the original one from the repo solved it.