X11 session not working anymore after latest updates on arch

That’s plenty enough information - it is the same crash as @NeWolf’s: KWin’s render loop calls KWin::GLVertexBuffer::endOfFrame() and that causes the Nvidia driver to crash.

I can’t find a matching report in bugs.kde.org - you should report it there as this is very important and likely requires a KWin fix.

2 Likes

@lauren Unfortunately I get the same behavior even if I disconnect one display. Thanks for taking time to mention this workaround though, maybe other users will be able to benefit from it.

@guss77 Thanks for looking into it guss, I wil submit a bug report asap.

Hello everyone,

I have the exact same problem since the last Nvidia 555.58 update.

KDE Plasma won’t launch (from SDDM) on X11 : both screens are black with mouse cursor visible, and some glitchy window frame “Crash Handler” appear randomly for a very brief moment.

What I’ve tried and did not work :

  • Disconnect one or the other of my two display (HDMI and DVI)
  • Delete temporarily my KDE Plasma configuration files
  • Create a new user with fresh KDE Plasma config
  • Launch KDE Plasma from another display manager (LightDM)
  • Add / remove / change various Nvidia kernel module parameters

What I’ve tried and works :

  • Rollback the Nvidia driver to the previous version (550)
  • Launching KDE Plasma on Wayland
  • Launching another DE (Xfce4) on X11

Here is how my journal looks when KDE X11 is crashing on launch :

