You are not logged in.

#1 2023-03-22 18:10:16

tyson_the_13th
Member
Registered: 2022-03-31
Posts: 9

CPU Frequency stuck at Minimum Frequency

Machine : Alienware X15 R2 Laptop
CPU : Intel i9-12900H
GPU : integrated intel graphics and NVIDIA GeForce RTX 3080ti
Dual-booting in Windows 11 and Arch Linux

uname -a
Linux Arch 6.2.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 18 Mar 2023 01:06:36 +0000 x86_64 GNU/Linux

I am currently running gnome with external GPU on X server.
Recently, I have noticed that there is a severe lag that happens when I plug out the charger. Switching workspaces is signifiantly slower, wifi transfer rate decreases significantly, and chrome and kitty terminal take longer time to load.

This does not happen when the charger is plugged out at the time of boot. It does not happen when the charger is plugged in. It only happens when I plug in the charger and plug it out.

I have read about cpupower on Arch wiki and tried to manipulate the cpu frequency but it did not work.

cat /etc/default/cpupower
# Define CPUs governor
# valid governors: ondemand, performance, powersave, conservative, userspace.
governor='performance'

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

I believe I have Intel P_state driver running.

cpupower frequency-info
analyzing CPU 8:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 8
  CPUs which need to have their frequency coordinated by software: 8
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 400 MHz - 4.90 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 2.50 GHz and 4.50 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 400 MHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

I have masked the power-profiles-daemon service and I don't have tlp service running.

It was working fine without any lag until recently. Just in case it helps, what I did the last two days was updating the system using

pacman -Syu

and installing Hyprland on Wayland and trying it out.

After it starts to lag on battery after plugging out the charger, if I run

systemctl suspend

and then wake it up, it removes the lag without the plugging the charger in.

Please let me know what information I would need to provide additionally to better clarify my situation.
What could possibly be wrong?

Last edited by tyson_the_13th (2023-03-22 19:01:48)

Offline

#2 2023-03-22 19:03:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,376

Re: CPU Frequency stuck at Minimum Frequency

Dell firmwares are known to be buggy here, try updating your UEFI and/or completely shutting down, unplugging and taking out the battery for a few seconds.

Offline

#3 2023-03-22 23:16:04

tyson_the_13th
Member
Registered: 2022-03-31
Posts: 9

Re: CPU Frequency stuck at Minimum Frequency

V1del wrote:

Dell firmwares are known to be buggy here, try updating your UEFI and/or completely shutting down, unplugging and taking out the battery for a few seconds.

I updated UEFI with fwupd, and I also tried to remove the battery for a minute and rebooted.
The problem still is not solved.

One thing I noticed was that on battery mode, when it's still lagging, if I suspend it with

systemctl suspend

and wake it up, the lag disappears.

Do you think this could be related somehow?

Offline

Board footer

Powered by FluxBB