At random times Plasma session restarts

Hello,

I am a relatively new linux user and I am getting a very weird behavior on my manjaro with the KDE plasma.
I will try to keep a long story short. I have been using manjaro for two years now and everything was wonderful. In the past two months I have been reinstalling manjaro due to an SSD issue. Nevertheless with the new installation I get a very weird behavior and I suspect that it originates from sddm. A thing to keep in mind is that my screen locks after 5 mins.
Some times after the screen is locked I try to login. When I log-in the KDE session starts fresh from the beginning !

This is very annoying and I have lost a lot of work this way. Many times I left my PC to go make a coffee only to be greeted with a fresh session.
It looks like oom event but I dont see anything in the logs.
If I do a coredumpctl I get this:

Module libnxegl.so without build-id.
                Stack trace of thread 2829:
                #0  0x00007fb2a1800e20 n/a (libQt6Core.so.6 + 0x600e20)
                #1  0x00007fb2a03bc275 _ZN17QQmlDelegateModel22_q_modelAboutToBeResetEv (libQt6QmlModels.so.6 + 0x71275)
                #2  0x00007fb2a13a3397 n/a (libQt6Core.so.6 + 0x1a3397)
                #3  0x00007fb2a154ece0 _ZN18QAbstractItemModel15beginResetModelEv (libQt6Core.so.6 + 0x34ece0)
                #4  0x00007fb2a158f1a6 _ZN21QSortFilterProxyModel14setSourceModelEP18QAbstractItemModel (libQt6Core.so.6 + 0x38f1a6)
                #5  0x00007fb264692a5f n/a (libitemmodelsplugin.so + 0xea5f)
                #6  0x00007fb2a1572b4a n/a (libQt6Core.so.6 + 0x372b4a)
                #7  0x00007fb2a13a057d _ZN23QPropertyBindingPrivate17evaluateRecursiveER15QVarLengthArrayI19QBindingObserverPtrLx256EEP14QBindingStatus (libQt6Core.so.6 + 0x1a057d)
                #8  0x00007fb2a26ff4dd _ZN21QQmlPropertyBindingJS17expressionChangedEv (libQt6Qml.so.6 + 0x2ff4dd)
                #9  0x00007fb2a26dba4c _ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv (libQt6Qml.so.6 + 0x2dba4c)
                #10 0x00007fb2a13a30ea n/a (libQt6Core.so.6 + 0x1a30ea)
                #11 0x00007fb2a26f3ee1 _ZN18QQmlOpenMetaObject15checkedSetValueEiRK8QVariantb (libQt6Qml.so.6 + 0x2f3ee1)
                #12 0x00007fb2a277ef85 _ZN15QQmlPropertyMap5clearERK7QString (libQt6Qml.so.6 + 0x37ef85)
                #13 0x00007fb2a13a3397 n/a (libQt6Core.so.6 + 0x1a3397)
                #14 0x00007fb2a13926e6 _ZN7QObjectD1Ev (libQt6Core.so.6 + 0x1926e6)
                #15 0x00007fb24e997b73 n/a (plasma_engine_clipboard.so + 0x3ab73)
                #16 0x00007fb2a138c60b _ZN14QObjectPrivate14deleteChildrenEv (libQt6Core.so.6 + 0x18c60b)
                #17 0x00007fb2a1392678 _ZN7QObjectD1Ev (libQt6Core.so.6 + 0x192678)
                #18 0x00007fb28c360796 _ZN14Plasma5Support13DataContainerD0Ev (libPlasma5Support.so.6 + 0xe796)
                #19 0x00007fb2a138c60b _ZN14QObjectPrivate14deleteChildrenEv (libQt6Core.so.6 + 0x18c60b)
                #20 0x00007fb2a1392678 _ZN7QObjectD1Ev (libQt6Core.so.6 + 0x192678)
                #21 0x00007fb24e985ec0 n/a (plasma_engine_clipboard.so + 0x28ec0)
                #22 0x00007fb28c369770 n/a (libPlasma5Support.so.6 + 0x17770)
                #23 0x00007fb28c369b0d n/a (libPlasma5Support.so.6 + 0x17b0d)
                #24 0x00007fb2a184e891 n/a (libc.so.6 + 0x3f891)
                #25 0x00007fb2a184e95e exit (libc.so.6 + 0x3f95e)
                #26 0x00007fb2905c87d5 n/a (libQt6XcbQpa.so.6 + 0x247d5)
                #27 0x00007fb2905f5b7f n/a (libQt6XcbQpa.so.6 + 0x51b7f)
                #28 0x00007fb2a00bc299 n/a (libglib-2.0.so.0 + 0x5d299)
                #29 0x00007fb2a011eec7 n/a (libglib-2.0.so.0 + 0xbfec7)
                #30 0x00007fb2a00bb795 g_main_context_iteration (libglib-2.0.so.0 + 0x5c795)
                #31 0x00007fb2a15a82bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a82bd)
                #32 0x00007fb2a134ff66 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14ff66)
                #33 0x00007fb2a134a11d _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x14a11d)
                #34 0x000055eea4c86d86 n/a (plasmashell + 0x26d86)
                #35 0x00007fb2a1834e08 n/a (libc.so.6 + 0x25e08)
                #36 0x00007fb2a1834ecc __libc_start_main (libc.so.6 + 0x25ecc)
                #37 0x000055eea4c87275 n/a (plasmashell + 0x27275)
                
                Stack trace of thread 2846:
                #0  0x00007fb2a191a63d __poll (libc.so.6 + 0x10b63d)
                #1  0x00007fb2a011ee0d n/a (libglib-2.0.so.0 + 0xbfe0d)
                #2  0x00007fb2a00bb795 g_main_context_iteration (libglib-2.0.so.0 + 0x5c795)
                #3  0x00007fb2a15a82bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a82bd)
                #4  0x00007fb2a134ff66 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14ff66)
                #5  0x00007fb2a143d650 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23d650)
                #6  0x00007fb2a316ff0e n/a (libQt6DBus.so.6 + 0x2df0e)
                #7  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #8  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #9  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3126:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3134:
                #0  0x00007fb2a191a63d __poll (libc.so.6 + 0x10b63d)
                #1  0x00007fb28d213fc7 n/a (libnvidia-glcore.so.550.120 + 0xa13fc7)
                #2  0x00007fb28d1f5754 n/a (libnvidia-glcore.so.550.120 + 0x9f5754)
                #3  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #4  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3232:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 2982:
                #0  0x00007fb2a191a63d __poll (libc.so.6 + 0x10b63d)
                #1  0x00007fb2a011ee0d n/a (libglib-2.0.so.0 + 0xbfe0d)
                #2  0x00007fb2a00bb795 g_main_context_iteration (libglib-2.0.so.0 + 0x5c795)
                #3  0x00007fb2a15a82bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a82bd)
                #4  0x00007fb2a134ff66 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14ff66)
                #5  0x00007fb2a143d7a0 _ZN7QThread3runEv (libQt6Core.so.6 + 0x23d7a0)
                #6  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #7  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #8  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3138:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3175:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3221:
                #0  0x00007fb2a191a63d __poll (libc.so.6 + 0x10b63d)
                #1  0x00007fb26412f9b7 n/a (libpulse.so.0 + 0x339b7)
                #2  0x00007fb26411945c pa_mainloop_poll (libpulse.so.0 + 0x1d45c)
                #3  0x00007fb26412361c pa_mainloop_iterate (libpulse.so.0 + 0x2761c)
                #4  0x00007fb2641236d1 pa_mainloop_run (libpulse.so.0 + 0x276d1)
                #5  0x00007fb264133bf2 n/a (libpulse.so.0 + 0x37bf2)
                #6  0x00007fb2640d12b7 n/a (libpulsecommon-17.0.so + 0x5c2b7)
                #7  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #8  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3219:
                #0  0x00007fb2a191a63d __poll (libc.so.6 + 0x10b63d)
                #1  0x00007fb2a011ee0d n/a (libglib-2.0.so.0 + 0xbfe0d)
                #2  0x00007fb2a00bb795 g_main_context_iteration (libglib-2.0.so.0 + 0x5c795)
                #3  0x00007fb2a15a82bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a82bd)
                #4  0x00007fb2a134ff66 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14ff66)
                #5  0x00007fb2a143d650 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23d650)
                #6  0x00007fb24ef56750 _ZN15KCupsConnection3runEv (libkcupslib.so.6.1.5 + 0x2d750)
                #7  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #8  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #9  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3417:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3415:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 68063:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 6304:
                #0  0x00007fb2a189fa19 n/a (libc.so.6 + 0x90a19)
                #1  0x00007fb2a18a2479 pthread_cond_wait (libc.so.6 + 0x93479)
                #2  0x00007fb2a14d1c60 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x2d1c60)
                #3  0x00007fb2a2e19f3a n/a (libQt6Quick.so.6 + 0x419f3a)
                #4  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #5  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #6  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                
                Stack trace of thread 3190:
                #0  0x00007fb2a191a63d __poll (libc.so.6 + 0x10b63d)
                #1  0x00007fb2a011ee0d n/a (libglib-2.0.so.0 + 0xbfe0d)
                #2  0x00007fb2a00bb795 g_main_context_iteration (libglib-2.0.so.0 + 0x5c795)
                #3  0x00007fb2a15a82bd _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3a82bd)
                #4  0x00007fb2a134ff66 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x14ff66)
                #5  0x00007fb2a143d650 _ZN7QThread4execEv (libQt6Core.so.6 + 0x23d650)
                #6  0x00007fb2a2d63bd8 n/a (libQt6Quick.so.6 + 0x363bd8)
                #7  0x00007fb2a14cd237 n/a (libQt6Core.so.6 + 0x2cd237)
                #8  0x00007fb2a18a339d n/a (libc.so.6 + 0x9439d)
                #9  0x00007fb2a192849c n/a (libc.so.6 + 0x11949c)
                ELF object binary architecture: AMD x86-64

