Gnome Shell 3.14+ CPU Frequency Monitor and Governor Manager.
https://extensions.gnome.org/extension/1082/cpufreq/
This is lightweight gnome-extension for CPU scaling monitor and power governor's management. The extension is using standard cpufrequtils (cpupower) package to collect information and manage governors. It's need root permission to able changing governors or install policy for pkexec.
Please install cpufrequtils or cpupower:
- Debian/Ubuntu
sudo apt-get install cpufrequtils
- Arch Linux
sudo pacman -S cpupower
- Fedora
yum install kernel-tools
- Compatible with old cpufreq tools and modern cpupower;
- Boost supporting;
- Utilize userspace and pstate abilities.
- Gnome Shell >= 3.14+
- cpufrequtils or cpupower
cd ~/.local/share/gnome-shell/extensions/cpufreq@konkor
chmod 0755 cpufreqctl
If you want change governors without asking root password each time You need edit user home folder in konkor.cpufreq.policy and install it. Change 'USERNAME' to user's real name.
gedit konkor.cpufreq.policy
sudo cp konkor.cpufreq.policy /usr/share/polkit-1/actions/
sudo chown root:root ~/.local/share/gnome-shell/extensions/cpufreq@konkor/cpufreqctl
Download zip archive from github page. Run gnome-tweak-tool go to extensions tab, click Install Shell Extension from drive and select master.zip. Restart Gnome shell by pressing Alt-F2 and entering 'r'. Then fix the executing bit and police as described above.
wget https://github.com/konkor/cpufreq/archive/master.zip
gnome-tweak-tool
git clone https://github.com/konkor/cpufreq
cd cpufreq
Edit user home folder in konkor.cpufreq.policy
gedit konkor.cpufreq.policy
mkdir -p ~/.local/share/gnome-shell/extensions/cpufreq@konkor
cp cpufreqctl extension.js metadata.json konkor.cpufreq.policy ~/.local/share/gnome-shell/extensions/cpufreq@konkor/
chmod 0755 ~/.local/share/gnome-shell/extensions/cpufreq@konkor/cpufreqctl
sudo cp konkor.cpufreq.policy /usr/share/polkit-1/actions/
sudo chown root:root ~/.local/share/gnome-shell/extensions/cpufreq@konkor/cpufreqctl
Last rows are to able change governors without asking super user password when you changing governors from the applet.
(default for Intel Sandy Bridge and Ivy Bridge CPUs on kernel 3.9 and upper)
To change back to the ACPI driver, reboot and add to the kernel line intel_pstate=disable
Then execute modprobe acpi-cpufreq and you should have the ondemand governor available.
You can make the changes permanent by editing /etc/default/grub and adding
GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable"
Then update grub.cfg
sudo update-grub
or
sudo grub-mkconfig -o /boot/grub/grub.cfg
Follow the instructions for Arch kernel module loading and add the acpi-cpufreq module.