Bug 402933 - Turn off the monitor and on again disconnects Plasma session on Wayland
Summary: Turn off the monitor and on again disconnects Plasma session on Wayland
Status: RESOLVED DUPLICATE of bug 402827
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-06 16:42 UTC by Rainer Finke
Modified: 2019-01-07 14:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2019-01-06 16:42:57 UTC
Turn off the monitor and on again always disconnects the Plasma session on Wayland and you are back to the SDDM login screen. As soon as you turn on the monitor kwin will crash somehow. The issue exists only with my external GPU (AMD RX 480), the issue happens since a long time but in the past in most cases it froze the system (this driver bug is solved now). The same issue happens as well if power management is active and Plasma turns off the screen after some time and you wake up the system later on. See logs below based on kwin-git and kscreen-git from 2019-01-06.

STEPS TO REPRODUCE
1. Turn off the monitor
2. Turn the monitor on again

OBSERVED RESULT
Kwin crashes all the time, Plasma session is disconnected and you are back to the SDDM login screen. You can open only a new session now.


EXPECTED RESULT
Screenlocker allows you to unlock the open Plasma session and you can continue to work with the previous open applications.


SOFTWARE/OS VERSIONS
Linux: 4.20.0
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53
Qt Version: 5.12.0
Kwin: git (r16657.90306f5c0)
KWayland: git (r890.648f29a)
Kscreen: git (r1082.1c1c9ba)
Wayland: 1.16
XWayland: 1.20.3
Mesa: 19.0-git (106573.31e4c9ce40)


Test 1 LOGS:

$journalctl -f
-- Logs begin at Fri 2018-09-28 16:03:16 CEST. --
Jan 06 16:47:05 pc1 kalarm[3257]: Using Wayland-EGL
Jan 06 16:47:05 pc1 kdeinit5[2617]: Registering ":1.94/StatusNotifierItem" to system tray
###############################
#Turn off monitor and on again#
###############################
Jan 06 16:48:33 pc1 plasmashell[2656]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:299:21: Unable to assign [undefined] to QStringList
Jan 06 16:48:33 pc1 audit[2527]: ANOM_ABEND auid=1000 uid=1000 gid=991 ses=4 pid=2527 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=11 res=1
Jan 06 16:48:33 pc1 kernel: kwin_wayland[2527]: segfault at 55de05f5bfc0 ip 000055de05f5bfc0 sp 00007fff47bb8638 error 15
Jan 06 16:48:33 pc1 kernel: Code: 00 00 b0 52 39 e0 67 7f 00 00 80 4e 39 e0 67 7f 00 00 40 4e 39 e0 67 7f 00 00 00 00 00 00 00 00 00 00 51 00 00 00 00 00 00 00 <b0> 00 8f 05 de 55 00 00 00 00 00 00 00 00 00 00 20 83 e8 05 de 55
Jan 06 16:48:33 pc1 kernel: audit: type=1701 audit(1546789713.312:58): auid=1000 uid=1000 gid=991 ses=4 pid=2527 comm="kwin_wayland" exe="/usr/bin/kwin_wayland" sig=11 res=1
Jan 06 16:48:33 pc1 systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jan 06 16:48:33 pc1 systemd[1]: Started Process Core Dump (PID 3286/UID 0).
Jan 06 16:48:33 pc1 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-3286-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 06 16:48:33 pc1 kernel: audit: type=1130 audit(1546789713.336:59): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-3286-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 06 16:48:33 pc1 kdeinit5[2617]: kscreen.kded: Config does not have at least one screen enabled, WILL NOT save this config, this is not what user wants.
Jan 06 16:48:34 pc1 plasmashell[2656]: no screens!!
Jan 06 16:48:35 pc1 systemd-coredump[3287]: Core file was truncated to 2147483648 bytes.
Jan 06 16:48:35 pc1 systemd-coredump[3287]: Process 2527 (kwin_wayland) of user 1000 dumped core.
                                            
                                            Stack trace of thread 2527:
                                            #0  0x000055de05f5bfc0 n/a (n/a)
