Intel P-state and CPUFreq Manager is a KDE Plasma widget in order to control the frequencies of Intel CPUs and their integrated GPUs for any modern Intel Processors running in Active Mode with HWP or Active Mode Without HWP. It can also manage the processor's energy consumption through Energy-Performance Preference (EPP) knob (if supported) or the Energy-Performance Bias (EPB) knob (otherwise).
Furthermore, it allows you to interact with the following vendor specific settings
- LG Gram laptop Battery care limit, USB charge and Fan mode features (on kernel 4.20 and higher).
- MSI Cooler Boost
- This assume that you already have seen if your laptop is supported by ISW tool, already seen https://github.com/YoyPa/isw/blob/master/README.md and set up it, and isw is in the executable path.
This is just a GUI widget and it is not meant to replace
TLP, powertop or
any other power management / energy consumption service. It is meant just to
provide quick access to sysfs
settings related to Intel Processors and
in fact it can run on top of TLP.
As the trend in modern laptops continues to be more CPU power in more slim chassis design and as the software and becomes more demanding, it is becoming harder to find a combination of power performance and/or energy consumption settings to fit all your daily tasks that require different levels of performance.
This widget's purpose is to expose to the user hardware and kernel settings that may be useful in cases you need to adjust such a setting from the comfort of your graphical interface using point and click or tap interactions even in cases that a keyboard isn't available.
First of all you need to be in sudoers' group. After that you can just clone the code and install it using the following commands:
git clone https://github.com/jsalatas/plasma-pstate
cd plasma-pstate
sudo ./install.sh
Notice: If your processor doesn't support EPP(ie older generations without
HWP), then you need also to install the x86_energy_perf_policy
which (in
case of Ubuntu 18.04 distros) is provided by the linux-tools
package and
can be installed using the following command
sudo apt install linux-tools-generic linux-tools-`uname -r`
Assuming that you have checked out the latest code, you just need to run the following commands as root:
sudo kpackagetool5 -g -t Plasma/Applet -u org.thefreecircle.mibofra.plasma.pstate
sudo chmod 755 /usr/share/plasma/plasmoids/org.thefreecircle.mibofra.plasma.pstate/contents/code/set_prefs.sh
sudo chmod 755 /usr/share/plasma/plasmoids/org.thefreecircle.mibofra.plasma.pstate/contents/code/get_thermal.sh
Please feel free to clone, hack, and contribute anything you may find useful, especially in relation to similar to Dell's Thermal Management Feature that may be available in other hardware platforms.
Using PolKit, I don't see any log flood a the moment.
If it's not your case, plese read: https://github.com/jsalatas/plasma-pstate/wiki/Too-many-messages-in-system-log
For option with a slider, please, be sure to slide them and not click on an arbitrary point of the slider. This will ensure that, the plasmoid slider is working fine, getting the preference issued, avoiding it to bug plasmashell, the plasmoid, or the panel where it is docked. And surely, making polkit agent asking the password for setting the preference, as expected.
The original author is maintaining the plasmoid up to his needs, see the head of: https://github.com/jsalatas/plasma-pstate/blob/master/README.md , also because there are efforts to have hardware profiles directly in powerdevil and kcm like in gnome with https://gitlab.freedesktop.org/hadess/power-profiles-daemon .
Anyway, some tools can be still useful for some users, like me, who added the possibility to set the number of online cpus, or other tools that are out of scope of powerdevil and kcm itself. So I'm trying to keep at least it up to date, in a working state with latest KDE releases, trying to adding new functions if needed. With patience and time, also trying to redesing the ui, as the original author wanted: jsalatas#40 (or the space on the desktop for the tools will decrease).