Skip to content

Commit ec7e087

Browse files
authored
Merge branch 'AdnanHodzic:master' into gui
2 parents 32b6e63 + 9912f9d commit ec7e087

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ auto-cpufreq is looking for [co-maintainers & open source developers to help sha
3333
* [Remove - auto-cpufreq daemon](https://github.com/AdnanHodzic/auto-cpufreq/#remove---auto-cpufreq-daemon)
3434
* [stats](https://github.com/AdnanHodzic/auto-cpufreq/#stats)
3535
* [Troubleshooting](https://github.com/AdnanHodzic/auto-cpufreq/#troubleshooting)
36+
* [AUR](https://github.com/AdnanHodzic/auto-cpufreq/#aur)
3637
* [Discussion](https://github.com/AdnanHodzic/auto-cpufreq/#discussion)
3738
* [Donate](https://github.com/AdnanHodzic/auto-cpufreq/#donate)
3839
* [Financial donation](https://github.com/AdnanHodzic/auto-cpufreq/#financial-donation)
@@ -102,7 +103,7 @@ In case you encounter any problems with `auto-cpufreq-installer`, please [submit
102103

103104
### AUR package (Arch/Manjaro Linux)
104105

105-
*AUR is currently unmaintained & has issues*! Until someone starts maintaining it, use the [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq#auto-cpufreq-installer) if you intend to have the latest changes as otherwise you'll run into errors, i.e: [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471).
106+
*AUR is currently unmaintained & has issues*! Until someone starts maintaining it, use the [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq#auto-cpufreq-installer) if you intend to have the latest changes as otherwise you'll run into errors, i.e: [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471). However, if you still wish to use AUR then follow the [Troubleshooting](https://github.com/AdnanHodzic/auto-cpufreq/#aur) section for solved known issues.
106107

107108
* [Binary Package](https://aur.archlinux.org/packages/auto-cpufreq)
108109
(For the latest binary release on github)
@@ -132,6 +133,8 @@ Navigate to repo location where `power_helper.py` resides, i.e:
132133

133134
`cd auto-cpufreq/auto_cpufreq`
134135

136+
Make sure to have `psutil` Python library installed before next step, i.e: `sudo python3 -m pip install psutil`
137+
135138
Then disable GNOME Power Profiles Daemon by runing:
136139

137140
`sudo python3 power_helper.py --gnome_power_disable`
@@ -315,6 +318,21 @@ GRUB_CMDLINE_LINUX_DEFAULT="quiet splash initcall_blacklist=amd_pstate_init amd_
315318

316319
After you are done, run `sudo update-grub` or `sudo grub-mkconfig -o /boot/grub/grub.cfg`, if you are using Arch.
317320

321+
### AUR
322+
323+
* The command ```sudo auto-cpufreq --install``` produces error [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471) please don't use it.
324+
* This script is supposed to automate the process of enabling auto-cpufreq.service so you need to manually open terminal and type
325+
~~~
326+
sudo systemctl enable --now auto-cpufreq.service
327+
~~~
328+
for the service to work.
329+
* Power Profiles Daemon is [automatically disabled by auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq#1-power_helperpy-script-snap-package-install-only) due to it's conflict with auto-cpufreq.service. However this doesn't happen with AUR package and will lead to problems (i.e: [#463](https://github.com/AdnanHodzic/auto-cpufreq/issues/463)) if not masked manually.
330+
* So open your terminal and type
331+
~~~
332+
sudo systemctl mask power-profiles-daemon.service
333+
~~~
334+
Following this command ```enable``` the auto-cpufreq.service if you haven't already.
335+
318336
## Discussion:
319337
320338
* Blogpost: [auto-cpufreq - Automatic CPU speed & power optimizer for Linux](http://foolcontrol.org/?p=3124)

0 commit comments

Comments
 (0)