ASUS UX360UAK, Intel i7-7500u CPU frequency problems

Dear community,

I've been a long-time lurker on these forums and I've just registered as I decided to stick to Manjaro and solve this issue somehow.

I'm rather new to linux in general, although I've had occasional attempts in the past ~10 years to make the switch from Windows. Tried Ubuntu, Mint, Fedora even Arch back in the days but I mostly failed because of hardware problems. Ultimately I always ended up returning to Windows. :frowning:

A few months ago getting tired of Windows 10 along with all the bloat, security and performance crap I decided to give another try and see how linux is doing nowadays. I really liked all the improvements and general state of the FOSS community and to be honest, I really think that the values and the idea of free and open source software at this time and age is something that we need more than ever.

So enough of the rant. There is a problem how linux handles my CPU's frequency - over various distributions. Most of them keeps the CPU at maximum (3500) in turbo boost frequencies, which after some ends up throttling down to 2700, which is the maximum without boost. Regardless of being under stress or being idle it kept going at it. I verified this monitoring CPU load in htop, which was not more than 1-2% in idle.

Obviously this keeps the fans going on maximum for most of the time thus making the laptop loud and bad. However, unplugging and running the laptop from battery seems to solve this issue. The CPU nicely scales down to 800, which is the minimum frequency.

This issue is persistent among the gnome, xfce and cinnamon editions of Manjaro (and Linux Mint, Ubuntu, MX Linux). It's the same with 4.14, 4.19, 5.0 and 5.1 kernels as well. Which makes me think it is caused by something beyond the base of the system.

The only exception I found by testing out the latest Manjaro rc builds. Manjaro 18.1.0-rc3 KDE edition actually scales my CPU back to 800 being idle or shows any scaling in connection to CPU load other than running on max turbo boost. Which is completely beyond me. I'm happy that I finally have an install that is usable on my laptop, but on the other hand it boggles my mind - and the fact that now I'm stuck to a DE that would not necessarily be my first choice.

Honestly I've been searching for solutions for weeks now but nothing seems to work. Switching from intel_pstate to acpi-cpufreq is one possible way, but that doesn't explain the behavior of the intel_pstate driver in the first place, not to mention that intel_pstates should be the superior and most supported driver at present.

Any help would be appreciated.

System:
  Host: gabor-pc Kernel: 5.1.16-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.1.0 Desktop: KDE Plasma 5.16.2 Distro: Manjaro Linux 
Machine:
  Type: Convertible System: ASUSTeK product: UX360UAK v: 1.0 
  serial: <root required> 
  Mobo: ASUSTeK model: UX360UAK v: 1.0 serial: <root required> 
  UEFI: American Megatrends v: UX360UAK.317 date: 04/18/2019 
Battery:
  ID-1: BAT0 charge: 31.3 Wh condition: 31.3/57.1 Wh (55%) 
  model: ASUSTeK ASUS Battery status: Not charging 
CPU:
  Topology: Dual Core model: Intel Core i7-7500U bits: 64 type: MT MCP 
  arch: Kaby Lake rev: 9 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 23240 
  Speed: 1206 MHz min/max: 400/3500 MHz Core speeds (MHz): 1: 1206 
  2: 1133 3: 1072 4: 1009 
Graphics:
  Device-1: Intel HD Graphics 620 vendor: ASUSTeK driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.5 driver: intel unloaded: modesetting 
  resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 620 (Kaby Lake GT2) 
  v: 4.5 Mesa 19.1.1 direct render: Yes 
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  Sound Server: ALSA v: k5.1.16-1-MANJARO 
Network:
  Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel port: f040 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: b8:8a:60:ef:a0:f1 
Drives:
  Local Storage: total: 476.94 GiB used: 7.45 GiB (1.6%) 
  ID-1: /dev/sda vendor: SK Hynix model: HFS512G39TND-N210A 
  size: 476.94 GiB 
Partition:
  ID-1: / size: 118.40 GiB used: 7.42 GiB (6.3%) fs: ext4 dev: /dev/sda5 
  ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda6 
