Bug 2210255

Summary: Suspend not working on Fedora 38 (kernel 6.3.8)
Product: [Fedora] Fedora Reporter: Tommi <fedora>
Component: gnome-shell-extension-suspend-buttonAssignee: Björn Esser (besser82) <besser82>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 38CC: besser82, dbcongard, faridzelli, redhat.bugzilla
Target Milestone: ---Keywords: Desktop
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-22 11:11:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tommi 2023-05-26 09:57:00 UTC
Regardless of the way suspend is triggered, it does not work.

Reproducible: Always

Steps to Reproduce:
1a. Click on the suspend button from the GNOME menu, or…
1b. …Close the lid
2. The screen goes black but the device stays on.
Actual Results:  
The device does not go into suspension mode. The screen goes black but actually everything else stays on.

Expected Results:  
The device should properly go into suspension.

Related thread on Fedora Discussion forum: https://discussion.fedoraproject.org/t/suspend-not-working/81465

Is there a way to troubleshoot/debug this issue? I really do not know how to provide more information.

Comment 1 Farid Zellipour 2023-05-26 16:36:35 UTC
I have a similar problem with my HP Pavilion x360 (14-dy0183TU).

However, it's not specific to GNOME, and it only happens when I close the lid. 
Suspend and Hibernate both work fine when assigned to the power button instead.

Can you share additional details about your laptop model? Also, are you able to reproduce it without a desktop environment?

Comment 2 Daniel 2023-05-30 23:24:18 UTC
I have the same issue on KDE, so most likely it's not related to desktop environments. It seems to me that this problem happens when I have resource-heavy apps/processes open/running, but I'm not sure about that.

I can reproduce this issue both when closing the lid and pressing the suspend button.

Linux congard-fedora 6.2.15-200.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 15:56:33 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Strix G513

Comment 3 Bas Mevissen 2023-06-29 18:14:14 UTC
The extension is shown as not compatible with GNOME 44 on Fedora 38.

Comment 4 Farid Zellipour 2023-06-29 18:30:14 UTC
OP selected the wrong component, this is likely a PM issue and it has nothing to do with GNOME or any DE in particular.
It's reproducible on many distros for affected devices (e.g. HP 14-dy0183TU 11th Gen), as I mentioned earlier).
   
In my case, I've successfully reproduced this bug on:

- Debian 12
- Ubuntu 23.04
- Fedora 38
- openSUSE Tumbleweed
- Arch Linux (both with and without a desktop environment)

I've been trying to debug this for months without any luck.
Related: https://github.com/systemd/systemd/issues/27665

Comment 5 Bas Mevissen 2023-07-03 08:56:22 UTC
Agree, looks so. However, my comment on the extension not working is valid. So hopefully that can be resolved.

Comment 6 Tommi 2023-07-05 02:23:29 UTC
Even after disabling all the GNOME extensions I have installed, and after upgrading to Linux kernel `6.3.8-200.fc38.x86_64`, for me **the problem persists**!

Comment 7 Bas Mevissen 2023-07-05 09:28:57 UTC
To avoid confusion, I created https://bugzilla.redhat.com/show_bug.cgi?id=2219768 to report the extension itself to incompatible with GNOME 44.

Comment 8 Aoife Moloney 2024-05-22 11:11:53 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.