cpupower-gui is a graphical program that is used to change the scaling frequency limits of the cpu, similar to cpupower.

Related tags

linux gui gnome python3 gtk3
Overview

cpupower-gui

This program is designed to allow you to change the frequency limits of your cpu and its governor. The application is similar in functionality to cpupower.

GitHub release latest packaged version(s) License: GPL v3 GitHub repo size Github all releases

Screenshots

If Intel P-state driver is used and the energy preferences are available a drop-down will be available. Desktop window

cpupower-gui is also mobile friendly and will adapt the interface based on the window size. Below is an example from pinephone with phosh running on mobian. mobile view

Table of Contents

  1. Packages
  2. Usage
  3. Configuration
  4. Manual Installation

Packages

Cpupower-gui is available on the official repositories for a few distributions.

Packaging status

Prebuilt binary packages (latest repo version) for Arch, Debian/Rasbian, Fedora, and Ubuntu are available on openSUSE Build Service

Repositories:

Arch Linux and derivatives

Packages exist in AUR as cpupower-gui (cpupower-gui-git), built from this repo.

blackPanther OS

To install cpupower-gui run updating repos to update the repositories and install by running installing cpupower-gui.

Debian/Ubuntu and derivatives

You can install cpupower-gui from the software manager or from the terminal by running:

sudo apt install cpupower-gui

To get the latest version either grab the debian packages from OpenSUSE build service or add the repository to your system. For example, in xUbuntu 20.04 run the following:

echo 'deb http://download.opensuse.org/repositories/home:/erigas:/cpupower-gui/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:erigas:cpupower-gui.list
curl -fsSL https://download.opensuse.org/repositories/home:erigas:cpupower-gui/xUbuntu_20.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home:erigas:cpupower-gui.gpg > /dev/null
sudo apt update
sudo apt install cpupower-gui

Fedora

You can install cpupower-gui by adding the repository from OpenSUSE build service. For example, in Fedora 32 run the following as root:

dnf config-manager --add-repo https://download.opensuse.org/repositories/home:erigas:cpupower-gui/Fedora_32/home:erigas:cpupower-gui.repo
dnf install cpupower-gui

OpenMandriva

You can install cpupower-gui from the offical repository.

dnf install cpupower-gui

Usage

Graphical

To change the frequency settings, select the CPU from the drop-down menu, adjust the sliders and click Apply. Additionally, the cpu governor can be changed by selecting a governor from the drop-down menu. Last, to apply the same settings to all CPUs, toggle the All CPUs switch (square icon on the top left).

There are two governor profiles available, Performance and Balanced. The performance profile sets the governor for all CPUs to performance. Similarly, the balanced profile set the governor to either powersave (if available) or to a scalling governor such as ondemand or schedutil.

These profiles can be selected either from the desktop icon or the tray icon actions.

There is an option to enable or disable a specific cpu. This can be controlled via the the Online checkbox next to the CPU drop-down menu. Initially, the checkbox displays the state of the cpu, i.e. if it is online or offline.

Note: If this checkbox is greyed-out, it means that this cpu is not allowed to go offline.

Command-line

The governor profiles can be used from the command line. The CPU settings can be applied from the command line using the appropriate subcommands. These commands are: config, frequency, energy (system dependent), profile, online/offline. Sorter aliases are indicated in square brackets in the help menu.

$ cpupower-gui -h
usage: cpupower-gui [-h] [--version] [-b] [-p] [--gapplication-service]
                    {[co]nfig, [freq]uency, [ene]rgy, [pr]ofile, [off]line,
                    [on]line} ...

cpupower-gui - Set the scaling frequencies and governor of a CPU

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  -b, --balanced        Change governor to balanced
  -p, --performance     Change governor to performance
  --gapplication-service
                        Start gui from gapplication

subcommands:
  Configuration commands

  {[co]nfig, [freq]uency, [ene]rgy, [pr]ofile, [off]line, [on]line}
                        Change the settings from the command line

For example to switch all governors to performance run cpupower-gui -p. Alternatively, the application actions can be executed via gapplication.

# Switch to balanced profile
gapplication action org.rnd2.cpupower_gui Balanced

# Switch to performance profile
gapplication action org.rnd2.cpupower_gui Performance