Jan 06 16:48:35 pc1 akonadi_sendlater_agent[2979]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_unifiedmailbox_agent[2983]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 pulseaudio[2687]: XIO:  fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server ":1"
Jan 06 16:48:35 pc1 pulseaudio[2687]:       after 12 requests (6 known processed) with 0 events remaining.
Jan 06 16:48:35 pc1 sddm[888]: kwalletd5: Checking for pam module
Jan 06 16:48:35 pc1 sddm[888]: kwalletd5: Got pam-login param
Jan 06 16:48:35 pc1 sddm[888]: kwalletd5: Waiting for hash on 7-
Jan 06 16:48:35 pc1 sddm[888]: kwalletd5: waitingForEnvironment on: 3
Jan 06 16:48:35 pc1 sddm[888]: kwalletd5: client connected
Jan 06 16:48:35 pc1 sddm[888]: kwalletd5: client disconnected
Jan 06 16:48:35 pc1 kernel: audit: type=1131 audit(1546789715.869:60): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-3286-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 06 16:48:35 pc1 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-coredump@0-3286-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 06 16:48:35 pc1 polkitd[718]: Unregistered Authentication Agent for unix-session:4 (system bus name :1.124, object path /org/kde/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disconnected from bus)
Jan 06 16:48:35 pc1 akonadi_archivemail_agent[2950]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_mailfilter_agent[2962]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_ical_resource[2954]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_notes_agent[2976]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_newmailnotifier_agent[2970]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_kalarm_resource[2958]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_akonotes_resource[2949]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_maildispatcher_agent[2961]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_migration_agent[2965]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_mailfilter_agent[2962]: QIODevice::read (QLocalSocket): device not open
Jan 06 16:48:35 pc1 akonadi_birthdays_resource[2951]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 kdeconnectd[2677]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_maildir_resource[2960]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_followupreminder_agent[2953]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_kalarm_resource[2957]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_kalarm_resource[2959]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_contacts_resource[2952]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 polkit-kde-authentication-agent-1[2662]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 krunner[2653]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_imap_resource[2955]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 python[2699]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 org_kde_powerdevil[2710]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 kactivitymanagerd[2629]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 plasmashell[2656]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 korgac[2705]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 kdeinit5[2617]: Service  ":1.5" unregistered
Jan 06 16:48:35 pc1 kwalletd5[2489]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 klauncher[2610]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 kdeinit5[2617]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_indexing_agent[2956]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 akonadi_maildispatcher_agent[2961]: QIODevice::read (QLocalSocket): device not open
Jan 06 16:48:35 pc1 akonadi_control[2780]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 kalarm[3257]: The Wayland connection broke. Did the Wayland compositor die?
Jan 06 16:48:35 pc1 ksmserver[2637]: The X11 connection broke (error 1). Did the X11 server die?
Jan 06 16:48:35 pc1 gmenudbusmenuproxy[2675]: The X11 connection broke (error 1). Did the X11 server die?
Jan 06 16:48:35 pc1 xembedsniproxy[2666]: The X11 connection broke (error 1). Did the X11 server die?
Jan 06 16:48:35 pc1 kaccess[2630]: The X11 connection broke (error 1). Did the X11 server die?
Jan 06 16:48:35 pc1 kdeinit5[2609]: kdeinit5: Fatal IO error: client killed
Jan 06 16:48:35 pc1 kdeinit5[2609]: kdeinit5: sending SIGHUP to children.
Jan 06 16:48:35 pc1 kdeinit5[2609]: kdeinit5: sending SIGTERM to children.
Jan 06 16:48:35 pc1 kdeinit5[2609]: kdeinit5: Exit.
Jan 06 16:48:35 pc1 systemd[1333]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jan 06 16:48:35 pc1 systemd[1333]: pulseaudio.service: Failed with result 'exit-code'.
Jan 06 16:48:35 pc1 akonadiserver[2793]: org.kde.pim.akonadiserver: Control process died, committing suicide!
Jan 06 16:48:35 pc1 akonadi_imap_resource[2955]: org.kde.pim.akonadicore: "QLocalSocket: Remote closed" "/tmp/akonadi-rainer.1WZGkO/akonadiserver-cmd.socket"
Jan 06 16:48:35 pc1 systemd[1]: systemd-coredump@0-3286-0.service: Succeeded.
Jan 06 16:48:35 pc1 akonadi_imap_resource[2955]: "QLocalSocket: Remote closed" "/tmp/akonadi-rainer.1WZGkO/akonadiserver-ntf.socket"
Jan 06 16:48:35 pc1 sddm-helper[2485]: [PAM] Closing session
Jan 06 16:48:35 pc1 sddm-helper[2485]: pam_unix(sddm:session): session closed for user rainer
Jan 06 16:48:35 pc1 systemd[1333]: pulseaudio.service: Service RestartSec=100ms expired, scheduling restart.
Jan 06 16:48:35 pc1 systemd[1333]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Jan 06 16:48:35 pc1 systemd[1333]: Stopped Sound Service.
Jan 06 16:48:35 pc1 systemd[1333]: Starting Sound Service...
Jan 06 16:48:36 pc1 sddm-helper[2485]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Jan 06 16:48:36 pc1 sddm-helper[2485]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Jan 06 16:48:36 pc1 sddm-helper[2485]: [PAM] Ended.
Jan 06 16:48:36 pc1 sddm[888]: Auth: sddm-helper exited successfully
Jan 06 16:48:36 pc1 sddm[888]: Greeter stopping...
Jan 06 16:48:36 pc1 sddm[888]: Socket server stopping...
Jan 06 16:48:36 pc1 sddm[888]: Socket server stopped.
Jan 06 16:48:36 pc1 sddm[888]: Display server stopping...
Jan 06 16:48:36 pc1 sddm-greeter[1156]: The X11 connection broke: I/O error (code 1)
Jan 06 16:48:36 pc1 audit[2710]: ANOM_ABEND auid=1000 uid=1000 gid=991 ses=4 pid=2710 comm="QThread" exe="/usr/lib/org_kde_powerdevil" sig=11 res=1
Jan 06 16:48:36 pc1 kernel: audit: type=1701 audit(1546789716.059:61): auid=1000 uid=1000 gid=991 ses=4 pid=2710 comm="QThread" exe="/usr/lib/org_kde_powerdevil" sig=11 res=1
Jan 06 16:48:36 pc1 sddm[888]: Display server stopped.
Jan 06 16:48:36 pc1 sddm[888]: Running display stop script  "/usr/share/sddm/scripts/Xstop"
Jan 06 16:48:36 pc1 sddm[888]: Removing display ":0" ...
Jan 06 16:48:36 pc1 sddm[888]: Adding new display on vt 1 ...




