You are not logged in.
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.
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:
And here is the output when running a CPU benchmark:
sysbench --test=cpu --cpu-max-prime=20000 --time=60 --threads=16 run
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
try this command:
echo performance | sudo tee /sys/firmware/acpi/platform_profile
Offline
Something changed. The profile was set to quiet before running the command.
These are the readings during sysbench with the performance profile:
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
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
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
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
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).
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
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
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
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
I agree. I will try to isolate the issue.
Thanks for the help!
Offline