https://bugs.kde.org/show_bug.cgi?id=528771
Bug ID: 528771
Summary: Shutdown process hangs at a black screen
Classification: Plasma
Product: plasmashell
Version First 6.8.2
Reported In:
Platform: CachyOS
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Session Management
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
DESCRIPTION
After running Battle.net (and WoW) through Faugus Launcher
(umu-launcher + Proton-CachyOS with PROTON_ENABLE_WAYLAND=0, so the Wine
windows run under Xwayland), choosing Shut Down from the Plasma menu leaves
the system on a black screen indefinitely. Apps close and the session and
KWin are torn down, but plasma-shutdown stays alive and idle and never
requests poweroff. Other VTs keep working: logging in on TTY2 and running
`shutdown now` powers off normally. `pkill plasma-shutdown` gets me back to the
login screen. Without Battle.net having been launched
in the session, shutdown works as expected.
STEPS TO REPRODUCE
1. Open a wine application launched with XWayland (maybe only background apps
qualify, not confirmed)
2. Shut down normally via a system menu
3. Wait for a couple of seconds
4. Observe a black screen with a flickering prompt (_)
OBSERVED RESULT
Shut down process hangs on a black screen
EXPECTED RESULT
PC shuts down normally
SOFTWARE/OS VERSIONS
❯ kinfo
Operating System: CachyOS Linux
KDE Plasma Version: 6.8.2
KDE Frameworks Version: 6.31.0
Qt Version: 6.12.0
Kernel Version: 7.3.3-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 24 × 12th Gen Intel® Core™ i9-12900K
Memory: 32 GiB of RAM (31.1 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 3080 Ti
Graphics Processor 2: Intel® UHD Graphics 770
ADDITIONAL INFORMATION
Journal from an affected shutdown (trimmed):
18:15:40 systemd[1170]: Started dbus-:[email protected].
18:15:41 systemd[1170]: Started dbus-:[email protected].
18:15:42 systemd[1170]: Stopped target plasma-workspace-wayland.target.
18:15:42 systemd[1170]: Stopped KDE Plasma Workspace.
18:15:42 systemd[1170]: Stopped KDE Session Management Server.
18:15:42 1password: FATAL:content/browser/gpu/... (crashed, coredump)
18:15:43 systemd[1170]: Stopped KDE Wayland Compositor.
18:15:43 faugus-launcher: XIO: fatal IO error 110 ... / terminate called
recursively
--- nothing for ~80 seconds; no poweroff request from plasma-shutdown ---
18:16:43 (user switches to TTY2 and logs in)
18:17:02 systemd-logind: poweroff requested from client PID 73509 ('shutdown')
18:17:02 systemd[1170]: Stopped dbus-:[email protected].
Backtrace of the hung plasma-shutdown process (taken from TTY2 while hung).
Both threads are idle in the event loop, i.e. it appears to be waiting for a
D-Bus reply/signal that never arrives rather than being deadlocked:
Thread 2 "QDBusConnection":
#1 ppoll () from libc.so.6
#3 g_main_context_iteration () from libglib-2.0.so.0
#4 QEventDispatcherGlib::processEvents(...) from libQt6Core.so.6
#5 QEventLoop::exec(...)
#6 QThread::exec()
#7 ?? () from libQt6DBus.so.6
Thread 1 "plasma-shutdown":
#1 ppoll () from libc.so.6
#3 g_main_context_iteration () from libglib-2.0.so.0
#4 QEventDispatcherGlib::processEvents(...) from libQt6Core.so.6
#5 QEventLoop::exec(...)
#6 QCoreApplication::exec()
--
You are receiving this mail because:
You are watching all bug changes.