And from journalctl -p err -b I get this:

loka 22 22:38:38 michael-ms7a33 pamac-tray-plasma[3063]: The X11 connection broke (error 1). Did the X11 server die?
loka 22 22:38:38 michael-ms7a33 plasmashell[2829]: The X11 connection broke (error 1). Did the X11 server die?
loka 22 22:38:38 michael-ms7a33 systemd[2715]: Stopped target plasma-workspace-x11.target.
loka 22 22:38:38 michael-ms7a33 systemd[2715]: plasma-kscreen.service: Consumed 10.562s CPU time, 9.7M memory peak, 6M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-gmenudbusmenuproxy.service: Consumed 10.377s CPU time, 9.3M memory peak, 5.6M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-xembedsniproxy.service: Consumed 10.572s CPU time, 11.1M memory peak, 7.6M memory swap peak.
loka 22 22:38:39 michael-ms7a33 plasmashell[2829]: org.kde.pulseaudio: No object for name "alsa_output.usb-Razer_Razer_Nari_Essential-00.analog-stereo"
loka 22 22:38:39 michael-ms7a33 plasmashell[2829]: org.kde.pulseaudio: No object for name "alsa_output.usb-Razer_Razer_Nari_Essential-00.analog-stereo"
loka 22 22:38:39 michael-ms7a33 plasmashell[2829]: org.kde.pulseaudio: No object for name "alsa_input.usb-Razer_Razer_Nari_Essential-00.mono-fallback"
loka 22 22:38:39 michael-ms7a33 plasmashell[2829]: file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:76: TypeError: Cannot read property 'pulseProperties' of undefined
loka 22 22:38:39 michael-ms7a33 systemd[2715]: app-pamac\x2dtray\x2dplasma@autostart.service: Consumed 34.430s CPU time, 86.1M memory peak, 16.3M memory swap peak.
loka 22 22:38:39 michael-ms7a33 startplasma-x11[2732]: org.kde.startup: "kdeinit5_shutdown" QList() exited with code 255
loka 22 22:38:39 michael-ms7a33 plasmashell[2829]: file:///usr/share/plasma/plasmoids/org.kde.plasma.clipboard/contents/ui/ClipboardPage.qml:131:9: QML KSortFilterProxyModel: Unable to assign [undefined] to "sourceModel"
loka 22 22:38:39 michael-ms7a33 kernel: plasmashell[2829]: segfault at 7fb2a1800e20 ip 00007fb2a1800e20 sp 00007ffe1d3a6be8 error 15 in libQt6Core.so.6.7.2[7fb2a17fc000+8000] likely on CPU 10 (core 5, socket 0)
loka 22 22:38:39 michael-ms7a33 systemd-coredump[130264]: Process 2829 (plasmashell) of user 1000 terminated abnormally with signal 11/SEGV, processing...
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kglobalaccel.service: Consumed 3.962s CPU time, 43.6M memory peak, 13.8M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-ksmserver.service: Main process exited, code=exited, status=1/FAILURE
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-powerdevil.service: Consumed 35.339s CPU time, 21.8M memory peak, 10.6M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kded6.service: Main process exited, code=exited, status=1/FAILURE
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kded6.service: Failed with result 'exit-code'.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kded6.service: Consumed 25.533s CPU time, 49.5M memory peak, 21.1M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kactivitymanagerd.service: Consumed 19.234s CPU time, 28M memory peak, 17.3M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-polkit-agent.service: Consumed 10.505s CPU time, 26.9M memory peak, 16.2M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kwin_x11.service: Main process exited, code=exited, status=1/FAILURE
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kwin_x11.service: Failed with result 'exit-code'.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-kwin_x11.service: Consumed 37min 15.526s CPU time, 100.7M memory peak, 48.9M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-xdg-desktop-portal-kde.service: Consumed 10.479s CPU time, 25.3M memory peak, 13.8M memory swap peak.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-ksmserver.service: Failed with result 'exit-code'.
loka 22 22:38:39 michael-ms7a33 systemd[2715]: plasma-ksmserver.service: Consumed 3min 58.965s CPU time, 436.5M memory peak, 13.1M memory swap peak.
loka 22 22:38:41 michael-ms7a33 sddm-greeter-qt6[130340]: Reading from "/usr/share/wayland-sessions/plasmawayland.desktop"
loka 22 22:38:41 michael-ms7a33 sddm-greeter-qt6[130340]: Reading from "/usr/share/xsessions/plasma.desktop"
loka 22 22:38:41 michael-ms7a33 dbus-broker-launch[130344]: Service file '/usr/share//dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
loka 22 22:38:41 michael-ms7a33 sddm-greeter-qt6[130340]: KeyStatesEngine is deprecated. Use KeyState from org.kde.plasma.private.keyboardindicator instead.
loka 22 22:38:43 michael-ms7a33 systemd-coredump[130269]: Process 2829 (plasmashell) of user 1000 dumped core.
                                                          #15 0x00007fb24e997b73 n/a (plasma_engine_clipboard.so + 0x3ab73)
                                                          #21 0x00007fb24e985ec0 n/a (plasma_engine_clipboard.so + 0x28ec0)
                                                          #34 0x000055eea4c86d86 n/a (plasmashell + 0x26d86)
                                                          #37 0x000055eea4c87275 n/a (plasmashell + 0x27275)
