Summary: | Plasmashell exits with Wayland protocol error (kde_screen_edge_manager_v1@182: error 1: surface must have layer_surface role) When I turn my monitors off and back on | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Dashon <dashonwwIII> |
Component: | generic-crash | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | dashonwwIII, kde, kde, nate, vlad.zahorodnii |
Priority: | NOR | Keywords: | multiscreen, qt6 |
Version: | 6.0.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/083b346d58d770b7ef9794bea1e88e75669d1bd6 | Version Fixed In: | 6.0.2 |
Sentry Crash Report: | |||
Attachments: | terminal output with WAYLAND_DEBUG=1 |
Description
Dashon
2024-03-04 16:56:22 UTC
KPackageStructure of KPluginMetaData(pluginId:"P-Connor.PlasmaDrawer", fileName: "/home/d-air1/.local/share/plasma/plasmoids/P-Connor.PlasmaDrawer/metadata.json") does not match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"com.github.prayag2.controlcentre", fileName: "/home/d-air1/.local/share/plasma/plasmoids/com.github.prayag2.controlcentre/metadata.json") does not match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.betterkicker", fileName: "/home/d-air1/.local/share/plasma/plasmoids/org.kde.plasma.betterkicker/metadata.json") does not match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.splitdigitalclock", fileName: "/home/d-air1/.local/share/plasma/plasmoids/org.kde.plasma.splitdigitalclock/metadata.json") does not match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.betterinlineclock", fileName: "/home/d-air1/.local/share/plasma/plasmoids/org.kde.plasma.betterinlineclock/metadata.json") does not match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kweather_1x4", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kweather_1x4/metadata.json") doesnot match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"org.kde.merkuro.contact", fileName: "/usr/share/plasma/plasmoids/org.kde.merkuro.contact/metadata.json") does not match requested format "Plasma/Applet" KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does notmatch requested format "Plasma/Applet" kf.coreaddons: The plugin "/usr/lib/qt6/plugins/plasma/applets/plasma_applet_kweather_1x4.so" explicitly states an Id in the embedded metadata, which is different from the one derived from the filename The Id field from the KPlugin object in the metadata should be removed kf.plasma.quick: Applet preload policy set to 1 file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth" qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml" file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:196:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth" The cached device pixel ratio value was stale on window expose. Please file a QTBUG which explains how to reproduce. file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel" file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel" qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and"file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml" qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and"file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml" qml: SystemTray ItemLoader: Invalid state, cannot determine source! qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) : QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0 The cached device pixel ratio value was stale on window expose. Please file a QTBUG which explains how to reproduce. The cached device pixel ratio value was stale on window expose. Please file a QTBUG which explains how to reproduce. The cached device pixel ratio value was stale on window expose. Please file a QTBUG which explains how to reproduce. file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:237:17: Unable to assign [undefined] to bool kde_screen_edge_manager_v1@182: error 1: surface must have layer_surface role qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003) qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003) The Wayland connection experienced a fatal error: Protocol error Sorry I just posted the terminal output. Accidentally copied and pasted the gdb output twice in initial post. The issue also occurs when creating a virtual monitor with obs and then removing it. If it's not crashing, it's possible it's simply quitting due to a Wayland protocol error. And in fact the log does seem to indicate that:
> kde_screen_edge_manager_v1@182: error 1: surface must have layer_surface role
kde_screen_edge_manager_v1@182: error 1: surface must have layer_surface role qt.qpa.wayland: Could not create EGL surface (EGL error 0x3003) is related. in order to reserve a screen edge (for example when using auto hide or dodge windows mode), the panel must have a valid surface role. for some reason, panel window initialization fails (Could not create EGL surface) #define EGL_BAD_ALLOC 0x3003 can you run plasmashell with WAYLAND_DEBUG=1 envvar and attach the output to this bug report please? (In reply to Vlad Zahorodnii from comment #7) > can you run plasmashell with WAYLAND_DEBUG=1 envvar and attach the output to > this bug report please? Yeah, I'll do that and report back. Created attachment 166466 [details]
terminal output with WAYLAND_DEBUG=1
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4015 Git commit 472c5790b88cfeaa0d2fece73088d1203ac18da9 by Vlad Zahorodnii. Committed on 07/03/2024 at 15:56. Pushed by vladz into branch 'master'. shell: Avoid reserving a screen edge if no surface role has been created yet Check QWindow::isExposed() as in other places. If the surface role object has been created, isExposed() will return true. M +2 -1 shell/autohidescreenedge.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/472c5790b88cfeaa0d2fece73088d1203ac18da9 Git commit 083b346d58d770b7ef9794bea1e88e75669d1bd6 by Vlad Zahorodnii. Committed on 07/03/2024 at 17:07. Pushed by vladz into branch 'Plasma/6.0'. shell: Avoid reserving a screen edge if no surface role has been created yet Check QWindow::isExposed() as in other places. If the surface role object has been created, isExposed() will return true. (cherry picked from commit 472c5790b88cfeaa0d2fece73088d1203ac18da9) M +2 -1 shell/autohidescreenedge.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/083b346d58d770b7ef9794bea1e88e75669d1bd6 Just updated to 6.0.2 and can confirm that this fixes the issue. Thanks alot for all your work. |