Comments

3 Comments

kwin_wayland crashes when trying to login into wayland session via SDDM. Output from journalctl --user -b: https://paste.sr.ht/blob/2eda1fc9ded14a3e17f39a2dd53d8da6e51bff0e

Seems like, I hit a bug fixed in 5.23.3, judging by this commit: https://invent.kde.org/plasma/kwin/-/commit/c4c03e2559f1ecf6f80ae965230bf0a19e17e210

It guards a function call of glDrawBuffer inside EglGbmBackend::makeContextCurrent, if the function is not available.

Stack trace of thread 2472:
 #0  0x00007f9f4155485c __pthread_kill_implementation (libc.so.6 + 0x8f85c)
 #1  0x00007f9f415076b6 raise (libc.so.6 + 0x426b6)
 #2  0x00007f9f414f1865 abort (libc.so.6 + 0x2c865)
 #3  0x00007f9f41a32302 gl_provider_resolver.lto_priv.0 (libepoxy.so.0 + 0x69302)
 #4  0x00007f9f41a323b7 gl_single_resolver.lto_priv.0 (libepoxy.so.0 + 0x693b7)
 #5  0x00007f9f41a42b8f epoxy_glDrawBuffer_global_rewrite_ptr (libepoxy.so.0 + 0x79b8f)                                                      <------------------ glDrawBuffer is called
 #6  0x00007f9f2e1a5e91 _ZNK4KWin13EglGbmBackend18makeContextCurrentERKNS0_6Output10RenderDataE.isra.0 (KWinWaylandDrmBackend.so + 0x4ee91)  <------------------ EglGbmBackend::makeContextCurrent
 #7  0x00007f9f2e199474 _ZN4KWin13EglGbmBackend25prepareRenderingForOutputERNS0_6OutputE (KWinWaylandDrmBackend.so + 0x42474)
 #8  0x00007f9f2e19a43e _ZN4KWin13EglGbmBackend10beginFrameEPNS_14AbstractOutputE (KWinWaylandDrmBackend.so + 0x4343e)
 #9  0x00007f9f2e199320 _ZN4KWin13EglGbmBackend15renderTestFrameEPNS_17DrmAbstractOutputE (KWinWaylandDrmBackend.so + 0x42320)
 #10 0x00007f9f2e196847 _ZN4KWin11DrmPipeline15checkTestBufferEv (KWinWaylandDrmBackend.so + 0x3f847)
 #11 0x00007f9f2e197164 _ZN4KWin11DrmPipeline15commitPipelinesERK7QVectorIPS0_ENS0_10CommitModeE (KWinWaylandDrmBackend.so + 0x40164)

kwin_wayland crashes when trying to login into wayland session via SDDM. Output from journalctl --user -b: https://paste.sr.ht/blob/2eda1fc9ded14a3e17f39a2dd53d8da6e51bff0e