Bug 413223 - Plasma Wayland session crashes immediately after login
Summary: Plasma Wayland session crashes immediately after login
Status: RESOLVED DUPLICATE of bug 413782
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-wayland (show other bugs)
Version: master
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-20 08:19 UTC by fmakosza
Modified: 2021-03-04 20:43 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
wayland-session.log (44.68 KB, text/x-log)
2019-11-28 19:42 UTC, marco martinez
Details
kcrash log of plasmashell (17.39 KB, text/plain)
2019-12-03 19:50 UTC, Robin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fmakosza 2019-10-20 08:19:12 UTC
SUMMARY
After logging in through SDDM with Plasma (Wayland) selected, the splash screen appears as normal and for a brief second the desktop background and icons on it show. Plasma then crashes before the task panel can appear. Likely caused by AMD Navi graphics card.

STEPS TO REPRODUCE
1. Select Plasma (Wayland) on SDDM login screen
2. Log in

OBSERVED RESULT
Upon logging into the Plasma Wayland session, Plasma crashes. KRunner doesn't start, but Yakuake does and can be used to run applications. Trying to run 'plasmashell' briefly makes the desktop background appear before crashing again, and the terminal output ends in the following:

[135 lines of 'invalid metedata' lines omitted]
org.kde.plasma: invalid metadata "/usr/lib/qt/plugins/kcm_autostart.so"
org.kde.plasmaquick: Applet preload policy set to 1
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/"
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/"
kf5.kpackage: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images/"
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:75:9: Unable to assign [undefined] to int
file:///usr/share/plasma/wallpapers/org.kde.image/contents/ui/main.qml:76:9: Unable to assign [undefined] to QStringList
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Plasma Shell startup completed
Plasma Shell startup completed
Plasma Shell startup completed
qt.qpa.wayland.backingstore: Delivering update request through fallback timer, may not be in sync with display
qt.qpa.wayland.backingstore: Delivering update request through fallback timer, may not be in sync with display
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
trying to show an empty dialog
trying to show an empty dialog
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Data set on unsupported clipboard mode. QMimeData object will be deleted.
Both point size and pixel size set. Using pixel size.
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:53:17: Unable to assign [undefined] to int
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
trying to show an empty dialog
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/views/Desktop.qml:146:19: QML Loader: Binding loop detected for property "height"
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
KAStatsFavoritesModel::setFavorites is ignored
Entry is not valid "kontact.desktop" QSharedPointer(0x55b4384c91f0)
Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55b4384c91f0)
Entry is not valid "kontact.desktop" QSharedPointer(0x55b4384c91f0)
Entry is not valid "ktp-contactlist.desktop" QSharedPointer(0x55b4384c91f0)
trying to show an empty dialog
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
<Unknown File>: QML QQuickLayoutAttached: Binding loop detected for property "preferredWidth"
wl_drm@38: error 2: invalid name
The Wayland connection experienced a fatal error (Protocol error)
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver
QCoreApplication::postEvent: Unexpected null receiver


Trying to run 'krunner' in the terminal gives the following output:

org.kde.kf5.kwindowsystem.kwayland: This compositor does not support the Plasma Window Management interface
org.kde.kf5.kwindowsystem.kwayland: This compositor does not support the Plasma Window Management interface
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
org.kde.kf5.kwindowsystem.kwayland: This compositor does not support the Plasma Window Management interface
org.kde.kf5.kwindowsystem.kwayland: This compositor does not support the Plasma Window Management interface
wl_drm@24: error 2: invalid name
The Wayland connection experienced a fatal error (Protocol error)


EXPECTED RESULT
Plasma and KRunner start normally.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, Kernel 5.3.7
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1