Sensors:
  System Temperatures: cpu: 41.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 177 Uptime: 23m Memory: 7.68 GiB used: 1.18 GiB (15.3%) 
  Init: systemd Compilers: gcc: 9.1.0 Shell: bash v: 5.0.7 inxi: 3.0.34

You've probably read this in search of answers?
https://wiki.archlinux.org/index.php/CPU_frequency_scaling

I don't know why different DEs would do that. Though it did happen to me with XFCE last month when I was tinkering with different DEs. I dismissed it as a fluke and never looked into it further. Now I kind of wish I had.

There's obviously something I don't know about how DEs work with the kernel and thus the hardware going on apparently.
Maybe one of the Gurus around here will lend some knowledge.

:slight_smile:

Thanks for your reply!

Yes, the way I found out about this issue was through that wiki page. At first I thought I'm having a fan or temperature issue. But monitoring through "watch grep "cpu MHz" /proc/cpuinfo" I realized it's in turbo boost all times.

Now my only complaint with the KDE edition is that the CPU is incredibly jumpy, especially compared to win. Just by a move of the mouse it jumps from 800 to 2400-2700 in a second. The fan follows this instantly so my system feels like a roller coaster. But at least temperatures and throttling are not an issue anymore.

it's probably not the desktop environment itself, more likely it's because the rc3 comes with the latest kernel and/or other newer packages than the stable releases.

run this command and post output. do it once from battery only and once from ac power.

sudo tlp-stat -p

this you can easily fix a number of ways, TLP probably the easiest since it's already enabled by default.

you can uncomment/edit these lines /etc/default/tlp and the power profile will be the same when using AC or BAT power.

TLP_PERSISTENT_DEFAULT=1
TLP_DEFAULT_MODE=BAT

OR
leave those 2 lines as they are and uncomment/edit these 2 lines instead.

CPU_SCALING_GOVERNOR_ON_AC=powersave
CPU_SCALING_GOVERNOR_ON_BAT=powersave

Hi, thanks for the reply! Here's the output for tlp:

  1. KDE AC Power:
--- TLP 1.2.2 --------------------------------------------

+++ Processor
CPU model      = Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  11 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  25 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  32

x86_energy_perf_policy: program not installed.

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

2: KDE Battery

--- TLP 1.2.2 --------------------------------------------

+++ Processor
CPU model      = Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  11 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  25 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  32

x86_energy_perf_policy: program not installed.

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

3: GNOME AC

[manjaro@manjaro-gnome ~]$ sudo tlp-stat -p
--- TLP 1.2.2 --------------------------------------------

+++ Processor
CPU model      = Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  11 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  25 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  32

x86_energy_perf_policy: program not installed.

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

GNOME Battery:

+++ Processor
CPU model      = Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3500000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  11 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  25 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  32

x86_energy_perf_policy: program not installed.

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Undervolting
PHC kernel not available.

Looks the same to me, which means it isn't TLP either? On a previous stable install I actually tried with/without TLP and thermald as well to no avail.

looks the same to me as well. does gnome show any processes using more load that it should?

just to clarify, you have the issue with gnome, but not with kde?

Correct. Same problem with XFCE and Cinnamon as well. Only KDE seems to be scaling down properly.

In terms of processes gnome is clearly more heavy than KDE, but the load is not more than 2-3% so nothing too funky there. KDE also uses 1-2% being idle as well.

have you tried the RC versions of gnome/xfce/cinnamon?

or even just install the ones you installed before and then change to the testing branch. ?

Oh these are all the latest rc3 versions, sorry about that. But the stable 18.0.4 works the same way of those DEs. Haven't tried 18.0.4 KDE.

Right now what works for me is the rc3 KDE edition.

theres a first time for everything. KDE working better than XFCE. jokes aside, ideally, what is your target desktop environment?

1 Like

Isn't that the truth. :rofl:

