> Just to give another data point, I've been running 5.19 from hwe-edge
(instead of hwe) for some time but I realized this suspend issue after
updating hwe-edge from 5.19.0.28.29~22.04.6 to 5.19.0.32.33~22.04.9.

I had a try with the latest 5.19 HWE kernel on a Lenovo Z13 I have on
hand (with a similar APU) but can't seem to reproduce the issue
reported.

Since I can't seem to reproduce if this is a correct datapoint, I think ideally 
this should be bisected between those two git tags to figure out why this is 
happening.
Ubuntu-hwe-5.19-5.19.0-28.29_22.04.1
Ubuntu-hwe-5.19-5.19.0-32.33_22.04.1

You can clone from https://git.launchpad.net/~ubuntu-
kernel/ubuntu/+source/linux/+git/jammy to get those two tags to bisect
with.

> 6.1 from linux-oem-22.04c indeed fixes this suspend/ resume issue for
me.

AFAICT 5.19 was EOL already upstream at that time, so Canonical was
tracking patches from 6.0.y to bring into their 5.19 kernel.  I
/suspect/ what happened is by doing this some dependency commits from
6.0 are missing.  If you can identify which commit caused the problem it
will help a lot to figure out what else is missing.

Assuming it's an amdgpu regression  (which we don't know right now) the
one that looks most relevant is:

89bedb408c48 drm/amdgpu: disallow gfxoff until GC IP blocks complete
s2idle resume

So another option is for one of the Canonical kernel guys to try to
build a 5.19 test kernel with that reverted.  If that helps I'll look
for the other related commits to this.

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

Title:
  HWE-22.04 Kernel 5.19 breaks suspend/wake on newer AMD Ryzen CPUs

Status in linux-hwe-5.19 package in Ubuntu:
  Confirmed

Bug description:
  After 22.04 LTS upgraded the linux-generic-hwe kernel to 5.19.0.32
  (from 5.15.0.60) suspend/wake up is broken on my laptop.

  The system refuses to wake up in about 50% of the cases, seemingly
  random. The only "solution" is a forced system power down.

  Reverting back to 5.15.0.60 resolves this issue immediately.

  I suspect some patch was not re-applied to 5.19, since there are many
  postings on Reddit (for instance) about sleep problems with newer AMD
  CPUs, but 5.15 was running beautifully.

  My machine is a Lenovo Thinkpad T14s AMD Gen 3, AMD 6850u CPU.

  UPDATE:

  See attached log. This may not be a case of the laptop failing to
  resume, but a case of the laptop not suspending properly!

  What happened was the following. When packing in my things,  I closed
  the laptop and put it in my bag. At home I picked it up again, and
  immediately noticed how unusually hot it was. The laptop didn't resume
  properly on opening the lid, but was frozen as before.

  So this might actually be a case of the laptop FAILING TO SUSPEND
  properly, instead of failing to wake up.

  UPDATE:

  I just noticed the battery was down to the low 40% from at least 80%.
  Given the temperature on opening the laption I suspect the CPU has
  been working hard during "sleep time".

  EDIT:

  Changed title after confirmation for earlier Ryzen 5000 CPU.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-5.19/+bug/2007718/+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