The config subcommand apply the default configuration as defined in the configuration files.

$ cpupower-gui co -h
usage: cpupower-gui config [-h]

positional arguments:
  apply       Apply cpupower configuration

optional arguments:
  -h, --help  show this help message and exit

$ cpupower-gui config

Applying configuration...
Setting CPU: 0
    Minimum Frequency: 400.0 MHz, Maximum Frequency: 2300.0 MHz
    Governor: Powersave, Online: True

Setting CPU: 1
    Minimum Frequency: 400.0 MHz, Maximum Frequency: 2300.0 MHz
    Governor: Powersave, Online: True

Setting CPU: 2
    Minimum Frequency: 400.0 MHz, Maximum Frequency: 2300.0 MHz
    Governor: Powersave, Online: True

Setting CPU: 3
    Minimum Frequency: 400.0 MHz, Maximum Frequency: 2300.0 MHz
    Governor: Powersave, Online: True

The frequency subcommand can be used to query or set the minimum and maximum frequencies of one or more CPUs.

$ cpupower-gui freq -h

usage: cpupower-gui frequency [-h] [--max MAX] [--min MIN] [LIST OF CPUS]

positional arguments:
  LIST OF CPUS  set CPUs frequency

optional arguments:
  -h, --help    show this help message and exit
  --max MAX     maximum frequency
  --min MIN     minimum frequency

$ cpupower-gui freq

CPU0:
	Freqs (MHz): (400.0, 2300.0), Limits: (400.0, 2300.0)
CPU1:
	Freqs (MHz): (400.0, 2300.0), Limits: (400.0, 2300.0)
CPU2:
	Freqs (MHz): (400.0, 2300.0), Limits: (400.0, 2300.0)
CPU3:
	Freqs (MHz): (400.0, 2300.0), Limits: (400.0, 2300.0)

$ cpupower-gui freq --min 600 --max 1200 1-3

Setting CPU1 frequency...
OK
OK
CPU1:
	Freqs (MHz): (600.0, 1200.0), Limits: (400.0, 2300.0)
Setting CPU2 frequency...
OK
OK
CPU2:
	Freqs (MHz): (600.0, 1200.0), Limits: (400.0, 2300.0)
Setting CPU3 frequency...
OK
OK
CPU3:
	Freqs (MHz): (400.0, 2300.0), Limits: (400.0, 2300.0)

$ cpupower-gui freq --max 12000 1

Setting CPU1 frequency...
Frequency out of range: 400.0 < freq < 2300.0
CPU1:
	Freqs (MHz): (600.0, 1200.0), Limits: (400.0, 2300.0)

The profile subcommand applies the configuration based on the user-defined profiles.

$ cpupower-gui pr -h

usage: cpupower-gui profile [-h] [-l] [PROFILE]

positional arguments:
  PROFILE     Apply a cpupower profile

optional arguments:
  -h, --help  show this help message and exit
  -l, --list  List available cpupower profiles

$ cpupower-gui pr # Running profile without arguments is equivalent to `-l`

The available profiles are:
	- Balanced
	- Custom
	- Performance

The online and offline subcommands set the specified CPUs on or off.

$ cpupower-gui on -h

usage: cpupower-gui online [-h] [-l] [LIST OF CPUS]

positional arguments:
  LIST OF CPUS  Set CPUs online

optional arguments:
  -h, --help    show this help message and exit
  -l, --list    List online CPUs

$ cpupower-gui on
The following CPUs are online: [0, 1, 2, 3]

$ cpupower-gui off 3
Setting CPU3 offline...
OK

$ cpupower-gui off
The following CPUs are online: [3]

The energy subcommand is only available on Intel systems and it can be used to query or set the energy performance preferences.

$ cpupower-gui energy -h

usage: cpupower-gui energy [-h]
                           [--pref {default,performance,balance_performance,balance_power,power} | --list-energy-preferences [LIST OF CPUS]]

optional arguments:
  -h, --help            show this help message and exit
  --pref {default,performance,balance_performance,balance_power,power}
                        set a global energy profile
  --list-energy-preferences [LIST OF CPUS]
                        list available energy performance preferences
                        (Default: all cpus)

Here is an example of setting the preference to default.

