https://bugs.kde.org/show_bug.cgi?id=450488

            Bug ID: 450488
           Summary: Wayland - turning monitor off and back on causes
                    plasmashell hang
           Product: plasmashell
           Version: 5.24.1
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: dancemetalh...@gmail.com
                CC: k...@davidedmundson.co.uk
  Target Milestone: 1.0
             Flags: Wayland+, X11-

Created attachment 146891
  --> https://bugs.kde.org/attachment.cgi?id=146891&action=edit
plasmashell logs after monitor wake up

SUMMARY
Turning monitor off and back on causes plasmashell hang. After turning monitor
on task panel is gone immediately, desktop background image remains the same,
and widgets are frozen for a 30 seconds or so. After ~30 seconds background
turns black, and widgets are also gone. Right click on the desktop gives
nothing. Some applications are still running and I'm able to alt+tab between
them (firefox, chromium, terminator), some applications hang and crash after
some time (konsole, qbittorrent, kwallet). However, plasmashell continues
running (or at least it looks like so, the process exists), and I can start
applications via KRunner (alt+f2). I fix plasma by running `plasmashell
--replace`, after that desktop works fine - task panel is visible again,
widgets are also visible and updating, my desktop background is back.

There are lots of similar lines in plasmashell log:
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
requesting unexisting screen -1
kde.plasmashell: could not find primary screen "DP-2"

In crash reports of applications I see "The wayland connection experienced a
fatal error" and "The Wayland connection broke. Did the Wayland compositor
die?" messages.

STEPS TO REPRODUCE
1. Turn monitor off
2. Wait for like 15 seconds
3. Turn it back on. 
Note: same happens if it goes into standby mode after period of inactivity
configured via system settings. However, in this case wait a bit more before
touching mouse or keyboard to wake it up - like for 30 seconds or more,
everything is fine if waking up it immediately after switch into standby.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 21.10, kernel 5.16.2-051602-generic, fresh KDE
imported via official ppa
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91
Qt Version: 5.15.2
OpenGL renderer string: AMD Radeon RX 580 Series (polaris10, LLVM 13.0.1, DRM
3.44, 5.16.2-051602-generic), amdgpu driver
OpenGL core profile version string: 4.6 (Core Profile) Mesa 22.1.0-devel
(git-9cbcdfb 2022-02-16 impish-oibaf-ppa)
Monitor connected via DP

ADDITIONAL INFO:
* experiencing this bug since 5.22.5, not sure if it'd happened before, started
trying out Wayland since then
* I've tried deleting ".config/plasmashellrc" (read in some other bugs'
discussions), no changes
* I've tried building plasmashell from source today and running it, no
difference, same behaviour (--version reported 5.24.80)
* it looks very similar to bug 438839, however in my case plasmashell doesn't
crash, and it doesn't necessarily produce .crash report after "plasmashell
--replace". I thought better to report this.
* After I run "plasmashell --replace" there are three processes:
dance       9962    9801  0 фев17 tty2  00:05:15 /usr/bin/plasmashell
dance      31902    9962  0 фев17 tty2  00:00:00 [plasmashell] <defunct>
dance      64376       1  1 фев17 pts/2 00:00:37 /usr/bin/plasmashell --replace
Is that normal?
* I'm in doubt it's plasmashell issue in fact. May it be some KWin problem?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to