loka 22 22:38:43 michael-ms7a33 systemd[2715]: plasma-plasmashell.service: Main process exited, code=dumped, status=11/SEGV
loka 22 22:38:43 michael-ms7a33 systemd[2715]: plasma-plasmashell.service: Failed with result 'core-dump'.
loka 22 22:38:43 michael-ms7a33 systemd[2715]: plasma-plasmashell.service: Consumed 5min 33.858s CPU time, 631.4M memory peak, 127.3M memory swap peak.
loka 22 22:45:24 michael-ms7a33 sddm-greeter-qt6[130340]: Reading from "/usr/share/xsessions/plasma.desktop"
loka 22 22:45:24 michael-ms7a33 sddm[2623]: Reading from "/usr/share/xsessions/plasma.desktop"
loka 22 22:45:24 michael-ms7a33 sddm[2623]: Session "/usr/share/xsessions/plasma.desktop" selected, command: "/usr/bin/startplasma-x11" for VT 2
loka 22 22:45:25 michael-ms7a33 sddm-helper[130499]: Starting X11 session: "" "/usr/share/sddm/scripts/Xsession \"/usr/bin/startplasma-x11\""
loka 22 22:45:25 michael-ms7a33 dbus-broker-launch[130534]: Service file '/usr/share//dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
loka 22 22:45:25 michael-ms7a33 systemd[130505]: Reload requested from client PID 130524 ('startplasma-x11')...
loka 22 22:45:26 michael-ms7a33 kcminit_startup[130558]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
loka 22 22:45:26 michael-ms7a33 kcminit_startup[130558]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_style.so"
loka 22 22:45:26 michael-ms7a33 kcminit_startup[130558]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
loka 22 22:45:27 michael-ms7a33 kcminit_startup[130558]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kgamma.so"
loka 22 22:45:27 michael-ms7a33 kcminit_startup[130558]: Initializing  "/usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
loka 22 22:45:28 michael-ms7a33 NetworkManager[650]: <info>  [1729626328.0259] agent-manager: agent[07f4939509f4d742,:1.1992/org.kde.plasma.networkmanagement/1000]: agent registered
loka 22 22:45:28 michael-ms7a33 plasmashell[130642]: KPackageStructure of KPluginMetaData(pluginId:"org.kde.plasma.kclock_1x2", fileName: "/usr/share/plasma/plasmoids/org.kde.plasma.kclock_1x2/metadata.json") does not match requested format "Plasma/Applet"
loka 22 22:45:28 michael-ms7a33 plasmashell[130642]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
loka 22 22:45:28 michael-ms7a33 plasmashell[130642]: kde.plasmashell: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
loka 22 22:45:29 michael-ms7a33 kded6[130602]: QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
loka 22 22:45:29 michael-ms7a33 kded6[130602]: kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
loka 22 22:45:29 michael-ms7a33 plasmashell[130642]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.