$ cpupower-gui ene --pref default

Setting energy performance preference to: default
Set CPU 0 to default
Set CPU 1 to default
Set CPU 2 to default

Profiles and configuration

Since version 0.9.0 the command line supports setting the CPUs based on a configuration file and setting user-defined profiles.

To apply the default configuration just run cpupower-gui config. To apply a profile run cpupower-gui profile Performance. If the name of the profile contains spaces use quotes, e.g. cpupower-gui profile "Custom profile".

Intel P-State energy performance preferences

The last two options (energy-performance-preference, list-energy-preferences) are only available on Intel systems that use the intel_pstate driver.

The cpupower-gui energy --pref option changes the preference to one of the available preferences for all CPUs.

The list-energy-preferences option accepts a list of CPUs writen in the following format. Comma separated values for listing CPU and hyphen for specifying a range. For example 0-3 and 0,2-5,8 become 0,1,2,3 and 0,2,3,4,5,8 respectively.

If no value is passed it will report the preferences for all available cpus. The current preference is indicated inside the parentheses.

$ cpupower-gui ene --list-energy-preferences 0-3
The available energy performance preferences are:
CPU 0:
	- default
	- performance
	- balance_performance (Current)
	- balance_power
	- power
CPU 1:
	- default
	- performance
	- balance_performance (Current)
	- balance_power
	- power
CPU 2:
	- default
	- performance
	- balance_performance (Current)
	- balance_power
	- power
CPU 3:
	- default
	- performance
	- balance_performance (Current)
	- balance_power
	- power

System configuration and User profiles

System configuration

Since version 0.9.0, cpupower-gui can be configured using configuration files. The system configuration file is located in /etc/cpupower_gui.conf. Users can add .conf files in /etc/cpupower_gui.d to override the default behaviour. The settings in these files override the behaviour of cpupower-gui system-wide.

Alternatively, users can add their configuration in ~/.config/cpupower_gui/. The settings defined in that location take precedence over the ones defined in /etc/.

Currently, the only available settings are:

  • profile under the Profile section,

and under the GUI section,

  • allcpus_default
  • tick_marks_enabled
  • frequency_ticks
  • energy_pref_per_cpu

Specifically,

  • profile option sets the name of the profile to use when using --apply-config option (Default: Balanced).
  • allcpus_default option controls the default state of the To All CPUs toggle of the GUI (Default: False).
  • tick_marks_enabled option controls if tick marks should be displayed on the sliders (Default: True).
  • frequency_ticks option controls if frequency is displayed above the tick marks (Default: True).
  • energy_pref_per_cpu option allows you to select different energy profiles per CPU (Default: False).

User profiles

User profiles are text files with a .profile suffix. These files should be placed either in /etc/cpupower_gui.d/ or ~/.config/cpupower_gui/. Profiles placed in /etc/cpupower_gui.d/ are then available to all users.

An example profile is available at /etc/cpupower_gui.d/my_profile.profile.ex. For more information about the profile format see here.

By default, there are two auto-generated profiles named Balanced and Performance.

systemd units

Since version 0.9.0, two systemd units have been added; a "system" and a "user" one.

The cpupower-gui.service applies the configuration as defined in /etc/cpupower_gui.conf during boot. The cpupower-gui-user.service applies the user configuration during login (see notes below).

In a single-user environment the system service is preferable.

In a multi-user environment, the user service gives each user the ability to customise the profiles based on their needs. When the user logs into the system, their settings will automatically apply.

Notes:

  • The cpupower-gui-user.service currently depends on graphical.target. This is tested and works with Gnome Shell. If it doesn't work on a different display manager, open an issue.
  • To apply the settings during login the user must be active and local to the system. This means that the user must have access to the hardware, so it won't work when the user logs in through ssh.
  • To apply the settings over ssh the user will need root access.

Enabling extra governors

By default, cpupower-gui will only show the available governors for each cpu. To enable additional governors, such as conservative or userspace, copy the scaling-governors.conf file over to /etc/modules-load.d. This way the new governors will be available across reboots.

Manual Installation

This package uses the Meson build system for build configuration and Ninja as the backend build system.

Clone the repository

git clone https://github.com/vagnum08/cpupower-gui.git
cd cpupower-gui

