Bug 461132 - system slowly becomes unresponsive, applications wont redraw updates
Summary: system slowly becomes unresponsive, applications wont redraw updates
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.26.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://gitlab.freedesktop.org/xorg/l...
Keywords:
: 460938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-28 22:05 UTC by technonerd
Modified: 2023-01-18 18:30 UTC (History)
8 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 technonerd 2022-10-28 22:05:40 UTC
SUMMARY
system slowly becomes unresponsive, applications wont redraw updates, clicking on another window or app forces a redraw. Changing any of the settings in display and monitor > compositor provides a temp fix before it will eventually fully freeze up.


STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT

Any open app will eventually fail to redraw and be stuck. Notifications will popup as black boxes, any tool tips or menu options also show up as black boxes. Then bottom task bar will become frozen. Followed by the display freezing up completely and the mouse cursor is the only thing I can move.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version:  5.26.2
KDE Frameworks Version:  5.99.0
Qt Version:  5.15.6

ADDITIONAL INFORMATION

CPU: AMD Ryzen 9 5900X (24) @ 3.700GHz
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
Memory: 31964MiB / 64228MiB

The task bar froze at 13:36 and these are pulled from journalctl from around that time

Oct 28 13:36:13 ryzen kioslave5[44524]: Seeking in video failed
Oct 28 13:36:24 ryzen kioslave5[44524]: Seeking in video failed
Oct 28 13:36:27 ryzen plasmashell[1426]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x6077e0514da0) QQmlContext(0x6077dc4e2270) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.>
Oct 28 13:36:27 ryzen plasmashell[1426]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x6077e0514da0) QQmlContext(0x6077dc4e2270) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.>
Oct 28 13:36:27 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:27 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:27 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
Oct 28 13:36:27 ryzen plasmashell[1426]: file:///usr/lib/qt/qml/org/kde/plasma/components.3/ScrollView.qml:45:27: QML ScrollBar: Binding loop detected for property "visible"
Oct 28 13:36:27 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/SelectableLabel.qml:38:5: QML TextArea: Binding loop detected for property "implicitHeight"
Oct 28 13:36:28 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:28 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:28 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:28 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:28 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:28 ryzen plasmashell[1426]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:221:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 41480, resource id: 23074002, major code: 149 (Unknown), minor code: 4
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 41517, resource id: 23074006, major code: 149 (Unknown), minor code: 4
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 41520, resource id: 23074008, major code: 149 (Unknown), minor code: 4
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 136 (Unknown), sequence: 41522, resource id: 23074007, major code: 134 (Unknown), minor code: 17
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 136 (Unknown), sequence: 41524, resource id: 23074009, major code: 148 (Unknown), minor code: 1
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 41526, resource id: 23074011, major code: 149 (Unknown), minor code: 4
Oct 28 13:36:28 ryzen plasmashell[1426]: qt.qpa.xcb: QXcbConnection: XCB error: 136 (Unknown), sequence: 41527, resource id: 23074012, major code: 148 (Unknown), minor code: 1
Comment 1 Fushan Wen 2022-10-29 01:55:29 UTC
*** Bug 460938 has been marked as a duplicate of this bug. ***
Comment 2 Fushan Wen 2022-10-29 01:56:06 UTC
*** Bug 460895 has been marked as a duplicate of this bug. ***
Comment 3 Fushan Wen 2022-11-01 15:19:21 UTC
See also https://gitlab.freedesktop.org/drm/amd/-/issues/2135
Comment 4 Mehran Kholdi 2022-11-26 21:22:18 UTC
This is highly reproducible through running:

```
for ((i=0; i<1000; i++)); do notify-send $i; done
```

by the time this reaches the 400th notification, new notification windows turn black and eventually totally stop changing.
Comment 5 Fushan Wen 2022-12-18 01:33:42 UTC
See also https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/168
Comment 6 Gabriel H. 2023-01-18 00:22:24 UTC
(In reply to Fushan Wen from comment #5)
> See also https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/168

It seems the patch made for this libx11 issue has fixed it. Has been stable for over 2 days and running @Mehran Kholdi's bash command no longer triggers the bug for me.
Comment 7 Nate Graham 2023-01-18 18:30:07 UTC
Oh great news! Thanks for following up.