Thank you

Hello and welcome,
System information might be a good inclusion;

inxi -Farz

Thank you :slight_smile:
Yes! I missed that, here you are:

System:
  Kernel: 6.6.54-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.6-x86_64
    root=UUID=5124a8fb-cbe6-48d0-9b4c-2b030b19331c rw quiet splash
    udev.log_priority=3
  Desktop: KDE Plasma v: 6.1.5 tk: Qt v: N/A info: frameworks v: 6.6.0
    wm: kwin_x11 vt: 2 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop System: Micro-Star product: MS-7A33 v: 2.0
    serial: <superuser required>
  Mobo: MSI model: X370 GAMING PRO (MS-7A33) v: 2.0
    serial: <superuser required> uuid: <superuser required>
    UEFI: American Megatrends v: 4.IR date: 10/29/2021
Battery:
  Device-1: hidpp_battery_2 model: Logitech Wireless Mouse MX Master
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 2600 bits: 64 type: MT MCP arch: Zen+ gen: 1+
    level: v3 note: check built: 2018-21 process: GF 12nm family: 0x17 (23)
    model-id: 8 stepping: 2 microcode: 0x800820D
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2
    smt: enabled cache: L1: 576 KiB desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB
    desc: 6x512 KiB L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 2080 min/max: 1550/3400 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2080 2: 2080 3: 2080
    4: 2080 5: 2080 6: 2080 7: 2080 8: 2080 9: 2080 10: 2080 11: 2080 12: 2080
    bogomips: 81617
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: Safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP:
    disabled; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070 Ti] driver: nvidia v: 550.120
    alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of
    2024-09; EOL~2026-12-xx) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-2021 pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: none
    off: DP-1,DVI-D-1,HDMI-A-1 empty: DP-2,DP-3 bus-ID: 2e:00.0
    chip-ID: 10de:1b82 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 4920x1920 s-dpi: 91 s-size: 1371x535mm (53.98x21.06")
    s-diag: 1472mm (57.94")
  Monitor-1: DP-0 pos: top-right res: 1080x1920 hz: 60 dpi: 94
    size: 293x521mm (11.54x20.51") diag: 598mm (23.53") modes: N/A
  Monitor-2: DVI-D-0 pos: bottom-l res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  Monitor-3: HDMI-0 pos: primary,middle-c res: 1920x1080 hz: 60 dpi: 82
    size: 598x336mm (23.54x13.23") diag: 686mm (27.01") modes: N/A
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast surfaceless: drv: nvidia x11: drv: nvidia
    inactive: gbm,wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.120
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2
    memory: 7.81 GiB
  API: Vulkan v: 1.3.295 layers: 1 device: 0 type: discrete-gpu name: NVIDIA
    GeForce GTX 1070 Ti driver: nvidia v: 550.120 device-ID: 10de:1b82
    surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA GP104 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 2e:00.1 chip-ID: 10de:10f0
    class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 30:00.3 chip-ID: 1022:1457 class-ID: 0403
  Device-3: Razer USA RC30-026902 Gaming Headset [Nari Essential Wireless
    Receiver] driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-13:4 chip-ID: 1532:051e
    class-ID: 0300
  API: ALSA v: k6.6.54-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.2.5 status: off with: 1: wireplumber status: off
    2: pipewire-alsa type: plugin tools: pw-cat,pw-cli,wpctl
  Server-3: PulseAudio v: 17.0 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 29:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp41s0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:12 chip-ID: 2550:8761
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 5 state: up address: see --recommends
Drives:
  Local Storage: total: 10.28 TiB used: 2.23 TiB (21.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 2B2QEXM7 temp: 43.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: MZ7PD256HAFV-000H7
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 5H6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Intenso model: SSD size: 1.86 TiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
    serial: <filter> fw-rev: 3A0 scheme: GPT
  ID-4: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST8000NM017B-2TJ103
    size: 7.28 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: SNA1 scheme: GPT
Partition:
  ID-1: / raw-size: 1.83 TiB size: 1.8 TiB (98.37%) used: 379.41 GiB (20.6%)
    fs: ext4 dev: /dev/sdb1 maj-min: 8:17
  ID-2: /boot/efi raw-size: 301 MiB size: 300.4 MiB (99.79%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sdb3 maj-min: 8:19
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 32.23 GiB used: 223.5 MiB (0.7%)
    priority: -2 dev: /dev/sdb2 maj-min: 8:18
Sensors:
  System Temperatures: cpu: 46.1 C mobo: N/A gpu: nvidia temp: 51 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 0%
Repos:
  Packages: pm: pacman pkgs: 1476 libs: 349 tools: pamac,yay pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    2: https://mirror.init7.net/manjaro/stable/$repo/$arch
    3: https://irltoolkit.mm.fcix.net/manjaro/stable/$repo/$arch
    4: https://ridgewireless.mm.fcix.net/manjaro/stable/$repo/$arch
    5: https://repo.ialab.dsu.edu/manjaro/stable/$repo/$arch
    6: http://ossmirror.mycloud.services/os/linux/manjaro/stable/$repo/$arch
    7: https://mirror.ufro.cl/manjaro/stable/$repo/$arch
    8: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
Info:
  Memory: total: 16 GiB available: 15.56 GiB used: 10.31 GiB (66.3%)
  Processes: 385 Power: uptime: 3d 27m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.21 GiB services: org_kde_powerdevil,
    power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
    tool: systemctl
  Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Zsh v: 5.9 default: Bash
    v: 5.2.37 running-in: konsole inxi: 3.3.36

Did you check this 2 issues under Known Issues?

You can also complettly skip SDDM when you want to restart/shutdown… this evades problems too.

System Settings>session>log out screen: shown, mark it unselected.

Additional i can recommend to remove splash screen also:
System Settings>Colors & Themes>Splash Screen>None

Most Important for you, right now since you face this issues:
System Settings>Screen Locking:

Lock Screen Automatically: Never (You may just want to adjust this Value, if the Lock Screen is important to you, but disable the Lock after sleep should solve the most pain, that you face right now)
Lock after waking from sleep: unchecked.

Less features, less bugs = more stability.

That said, if the first 2 work around’s cure your problems, you may don’t need to disable this SDDM Features.

The conversation at this KDE bug report seems related:

Hello,

Thank you for your reply. Actually I had this problem but I resolve exactly by following these posts, however my issue now is a bit different. I can shutdown/restart normally this is not the issue anymore.
My issue is that sometimes after my screen locks and I try to log-in I am greeted with a new session.
For example my screen will lock (after 5min) and usually I would login just normally and I would continue from where I left off but sometimes it would be a complete new session (because the previous one just crashed). I think its because the sddm throws a seg fault.
Nevertheless, I have done exactly the steps that you mentioned and I have disabled the sddm and it seems that the issue is fixed (3 days in a row and I hadn’t any sessions crashes) but I would like to fix it. (I have been troubleshooting this for a while and I would like to learn how to better troubleshoot linux in general, so it also a bit of a challenge).

This I haven’t seen this but again my issue is not exactly that. Also, the issue appears when I am logged in normally. Furthermore, I am running X11.

So, now I have two questions:

  1. How can I log exactly what sddm does and why it throws the segfault?
  2. Should I consider switching to lightdm?
  3. Should I consider switching to wayland?

I would like to have your feedback on these thoughts.

Which is why I used the word ‘related’; it might have lead to something useful.

…or, three, as it happens…

While I can’t help with your other questions, Wayland seems stable (for me) on AMD graphics for the past year.

I’m afraid I can’t offer any advice with Nvidia/Wayland, except to mention that the combination seems to be more troublesome generally. A cursory search of the forum should reveal many previous issues.

Consider starting Plasma with an empty session, at least until you have found a resolution.

Yes three questions indeed… Now that I have disabled the lock screen it seems to be stable but lets see…

Thank you very much for your reply, I really appreciate it.