Bug 1956592 - KDE sleep sometimes doesn't enter sleep
Summary: KDE sleep sometimes doesn't enter sleep
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-baseapps
Version: 34
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-05-04 02:43 UTC by opnsrctechtrn
Modified: 2021-05-04 02:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: ---
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)
The journal output that think is showing the issue (31.15 KB, text/plain)
2021-05-04 02:43 UTC, opnsrctechtrn
no flags Details

Description opnsrctechtrn 2021-05-04 02:43:13 UTC
Created attachment 1779177 [details]
The journal output that think is showing the issue

Description of problem:
Occasionally KDE sleep doesn't work. Upon clicking sleep it begins, screen goes black but system light and fan continue. 

When facing the issue last night system hangs for a couple of minutes, I could get a new terminal (ctrl-alt-F2), run systemctl suspend works fine. 

Version-Release number of selected component (if applicable):
Plasma 5.21 and 5.20 <-- saw 

How reproducible:
Hard to determine, just happens occasionally. Could be kernel related with the AMD CPU S3 state, but then unsure why the command can work. I did not notice this in GNOME X11 or Wayland (currently using KDE Plasma X11).

Steps to Reproduce:
1. Click sleep in KDE application launcher
2. System hangs

Actual results: System never fully enters sleep, but can be woken up again.

Expected results: System enters sleep state.

Additional info:
OS: Fedora release 34 (Thirty Four) x86_64 
   /-----------omMMMNNNMMD  ---:     Host: 81NB Lenovo IdeaPad S340-14API 
  :-----------sMMMMNMNMP.    ---:    Kernel: 5.11.16-300.fc34.x86_64 
 :-----------:MMMdP-------    ---\   Uptime: 1 day, 1 hour, 26 mins 
,------------:MMMd--------    ---:   Packages: 2431 (rpm), 25 (flatpak) 
:------------:MMMd-------    .---:   Shell: bash 5.1.0 
:----    oNMMMMMMMMMNho     .----:   Resolution: 1920x1080, 1920x1080 
:--     .+shhhMMMmhhy++   .------/   DE: Plasma 5.21.4 
:-    -------:MMMd--------------:    WM: KWin 
:-   --------/MMMd-------------;     WM Theme: Ant-Dark 
:-    ------/hMMMy------------:      Theme: Breeze Dark [Plasma], Adwaita [GTK2], Breeze [GTK3] 
:-- :dMNdhhdNMMNo------------;       Icons: breeze-dark [Plasma], breeze-dark [GTK2/3] 
:---:sdNMMMMNds:------------:        Terminal: konsole 
:------:://:-------------::          CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8) @ 2.100GHz 
:---------------------://            GPU: AMD ATI 04:00.0 Picasso 
                                     Memory: 5578MiB / 7446MiB 

Freezing of tasks failed after 20.000 seconds (2 tasks refusing to freeze, wq_busy=0):
May 04 00:30:51 localhost.localdomain kernel: task:file.so         state:D stack:    0 pid: 4806 ppid:  3795 flags:0x00004004

PID4806 is klauncherRWbCAB.

Note You need to log in before you can comment on or make changes to this bug.