Can you tell me how many times you unplugged and plugged power adapter
during that log?

I see that hardware left s0i3 state 4 times over the one suspend cycle:

> 2024-11-19 21:47:42,898 INFO: ○ Hardware sleep cycle count: 4

I'm wondering if it's 1:1 mapping that it woke up and went back to
hardware sleep state or this prevented it from going back to HW sleep
state.  Each time it woke up it would have:

> PM: Triggering wakeup from IRQ 9

You can do some more experiments on your side to understand the
behavior.  But I feel there are one of two things happening.

1) The EC (which woke the system from the power adapter event) has a bug with 
how it handles this event.
2) The Linux kernel (which reacts to the EC SCI) should be doing something more 
with the wakeup event than what it does with advancing EC transactions.

I feel it's /more likely/ a bug with the EC.

-- 
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