Commit Graph

51 Commits

Author SHA1 Message Date
erpalma
56a91aaf6f fix logging to systemd and switch to stderr for warning and fatal 2019-01-24 08:52:56 +01:00
erpalma
25eabce346 Add more power detection methods 2019-01-21 16:54:40 +01:00
erpalma
4972b29a19 add fatal/warning error handler 2019-01-21 16:54:23 +01:00
erpalma
5ce7af6463 add experimental code to check if the hardware is compatible with the tool 2018-12-27 14:00:20 +01:00
erpalma
d2361431cb error handling cleanup 2018-12-27 13:58:16 +01:00
erpalma
c7e292e282 add power profile-based undervolting (fix #79) 2018-12-11 11:40:23 +01:00
erpalma
668f023868 print the actual power source (AC/BATTERY) in --monitor mode 2018-12-11 11:08:30 +01:00
erpalma
003278cafd typo.... (bad day) 2018-11-07 16:26:55 +01:00
erpalma
5a96b88944 try to load configs modules + decode gzip output (see #67) 2018-11-07 16:21:54 +01:00
erpalma
0189170a40 fix #66 2018-11-07 11:24:17 +01:00
erpalma
8677de6f96 add some more monitoring stuff: Vcore, Package, Graphics and DRAM power consumption 2018-11-07 11:19:23 +01:00
erpalma
57faf388e9 debug leftover 2018-11-06 12:15:04 +01:00
erpalma
9636a5de83 add realtime monitoring of throttling causes 2018-11-06 12:10:52 +01:00
erpalma
105f87c0ff switch to black formatter 2018-11-06 11:07:54 +01:00
erpalma
76e097663c further kernel config checks, related to #65 2018-11-06 11:06:03 +01:00
tSte
b8ef7b72e5 Update MSR access debug message; Update readme 2018-11-06 07:11:37 +01:00
erpalma
301a57aa0f fix a bug caused by args swap 2018-09-20 09:48:01 +02:00
erpalma
f10c269c9a built-in cpu usage calculation + drop psutil dependency 2018-09-11 17:14:01 +02:00
erpalma
8ef50d57ce config values can be commented out to disable (fix #51) 2018-09-03 17:07:00 +02:00
erpalma
494ea7f595 Sysfs_Power_Path can now be set in the config file (#48) 2018-09-01 10:10:49 +02:00
erpalma
ee5399e854 add some colors to debug mode 2018-08-30 14:12:48 +02:00
erpalma
23730180f0 show undervolt planes values in mV in debug 2018-08-30 14:00:44 +02:00
erpalma
f7cb2e4bd4 fix #38 2018-08-22 12:07:42 +02:00
erpalma
2e7646d824 code format 2018-08-22 12:07:14 +02:00
DEvil0000
d779ecd0ca adding a lot more debug output and some minor refactoring 2018-08-21 19:56:50 +02:00
erpalma
456579a969 add more debug info 2018-08-14 15:21:15 -07:00
erpalma
04b68a1428 remove unused import 2018-08-14 15:16:20 -07:00
erpalma
0dcf7c1cdb fix typo 2018-08-14 15:15:33 -07:00
erpalma
ed06353021 add debug option to check the written values 2018-08-13 15:44:18 -07:00
erpalma
a463f753ee read msr from a single cpu unless otherwise needed 2018-08-13 15:43:29 -07:00
erpalma
015f3feedd moved checks before the loop for efficiency
de-hardcode the CPU critical temperature by reading from the MSR
2018-08-13 14:40:18 -07:00
erpalma
1d521818e5 more pythonic ;) 2018-08-13 14:37:42 -07:00
erpalma
063bc0c5aa just refactoring 2018-08-13 14:27:47 -07:00
DEvil0000
ce4f836a20 add some checks and read msrs 2018-08-07 14:16:08 +02:00
DEvil0000
7002abf303 add function to readmsr values 2018-08-06 11:52:04 +02:00
DEvil0000
f684dd3ec4 don't crash on old config without the option 2018-08-06 09:53:26 +02:00
Alexander Binzberger
05bf7f2504 adding cTDP configuration option 2018-08-03 23:58:29 +02:00
erpalma
2eca07717a fix #22 2018-07-30 10:37:20 +02:00
erpalma
41905beb43 check for root permission and handle/report secure boot related errors 2018-07-20 10:14:47 +02:00
erpalma
8935128f6c change sanity check code for config values 2018-07-01 18:31:06 +02:00
erpalma
7dcfa66acc use a more efficient dbus callback to check if we are connected to AC or on battery 2018-06-29 14:54:11 +02:00
erpalma
41d58438ab included a stripped down version of mmio to avoid python-periphery dependency 2018-06-29 14:52:36 +02:00
erpalma
c8c000b187 double check if we are still in AC before writing HWP value 2018-06-14 10:39:31 +02:00
erpalma
06551c5b62 add experimental HWP override on high load 2018-06-12 19:08:46 +02:00
erpalma
6db2b091f2 switched to python3 and virtualenv 2018-04-20 10:46:00 +02:00
erpalma
1d92edf769 add undervolt capabilities 2018-04-10 11:35:48 +02:00
erpalma
5022a86156 add automatic msr module loading 2018-04-07 19:09:06 +02:00
erpalma
5d6cfaa572 moved config to /etc 2018-04-03 11:17:18 +02:00
erpalma
d9a459b12b typo 2018-04-02 20:46:57 +02:00
erpalma
d949863e60 add more configuration options and battery/ac profiles 2018-04-02 20:36:09 +02:00