Skip to contentSkip to conversation

New: hibernation regression since 6.0.18 (Ryzen-5650U incl. Radeon GPU)

Bug 216917 [email protected] 1 participant 5 messages Jan 11, 2023 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216917

            Bug ID: 216917
           Summary: hibernation regression since 6.0.18 (Ryzen-5650U incl.
                    Radeon GPU)
           Product: Drivers
           Version: 2.5
    Kernel Version: 6.0.18
          Hardware: AMD
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Platform_x86
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Since Linux-6.0.18 hibernation isn't working anymore. 6.0.17 was working fine.

When doing
systemctl start hibernate.target
the screen turns black, but the system doesn't power down. Same problem for "platform" and "shutdown" in /etc/systemd/sleep.conf => HibernateMode.

Force rebooting the system makes GRUB skip the boot menu (like normal when waking from hibernation), but the system just boots up freshly, not restoring the old state.

= System =
Model: HP EliteBook 845 G8 (notebook)
CPU+GPU: Ryzen 5650U incl. Radeon GPU
OS: openSUSE-15.4
Kernel: compiled from kernel.org
The HP EliteBook 845 G8 uses s0ix/s2idle.

Sadly I don't know how to provide helpful logs. After reboot there's nothing helpful in /var/log/messages
Just this:

2023-01-11T18:45:51.208584+01:00 myhost systemd[1]: Reached target Sleep.
2023-01-11T18:45:51.224615+01:00 myhost systemd[1]: Starting Hibernate...
2023-01-11T18:45:51.253804+01:00 myhost systemd-sleep[1998]: INFO: running
/usr/lib/systemd/system-sleep/grub2.sleep for hibernate
2023-01-11T18:45:51.253875+01:00 myhost systemd-sleep[1998]: INFO: Running
prepare-grub ..
2023-01-11T18:45:51.322933+01:00 myhost systemd-sleep[1998]:   running kernel
is grub menu entry openSUSE Leap 15.4 (vmlinuz-6.0.18-v6.0.18-myhost)
2023-01-11T18:45:51.323010+01:00 myhost systemd-sleep[1998]:   preparing
boot-loader: selecting entry openSUSE Leap 15.4, kernel
/boot/6.0.18-v6.0.18-myhost
2023-01-11T18:45:51.331546+01:00 myhost systemd-sleep[1998]:   running
/usr/sbin/grub2-once "openSUSE Leap 15.4"
2023-01-11T18:45:51.585503+01:00 myhost systemd-sleep[1998]:     time needed
for sync: 0.0 seconds, time needed for grub: 0.2 seconds.
2023-01-11T18:45:51.585585+01:00 myhost systemd-sleep[1998]: INFO: Done.
2023-01-11T18:45:51.586273+01:00 myhost systemd-sleep[1996]: Entering sleep
state 'hibernate'...
2023-01-11T18:45:51.588025+01:00 myhost kernel: [   39.640758][ T1996] PM:

hibernation: hibernation entry

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216917] hibernation regression since 6.0.18 (Ryzen-5650U incl. Radeon GPU)

https://bugzilla.kernel.org/show_bug.cgi?id=216917

--- Comment #1 from kolAflash ([email protected]) ---
I've narrowed the problem down to somewhen between 6fc4c0cd9 (last known good) and v6.0.18

Linux-6.1.4 is fine.
(i just can't use it productively because of
https://gitlab.freedesktop.org/drm/amd/-/issues/2171 )

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216917] hibernation regression since 6.0.18 (Ryzen-5650U incl. Radeon GPU)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216917

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Mario Limonciello (AMD) ([email protected]) --- If it's between 6fc4c0cd9 and v6.0.18 a bisect would be best, but my first educated guess would be:

306df163069e ("drm/amdgpu: make display pinning more flexible (v2)")

If you revert that does it start working again?

It's peculiar that 6.1.4 is fine, that fix is also in 6.1.4 but we might need something else.

Quoted 2 lines

(i just can't use it productively because of
https://gitlab.freedesktop.org/drm/amd/-/issues/2171 )

Yeah; hopefully that's fixed soon.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216917] hibernation regression since 6.0.18 (Ryzen-5650U incl. Radeon GPU)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216917

--- Comment #3 from kolAflash ([email protected]) --- Perfect guess!
Indeed 306df163069e is broken and it's predecessor is fine. Reverting 306df163069e on v6.0.18 also made the problem disappear.

Last good:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=306df163069e78160e7a534b892c5cd6fefdd537^

First bad:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=306df163069e78160e7a534b892c5cd6fefdd537

Just wanted to say THANK YOU for all your help in the last couple of month!!! Both of my Ryzen notebooks wouldn't work as great as they do without you and Alex.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 216917] hibernation regression since 6.0.18 (Ryzen-5650U incl. Radeon GPU)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216917

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
          Component|Platform_x86                |Video(DRI - non Intel)
           Assignee|drivers_platform_x86@kernel |drivers_video-dri@kernel-bu
                   |-bugs.osdl.org              |gs.osdl.org
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.