Power Mode keeps switching back to balanced after performance is selected manually

Bug #1952539 reported by Henning Sprang
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
power-profiles-daemon (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I want my computer to keep running in performance mode.
This worked well with 21.04, but since the upgrade the gnome shell applet tp switch this has been gone, instead in the setting i can now chose between performance / balanced and power saver.

When I chose performance, close the settings app, and start doing what I want (make music with applications for this), I soon start to hear latency crackles.

I go back to the settings then, and continue to see Power Mode being switched back to Balanced.

What would I expect:

I would expect after chosing Performance explicitly, it would stay like this.
Especially as long as I dont change the power connection state of the machine or reboot, but ideally even when these things happen.

But here, it doesn't even stay as selected even though the system is on a power line, and no reboot. It doesn't even last one minute in the state I chose it to be.

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-control-center 1:40.0-1ubuntu5
ProcVersionSignature: Ubuntu 5.13.0-21.21-lowlatency 5.13.18
Uname: Linux 5.13.0-21-lowlatency x86_64
ApportVersion: 2.20.11-0ubuntu71
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Sun Nov 28 01:54:18 2021
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2020-04-12 (594 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
SourcePackage: gnome-control-center
UpgradeStatus: Upgraded to impish on 2021-11-14 (13 days ago)

Revision history for this message
Henning Sprang (henning) wrote :
Revision history for this message
Henning Sprang (henning) wrote :

I looked into some more things to get this solved.

While the Setting application says my power mode - the one it keeps getting back too despizte I chose another is "balanced", looking into the system it tells mie it's on powersafe:

$ cat /sys/devices/system/cpu/*/cpufreq/scaling_governor
powersave
...

(repeated with one line like this for each cpu core i have)

Looking at cpufreq-info, it tells me there is not "balanced" option:

$ /usr/bin/cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to <email address hidden>, please.
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 4294.55 ms.
  hardware limits: 800 MHz - 4.80 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 800 MHz and 4.80 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 4.43 GHz.

So I wonder what the balanced option is about, if it's not reflected on the system, but despite that the system keeps going back to it.

I read the ubuntu help pages about the power mode, and it says these options in the setting application should do what they look like.

But I cant confirm this.
It ignores my choices, and reverts back to a setting that doesn't event seem to be known to the system.

Henning Sprang (henning)
summary: - Power Mode keeps switching back to balanced afert performance is
+ Power Mode keeps switching back to balanced after performance is
selected manually
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Sounds like you need the fix for bug 1943162, which is only in 22.04 (http://cdimage.ubuntu.com/daily-live/current/)

affects: gnome-control-center (Ubuntu) → power-profiles-daemon (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in power-profiles-daemon (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue should be fixed in the current version

Changed in power-profiles-daemon (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.