GithubHelp home page GithubHelp logo

ariskou / plasma-pstate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jsalatas/plasma-pstate

0.0 0.0 0.0 2.57 MB

Intel P-state and CPUFreq Manager Widget

License: GNU General Public License v2.0

Shell 22.06% JavaScript 13.48% QML 64.46%

plasma-pstate's Introduction

Intel P-state and CPUFreq Manager Widget

What it is

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).

Intel P-state and CPUFreq Manager Widget

Furthermore, it allows you to interact with the following vendor specific settings

  1. Dell's Thermal Management Feature through libsmbios library.

Intel P-state and CPUFreq Manager Widget with Dell's Thermal Management Feature

  1. LG Gram laptop Battery care limit, USB charge and Fan mode features (on kernel 4.20 and higher).

Intel P-state and CPUFreq Manager Widget with LG Laptop Support features

  1. Nvidia PowerMizer Settings.

Intel P-state and CPUFreq Manager Widget with Nvidia PowerMizer Settings

What it isn't

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.

Why

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.

How to install

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`

How to update

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 gr.ictpro.jsalatas.plasma.pstate

sudo chmod 755 /usr/share/plasma/plasmoids/gr.ictpro.jsalatas.plasma.pstate/contents/code/set_prefs.sh 

Contributions

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.

Issues

The widget uses a shell script that needs to be run as root user (sudo) and which apparently floods your log files with security related messages as described in issue #16.

If you want to get rid of these messages, please see a workaround at

https://github.com/jsalatas/plasma-pstate/wiki/Too-many-messages-in-system-log

plasma-pstate's People

Contributors

jsalatas avatar shinanca avatar sparsa avatar principis avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.