Bug 462216 - Plasma widgets freeze after a while when unfocused or after getting a notification
Summary: Plasma widgets freeze after a while when unfocused or after getting a notific...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL: https://gitlab.freedesktop.org/mesa/m...
Keywords:
: 463242 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-11-24 21:03 UTC by Akseli Lahtinen
Modified: 2023-01-05 21:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Akseli Lahtinen 2022-11-24 21:03:18 UTC
SUMMARY
When using any app on foreground, like Firefox or playing a game, widgets on my second monitor seem to pause.
This also means the clock widget. I have also system monitor widgets inside a panel on my second monitor.

STEPS TO REPRODUCE
0. Probably need two monitors for this, one for checking the clock and other for fullscreen application (if necessary). Also use Wayland. Clock should have seconds enabled so you can see the pause.
1. Have no windows open
2. Open firefox or any other browser, or a game and maximize it
3. The plasma clock widget will pause after a while of inactivity.
4. When activating any plasma element, opening any new window, getting notification or clicking the wallpaper, the plasma widgets unfreeze again.

OBSERVED RESULT
Plasma widgets tend to pause/freeze at some point, like they are going to "save mode"

EXPECTED RESULT
Plasma widgets would continue operating normally

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 37
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.9-300.fc37.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

ADDITIONAL INFORMATION
Sometimes activating this bug only takes few seconds, sometimes around a minute.
Comment 1 Akseli Lahtinen 2022-11-24 21:04:29 UTC
Seems that just refreshing the web page on firefox also wakes up the widgets momentarily, but they pause again quickly.

In my journalctl I see following around same time the pause happens:

Nov 24 23:03:58 fedora kded5[1843]: org.kde.plasma.appmenu: Got an error
Nov 24 23:03:58 fedora kded5[1843]: org.kde.plasma.appmenu: Got an error
Comment 2 Akseli Lahtinen 2022-11-24 21:07:21 UTC
Even faster way to make this bug happen is using notify-send

Whenever I do notify-send, the notification pops up and the notification counter circle starts going down. However at certain point it just pauses, and this pauses all widgets etc.

This also appears during the bug:

Nov 24 23:06:57 fedora plasmashell[33591]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x56114051f740) QQmlContext(0x56113e372af0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Nov 24 23:06:57 fedora plasmashell[33591]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x56114051f740) QQmlContext(0x56113e372af0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Comment 3 Akseli Lahtinen 2022-11-24 21:37:47 UTC
This bug is likely related to this: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7624
Comment 4 Akseli Lahtinen 2022-11-24 21:40:43 UTC
Fixed the issue for myself by going back to the regular mesa Fedora provides, instead of using mesa-git.
Comment 5 veggero 2022-11-25 13:53:53 UTC
That sounds like an issue on mesa's side, then?
Comment 6 Akseli Lahtinen 2022-11-25 15:16:55 UTC
Yes, I forgot to close the issue :)
Comment 7 Nate Graham 2023-01-05 21:43:30 UTC
*** Bug 463242 has been marked as a duplicate of this bug. ***