Test 2 LOGS:

$journalctl -f
-- Logs begin at Fri 2018-09-28 16:03:16 CEST. --
Jan 06 16:50:48 pc1 nextcloud[4129]: Using Wayland-EGL
Jan 06 16:51:11 pc1 systemd[1]: systemd-localed.service: Succeeded.
Jan 06 16:51:11 pc1 audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 06 16:51:11 pc1 kernel: audit: type=1131 audit(1546789871.904:75): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-localed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jan 06 16:51:13 pc1 kalarm[4161]: org.kde.pim.akonadicore: not referenced  29
Jan 06 16:51:13 pc1 kalarm[4161]: org.kde.pim.akonadicore: not referenced  28
Jan 06 16:51:13 pc1 kalarm[4161]: org.kde.pim.akonadicore: not referenced  30
Jan 06 16:51:13 pc1 kalarm[4161]: Using Wayland-EGL
Jan 06 16:51:14 pc1 kdeinit5[3543]: Registering ":1.94/StatusNotifierItem" to system tray
###############################
#Turn off monitor and on again#
###############################
Jan 06 16:51:14 pc1 akonadiserver[3729]: org.kde.pim.akonadiserver: Notification socket write timeout!
Jan 06 16:52:09 pc1 sshd[4193]: Accepted publickey for rainer from fe80::2f19:50a7:34b:26d9%enp8s0 port 55368 ssh2: ED25519 SHA256:esXKjHov/1/EvRo8VEGQpnGnsWvIBWoBynLpzHUzBOc
Jan 06 16:52:09 pc1 sshd[4193]: pam_unix(sshd:session): session opened for user rainer by (uid=0)
Jan 06 16:52:09 pc1 kernel: audit: type=1006 audit(1546789929.673:76): pid=4193 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=6 res=1
Jan 06 16:52:09 pc1 systemd-logind[712]: New session 6 of user rainer.
Jan 06 16:52:09 pc1 systemd[1]: Started Session 6 of user rainer.
Jan 06 16:52:36 pc1 sudo[4227]:   rainer : TTY=pts/2 ; PWD=/home/rainer ; USER=root ; COMMAND=/usr/bin/echo 0
Jan 06 16:52:36 pc1 sudo[4228]:   rainer : TTY=pts/2 ; PWD=/home/rainer ; USER=root ; COMMAND=/usr/bin/tee /proc/sys/kernel/yama/ptrace_scope
Jan 06 16:52:36 pc1 sudo[4227]: pam_unix(sudo:session): session opened for user root by rainer(uid=0)
Jan 06 16:52:36 pc1 sudo[4228]: pam_unix(sudo:session): session opened for user root by rainer(uid=0)
Jan 06 16:52:36 pc1 sudo[4227]: pam_unix(sudo:session): session closed for user root
Jan 06 16:55:30 pc1 sudo[4256]:   rainer : TTY=pts/2 ; PWD=/home/rainer ; USER=root ; COMMAND=/usr/bin/gdb --pid 3452
Jan 06 16:55:30 pc1 sudo[4256]: pam_unix(sudo:session): session opened for user root by rainer(uid=0)
Jan 06 16:55:45 pc1 PackageKit[3173]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
Jan 06 16:55:45 pc1 PackageKit[3173]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
Jan 06 16:55:46 pc1 PackageKit[3173]: refresh-cache transaction /3_cbecebbc from uid 1000 finished with success after 550ms
Jan 06 16:55:46 pc1 PackageKit[3173]: get-updates transaction /4_ecdbddcb from uid 1000 finished with success after 339ms
Jan 06 16:56:55 pc1 plasmashell[3592]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:357:21: Unable to assign [undefined] to bool
Jan 06 16:56:55 pc1 plasmashell[3592]: file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/FolderItemDelegate.qml:299:21: Unable to assign [undefined] to QStringList
Jan 06 16:56:55 pc1 kdeinit5[3543]: kscreen.kded: Config does not have at least one screen enabled, WILL NOT save this config, this is not what user wants.
Jan 06 16:56:56 pc1 plasmashell[3592]: no screens!!


