/intel-power-control

GPU power management for Intel hardware on Linux

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

PyPI versio PyPi format PyPI license PyPi weekly downloads

intel-power-control

GPU power management for Intel hardware on Linux

Functionality

  • Displays cpu online states, temperatures and gpu clock settings.
  • Toggle cpu online states
  • Throttling of gpu clock (also automatic)
  • intel-power-control-helper changes settings as root user

Requirements

  • C compiler (i.e. gcc)
  • PyQt 6.x

Installation from PyPi (recommended)

# system-wide
sudo pip install intel-power-control
echo "%sudo ALL=(ALL) NOPASSWD: /usr/local/bin/intel-power-control-helper" | \
  sudo tee /etc/sudoers.d/intel-power-control

# OR as user
pip install intel-power-control --user
sudo chown root:root $HOME/.local/bin/intel-power-control-helper
sudo chmod 4755 $HOME/.local/bin/intel-power-control-helper

# run program
intel-power-control

Installation from source

WARNING: using this method, you have to take care of installing the required dependencies yourself (i.e. install PyQt using your distribution's package manager).

git clone https://github.com/jmechnich/intel-power-control.git

# compile
cd intel-power-control
make

# install to /usr/local
sudo make install

# OR install to local prefix
make install PREFIX=$HOME/.local
sudo chown root:root $HOME/.local/bin/intel-power-control-helper
sudo chmod 4755 $HOME/.local/bin/intel-power-control-helper

# run program
intel-power-control

Checking and fixing intel-power-control-helper permissions

The script intel-power-control-setup is supplied to set up the permissions for intel-power-control-helper correctly after installation.

Changing the look and feel

Use the -style commandline option to select a different theme. Available themes can be listed by calling the application with an invalid style argument, e.g. -style help.

Screenshots