ADDITIONAL INFORMATION
Problem observed after hardware upgrade to RX 5700 XT.
Dr Konqi is installed but does not launch when Plasma crashes.
Screen edge triggers work as expected.
GNOME Wayland session works as expected, so it doesn't look exclusively like a graphics driver issue.
The same issue was observed on Manjaro Linux running off a Live USB.
Comment 1 miku84 2019-10-29 08:57:50 UTC
Same for me on 5.17 Manjaro.
Comment 2 Robin 2019-10-30 17:27:14 UTC
I also have this issue, on an Arch Linux and when using Plasma (Wayland). X works for me. I also believe this might be tied to the RX 5700 (XT) GPU, as I also have it in my system.
Comment 3 miku84 2019-10-30 17:33:20 UTC
I have Radeon 5750 with free drivers with the same issue.
Comment 4 marco martinez 2019-11-28 19:42:27 UTC
Created attachment 124167 [details]
wayland-session.log
Comment 5 Robin 2019-12-03 19:50:39 UTC
Created attachment 124298 [details]
kcrash log of plasmashell

Not sure if useful, but issue still persists today after upgrade to Kernel 5.4.1 and an all up to date Arch.
Comment 6 miku84 2019-12-28 13:49:50 UTC
It is working now in Plasma 5.17.4.
Comment 7 Robin 2019-12-30 15:30:52 UTC
Can't confirm on my system (RX 5700), installed all updates on Arch today, still instant crash whenever using Wayland. X works fine for me, though. Is it fixed for everyone else? Then it might be a diverging issue for me
Comment 8 Ardhinata Juari 2020-01-03 17:16:39 UTC
Still crashing on Arch linux fresh install. Using plasmashell 5.17.4 and RX 5700XT
Comment 9 Syver Stensholt 2020-04-27 16:40:42 UTC
I have the same issue. Tested with both Kubuntu 19 and Manjaro KDE 19.
Comment 10 Syver Stensholt 2020-04-27 16:43:45 UTC
Sorry, forgot details;
No Wayland (I think)
AMD RX 480
Ryzen 5 1600X

The same issue happens when I log in after suspend / from lock sreen.
Comment 11 Nate Graham 2021-03-04 20:43:30 UTC
Thread 1 (Thread 0x7f22e1824c80 (LWP 1133)):
[KCrash Handler]
#6  0x00007f22e58bbf25 in raise () at /usr/lib/libc.so.6
#7  0x00007f22e58a5897 in abort () at /usr/lib/libc.so.6
#8  0x00007f22e5cba8f4 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f22e1418563 in  () at /usr/lib/libQt5WaylandClient.so.5
#10 0x00007f22e14185c1 in QtWaylandClient::QWaylandDisplay::flushRequests() () at /usr/lib/libQt5WaylandClient.so.5
#11 0x00007f22e5eefac1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x00007f22e5f1bb51 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#13 0x00007f22e5ec283c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#14 0x00007f2299723c20 in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#15 0x00007f2299722b40 in  () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#16 0x00007f229971e56f in qt_plugin_instance () at /usr/lib/qt/plugins/kf5/kscreen/KSC_KWayland.so
#17 0x00007f22e5ead39b in QPluginLoader::instance() () at /usr/lib/libQt5Core.so.5
#18 0x00007f229ab0da84 in KScreen::BackendManager::loadBackendPlugin(QPluginLoader*, QString const&, QMap<QString, QVariant> const&) () at /usr/lib/libKF5Screen.so.7
#19 0x00007f229ab0e132 in KScreen::BackendManager::loadBackendInProcess(QString const&) () at /usr/lib/libKF5Screen.so.7
#20 0x00007f229ab19d1b in  () at /usr/lib/libKF5Screen.so.7
#21 0x00007f229ab1aac2 in KScreen::GetConfigOperation::start() () at /usr/lib/libKF5Screen.so.7
#22 0x00007f22e5ef04fa in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#23 0x00007f22e6a064e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007f22e6a0fe11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f22e5ec3d12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#26 0x00007f22e5ec6a89 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f22e5f1c514 in  () at /usr/lib/libQt5Core.so.5
#28 0x00007f22e424939e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#29 0x00007f22e424b1b1 in  () at /usr/lib/libglib-2.0.so.0
#30 0x00007f22e424b1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#31 0x00007f22e5f1bb13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#32 0x00007f22e5ec283c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f22e5eca676 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#34 0x0000555e916f9dc9 in  ()
#35 0x00007f22e58a7153 in __libc_start_main () at /usr/lib/libc.so.6
#36 0x0000555e916fa22e in _start ()
[Inferior 1 (process 1133) detached]

*** This bug has been marked as a duplicate of bug 413782 ***