I'm just wondering, probably a dumb thought, but could this be connected to the IGP? @luna mentioned quick throttle ups when they moved the mouse (Which I know is sort of typical for desktop environments, the worst can be windows with that) but maybe a driver issue of some kind? The IGP making the CPU boost? Not many driver choices for Intel IGPs though.
Apologies, not trying to but in. :slight_smile:

1 Like

it's certainly possible. @luna trying to diagnose this from a working setup is only gonna produce hypothetical ideas of solving whats wrong. post the outputs of these commands so they can be compared later if need be and then install the version of manjaro you actually want to use and then we can troubleshoot from there where the issue is actually happening.

lspci -v
lsmod

after installing, run a full update and reboot.

sudo pacman-mirrors -f8 ; sudo pacman -Syyu
#if there are no issues/errors, reboot
2 Likes

Thank you for your help!

So I went to sleep and planned to install the gnome version to troubleshoot but then something interesting happened. I put my laptop in sleep mode by closing the lid (according to settings it's the basic sleep mode) and when I logged back in in the morning, KDE is doing the same thing!!!

CPU running at 3500 constantly, fan going crazy. Plugging it off immediately solves the issue.

After a full restart on AC power the whole time 3-4 minutes after boot CPU starts scaling back to 2300-2700 non-boost frequencies but now it doesn't go under their. I changed no settings, didn't install anything, the only difference is the sleep mode.

According to sensors, CPU is at 52 degrees after 6-7 minutes starting the system.

dont bother posting the outputs from KDE since the problem exists there also. just get whichever manjaro version you want installed and fully updated, then reboot. from there the troubleshooting can begin. among other things, after the update you can also give kernel 5.2 a try and see if things work better there.

I went ahead, installed the gnome rc3 iso (the installer theming is broken btw) and it's a bit different. Still 3500 on AC but on battery it seems to be stuck at 900 with occasional jumps to 2700 for a split second, which makes the whole system extremely sluggish and laggy.

Ran it, no problem found.

Here are the outputs.

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
	Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
	Flags: bus master, fast devsel, latency 0
	Capabilities: [e0] Vendor Specific Information: Len=10 <?>
	Kernel driver in use: skl_uncore

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) (prog-if 00 [VGA controller])
	Subsystem: ASUSTeK Computer Inc. HD Graphics 620
	Flags: bus master, fast devsel, latency 0, IRQ 132
	Memory at ee000000 (64-bit, non-prefetchable) [size=16M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: [40] Vendor Specific Information: Len=0c <?>
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [100] Process Address Space ID (PASID)
	Capabilities: [200] Address Translation Service (ATS)
	Capabilities: [300] Page Request Interface (PRI)
	Kernel driver in use: i915
	Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
	Subsystem: ASUSTeK Computer Inc. Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
	Flags: fast devsel, IRQ 16
	Memory at ef120000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 3
	Capabilities: [e0] Vendor Specific Information: Len=0c <?>
	Kernel driver in use: proc_thermal
	Kernel modules: processor_thermal_device

00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
	Subsystem: Intel Corporation Sunrise Point-LP Integrated Sensor Hub
	Flags: bus master, fast devsel, latency 0, IRQ 20
	Memory at ef139000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP USB 3.0 xHCI Controller
	Flags: bus master, medium devsel, latency 0, IRQ 124
	Memory at ef110000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [70] Power Management version 2
	Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Thermal subsystem
	Flags: fast devsel, IRQ 18
	Memory at ef138000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at ef137000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP Serial IO I2C Controller
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at ef136000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] Vendor Specific Information: Len=14 <?>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP CSME HECI
	Flags: bus master, fast devsel, latency 0, IRQ 126
	Memory at ef135000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: [50] Power Management version 3
	Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SATA Controller [AHCI mode]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 125
	Memory at ef130000 (32-bit, non-prefetchable) [size=8K]
	Memory at ef134000 (32-bit, non-prefetchable) [size=256]
	I/O ports at f090 [size=8]
	I/O ports at f080 [size=4]
	I/O ports at f060 [size=32]
	Memory at ef133000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [70] Power Management version 3
	Capabilities: [a8] SATA HBA v1.0
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00002000-00002fff [size=4K]
	Memory behind bridge: a0000000-a01fffff [size=2M]
	Prefetchable memory behind bridge: 00000000a0200000-00000000a03fffff [size=2M]
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Kernel driver in use: pcieport

00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: None
	Memory behind bridge: ef000000-ef0fffff [size=1M]
	Prefetchable memory behind bridge: None
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP PCI Express Root Port
	Capabilities: [a0] Power Management version 3
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Access Control Services
	Capabilities: [200] L1 PM Substates
	Capabilities: [220] Secondary PCI Express <?>
	Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP LPC Controller
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP PMC
	Flags: fast devsel
	Memory at ef12c000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP HD Audio
	Flags: bus master, fast devsel, latency 32, IRQ 133
	Memory at ef128000 (64-bit, non-prefetchable) [size=16K]
	Memory at ef100000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [50] Power Management version 3
	Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: ASUSTeK Computer Inc. Sunrise Point-LP SMBus
	Flags: medium devsel, IRQ 16
	Memory at ef132000 (64-bit, non-prefetchable) [size=256]
	I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

02:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
	Subsystem: Intel Corporation Wireless 8260
	Flags: bus master, fast devsel, latency 0, IRQ 129
	Memory at ef000000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: [c8] Power Management version 3
	Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [140] Device Serial Number b8-8a-60-ff-ff-ef-a0-f1
	Capabilities: [14c] Latency Tolerance Reporting
	Capabilities: [154] L1 PM Substates
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

Module                  Size  Used by
btrfs                1404928  0
xor                    24576  1 btrfs
raid6_pq              122880  1 btrfs
ufs                    90112  0
hfsplus               118784  0
hfs                    73728  0
minix                  45056  0
ntfs                  229376  0
msdos                  20480  0
jfs                   208896  0
xfs                  1679360  0
libcrc32c              16384  2 btrfs,xfs
dm_mod                155648  0
cmac                   16384  1
ccm                    20480  3
rfcomm                 90112  16
fuse                  131072  3
snd_soc_skl           118784  0
squashfs               69632  0
snd_soc_hdac_hda       24576  1 snd_soc_skl
snd_hda_ext_core       36864  2 snd_soc_hdac_hda,snd_soc_skl
loop                   40960  0
uvcvideo              114688  0
snd_soc_skl_ipc        69632  1 snd_soc_skl
intel_rapl             28672  0
snd_hda_codec_hdmi     61440  1
bnep                   28672  2
snd_soc_sst_ipc        20480  1 snd_soc_skl_ipc
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
coretemp               20480  0
snd_hda_codec_realtek   126976  1
snd_hda_codec_generic    90112  1 snd_hda_codec_realtek
ledtrig_audio          16384  2 snd_hda_codec_generic,snd_hda_codec_realtek
videobuf2_vmalloc      20480  1 uvcvideo
snd_soc_sst_dsp        40960  1 snd_soc_skl_ipc
arc4                   16384  2
videobuf2_memops       20480  1 videobuf2_vmalloc
kvm_intel             311296  0
btusb                  57344  0
snd_soc_acpi_intel_match    28672  1 snd_soc_skl
videobuf2_v4l2         28672  1 uvcvideo
btrtl                  20480  1 btusb
btbcm                  16384  1 btusb
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
btintel                28672  1 btusb
i915                 2166784  10
videodev              233472  3 videobuf2_v4l2,uvcvideo,videobuf2_common
bluetooth             667648  41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_soc_core          282624  2 snd_soc_hdac_hda,snd_soc_skl
iwlmvm                450560  0
kvm                   745472  1 kvm_intel
hid_sensor_accel_3d    20480  0
hid_sensor_trigger     20480  2 hid_sensor_accel_3d
industrialio_triggered_buffer    16384  1 hid_sensor_accel_3d
kfifo_buf              16384  1 industrialio_triggered_buffer
hid_sensor_iio_common    20480  2 hid_sensor_trigger,hid_sensor_accel_3d
mac80211              962560  1 iwlmvm
industrialio           86016  4 industrialio_triggered_buffer,hid_sensor_trigger,kfifo_buf,hid_sensor_accel_3d
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   20480  1
hid_sensor_hub         24576  3 hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_accel_3d
fat                    86016  2 msdos,vfat
snd_compress           28672  1 snd_soc_core
irqbypass              16384  1 kvm
intel_ishtp_hid        28672  0
ac97_bus               16384  1 snd_soc_core
media                  57344  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          49152  3
iwlwifi               368640  1 iwlmvm
asus_nb_wmi            28672  0
mousedev               24576  0
i2c_algo_bit           16384  1 i915
ecdh_generic           24576  2 bluetooth
asus_wmi               32768  1 asus_nb_wmi
snd_hda_codec         155648  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
hid_multitouch         32768  0
iTCO_wdt               16384  0
joydev                 28672  0
drm_kms_helper        212992  1 i915
crct10dif_pclmul       16384  1
mei_hdcp               24576  0
gpio_keys              20480  0
sparse_keymap          16384  1 asus_wmi
iTCO_vendor_support    16384  1 iTCO_wdt
crc32_pclmul           16384  0
wmi_bmof               16384  0
hid_generic            16384  0
ghash_clmulni_intel    16384  0
cfg80211              815104  3 iwlmvm,iwlwifi,mac80211
snd_hda_core          102400  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl
aesni_intel           372736  4
drm                   499712  5 drm_kms_helper,i915
snd_hwdep              16384  1 snd_hda_codec
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
intel_cstate           16384  0
pcspkr                 16384  0
snd_pcm               135168  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
input_leds             16384  0
snd_timer              40960  1 snd_pcm
intel_uncore          135168  0
mei_me                 45056  1
intel_gtt              24576  1 i915
snd                   102400  16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm
intel_rapl_perf        16384  0
idma64                 20480  0
intel_xhci_usb_role_switch    16384  0
agpgart                53248  2 intel_gtt,drm
intel_lpss_pci         20480  0
i2c_i801               36864  0
syscopyarea            16384  1 drm_kms_helper
intel_lpss             16384  1 intel_lpss_pci
mei                   118784  3 mei_hdcp,mei_me
soundcore              16384  1 snd
intel_ish_ipc          24576  0
sysfillrect            16384  1 drm_kms_helper
rfkill                 28672  9 asus_wmi,bluetooth,cfg80211
intel_ishtp            53248  2 intel_ishtp_hid,intel_ish_ipc
intel_pch_thermal      16384  0
processor_thermal_device    16384  0
roles                  16384  1 intel_xhci_usb_role_switch
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
i2c_hid                32768  0
intel_soc_dts_iosf     20480  1 processor_thermal_device
wmi                    32768  2 asus_wmi,wmi_bmof
tpm_crb                20480  0
int3403_thermal        16384  0
battery                24576  0
ac                     16384  0
tpm_tis                16384  0
int340x_thermal_zone    16384  2 int3403_thermal,processor_thermal_device
tpm_tis_core           24576  1 tpm_tis
evdev                  24576  26
mac_hid                16384  0
tpm                    73728  3 tpm_tis,tpm_crb,tpm_tis_core
soc_button_array       20480  0
rng_core               16384  1 tpm
int3400_thermal        20480  0
asus_wireless          20480  0
acpi_thermal_rel       16384  1 int3400_thermal
pcc_cpufreq            20480  0
uinput                 20480  0
crypto_user            16384  0
ip_tables              32768  0
x_tables               49152  1 ip_tables
usbhid                 65536  0
hid                   143360  6 i2c_hid,usbhid,hid_multitouch,hid_sensor_hub,intel_ishtp_hid,hid_generic
ext4                  749568  1
crc32c_generic         16384  0
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  131072  1 ext4
sd_mod                 57344  4
serio_raw              20480  0
atkbd                  36864  0
libps2                 20480  1 atkbd
ahci                   40960  3
libahci                40960  1 ahci
libata                274432  2 libahci,ahci
xhci_pci               20480  0
crc32c_intel           24576  3
xhci_hcd              266240  1 xhci_pci
scsi_mod              249856  2 sd_mod,libata
i8042                  32768  1 asus_nb_wmi
serio                  28672  4 serio_raw,atkbd,i8042


try checking bios for power management settings or charging behavior. try different options if they are available.

you mentioned you tried thermald in the past, have you tried cpupower?
even if you have you can try again with a more customized configuration.

sudo pacman -S cpupower
#then post these outputs
cpupower frequency-info
cat /etc/default/cpupower

I don't have any bios options for power management.

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:  Cannot determine or is not supported.
  hardware limits: 400 MHz - 3.50 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 400 MHz and 3.50 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.60 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
#governor='ondemand'

# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="2.25GHz"
#max_freq="3GHz"

# Specific frequency to be set.
# Requires userspace governor to be available.
# Do not set governor field if you use this one.
#freq=

# Utilizes cores in one processor package/socket first before processes are 
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=

# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=

#  Sets a register on supported Intel processore which allows software to convey
# its policy for the relative importance of performance versus energy savings to
# the  processor. See man (1) CPUPOWER-SET for additional details.
#perf_bias=

# vim:set ts=2 sw=2 ft=sh et:

Which is rather interesting, according to cpupower cpu is at 2600 but watch grep "cpu MHz" /proc/cpuinfo reports 3500 at the same time.

first post this,

sudo cpupower -c all info -b

then edit /etc/default/cpupower to match this below.

# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='powersave'

# Limit frequency range
# Valid suffixes: Hz, kHz (default), MHz, GHz, THz
#min_freq="2.25GHz"
#max_freq="3GHz"

# Specific frequency to be set.
# Requires userspace governor to be available.
# Do not set governor field if you use this one.
#freq=

# Utilizes cores in one processor package/socket first before processes are 
# scheduled to other processor packages/sockets.
# See man (1) CPUPOWER-SET for additional details.
#mc_scheduler=

# Utilizes thread siblings of one processor core first before processes are
# scheduled to other cores. See man (1) CPUPOWER-SET for additional details.
#smp_scheduler=

#  Sets a register on supported Intel processore which allows software to convey
# its policy for the relative importance of performance versus energy savings to
# the  processor. See man (1) CPUPOWER-SET for additional details.
perf_bias=10

# vim:set ts=2 sw=2 ft=sh et:

save/exit

sudo systemctl enable cpupower --now

then reboot and run some test and see if the behavior is better on both AC and BAT

1 Like
analyzing CPU 0:
perf-bias: 6
analyzing CPU 1:
perf-bias: 6
analyzing CPU 2:
perf-bias: 6
analyzing CPU 3:
perf-bias: 6

This is the output. Then I changed /etc/default/cpupower according to you.

And something interesting's happening. grep "cpu MHz" /proc/cpuinfo still reports 3500 with some fluctuations to 1700 but every time I enter "cpupower frequency-info" it reports 1700 and for a split second /proc/cpuinfo also jumps at 1700.

Is it possible that one of them reports fake frequencies?

some read info from different places. i keep my laptop set to performance with a perf_bias=0(max perf) and it stays around 3-3.2ghz without getting hot.

sudo cpupower -c all frequency-info -f 

should give you an accurate reading.

if you have any other power management utilities like TLP, disable them for now.

sudo systemctl disable tlp --now
sudo systemctl disable tlp-sleep --now

also, you should have CPU settings in your bios for "speedstep" and/or "hyperthreading" among others that you should try and see if it fixes the problem. if speedstep is disabled IIRC then your cpu will remain at a constant instead of scaling down when load is minimal. if those settings are getting in the way there is no software solution that would override them so start there.

1 Like