--------------------

sudo gdb --pid `pidof kwin_wayland` 2>&1 | tee kwin_wayland-20190106.gdb       
GNU gdb (GDB) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 3452
[New LWP 3453]
[New LWP 3454]
[New LWP 3455]
[New LWP 3456]
[New LWP 3457]
[New LWP 3458]
[New LWP 3459]
[New LWP 3460]
[New LWP 3461]
[New LWP 3462]
[New LWP 3463]
[New LWP 3464]
[New LWP 3465]
[New LWP 3466]
[New LWP 3467]
[New LWP 3468]
[New LWP 3469]
[New LWP 3470]
[New LWP 3471]
[New LWP 3472]
[New LWP 3473]
[New LWP 3474]
[New LWP 3475]
[New LWP 3532]
[New LWP 3533]
[New LWP 3536]
[New LWP 3537]
[New LWP 3540]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fe4a86efd16 in ppoll () from /usr/lib/libc.so.6
(gdb) continue
Continuing.

Thread 1 "kwin_wayland" received signal SIGSEGV, Segmentation fault.
0x000055e1615c2c00 in ?? ()
(gdb) bt
#0  0x000055e1615c2c00 in  ()
#1  0x00007fe4a9a8aaa9 in KWin::AbstractOutput::geometry() const (this=0x55e160f7fa50) at /usr/src/debug/kwin/abstract_output.h:72
#2  0x00007fe49f50e29a in KWin::EglGbmBackend::makeContextCurrent(KWin::EglGbmBackend::Output const&) (this=this@entry=0x55e160fa7150, output=...) at /usr/src/debug/kwin/plugins/platforms/drm/egl_gbm_backend.cpp:236
#3  0x00007fe49f50ef58 in KWin::EglGbmBackend::prepareRenderingForScreen(int) (this=0x55e160fa7150, screenId=<optimized out>) at /usr/src/debug/kwin/plugins/platforms/drm/egl_gbm_backend.cpp:343
#4  0x00007fe49ce156b2 in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) (this=this@entry=0x55e1615e7410, damage=..., toplevels=...) at /usr/src/debug/kwin/plugins/scenes/opengl/scene_opengl.cpp:663
#5  0x00007fe4a9a001ff in KWin::Compositor::performCompositing() (this=0x55e160ec93d0) at /usr/src/debug/kwin/composite.cpp:750
#6  0x00007fe4a8c21b1b in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#7  0x00007fe4a9004e34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007fe4a900c671 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007fe4a8bf68f9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007fe4a8c4b955 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#11 0x00007fe4a8c49a9e in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#12 0x00007fe4a04f367e in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/qt/plugins/platforms/KWinQpaPlugin.so
#13 0x00007fe4a8bf558c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#14 0x00007fe4a8bfd896 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#15 0x000055e15f1efebc in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kwin/main_wayland.cpp:829
(gdb)
Comment 1 Martin Flöser 2019-01-06 17:15:27 UTC
Marking us duplicate of similar report from a few days ago. As you have a git build I would be highly interested in some further debug information. E.g I would like to know the value of screenId in frame #3.