Install build dependencies

The main build depencies are meson (>=0.50.0), ninja, glib2.0, and pkg-config.

To install them,

  • On Arch and derivatives: pacman -Sy pkg-config meson
  • On blackPanther OS and derivatives: (TBD)
  • On Debian and derivatives: apt update && apt install meson ninja-build pkg-config libglib2.0-bin libglib2.0-dev
  • On Fedora: dnf install meson gettext pkg-config glib2-devel
  • On openSUSE Tumbleweed: zypper install meson gettext-tools

Optionally (for meson check) the following programs are needed: desktop-file-validate, appstream-util, glib-compile-schemas.

To install them,

  • On Arch and derivatives: pacman -Sy desktop-file-utils appstream-glib
  • On blackPanther OS and derivatives: (TBD)
  • On Debian and derivatives: apt update && apt install appstream-util desktop-file-utils
  • On openSUSE Tumbleweed: zypper install glib2-devel

Build cpupower-gui

meson build --prefix /usr -Dsystemddir=<path-to-systemd-dir> -Dpkla=<true|false> -Duse_libexec=<true|false>
ninja -C build

Meson options

-Dsystemddir

The systemddir option should point to the systemd directory. If this option is not set the default is used (i.e. /usr/lib/systemd).

  • The default value is valid for Arch/Fedora/OpenSUSE and derivatives.
  • For Debian and Ubuntu based systems you should use -Dsystemddir=/lib/systemd.
-Dpkla

Since version 0.9.0 an additional option (-Dpkla) has been added for PolicyKit rules. This option is set to false by default.

When pkla is set to false a polkit .rules file is installed under /usr/share/polkit-1/rules.d/. When pkla is set to true a .pkla file is installed under /var/lib/polkit-1/localauthority/10-vendor.d/.

  • The default value works Arch/Fedora/NixOS/OpenSUSE and derivatives.
  • For Debian and Ubuntu based systems you should use -Dpkla=true
-Duse_libexec

Since version 1.0.0 an additional option (-Duse_libexec) has been added. This option is set to false by default.

When use_libexec is set to false the helper program is installed under /usr/lib/. When use_libexec is set to true the helper program is installed under /usr/libexec/.

  • The default value works Arch/Fedora/NixOS/OpenSUSE and derivatives.
  • For Debian and Ubuntu based systems you should use -Duse_libexec=true

Install

To install run ninja -C build install

Uninstall

To uninstall run ninja -C build uninstall.

Runtime Dependencies

Note:

Since version 0.7.1, Python GObject version must be >= 3.30

Arch Linux and derivatives

python gtk3 hicolor-icon-theme polkit python-dbus python-gobject libappindicator-gtk3 python-pyxdg libhandy

blackPanther OS and derivatives

python3, gtk3, hicolor-icon-theme, polkit, python3-dbus, python3-gobject3 gir1.2-handy-1 xdg

Debian and derivatives

libgtk-3-0 gir1.2-gtk-3.0 hicolor-icon-theme policykit-1 python3-dbus python3-gi python3-xdg gir1.2-handy-1

Suggested for authentication dialogue: policykit-1-gnome or mate-polkit or lxpolkit

For the tray icon gir1.2-appindicator3-0.1.

Fedora and openSUSE

Fedora only

gtk3 python3-dbus python3-gobject libhandy-1

openSUSE only

libgtk-3-0 typelib-1_0-Gtk-3_0 python3-gobject python3-gobject-Gdk python3-dbus-python typelib-1_0-Handy-1

Common

hicolor-icon-theme python3-pyxdg

A polkit agent such as mate-polkit, polkit-kde-agent-5, policykit-1-gnome, etc. For reading/writing configuration from/to user's home directory: xdg

