at Mario:
sorry, I don't understand question. How do I change power adapter state over 
the suspend sequence?

at AceLan:

$     grep "" /sys/devices/system/cpu/cpufreq/policy*/cpuinfo_max_freq
/sys/devices/system/cpu/cpufreq/policy0/cpuinfo_max_freq:5293000
/sys/devices/system/cpu/cpufreq/policy10/cpuinfo_max_freq:6080000
/sys/devices/system/cpu/cpufreq/policy11/cpuinfo_max_freq:6080000
/sys/devices/system/cpu/cpufreq/policy12/cpuinfo_max_freq:5764000
/sys/devices/system/cpu/cpufreq/policy13/cpuinfo_max_freq:5764000
/sys/devices/system/cpu/cpufreq/policy14/cpuinfo_max_freq:5449000
/sys/devices/system/cpu/cpufreq/policy15/cpuinfo_max_freq:5449000
/sys/devices/system/cpu/cpufreq/policy1/cpuinfo_max_freq:5293000
/sys/devices/system/cpu/cpufreq/policy2/cpuinfo_max_freq:5137000
/sys/devices/system/cpu/cpufreq/policy3/cpuinfo_max_freq:5137000
/sys/devices/system/cpu/cpufreq/policy4/cpuinfo_max_freq:5608000
/sys/devices/system/cpu/cpufreq/policy5/cpuinfo_max_freq:5608000
/sys/devices/system/cpu/cpufreq/policy6/cpuinfo_max_freq:6080000
/sys/devices/system/cpu/cpufreq/policy7/cpuinfo_max_freq:6080000
/sys/devices/system/cpu/cpufreq/policy8/cpuinfo_max_freq:5924000
/sys/devices/system/cpu/cpufreq/policy9/cpuinfo_max_freq:5924000

> Only reboot can recover the issue

Issue disappears when I plug power cable out of the laptop. CPU turn off
does not have effect:

$     sudo chcpu -d 1-15 && sudo chcpu -e 1-15
CPU 1 disabled
CPU 2 disabled
CPU 3 disabled
CPU 4 disabled
CPU 5 disabled
CPU 6 disabled
CPU 7 disabled
CPU 8 disabled
CPU 9 disabled
CPU 10 disabled
CPU 11 disabled
CPU 12 disabled
CPU 13 disabled
CPU 14 disabled
CPU 15 disabled
CPU 1 enabled
CPU 2 enabled
CPU 3 enabled
CPU 4 enabled
CPU 5 enabled
CPU 6 enabled
CPU 7 enabled
CPU 8 enabled
CPU 9 enabled
CPU 10 enabled
CPU 11 enabled
CPU 12 enabled
CPU 13 enabled
CPU 14 enabled
CPU 15 enabled

and processor frequency monitoring shows (comparing to description):

CPU      MHZ
  0 543.9320
  1 544.2400
  2 544.2120
  3 544.4260
  4 543.9670
  5 544.3680
  6 544.2330
  7 544.3450
  8 544.4040
  9 400.0000
 10 544.4570
 11 544.4160
 12 400.0000
 13 543.9950
 14 544.0650
 15 400.0000

when I plug out power cable, frequency immediately jumps up.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2088733

Title:
  low CPU frequency after wake up AMD Ryzen

Status in linux package in Ubuntu:
  New

Bug description:
  After wake up I can see at least once a week issue with CPU frequency
  not going up. When running:

  $ watch lscpu -e=CPU,MHZ

  standard output looks like:

  CPU       MHZ
    0  400.0000
    1 1383.2480
    2  400.0000
    3  400.0000
    4  400.0000
    5 2699.7561
    6 1288.0500
    7  400.0000
    8  400.0000
    9  400.0000
   10  400.0000
   11  400.0000
   12 3244.0720
   13  400.0000
   14  400.0000
   15 1295.9050

  while when the issue occurs, I can't see 600 Mhz or higher values in
  the same graph. Which also means that response time of computer is
  much lower and everything feels lazy.

  Restart fixes the issue or plug power cable off and in again.

  My CPU is AMD Ryzen™ 7 PRO 7840HS w/ Radeon™ 780M Graphics × 16
  My kernel version: 6.8.0-48-generic #48-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 
14:04:52 UTC 2024
  OS version: Ubuntu 24.04.1 LTS
  My laptop: HP ZBook Firefly 14 inch G10 A Mobile Workstation PC

  I know about one more person with same machine type with the issue and
  there is also this question on askubuntu which says there is third
  person with this issue.

  https://askubuntu.com/questions/1531956/cpu-too-slow-after-waking-up-
  in-ubuntu-24-04-1

  This bug looks pretty similar however should be fixed already, so creating 
new one
  https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2088733/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to