*** This bug has been marked as a duplicate of bug 402827 ***
Comment 2 Rainer Finke 2019-01-07 14:09:03 UTC
Thanks for your fast feedback! It might be a stupid question but where do I get the screenid from? Is this set by Qt? Or do I miss some debug symbols?

$ qtdiag
Using Wayland-EGL
This plugin does not support createPlatformVulkanInstance
QVulkanInstance: Failed to initialize Vulkan
Qt 5.12.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.2.1 20181127) on "wayland" 
OS: Arch Linux [linux version 4.20.0-arch1-1-ARCH]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

Environment:
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
  QT_WAYLAND_FORCE_DPI="132"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /usr
  DocumentationPath: /usr/share/doc/qt
  HeadersPath: /usr/include/qt
  LibrariesPath: /usr/lib
  LibraryExecutablesPath: /usr/lib/qt/libexec
  BinariesPath: /usr/bin
  PluginsPath: /usr/lib/qt/plugins
  ImportsPath: /usr/lib/qt/imports
  Qml2ImportsPath: /usr/lib/qt/qml
  ArchDataPath: /usr/lib/qt
  DataPath: /usr/share/qt
  TranslationsPath: /usr/share/qt/translations
  ExamplesPath: /usr/share/doc/qt/examples
  TestsPath: /usr/tests
  SettingsPath: /etc/xdg