Issues
  • Cannot install it properly

    Cannot install it properly

    Followed the readme to install.. on ninja -C build install , i get this:

    `No such key “show-mount” in schema “org.gnome.shell.extensions.ding:pop” as specified in override file “/usr/share/glib-2.0/schemas/50_pop-session.gschema.override”; ignoring override for this key.`
    
    after this , i tried to open both the gui and throught the terminal, i get this:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner
        return self.get_name_owner(bus_name)
      File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner
        return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
      File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking
        reply_message = self.send_message_with_reply_and_block(
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.rnd2.cpupower_gui.helper': no such name
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/bin/cpupower-gui", line 33, in <module>
        from cpupower_gui.helper import (
      File "/usr/share/cpupower-gui/cpupower_gui/helper.py", line 14, in <module>
        SESSION = BUS.get_object(
      File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object
        return self.ProxyObjectClass(self, bus_name, object_path,
      File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in __init__
        self._named_service = conn.activate_name_owner(bus_name)
      File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner
        self.start_service_by_name(bus_name)
      File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name
        return (True, self.call_blocking(BUS_D
    
    

    I use PopOS 20.10 with the mainline 5.9.6 kernel

    bug 
    opened by AlfredEVOL 8
  • Invalid argument error while reading scaling_governor

    Invalid argument error while reading scaling_governor

    image When I run it on Arch with XFCE4, it cannot detect the CPUs or their frequency limits. Additionally, when I run it in the terminal, I get

    [[email protected] ~]$ cpupower-gui Traceback (most recent call last): File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 133, in on_cpu_changed self.upd_sliders() File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 107, in upd_sliders self._read_settings(cpu) File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 244, in _read_settings self.governor = HELPER.get_cpu_governor(cpu) File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 141, in call return self._connection.call_blocking(self._named_service, File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking reply_message = self.send_message_with_reply_and_block( dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/dbus/service.py", line 711, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/cpupower-gui/cpupower-gui-helper", line 235, in get_cpu_governor return read_governor(cpu) File "/usr/lib/cpupower-gui/cpupower-gui-helper", line 144, in read_governor governor = sys_file.readline().strip() OSError: [Errno 22] Invalid argument

    Traceback (most recent call last): File "/usr/share/cpupower-gui/cpupower_gui/main.py", line 93, in do_activate win = CpupowerGuiWindow(application=self) File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 72, in init self._read_settings(self._get_active_cpu()) File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 244, in _read_settings self.governor = HELPER.get_cpu_governor(cpu) File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 141, in call return self._connection.call_blocking(self._named_service, File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking reply_message = self.send_message_with_reply_and_block( dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/dbus/service.py", line 711, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/cpupower-gui/cpupower-gui-helper", line 235, in get_cpu_governor return read_governor(cpu) File "/usr/lib/cpupower-gui/cpupower-gui-helper", line 144, in read_governor governor = sys_file.readline().strip() OSError: [Errno 22] Invalid argument

    (cpupower-gui:8991): Gdk-CRITICAL **: 15:40:20.647: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

    bug enhancement 
    opened by seedship 8
  • Frequency setting reset after reboot.

    Frequency setting reset after reboot.

    I'm running Ubuntu 20.04 beta and the frequency I set in cpupower-gui reset after a reboot/shutdown. Before I found this amazing program I use to set frequency manually in a terminal in /sys/device/system/cpu/cpu*/cpufreq/scaling_max_frequency and that also resets after a reboot so it's the system and not your program I believe.

    enhancement 
    opened by lb-d 7
  • [Fedora 33] Bad dependecy with the opensuse build

    [Fedora 33] Bad dependecy with the opensuse build

    In fedora 33 the package asking for pyxdg while i do have python3-pyxdg installed.

    Setup (please complete the following information):

    • Distro: Fedora 33
    • Package version: 0.9.1-1.9
    • Installed via: https://software.opensuse.org/download.html?project=home%3Aerigas%3Acpupower-gui&package=cpupower-gui

    Additional context Specifying the python version with python3-pyxdg or python2-pyxdg could help.

    bug 
    opened by OnikenX 7
  • Version 0.9.0 fails to start

    Version 0.9.0 fails to start

    Hi @vagnum08

    When launching version 0.9.0 built from git (tag v0.9.0), I get:

    % cpupower-gui
    Traceback (most recent call last):
      File "/nix/store/96l1iirm7i91211a3c3xl2ysam3y83b8-cpupower-gui-0.9.0/bin/.cpupower-gui-wrapped", line 126, in <module>
        conf = CpuPowerConfig()
      File "/nix/store/96l1iirm7i91211a3c3xl2ysam3y83b8-cpupower-gui-0.9.0/share/cpupower-gui/cpupower_gui/config.py", line 45, in __init__
        self._read_profiles()
      File "/nix/store/96l1iirm7i91211a3c3xl2ysam3y83b8-cpupower-gui-0.9.0/share/cpupower-gui/cpupower_gui/config.py", line 69, in _read_profiles
        files = self.user_conf.glob("*.profile")
    AttributeError: 'NoneType' object has no attribute 'glob'
    

    running with Python 3.7.

    I didn't do anything other than installing 0.9.0 and launching it. 0.8.0 still runs fine.

    Setup (please complete the following information):

    • Distro: NixOS
    • Package version: 0.9.0
    • Installed via: source
    bug 
    opened by unode 6
  • Fix path transversal vulnerability

    Fix path transversal vulnerability

    Fix cpupower-gui.helper path transversal vulnerability through dbus variant types for cpu. Fix priviledge escalation issues.

    Closes: #3, #4

    opened by vagnum08 6
  • Build instructions do not reflect switch to meson

    Build instructions do not reflect switch to meson

    Is your feature request related to a problem? Please describe. The build instructions in the README are for the old bulld system using autoconf not the new build system using meson and ninja.

    Describe the solution you'd like I would like instructions for building using meson (though I expect they follow the conventional meson workflow).

    Additional context The errors I'm getting with install may be due to me using meson incorrectly so this will allow me to determine the cause.

    enhancement 
    opened by ksteimel 6
  • Display current CPU frequency

    Display current CPU frequency

    Occasionally I notice that my system slows down despite reasonable min/max frequency settings. A few times I've realized this is caused by the CPU being forced into a lower frequency due to thermal throttling or some other reason.

    Would it be possible to include a Current Frequency display in cpupower-gui?

    This information is shown in cpupower frequency-info:

    # cpupower frequency-info
    analyzing CPU 0:
    (...)
      current CPU frequency: Unable to call hardware
      current CPU frequency: 800 MHz (asserted by call to kernel)     <-------------
    (...)
    

    As frequency changes rather often, this panel would have to refresh constantly.

    enhancement 
    opened by unode 5
  • Governor reverting to performance

    Governor reverting to performance

    I've been using this for quite some time. I use a script to set the governor to powersave upon startup. Most of the time, it works well, but the governor randomly reverts to performance. I thought that's because of a high load. So I ran some stress tests, which, however, didn't change the governor. The change seems to be random. Is that a bug?

    opened by rekeeszeng 4
  • Application Fails To Launch After Updating

    Application Fails To Launch After Updating

    Hi there, I used Kubuntu 20.10 and installed CPUPower-GUI from the repositories and the application worked fine.

    However after updating to a newer version it no longer launches, so I removed / purged the newer version and reinstalled the version from the 20.10 repositories but now the application does not want to load at all and spits out the following message in the Terminal.

    [email protected]:~$ cpupower-gui Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/bus.py", line 177, in activate_name_owner return self.get_name_owner(bus_name) File "/usr/lib/python3/dist-packages/dbus/bus.py", line 361, in get_name_owner return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH, File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking reply_message = self.send_message_with_reply_and_block( dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.rnd2.cpupower_gui.helper': no such name

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "/usr/bin/cpupower-gui", line 40, in from cpupower_gui import main File "/usr/share/cpupower-gui/cpupower_gui/main.py", line 36, in from .window import CpupowerGuiWindow File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 25, in SESSION = BUS.get_object( File "/usr/lib/python3/dist-packages/dbus/bus.py", line 241, in get_object return self.ProxyObjectClass(self, bus_name, object_path, File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 250, in init self._named_service = conn.activate_name_owner(bus_name) File "/usr/lib/python3/dist-packages/dbus/bus.py", line 182, in activate_name_owner self.start_service_by_name(bus_name) File "/usr/lib/python3/dist-packages/dbus/bus.py", line 277, in start_service_by_name return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH, File "/usr/lib/python3/dist-packages/dbus/connection.py", line 652, in call_blocking reply_message = self.send_message_with_reply_and_block( dbus.exceptions.DBusException: org.freedesktop.systemd1.UnitMasked: Unit cpupower-gui-helper.service is masked. [email protected]:~$

    Any ideas?

    bug 
    opened by intelligentgaming 4
  • Settings not init at runtime

    Settings not init at runtime

    I do get

    Traceback (most recent call last):
      File "/usr/share/cpupower-gui/cpupower_gui/main.py", line 76, in do_activate
        win = CpupowerGuiWindow(application=self)
      File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 177, in __init__
        self.load_cpu_settings()
      File "/usr/share/cpupower-gui/cpupower_gui/window.py", line 207, in load_cpu_settings
        self.energy_pref_avail = self.settings[0].energy_pref_avail
    KeyError: 0
    

    when running the program. Starting from desktop file also does not work.

    • version: 1.0.0 and upstream
    • distro: arch
    bug 
    opened by tallero 2
  • Memory Leak

    Memory Leak

    This program has a memory leak.

    Program was installed via the AUR.

    bug 
    opened by psypherium 2
  • Fails to load configuration during boot

    Fails to load configuration during boot

    Problem I've created a profile within cpupower-gui and everything seem to be working OK in current session. After i rebooted machine i received message that cpupower-gui failed to set profile.

    To Reproduce Steps to reproduce the behaviour:

    1. Create new profile configuration, apply settings.
    2. Reboot PC
    3. During boot an error message will occur(you need to be fast to see it it will disappear quickly): Failed to start Apply cpupower-gui configt at boot.
    4. After booting into system, start cpupower-gui application again and see frequencies and profile (validate if that's the one you have set in previous session).

    Expected behaviour To boot without error message and to have my cpu frequencies saved afterwards.

    Setup

    • Distro: Manjaro
    • Package version: 1.0.0-2
    • Installed via: Pamac / AUR repo

    Additional context To check failed services during boot use systemctl command.

    bug 
    opened by r4jk3 8
Releases(v1.0.0)
Ubuntu application indicator to show various system parameters

* Use following string to use custom preview that is shown above. (Proprietary Nvidia driver needed, must be running): CPU {cpu} {cputemp} | GPU {

David Mohammed 508 Jun 3, 2021
A linux system information web dashboard using psutils and flask

psdash psdash is a system information web dashboard for linux using data mainly served by psutil - hence the name. Features Installation Getting start

Joakim Hamrén 2.3k Jun 6, 2021
Display and monitor your servers statistics in a beatiful way

ServerStatus ServerStatus is a full rewrite of mojeda's ServerStatus script, which in turn is a modified version of BlueVM's script. Live demo: https:

BotoX 733 Jun 4, 2021
rtop is an interactive, remote system monitoring tool based on SSH

rtop rtop is a remote system monitor. It connects over SSH to a remote system and displays vital system metrics (CPU, disk, memory, network). No speci

RapidLoop 1.9k Jun 3, 2021
A responsive, eye-pleasing Linux server statistics dashboard.

SWMP - Server Web Monitor Page A responsive, eye-pleasing Linux server statistics dashboard. Requirements Installation Settings Show Some Love <3 Cont

Fuzzy 247 May 18, 2021
Real-time performance monitoring, done right! https://www.netdata.cloud

Netdata is high-fidelity infrastructure monitoring and troubleshooting. Open-source, free, preconfigured, opinionated, and always real-time. Netdata's

netdata 54.8k Jun 6, 2021
Time Series Alerting Framework

Bosun Bosun is a time series alerting framework developed by Stack Exchange. Scollector is a metric collection agent. Learn more at bosun.org. Buildin

Bosun 3.2k Jun 3, 2021
A beautiful web dashboard for Linux

v2.0 A simple & low-overhead web dashboard for linux systems Demo | Docs Features Small ----- Under 400KB on disk (with .git removed)! Simple ---- A m

Afaq Tariq 9.6k Jun 6, 2021
Vector is an on-host performance monitoring framework which exposes hand picked high resolution metrics to every engineer’s browser.

Project Status https://groups.google.com/d/msg/vector-users/MWF8nnj1WHw/1EelNPOBAwAJ Today we are sharing with the community that we have contributed

Netflix, Inc. 3.5k May 30, 2021
Adagios - Web Based Nagios Configuration

About Adagios is a web based Nagios configuration interface built to be simple and intuitive in design, exposing less of the clutter under the hood of

Opin Kerfi 319 May 25, 2021