juil. 03 20:55:50 jeanine systemd[696]: Starting KDE Window Manager...
juil. 03 20:55:51 jeanine kwin_x11[911]: kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_US.UTF8" (mapped to "en_US.UTF8")
juil. 03 20:55:52 jeanine systemd[696]: Started KDE Window Manager.
juil. 03 20:55:55 jeanine kwin_x11[911]: kwin_scene_opengl: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for buffer object.
juil. 03 20:55:55 jeanine kwin_x11[911]: Application::crashHandler() called with signal 11; recent crashes: 1
juil. 03 20:55:56 jeanine kwin_x11[911]: KCrash: appFilePath points to nullptr!
juil. 03 20:55:56 jeanine kwin_x11[911]: KCrash: Application '<unknown>' crashing... crashRecursionCounter = 2
juil. 03 20:55:56 jeanine systemd-coredump[1446]: [🡕] Process 911 (kwin_x11) of user 1000 dumped core.
    
    Stack trace of thread 911:
    #0  0x00007d025e2a8e44 n/a (libc.so.6 + 0x94e44)
    #1  0x00007d025e250a30 raise (libc.so.6 + 0x3ca30)
    #2  0x00007d02619ff643 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x6643)
    #3  0x00007d025e250ae0 n/a (libc.so.6 + 0x3cae0)
    #4  0x00007d0255146339 n/a (libnvidia-glcore.so.555.58.02 + 0xb46339)
    #5  0x00007d025509276a n/a (libnvidia-glcore.so.555.58.02 + 0xa9276a)
    #6  0x00007d0255093d7c n/a (libnvidia-glcore.so.555.58.02 + 0xa93d7c)
    #7  0x00007d0254daa7bd n/a (libnvidia-glcore.so.555.58.02 + 0x7aa7bd)
    #8  0x00007d026146be86 _ZN4KWin14GLVertexBuffer10endOfFrameEv (libkwin.so.6 + 0x26be86)
    #9  0x00007d02614c10a2 _ZN4KWin18ItemRendererOpenGL8endFrameEv (libkwin.so.6 + 0x2c10a2)
    #10 0x00007d02614cdd66 _ZN4KWin14WorkspaceScene5paintERKNS_12RenderTargetERK7QRegion (libkwin.so.6 + 0x2cdd66)
    #11 0x00007d02614bf585 _ZN4KWin13SceneDelegate5paintERKNS_12RenderTargetERK7QRegion (libkwin.so.6 + 0x2bf585)
    #12 0x00007d0261365fa7 _ZN4KWin10Compositor9paintPassEPNS_11RenderLayerERKNS_12RenderTargetERK7QRegion (libkwin.so.6 + 0x165fa7)
    #13 0x00007d02615b01ae _ZN4KWin13X11Compositor9compositeEPNS_10RenderLoopE (libkwin.so.6 + 0x3b01ae)
    #14 0x00007d025e9a16f7 n/a (libQt6Core.so.6 + 0x1a16f7)
    #15 0x00007d026137ca45 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.6 + 0x17ca45)
    #16 0x00007d0261383a93 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.6 + 0x183a93)
    #17 0x00007d025e9a16f7 n/a (libQt6Core.so.6 + 0x1a16f7)
    #18 0x00007d025e9a9885 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1a9885)
    #19 0x00007d025e98bfc9 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x18bfc9)
    #20 0x00007d025f8fc51c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfc51c)
    #21 0x00007d025e944d28 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x144d28)
    #22 0x00007d025eac3c98 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2c3c98)
    #23 0x00007d025eba4979 n/a (libQt6Core.so.6 + 0x3a4979)
    #24 0x00007d025d70ea89 n/a (libglib-2.0.so.0 + 0x5ca89)
    #25 0x00007d025d7709b7 n/a (libglib-2.0.so.0 + 0xbe9b7)
    #26 0x00007d025d70df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
    #27 0x00007d025eba2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd)
    #28 0x00007d025e94f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e)
    #29 0x00007d025e94934d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x14934d)
    #30 0x00005f9d5d112e2b n/a (kwin_x11 + 0x39e2b)
    #31 0x00007d025e239c88 n/a (libc.so.6 + 0x25c88)
    #32 0x00007d025e239d4c __libc_start_main (libc.so.6 + 0x25d4c)
    #33 0x00005f9d5d116a55 n/a (kwin_x11 + 0x3da55)
    
    Stack trace of thread 1283:
    #0  0x00007d025e31c39d __poll (libc.so.6 + 0x10839d)
    #1  0x00007d025d7708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
    #2  0x00007d025d70df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
    #3  0x00007d025eba2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd)
    #4  0x00007d025e94f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e)
    #5  0x00007d025ea3a560 _ZN7QThread3runEv (libQt6Core.so.6 + 0x23a560)
    #6  0x00007d025eac9747 n/a (libQt6Core.so.6 + 0x2c9747)
    #7  0x00007d025e2a6ded n/a (libc.so.6 + 0x92ded)
    #8  0x00007d025e32a0dc n/a (libc.so.6 + 0x1160dc)
    
    Stack trace of thread 1080:
    #0  0x00007d025e31c39d __poll (libc.so.6 + 0x10839d)
    #1  0x00007d025d7708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
    #2  0x00007d025d70df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
    #3  0x00007d025eba2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd)
    #4  0x00007d025e94f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e)
    #5  0x00007d025ea3a410 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23a410)
    #6  0x00007d025ff99e4e n/a (libQt6DBus.so.6 + 0x2de4e)
    #7  0x00007d025eac9747 n/a (libQt6Core.so.6 + 0x2c9747)
    #8  0x00007d025e2a6ded n/a (libc.so.6 + 0x92ded)
    #9  0x00007d025e32a0dc n/a (libc.so.6 + 0x1160dc)
    
    Stack trace of thread 1325:
    #0  0x00007d025e31c39d __poll (libc.so.6 + 0x10839d)
    #1  0x00007d025d7708fd n/a (libglib-2.0.so.0 + 0xbe8fd)
    #2  0x00007d025d70df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
    #3  0x00007d025eba2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd)
    #4  0x00007d025e94f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e)
    #5  0x00007d025ea3a560 _ZN7QThread3runEv (libQt6Core.so.6 + 0x23a560)
    #6  0x00007d025eac9747 n/a (libQt6Core.so.6 + 0x2c9747)
    #7  0x00007d025e2a6ded n/a (libc.so.6 + 0x92ded)
    #8  0x00007d025e32a0dc n/a (libc.so.6 + 0x1160dc)
    
    Stack trace of thread 1108:
    #0  0x00007d025e31c39d __poll (libc.so.6 + 0x10839d)
    #1  0x00007d0261a6e20b n/a (libxcb.so.1 + 0xd20b)
    #2  0x00007d0261a6ff3d xcb_wait_for_event (libxcb.so.1 + 0xef3d)
    #3  0x00007d0257fae761 n/a (libQt6XcbQpa.so.6 + 0x4e761)
    #4  0x00007d025eac9747 n/a (libQt6Core.so.6 + 0x2c9747)
    #5  0x00007d025e2a6ded n/a (libc.so.6 + 0x92ded)
    #6  0x00007d025e32a0dc n/a (libc.so.6 + 0x1160dc)
    
    Stack trace of thread 1243:
    #0  0x00007d025e2a34e9 n/a (libc.so.6 + 0x8f4e9)
    #1  0x00007d025e2a5ed9 pthread_cond_wait (libc.so.6 + 0x91ed9)
    #2  0x00007d025eace120 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce120)
    #3  0x00007d026064a264 n/a (libQt6Qml.so.6 + 0x24a264)
    #4  0x00007d02606f54f5 n/a (libQt6Qml.so.6 + 0x2f54f5)
    #5  0x00007d02606f5848 n/a (libQt6Qml.so.6 + 0x2f5848)
    #6  0x00007d02606acf79 _ZN11QQmlImports15importExtensionERK7QString13QTypeRevisionP18QQmlImportDatabasePK27QQmlTypeLoaderQmldirContentP5QListI9QQmlErrorE (libQ>
    #7  0x00007d02606b10bd _ZN11QQmlImports16addLibraryImportEP18QQmlImportDatabaseRK7QStringS4_13QTypeRevisionS4_S4_6QFlagsINS_10ImportFlagEEtP5QListI9QQmlErrorE >
    #8  0x00007d02607532d8 n/a (libQt6Qml.so.6 + 0x3532d8)
    #9  0x00007d02607590e7 _ZN14QQmlTypeLoader4Blob16addLibraryImportERKSt10shared_ptrINS0_13PendingImportEEP5QListI9QQmlErrorE (libQt6Qml.so.6 + 0x3590e7)
    #10 0x00007d026075aeeb _ZN14QQmlTypeLoader4Blob20loadDependentImportsERK5QListIN13QQmlDirParser6ImportEERK7QString13QTypeRevisiont6QFlagsIN11QQmlImports10Impor>
    #11 0x00007d026075d728 _ZN14QQmlTypeLoader4Blob22loadImportDependenciesERKSt10shared_ptrINS0_13PendingImportEERK7QString6QFlagsIN11QQmlImports10ImportFlagEEP5Q>
    #12 0x00007d0260753301 n/a (libQt6Qml.so.6 + 0x353301)
    #13 0x00007d02607590e7 _ZN14QQmlTypeLoader4Blob16addLibraryImportERKSt10shared_ptrINS0_13PendingImportEEP5QListI9QQmlErrorE (libQt6Qml.so.6 + 0x3590e7)
    #14 0x00007d026075aeeb _ZN14QQmlTypeLoader4Blob20loadDependentImportsERK5QListIN13QQmlDirParser6ImportEERK7QString13QTypeRevisiont6QFlagsIN11QQmlImports10Impor>
    #15 0x00007d026075d728 _ZN14QQmlTypeLoader4Blob22loadImportDependenciesERKSt10shared_ptrINS0_13PendingImportEERK7QString6QFlagsIN11QQmlImports10ImportFlagEEP5Q>
    #16 0x00007d0260753301 n/a (libQt6Qml.so.6 + 0x353301)
    #17 0x00007d02607590e7 _ZN14QQmlTypeLoader4Blob16addLibraryImportERKSt10shared_ptrINS0_13PendingImportEEP5QListI9QQmlErrorE (libQt6Qml.so.6 + 0x3590e7)
    #18 0x00007d026075a969 _ZN14QQmlTypeLoader4Blob9addImportEPKN3QV412CompiledData6ImportE6QFlagsIN11QQmlImports10ImportFlagEEP5QListI9QQmlErrorE (libQt6Qml.so.6 >
    #19 0x00007d02607449ab n/a (libQt6Qml.so.6 + 0x3449ab)
    #20 0x00007d026074dbe5 _ZN14QQmlTypeLoader7setDataERK14QQmlRefPointerI12QQmlDataBlobERKNS1_14SourceCodeDataE (libQt6Qml.so.6 + 0x34dbe5)
    #21 0x00007d026074e90c _ZN14QQmlTypeLoader7setDataERK14QQmlRefPointerI12QQmlDataBlobERK7QString (libQt6Qml.so.6 + 0x34e90c)
    #22 0x00007d0260751a8d _ZN14QQmlTypeLoader10loadThreadERK14QQmlRefPointerI12QQmlDataBlobE (libQt6Qml.so.6 + 0x351a8d)
    #23 0x00007d026075e1fc n/a (libQt6Qml.so.6 + 0x35e1fc)
    #24 0x00007d026064adc4 n/a (libQt6Qml.so.6 + 0x24adc4)
    #25 0x00007d025f8fc51c _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfc51c)
    #26 0x00007d025e944d28 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x144d28)
    #27 0x00007d025e9450eb _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt6Core.so.6 + 0x1450eb)
    #28 0x00007d025eba49ec n/a (libQt6Core.so.6 + 0x3a49ec)
    #29 0x00007d025d70ea89 n/a (libglib-2.0.so.0 + 0x5ca89)
    #30 0x00007d025d7709b7 n/a (libglib-2.0.so.0 + 0xbe9b7)
    #31 0x00007d025d70df95 g_main_context_iteration (libglib-2.0.so.0 + 0x5bf95)
    #32 0x00007d025eba2cbd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a2cbd)
    #33 0x00007d025e94f01e _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14f01e)
    #34 0x00007d025ea3a560 _ZN7QThread3runEv (libQt6Core.so.6 + 0x23a560)
    #35 0x00007d025eac9747 n/a (libQt6Core.so.6 + 0x2c9747)
    #36 0x00007d025e2a6ded n/a (libc.so.6 + 0x92ded)
    #37 0x00007d025e32a0dc n/a (libc.so.6 + 0x1160dc)
    
    Stack trace of thread 1326:
    #0  0x00007d025e2a34e9 n/a (libc.so.6 + 0x8f4e9)
    #1  0x00007d025e2a6242 pthread_cond_timedwait (libc.so.6 + 0x92242)
    #2  0x00007d025eace0b8 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2ce0b8)
    #3  0x00007d025eac7db2 n/a (libQt6Core.so.6 + 0x2c7db2)
    #4  0x00007d025eac9747 n/a (libQt6Core.so.6 + 0x2c9747)
    #5  0x00007d025e2a6ded n/a (libc.so.6 + 0x92ded)
    #6  0x00007d025e32a0dc n/a (libc.so.6 + 0x1160dc)
    ELF object binary architecture: AMD x86-64
juil. 03 20:55:56 jeanine systemd[696]: plasma-kwin_x11.service: Main process exited, code=dumped, status=11/SEGV
juil. 03 20:55:56 jeanine systemd[696]: plasma-kwin_x11.service: Failed with result 'core-dump'.
juil. 03 20:55:56 jeanine systemd[696]: plasma-kwin_x11.service: Scheduled restart job, restart counter is at 1.
juil. 03 20:55:56 jeanine systemd[696]: Starting KDE Window Manager...
juil. 03 20:55:57 jeanine kwin_x11[1527]: kwin_xkbcommon: XKB: couldn't find a Compose file for locale "en_US.UTF8" (mapped to "en_US.UTF8")
juil. 03 20:55:57 jeanine systemd[696]: Started KDE Window Manager.
juil. 03 20:56:11 jeanine kwin_x11[1527]: The X11 connection broke (error 1). Did the X11 server die?
juil. 03 20:56:11 jeanine systemd[696]: plasma-kwin_x11.service: Main process exited, code=exited, status=1/FAILURE
juil. 03 20:56:11 jeanine systemd[696]: plasma-kwin_x11.service: Failed with result 'exit-code'.
juil. 03 20:56:11 jeanine systemd[696]: Stopped KDE Window Manager.

Here are my specs :

OS: Arch Linux
Kernel: 6.9.7-arch1-1
DE: Plasma 6.1.1
WM: kwin
DM: SDDM
CPU: Intel i5-9400F
GPU: NVIDIA GeForce GTX 1070 Ti
GPU Driver: NVIDIA 555.58.02
Displays: 2 (1 HDMI and 1 DVI)

I’ve been struggling with this for a few days now and I’ve finally find this post where you people seem to have the same problem I have.

Since it seems related to KDE, I hope my info can be useful.

Regards

2 Likes

Please add your details to 489695 – can't login into x11 plasma session

2 Likes

I just did, thank you for linking the bug report :+1:

1 Like

They were lots of KDE packages updating today and I cannot see the errors in the log anymore (those related to kwin and plasmashell), yet the x11 session still refuses to start.

The wayland sessions works but it doesn’t provide the features of x11 so I cannot use it for what I do, so I will install another DE to use my installation of Arch.

Thank you all for your suggestions and involvement into finding a fix for this issue.

2 Likes

I’ve created a topic about this problem on the Nvidia forums. I can’t post links here but if you go to the Nvidia forums in the Graphics / Linux → Linux category and search “KDE Plasma crashing on X11 after 555.58 update” you’ll find it.

1 Like

Maybe roll back to an older kernel?