Commit Graph

198 Commits

Author SHA1 Message Date
ThePoorPilot fc56e2a1cb
Adjust CPU frequency scaling on desktop to run in "performance" governor #162
If it detects the device is a laptop, it should default to the regular method of determining ac_state
If the device returns any other output, it should default to ac_state=true

continued work originally started in #158
2021-02-02 21:21:51 +01:00
Adnan Hodzic 5e38ada748 Fix "Unable to remove via --remove option for Snap package" (Close #161) 2021-02-02 20:56:56 +01:00
Adnan Hodzic 3e6d1314b3 snap release 1.5.3 2021-01-24 13:58:31 +01:00
Technical27 f3f652d69e
Improve logging (#148)
Now auto-cpufreq will write directly to the log file or stdout.
The file will automatically be cleared when on each refresh and on
startup.
2021-01-24 13:14:11 +01:00
Mark Wagie 7169561054
Remove source folder (#154)
* rename source > auto_cpufreq

* remove leftover folder
2021-01-21 10:54:08 +01:00
Mark Wagie a91d4ba36e
Improved Python file structure (rename source > auto_cpufreq) #153 2021-01-21 07:55:23 +01:00
Marco Vermeulen 11872ac9a0
Add Arch-based Linux to auto-cpufreq-installer script. (#152) 2021-01-20 21:32:12 +01:00
Vadym Stupakov 81e208f5a1
Fix Ryzen 4750U temperature output with zenpower (close #145)
* fixes #145

* Update core.py
2021-01-20 21:20:49 +01:00
Marco Vermeulen 6f7eec3b05
Deliver custom parallel version of cpufreqctl. (#150)
This will provide a new parallel version of `cpufreqctl` named
`cpufreqctl.auto-cpufreq` that is to be used by `auto-cpufreq`. This
prevents the system-wide version of this file from being clobbered,
which affects the integrity of what the package manager originally
installed. Applications depending on `cpufreqctl` will still get the
version that they expect.
2021-01-20 19:19:54 +01:00
Adnan Hodzic c5e02551e1 snap 1.5.2 release 2021-01-17 10:24:44 +01:00
Gianmarco Rengucci 19886a4d04
Disable setting EPP if HWP is active and governor is set to "performance" (#138) (#147)
This fixes #138. Thanks to @likeadoc for pointing out the reason for this behavior.
https://github.com/AdnanHodzic/auto-cpufreq/issues/138#issuecomment-753672590
2021-01-17 10:16:31 +01:00
Alex Speranza 070103dc0d
Improves opensuse detection (#135)
* Adds OpenSUSE Tumbleweed to detected distributions

* Adds OpenSUSE Leap detection

* Fixes OpenSUSE Tumbleweed package installation

* Fixes openSUSE section comment
2020-12-07 20:27:34 +01:00
Adnan Hodzic a5cc64d6b2 Merge branch 'master' of github.com:AdnanHodzic/auto-cpufreq 2020-12-07 00:48:20 +01:00
Adnan Hodzic c8c8fab5cb Re-calibrated performance/powersave triggers (fixed turbo always on on powersave) 2020-12-07 00:46:55 +01:00
Alex Speranza 40f349b7f0 Adds OpenSUSE Tumbleweed to detected distributions (#134) 2020-12-06 23:59:39 +01:00
Adnan Hodzic b2ae741a56
Updated README with CPU temperature reference 2020-12-06 19:35:06 +01:00
Alex Speranza 97b9dc1fcf
Adds OpenSUSE Tumbleweed to detected distributions (#134) 2020-12-06 18:21:50 +01:00
Adnan Hodzic eb9ccfe32f Snap v1.5 release & module import fix (PYTHONPATH); updated README 2020-12-05 22:27:52 +01:00
Adnan Hodzic 96b821c975 Merge branch 'temp-based-states' of github.com:AdnanHodzic/auto-cpufreq into temp-based-states 2020-12-05 22:26:45 +01:00
Adnan Hodzic ec4716f721 Extended mechanism to set turbo based temperature & CPU utilization/load
to mon_performance/powersave functions & other output improvements
2020-12-05 21:17:29 +01:00
Adnan Hodzic ce4e119adb Extended mechanism to set turbo based temperature & CPU utilization/load
to mon_performance/powersave functions & other output improvements
2020-12-05 21:15:15 +01:00
Adnan Hodzic fa0979a755 Refactored avg_all_core_temp accessibility 2020-12-05 10:46:36 +01:00
Adnan Hodzic 99a2b78ac2 Implemented mechanism to set turbo based temperature & CPU utilization/load 2020-11-28 22:46:30 +01:00
dfuehrer d0aeb8c2a2
fixed bug in performance boost logic. (#131)
Now boosts when max core usage is above 75% rather than max core usage
close to 75%
2020-11-28 17:34:31 +01:00
Adnan Hodzic 3e712b8d5d
HowTo see daemon status on snap package 2020-10-01 17:19:27 +02:00
Adnan Hodzic 5861883e21 snap version bump (1.3.4) 2020-09-28 11:03:21 +02:00
Bruno Al c0af7d69f9
Rewrote charging check function (#124)
* charging state fix

* comment
2020-09-28 11:02:12 +02:00
natri23 5120cbd0a1
added required build-packages for Solus (#123) 2020-09-24 09:19:42 +02:00
Adnan Hodzic 8c8f20b1d9 Removed installation of redundant inxi package for Solus 2020-09-24 07:54:33 +02:00
natri23 22d95746a6
add support for Solus (#122)
* add support for Solus

add an instruction command to point auto-cpufreq.service to the right location to fix --install on Solus

* using sed instead of awk

* add "may requires root" to instructions

* add Solus as a separate installer

Add Solus as a separate installer instead of instructions

* remove redundant instructions
2020-09-24 07:51:46 +02:00
Adnan Hodzic b7ec8472af added coreutils to snap build as complement to #120 + 1.3.3 release (beta) 2020-09-23 18:05:24 +02:00
Bruno Al 871788e621
System-info fixes with offline cpus (#120)
* cpu info table, fixed coretemp indexing

* duplicated line

* simplify get processor model name

* same output as before

* disabled cpus, core/temperature fix

* fix overall  max/min frequencies

* fix wrong freq values with offline cpus

* Table order: usage, temp, freq
2020-09-23 17:59:22 +02:00
Adnan Hodzic b64a4333a8 Merge branch 'turbo-lover' 2020-09-22 17:13:22 +02:00
Adnan Hodzic 92678e447b updated dependencies for source installer (#121) 2020-09-20 22:32:58 +02:00
Adnan Hodzic 42b12ae3ec further turbo trigger refinements + reorder of cpu/load based triggers 2020-09-20 09:26:16 +02:00
Adnan Hodzic 5223e6e3bc turbo trigger revamp, use more conservative settings (#109, #118) 2020-09-17 23:34:53 +02:00
Adnan Hodzic 70c646f9cb re-enable app_version func + add missing footer to daemon log 2020-09-16 21:06:14 +02:00
Adnan Hodzic 4990854f3c snap version bump 1.3.2 (beta) 2020-09-16 18:57:25 +02:00
Bruno Al 2170aeea1f
Report core states as a table (#116)
* cpu info table, fixed coretemp indexing

* duplicated line
2020-09-16 18:54:49 +02:00
Muqtadir 977653ed13
typo in readme: maual->manual (#113) 2020-09-15 17:36:00 +02:00
Adnan Hodzic e405e41fd7 Display CPU usage per each core 2020-09-13 22:51:03 +02:00
Adnan Hodzic eff53d4d2e properly print out daemon check message on SNAP 2020-09-13 20:58:41 +02:00
Adnan Hodzic 5f38dfd7b6 Merge branch '1.3-hotfix' 2020-09-13 20:37:34 +02:00
Adnan Hodzic 75124ff803 added missing separator func call to auto-cpufreq-installer 2020-09-13 20:28:34 +02:00
Adnan Hodzic 5bf7e573c3 handle app_version for source install using try/except (#111) 2020-09-13 20:23:43 +02:00
Adnan Hodzic 44c6b37db4 fixed display_load function not being executed each iteration 2020-09-13 20:13:34 +02:00
Adnan Hodzic b44110cacd temporarily disabled execution of app_verison func (#111) 2020-09-13 11:52:22 +02:00
Adnan Hodzic 6f729ed6d4 updated about dialog 2020-09-11 22:04:02 +02:00
Adnan Hodzic 557b0f956c don't run --remove if daemon is not present 2020-09-11 21:57:17 +02:00
Adnan Hodzic 28cd1e7cd9 version bump (1.3 release) 2020-09-11 21:45:31 +02:00