Comment 23 for bug 1873083

Revision history for this message
Carolos (carolosf) wrote :

I also have the same issue - using ubuntu 20.04.

It happens usually when I have the laptop plugged in to power - maybe the turbo boost or scaling governor changes when the laptop is plugged in to my charger.

It usually happens when I am on a video call and screensharing or recording my desktop or running a game like bioshock via steam.

I don't have any of the above issues when I boot into windows (first time I have had to use windows in 5 years).

I have managed to reduce the problem a bit but not completely by following the enhanced thermal configuration section here:
https://docs.01.org/clearlinux/latest/guides/maintenance/cpu-performance.html
Enable DPTF in your bios.

First run:
sudo systemctl status thermald.service
and note it is missing "Using generated /etc/thermald/thermal-conf.xml.auto"

sudo apt install acpica-tools
git clone https://github.com/intel/dptfxtract.git
cd dptfxtract
sudo acpidump > acpi.out
acpixtract -a acpi.out
sudo ./dptfxtract *.dat

Run the following again to see if it worked:
sudo systemctl status thermald.service
You should now have "Using generated /etc/thermald/thermal-conf.xml.auto"

Things left to try:
On this page:
https://docs.01.org/clearlinux/latest/guides/maintenance/cpu-performance.html

Try buid the ThermalMonitor tool
https://github.com/intel/thermal_daemon/tree/master/tools/thermal_monitor

Seeing if changing the scaling governor makes a difference:
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
shows powersave while charging for me but I may have changed it with
echo powersave | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Disabling turbo boost might help but haven't tried it yet:
echo 1 | sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo