You are not logged in.

#1 2024-08-03 18:36:01

Alby
Member
Registered: 2024-08-02
Posts: 6

[SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

Hi there,

I have installed Arch Linux with Hyprland on my ASUS Vivobook Pro 15X OLED laptop (specs), which features a 12th Gen Intel i7 processor and an NVIDIA RTX 3060 GPU.
After consulting the ArchWiki page on ASUS Linux, I successfully set up asusctl and rog-control-center.

Initially, the only feature supported by asusctl was configuring a battery charge threshold.
Following the Asus Linux guide, I installed custom kernel patches tailored for Asus devices.
I also installed the DKMS version of the Nvidia drivers. Here is the kernel version I am currently running:

6.10.2-arch1-1.1-g14

These patches enabled additional functionalities, such as switching between ASUS-made performance presets, similar to the functionality on Windows.

ELBucr0.jpg

However, I've encountered a significant issue: the CPU fan does not spin under any performance mode, and I have no manual control over the fan speed whatsoever.
Software tools I've tried do not detect any PWM-capable fans. I suspect that incorrect CPU temperature readings are causing the fan not to spin.
Below is a screenshot from the btop command with no load applied to the system:

WVAYgms.png

And here is the output when running a CPU benchmark:

sysbench --test=cpu --cpu-max-prime=20000 --time=60 --threads=16 run

ZyDu9IK.png

As you can see, there's almost no difference in the temperature readings, which doesn't make sense.
The CPU is clearly thermal throttling, as evidenced by the very low CPU frequency.

I've tried running:

sudo sensors-detect --auto

to refresh the sensors, but it didn't resolve the issue.
I want to clarify that the incorrect temperature readings were present even before I updated to the custom kernel, and that everything is working perfectly fine on Windows.

Does anyone have any insights or suggestions on how to address this problem? Thanks.

Last edited by Alby (2024-08-05 12:52:50)

Offline

#2 2024-08-04 16:07:27

meddabeast
Member
Registered: 2024-07-29
Posts: 8

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

try this command:

echo performance | sudo tee /sys/firmware/acpi/platform_profile

Offline

#3 2024-08-05 09:32:55

Alby
Member
Registered: 2024-08-02
Posts: 6

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

Something changed. The profile was set to quiet before running the command.
These are the readings during sysbench with the performance profile:

xK7NkpB.png

Not that much of a difference, but I can definitely hear the fans now.
Even if the CPU fan does not seem to be spinning fast enough, since the CPU is still throttling.

Furthermore, the performance results of sysbench are still way off.
This is what I am getting on Arch:

CPU speed:
    events per second:  3029.87

General statistics:
    total time:                          60.0044s
    total number of events:              181818

Latency (ms):
         min:                                    1.00
         avg:                                    5.28
         max:                                   74.96
         95th percentile:                        8.90
         sum:                               959809.41

And this is what I am getting on Windows, running sysbench under WSL2:

CPU speed:
    events per second:  8158.22

General statistics:
    total time:                          60.0016s
    total number of events:              489517

Latency (ms):
         min:                                    0.89
         avg:                                    1.96
         max:                                   24.15
         95th percentile:                        3.62
         sum:                               959585.12

Thanks for the help, but there is something here that we are still missing.

Last edited by Alby (2024-08-05 09:34:59)

Offline

#4 2024-08-05 10:02:49

meddabeast
Member
Registered: 2024-07-29
Posts: 8

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

okay i think i know what's going on,
you have power capping which limits the performance even when you're in performance mode
to verify this please do the following and send the results:

powercap-info

powercap is in the AUR

Offline

#5 2024-08-05 10:14:37

Alby
Member
Registered: 2024-08-02
Posts: 6

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

This is the output:

intel-rapl-mmio
  enabled: 1
  Zone 0
    name: package-0
    enabled: 1
    max_energy_range_uj: 262143328850
    Constraint 0
      name: long_term
      power_limit_uw: 15000000
      time_window_us: 55967744
      max_power_uw: 45000000
    Constraint 1
      name: short_term
      power_limit_uw: 25000000
      time_window_us: 2440
      max_power_uw: 0
intel-rapl
  enabled: 1
  Zone 0
    name: package-0
    enabled: 1
    max_energy_range_uj: 262143328850
    Constraint 0
      name: long_term
      power_limit_uw: 115000000
      time_window_us: 55967744
      max_power_uw: 45000000
    Constraint 1
      name: short_term
      power_limit_uw: 115000000
      time_window_us: 2440
      max_power_uw: 0
    Constraint 2
      name: peak_power
      power_limit_uw: 215000000
      max_power_uw: 0
    Zone 0:0
      name: core
      enabled: 0
      max_energy_range_uj: 262143328850
      Constraint 0
        name: long_term
        power_limit_uw: 0
        time_window_us: 976
    Zone 0:1
      name: uncore
      enabled: 0
      max_energy_range_uj: 262143328850
      Constraint 0
        name: long_term
        power_limit_uw: 0
        time_window_us: 976
  Zone 1
    name: psys
    enabled: 0
    max_energy_range_uj: 262143328850
    Constraint 0
      name: long_term
      power_limit_uw: 0
      time_window_us: 27983872
    Constraint 1
      name: short_term
      power_limit_uw: 0
      time_window_us: 976

Offline

#6 2024-08-05 10:40:12

meddabeast
Member
Registered: 2024-07-29
Posts: 8

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

ok great now run this command

sudo powercap-set -p intel-rapl-mmio -z 0 -e 0

then do a benchmark.
don't forget to put the performance platform profile

Offline

#7 2024-08-05 11:34:03

Alby
Member
Registered: 2024-08-02
Posts: 6

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

Thanks for the help. We definitely have an improvement.

CPU speed:
    events per second:  6732.85

General statistics:
    total time:                          60.0024s
    total number of events:              403998

Latency (ms):
         min:                                    1.44
         avg:                                    2.38
         max:                                   35.39
         95th percentile:                        2.81
         sum:                               959862.66

Even if still far from the performance on Windows.
Temperature readings are still way off, but at least it seems that the CPU is not throttling (frequency is fixed at 2.2 GHz).

HdSpsBs.png

I have a few questions:
- Do you think there are other power limits in place?
- Is it possible that my integrated GPU has some kind of limits as well? I am getting a lower than expected refresh rate on both the laptop display and an external display, even if they are configured correctly

Offline

#8 2024-08-05 12:03:22

meddabeast
Member
Registered: 2024-07-29
Posts: 8

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

Alby wrote:

Thanks for the help. We definitely have an improvement.
I have a few questions:
- Do you think there are other power limits in place?
- Is it possible that my integrated GPU has some kind of limits as well? I am getting a lower than expected refresh rate on both the laptop display and an external display, even if they are configured correctly

yes there are also reports of low TDP on nvidia gpus (not the igpus) take a look here https://wiki.archlinux.org/title/NVIDIA … _.28TDP.29
to fix that just enable nvidia-powerd service and check the max power using nvidia-smi

about the refresh rate. i'm not getting you. do you mean that you are not having the correct refresh rate displayed in the settings ? for example. you have 144hz monitor and it's only allowing you to pick 60hz ?

Offline

#9 2024-08-05 12:25:10

Alby
Member
Registered: 2024-08-02
Posts: 6

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

yes there are also reports of low TDP on nvidia gpus (not the igpus) take a look here https://wiki.archlinux.org/title/NVIDIA … _.28TDP.29
to fix that just enable nvidia-powerd service and check the max power using nvidia-smi

I just checked my Nvidia GPU and the TDP is fine.

Do you mean that you are not having the correct refresh rate displayed in the settings ? for example. you have 144hz monitor and it's only allowing you to pick 60hz ?

My laptop display is 2880x1620@120Hz and my external display is 3840x2160@120Hz. I can correctly see and configure these settings. However, the displays do not actually run under those settings.
I am using https://www.testufo.com/refreshrate to measure the refresh rate.
If I detach the external display, my laptop display runs correctly at 120 Hz.
If I connect the external display, my laptop runs at 60 Hz and the external display at approximately 45 Hz.
I always thought this was due to the CPU overheating and throttling, but now that it seems to be working correctly, the issue might be another.

Offline

#10 2024-08-05 12:41:53

meddabeast
Member
Registered: 2024-07-29
Posts: 8

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

I never used two displays in my setup. so i can't help with that.
but maybe it's a hyprland issue or a wayland issue. so if this is a bug that should be reported, i would suggest to try another wayland compositor kde for example or try xorg DE to know what's causing the issue

Offline

#11 2024-08-05 12:52:14

Alby
Member
Registered: 2024-08-02
Posts: 6

Re: [SOLVED] Incorrect CPU temperature readings on ASUS Vivobook Pro 15X

I agree. I will try to isolate the issue.
Thanks for the help!

Offline

Board footer

Powered by FluxBB