Settings Power says high hardware temperature

Bug #1942616 reported by corrado venturini
96
This bug affects 18 people
Affects Status Importance Assigned to Milestone
power-profiles-daemon (Debian)
New
Unknown
power-profiles-daemon (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Settings Power says 'high hardware temperature: performance mode unavailable' while temperature is normal.
corrado@corrado-x5-ii-0901:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +35.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +35.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +34.0°C (high = +80.0°C, crit = +100.0°C)

nvme-pci-0200
Adapter: PCI adapter
Composite: +31.9°C (low = -0.1°C, high = +74.8°C)
                       (crit = +79.8°C)

pch_skylake-virtual-0
Adapter: Virtual device
temp1: +49.5°C

See also attached screenshot

ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: gnome-control-center 1:40.0-1ubuntu4
ProcVersionSignature: Ubuntu 5.13.0-14.14-generic 5.13.1
Uname: Linux 5.13.0-14-generic x86_64
ApportVersion: 2.20.11-0ubuntu68
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Sep 3 16:36:11 2021
InstallationDate: Installed on 2021-09-01 (2 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Alpha amd64 (20210901)
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
corrado venturini (corradoventu) wrote :
affects: gnome-control-center (Ubuntu) → power-profiles-daemon (Ubuntu)
Changed in power-profiles-daemon (Ubuntu):
importance: Undecided → Low
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
Martin Lund (martin-lund) wrote :

I'm seeing the same issue on a Dell XPS9570 (intel chipset) - it reports "high hardware temperature" despite all the temperatures are normal/low.

$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +48.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +47.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +47.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +48.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +46.0°C (high = +100.0°C, crit = +100.0°C)
Core 4: +48.0°C (high = +100.0°C, crit = +100.0°C)
Core 5: +43.0°C (high = +100.0°C, crit = +100.0°C)

pch_cannonlake-virtual-0
Adapter: Virtual device
temp1: +62.0°C

nvme-pci-3d00
Adapter: PCI adapter
Composite: +29.9°C (low = -273.1°C, high = +80.8°C)
                       (crit = +80.8°C)
Sensor 1: +29.9°C (low = -273.1°C, high = +65261.8°C)
Sensor 2: +32.9°C (low = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1: +25.0°C (crit = +107.0°C)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could someone having the issue report it upstream on https://gitlab.freedesktop.org/hadess/power-profiles-daemon ?

Revision history for this message
Sebastien Bacher (seb128) wrote :

sounds like the service is reading /sys/devices/system/cpu/intel_pstate/no_turbo , what is the content of that file on your system when seeing the warning?

Revision history for this message
Martin Lund (martin-lund) wrote :

$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
1

Revision history for this message
Martin Lund (martin-lund) wrote :

I've solved the issue for my case.

I am running a system upgraded to Ubuntu 21.10 beta and long before we had this nice gnome power-profiles-daemon solution I had been playing with different daemons that would manage the CPU performance and mess with the state of intel_pstate/no_turbo. Daemons that I forgot to remove. After removing both cpufreqd and auto-cpufreq, the state of intel_pstate/no_turbo stopped flipping and the gnome performance power mode started working no longer complaining about high hardware temperature.

Now that it seems to be working, the only annoying bit is that the Gnome performance power mode state is lost across system reboot. Maybe this is by design but I think it should remember whatever state configured by the user - it is a bit silly having to go set the performance mode at every system boot.

Revision history for this message
Nikolai Kotsifas (nikolai-kotsifas) wrote :

It also affects me.

Revision history for this message
Vincent Chernin (vchernin) wrote :

Martin you are running into: https://bugs.launchpad.net/ubuntu/+source/power-profiles-daemon/+bug/1943162

Since they seem to be a problem Nikolai can you confirm cpufreqd and auto-cpufreq are not installed?

If they aren’t installed and you still experience this problem please report it to https://gitlab.freedesktop.org/hadess/power-profiles-daemon as mentioned above.

Revision history for this message
Sebastien Bacher (seb128) wrote :

> the Gnome performance power mode state is lost across system reboot

upstream added support for restoring the state now so it will be in the next version of Ubuntu

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

@corrado, could you check if one of the previously mentioned cpufreq packages are installed and if so does uninstalling them makes a difference for you?

Revision history for this message
corrado venturini (corradoventu) wrote : Re: [Bug 1942616] Re: Settings Power says high hardware temperature

I can not check, Will be in hospital for a week

Il gio 21 ott 2021, 09:41 Sebastien Bacher <email address hidden> ha
scritto:

> @corrado, could you check if one of the previously mentioned cpufreq
> packages are installed and if so does uninstalling them makes a
> difference for you?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1942616
>
> Title:
> Settings Power says high hardware temperature
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/power-profiles-daemon/+bug/1942616/+subscriptions
>
>

Revision history for this message
corrado venturini (corradoventu) wrote :

I still have the problem, this is a fresh install from Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20211023)
and i don't have the mentioned packages
corrado@corrado-jj-1023:~$ apt policy cpufreqd auto-cpufreq
cpufreqd:
  Installed: (none)
  Candidate: 2.4.2-2ubuntu3
  Version table:
     2.4.2-2ubuntu3 500
        500 http://it.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
N: Unable to locate package auto-cpufreq
corrado@corrado-jj-1023:~$

Changed in power-profiles-daemon (Ubuntu):
status: Incomplete → Opinion
Changed in power-profiles-daemon (Ubuntu):
status: Opinion → Confirmed
Revision history for this message
Paul Bollerman (paulbollerman) wrote :

Having the same issue, just did a fresh install of ubuntu 21.10 yesterday, and haven't been able to turn on performance mode. Also do not have cpufreqd or auto-cpufreq.

These are my current temps, after running all day

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +49.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +47.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +48.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +49.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +45.0°C (high = +100.0°C, crit = +100.0°C)

pch_skylake-virtual-0
Adapter: Virtual device
temp1: +54.5°C

BAT0-acpi-0
Adapter: ACPI interface
in0: 12.59 V
curr1: 1000.00 uA

ath10k_hwmon-pci-0200
Adapter: PCI adapter
temp1: +45.0°C

dell_smm-virtual-0
Adapter: Virtual device
fan1: 2517 RPM
fan2: 2510 RPM

nvme-pci-0400
Adapter: PCI adapter
Composite: +32.9°C (low = -273.1°C, high = +87.8°C)
                       (crit = +89.8°C)
Sensor 1: +32.9°C (low = -273.1°C, high = -273.1°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1: +25.0°C (crit = +107.0°C)

Revision history for this message
Paul Bollerman (paulbollerman) wrote :

I've reported the issue to power-profiles-daemon here: https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues/59

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue upstream had been closed because it seems to be due to thermald being installed. Is that also the case for the original reporter?

Revision history for this message
corrado venturini (corradoventu) wrote :

Yes, i have thermald installed
corrado@corrado-n4-jj-1107:~$ sudo apt policy thermald
[sudo] password for corrado:
thermald:
  Installed: 2.4.6-3
  Candidate: 2.4.6-3
  Version table:
 *** 2.4.6-3 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status
corrado@corrado-n4-jj-1107:~$

Revision history for this message
corrado venturini (corradoventu) wrote :

But thermald is automatically installed also if not present in manifest
thermald/jammy,now 2.4.6-3 amd64 [installed,automatic]
so i believe this bug should not be closed or the bug should be reopened against thermald?

Revision history for this message
Deekshith (deekshithpranav) wrote :

I have solved the issue with the following material available.
https://gitlab.freedesktop.org/hadess/power-profiles-daemon

Testing
If you don't have hardware that can support the performance mode, or the degraded mode
you can manually run the power-profiles-daemon binary as root with the environment
variable POWER_PROFILE_DAEMON_FAKE_DRIVER set to 1. For example:

sudo POWER_PROFILE_DAEMON_FAKE_DRIVER=1 /usr/libexec/power-profiles-daemon -r -v

Revision history for this message
Olivier Robert (novhak) wrote (last edit ):

I confirm the problem on Impish (21.10), and didn't have it on 21.04. While I have indeed Turbo Boost turned off, it shouldn't behave like that for two reasons :

- The message is false, there is no temperature problem.
- On CPUs with hardware-driven P-states (HWP) on, the performance mode of the control panel sets the Energy Performance Preference (EPP) of the CPU to high performance. While maybe not very useful, it's still possible technically to have Turbo Boost off and EPP set to high performance, and I don't see why it shouldn't be possible through Gnome.

I suspect Gnome checks the "no turbo" flag as a thermal trip indicator, which it is not.

Revision history for this message
corrado venturini (corradoventu) wrote :

But now in Ubuntu 22.04 Settings Power still says 'high hardware temperature: performance mode unavailable' but I can set 'performance'

Revision history for this message
Olivier Robert (novhak) wrote :

That's obviously a bug, since it makes the interface inconsistent. However, it would be interesting to know if setting performance on the interface actually changes anything, i.e. sets EPP to high performance.

Revision history for this message
corrado venturini (corradoventu) wrote (last edit ):

how can i check if EPP is set?
i see the setting is remembered after new boot so i imagine EPP is set.

opened a bug https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1959491

Revision history for this message
Muhammad Atif Ali (matifali) wrote :

For me, I do not even see this option. I have only,
Balanced
and
Power Saver

Revision history for this message
corrado venturini (corradoventu) wrote (last edit ):

After installing proposed option 'Performance' appears again with the info 'Performance mode temporarily disabled due to high operating temperature' while sensors says:
corrado@corrado-n4-jj-0203:~$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +14.0°C (high = +80.0°C, crit = +100.0°C)
Core 0: +13.0°C (high = +80.0°C, crit = +100.0°C)
Core 1: +13.0°C (high = +80.0°C, crit = +100.0°C)

nvme-pci-0200
Adapter: PCI adapter
Composite: +19.9°C (low = -0.1°C, high = +74.8°C)
                       (crit = +79.8°C)

pch_skylake-virtual-0
Adapter: Virtual device
temp1: +31.5°C

corrado@corrado-n4-jj-0203:~$

... yes here is a cold winter and my studio is not heated today

The strange thing is that if instead of using 'Settings Power' I use the drop-down menu at the top right I can set 'Performancer' and then I find it also set in 'Settings Power'

Revision history for this message
Alireza Ghasemi (agcom) wrote (last edit ):

Ubuntu 22.04 on a laptop, dual boot with Windows 11; power menu says "Performance mode temporarily disabled due to high operating temperature.", although I can set the performance mode, but has no effect; CPU cores frequencies are always throttled at their base speeds (1.8 GHz); temperature sensors are reading 0k temperatures:

$ lscpu | grep MHz
CPU max MHz: 1800.0000
CPU min MHz: 400.0000

$ cat /sys/class/thermal/thermal_zone*/temp
31500
31000
33000

$ cat /sys/devices/system/cpu/intel_pstate/no_turbo
0

The solution I accidentally came around is to boot Windows, and then restart and boot Ubuntu; don't know why, but it works ¯\_(ツ)_/¯.

$ lscpu | grep MHz # After booting Windows, then rebooting to Ubuntu.
CPU max MHz: 4000.0000
CPU min MHz: 400.0000

Update: got rid of Windows, fresh-installed Ubuntu 22.04, and updated it; CPU cores frequencies are throttled after a cold-boot (boot after a shutdown), but not after a reboot; so, every time I want to use my laptop, I do a restart to take full power.

Revision history for this message
Allie Campbell (64bitamoeba) wrote :

Does anyone know of a way to automate both turning on power options for unsupported computers AND toggling Performance on? It's tedious to keep running the power-profiles-dameon every time I start my PC, I have to keep the terminal window open, and even then, I must manually toggle from the default Balanced mode to Performance mode.

Revision history for this message
Jordi Torrents (jordiubuntuone) wrote :

I'm on Ubuntu 23.04 in Performance mode. When I run heavy tasks (machine learning) using my Nvidia GPU, CPU temperatures go around 90C, I get the "Performance mode temporarily disabled ..." and cpufreq-info displays:

  driver: intel_pstate
  CPUs which run at the same hardware frequency: 19
  CPUs which need to have their frequency coordinated by software: 19
  maximum transition latency: 4294.55 ms.
  hardware limits: 400 MHz - 3.60 GHz
  available cpufreq governors: performance, powersave
  current policy: frequency should be within 400 MHz and 1.30 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency is 2.00 GHz.

So far so good, the problem is that, after cooling down and resting with no stress at all, it never resets to normal state. It keeps the temperature throttle indefinitely as if the computer was in full-charge. Only a reset fixes the problem, until I run another heavy task...

tags: added: jammy lunar
removed: impish
Revision history for this message
Matteo Basso (mbas06) wrote (last edit ):

This bug affects me too. Performance mode is temporarily disabled due to high operating temperature.
The CPU temperature is 40°C.

Ubuntu version: 23.10

Revision history for this message
Jan Mechtel (janmechtel) wrote (last edit ):

I also have this problem with Kubuntu: 23.04 on a Dell Precision 5750

The message in Kubuntu Plasma is "Performance may be reduced because the computer is running too hot"

Update: not sure what fixed it, but I booted into Windows + turned Intel Turbo On in the BIOS for now the speed is higher + the warning disappeared.

Revision history for this message
Matteo Basso (mbas06) wrote (last edit ):

Could someone fix this annoying bug please? The CPU cannot be fully utilized.

Revision history for this message
Mario Limonciello (superm1) wrote (last edit ):

Anyone still affected by this, can I please ask you to check the 0.21 release? It's been uploaded to Noble. I've also got it backported on a PPA that can be used on Jammy or Mantic:

https://launchpad.net/~superm1/+archive/ubuntu/ppd

After upgrading if you're seeing this message still, can you please gather the value of "/sys/devices/system/cpu/intel_pstate/no_turbo" and "/sys/devices/system/cpu/intel_pstate/turbo_pct" at the same time as the problem?

If that is set then this isn't the "fault" of power-profiles-daemon but rather the hardware, kernel, or other software.

However the "reason" string emitted by power-profiles-daemon might need some improvements.

Changed in power-profiles-daemon (Ubuntu):
status: Confirmed → Incomplete
Changed in power-profiles-daemon (Debian):
status: Unknown → New
Revision history for this message
Adam DeMuri (adam-demuri) wrote :

I'm on 22.04.4, I have an i3-8100 processor (does not support turbo), and I was previously running into this issue. After installing the updated ppd from your PPA, I am no longer seeing this, and I am able to switch to performance mode. Thank you for the fix!

Revision history for this message
Mario Limonciello (superm1) wrote :

That's great to hear!

I'll close this issue then since we have the newer version in Noble and a wishlist bug to backport it to Jammy:
https://bugs.launchpad.net/ubuntu/+source/power-profiles-daemon/+bug/2008958

If anyone else encounters this again, please ensure you're on 0.21 and if you are please capture these at the time of the failure:
/sys/devices/system/cpu/intel_pstate/no_turbo
/sys/devices/system/cpu/intel_pstate/turbo_pct

Changed in power-profiles-daemon (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Evgenii Kolpakov (j0hn1) wrote (last edit ):

Hi! I'm still facing this issue with 0.21-1, but not 100% sure (might be an issue in intel_pstate as well).

In short: on 0.21-1, facing an issue, no_turbo is 0, turbo_pct - file does not exist; writing 0 to no_turbo (even though it was 0 already) fixes the issue.

More details:
* Ubuntu 23.10
* power-profiles-daemon/mantic,now 0.21-1~mantic1 amd64 [installed,automatic]
* Intel i7-14700HX (base 2.1Hhz, Turbo Boost up to 5.5Ghz + efficiency cores with a bit lower freqs)
* NO cpufreqd and auto-cpufreq
* thermald installed and running

$ grep . /sys/devices/system/cpu/intel_pstate/*
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost:0
/sys/devices/system/cpu/intel_pstate/max_perf_pct:100
/sys/devices/system/cpu/intel_pstate/min_perf_pct:16
/sys/devices/system/cpu/intel_pstate/no_turbo:0
/sys/devices/system/cpu/intel_pstate/status:active

Note: turbo_pct - file does not exist

Further observations:

* Right after booting, even though temp is ~45-50C, I see the "high hardware temperature" in system settings.
* cat /sys/devices/system/cpu/intel_pstate/no_turbo returns 0
* Running prime95 saturates all cores at their max non-boost frequencies (2.1Ghz for P-cores and 1.5Ghz for E-cores), temp remains at ~65-70C

Here's the most interesting/puzzling part: even though no_turbo was already 0, explicitly writing 0 to it (echo 0 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo) fixes the problem:

* "high temp" warning in settings immediately goes away
* prime95 on single core: cpu clocks go up to 5.1Ghz, ~90C temp on that core + ~50C on others
* prime95 on all cores: clocks up to ~3.5Ghz, then gradually go down to 2.5-2.8Ghz (80-85C all cores)

Obvious workaround is to just write 0 to no_turbo after boot... but this feels quite strange :)

Revision history for this message
corrado venturini (corradoventu) wrote :

I have again the problem in Ubuntu 24.04, should I open a new bug? thanks.
corrado@corrado-n4-noble:~$ inxi -SCxc
System:
  Host: corrado-n4-noble Kernel: 6.8.0-31-generic arch: x86_64 bits: 64
    compiler: gcc v: 13.2.0
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04 LTS (Noble Numbat)
CPU:
  Info: quad core model: Intel Core i5-1035G1 bits: 64 type: MT MCP
    arch: Ice Lake rev: 5 cache: L1: 320 KiB L2: 2 MiB L3: 6 MiB
  Speed (MHz): avg: 550 high: 1000 min/max: 400/1000 cores: 1: 1000 2: 400
    3: 1000 4: 400 5: 400 6: 400 7: 400 8: 400 bogomips: 19046
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
corrado@corrado-n4-noble:~$

corrado@corrado-n4-noble:~$ sensors
dell_smm-isa-0000
Adapter: ISA adapter
fan1: 0 RPM (min = 0 RPM, max = 4900 RPM)
temp1: +47.0°C
temp2: +35.0°C
temp3: +36.0°C

BAT0-acpi-0
Adapter: ACPI interface
in0: 13.05 V
curr1: 1000.00 uA

coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +47.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +46.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +47.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +43.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +46.0°C (high = +100.0°C, crit = +100.0°C)

nvme-pci-0300
Adapter: PCI adapter
Composite: +33.9°C (low = -273.1°C, high = +82.8°C)
                       (crit = +86.8°C)
Sensor 1: +33.9°C (low = -273.1°C, high = +65261.8°C)

acpitz-acpi-0
Adapter: ACPI interface
temp1: +27.8°C

corrado@corrado-n4-noble:~$

Revision history for this message
Mario Limonciello (superm1) wrote :

This sure sounds like an intel-pstate bug. If you can reproduce it with the latest mainline kernel you should file a bug with the intel-pstate maintainers.

You can find some kernel binaries for mainline kernel here: https://kernel.ubuntu.com/mainline/

Revision history for this message
corrado venturini (corradoventu) wrote :

Problem still here with last kernel Linux corrado-n4-noble 6.9.0-060900rc7-generic #202405052133
please explain: bug for which package? on launchpad?
thanks

Revision history for this message
Mario Limonciello (superm1) wrote :

You can file it here:

https://bugzilla.kernel.org/

Mention your reproduction using a mainline kernel and add your logs.

Revision history for this message
corrado venturini (corradoventu) wrote :

I think the problem is only in gnome-control-center because i can set power-mode performance from drop-down menu in taskbar but receive the message from gnome-control-center

Revision history for this message
Mario Limonciello (superm1) wrote :

How about the command line tool (powerprofilesctl)? Can you switch using that? If it really is a pure GCC bug then you can file it here: https://launchpad.net/ubuntu/+source/gnome-control-center for Ubuntu and here: https://gitlab.gnome.org/GNOME/gnome-control-center for upstream.

Revision history for this message
corrado venturini (corradoventu) wrote :

I can set performance but i don't understand the reply:
corrado@corrado-n4-noble:~$ powerprofilesctl
  performance:
    CpuDriver: intel_pstate
    Degraded: yes (high-operating-temperature)

* balanced:
    CpuDriver: intel_pstate
    PlatformDriver: placeholder

  power-saver:
    CpuDriver: intel_pstate
    PlatformDriver: placeholder
corrado@corrado-n4-noble:~$ powerprofilesctl set performance
corrado@corrado-n4-noble:~$ powerprofilesctl
* performance:
    CpuDriver: intel_pstate
    Degraded: yes (high-operating-temperature)

  balanced:
    CpuDriver: intel_pstate
    PlatformDriver: placeholder

  power-saver:
    CpuDriver: intel_pstate
    PlatformDriver: placeholder
corrado@corrado-n4-noble:~$ powerprofilesctl get
performance
corrado@corrado-n4-noble:~$

Revision history for this message
Mario Limonciello (superm1) wrote :

It's saying the same thing the GUI does.

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.