Standard paths [*...* denote writable entry]:
  DesktopLocation: "Desktop" */home/rainer/Desktop*
  DocumentsLocation: "Documents" */home/rainer/Dokumente*
  FontsLocation: "Fonts" */home/rainer/.local/share/fonts* /home/rainer/.fonts
  ApplicationsLocation: "Applications" */home/rainer/.local/share/applications* /home/rainer/.local/share/flatpak/exports/share/applications /var/lib/flatpak/exports/share/applications /usr/local/share/applications /usr/share/applications
  MusicLocation: "Music" */home/rainer/Musik*
  MoviesLocation: "Movies" */home/rainer/Videos*
  PicturesLocation: "Pictures" */home/rainer/Bilder*
  TempLocation: "Temporary Directory" */tmp*
  HomeLocation: "Home" */home/rainer*
  AppLocalDataLocation: "Application Data" */home/rainer/.local/share/QtProject/qtdiag* /home/rainer/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  CacheLocation: "Cache" */home/rainer/.cache/QtProject/qtdiag*
  GenericDataLocation: "Shared Data" */home/rainer/.local/share* /home/rainer/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /usr/local/share /usr/share
  RuntimeLocation: "Runtime" */run/user/1000*
  ConfigLocation: "Configuration" */home/rainer/.config* /etc/xdg
  DownloadLocation: "Download" */home/rainer/Downloads*
  GenericCacheLocation: "Shared Cache" */home/rainer/.cache*
  GenericConfigLocation: "Shared Configuration" */home/rainer/.config* /etc/xdg
  AppDataLocation: "Application Data" */home/rainer/.local/share/QtProject/qtdiag* /home/rainer/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  AppConfigLocation: "Application Configuration" */home/rainer/.config/QtProject/qtdiag* /etc/xdg/QtProject/qtdiag

File selectors (increasing order of precedence):
  de_DE unix linux arch

Network:
  Using "OpenSSL 1.1.1a  20 Nov 2018", version: 0x1010101f

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL BufferQueueingOpenGL MultipleWindows NonFullScreenWindows NativeWidgets WindowManagement RasterGLSurface

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  showIsMaximized: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+25CF
  fontSmoothingGamma: 1
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0
  tabFocusBehavior: Qt::TabFocusAllControls 
  singleClickActivation: 1

Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 1

Theme:
  Platforms requested : kde
            available : kde,gtk3,snap,flatpak,xdgdesktopportal
  Styles requested    : breeze,oxygen,fusion,windows
         available    : Breeze,Oxygen,Windows,Fusion
  Icon theme          : breeze, hicolor from /home/rainer/.local/share/icons,/var/lib/flatpak/exports/share/icons,/usr/share/icons
  System font         : "Noto Sans" 10

Fonts:
  General font : "Noto Sans" 10
  Fixed font   : "Hack" 9
  Title font   : "Noto Sans" 10
  Smallest font: "Noto Sans" 8

Palette:
  QPalette::WindowText: #ff232627
  QPalette::Button: #ffeff0f1
  QPalette::Light: #ffffffff
  QPalette::Midlight: #fff7f7f8
  QPalette::Dark: #ff888e93
  QPalette::Mid: #ffc4c9cd
  QPalette::Text: #ff232627
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff232627
  QPalette::Base: #fffcfcfc
  QPalette::Window: #ffeff0f1
  QPalette::Shadow: #ff474a4c
  QPalette::Highlight: #ff3daee9
  QPalette::HighlightedText: #fffcfcfc
  QPalette::Link: #ff2980b9
  QPalette::LinkVisited: #ff7f8c8d
  QPalette::AlternateBase: #ffeff0f1
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff232627
  QPalette::ToolTipText: #fffcfcfc
  QPalette::PlaceholderText: #80232627

Screens: 1, High DPI scaling: inactive
# 0 "Screen30" Depth: 32 Primary: yes
  Manufacturer: BNQ
  Model: DP-3-BenQ EW3270U/N8J00764019
  Serial number: 
  Geometry: 3840x2160+0+0 Available: 3840x2160+0+0
  Physical size: 700x390 mm  Refresh: 59.997 Hz Power state: 0
  Physical DPI: 139.337,140.677 Logical DPI: 132,132 Subpixel_None
  DevicePixelRatio: 1 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

LibGL Vendor: X.Org
Renderer: AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.27.0, 4.20.0-arch1-1-ARCH, LLVM 8.0.0)
Version: 4.5 (Compatibility Profile) Mesa 19.0.0-devel (git-31e4c9ce40)
Shading language: 4.50
Format: Version: 4.5 Profile: 2 Swap behavior: 0 Buffer size (RGB): 5,6,5
Profile: None (QOpenGLFunctions_4_5), Core (QOpenGLFunctions_4_5_Core), Compatibility (QOpenGLFunctions_4_5_Compatibility)


Unable to create a Vulkan instance, error code is0