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

I'm meaning do either of these scenarios (specifically) trigger it:

1) You start your suspend sequence with it unplugged and then plug in and then 
resume and the issue happens.
2) You start your suspend sequence with it plugged and then unplug in and then 
resume and the issue happens.

If so; I don't *think* this is a Linux bug, it feels more like an EC
firmware bug.

If you can please capture a report with this script it would assist with
triaging anything else common.

https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py

1) Start plugged in
2) Run the script and program a wakeup cycle.
3) Before the timer would go off, unplug.
4) See if issue happens. 
5) Share the text file report that is generated.

If it only triggers starting unplugged and then plugging in, share the
report from that instead.

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