Cannot log in to plasma desktop after crash, startplasma-x11 takes all the RAM

These seem problematic.

Please check removing/disabling the pacnew checker one and also review xdg-user-dirs-update

Example mine;

$ systemctl --user status xdg-user-dirs-update.service 
○ xdg-user-dirs-update.service - Update XDG user dir configuration
     Loaded: loaded (/usr/lib/systemd/user/xdg-user-dirs-update.service; enabled; preset: enabled)
     Active: inactive (dead) since Mon 2023-12-18 16:35:10; 21min ago
       Docs: man:xdg-user-dirs-update(1)
   Main PID: 1130 (code=exited, status=0/SUCCESS)
        CPU: 1ms

Dec 18 16:35:10 HOST systemd[1114]: Starting Update XDG user dir configuration...
Dec 18 16:35:10 HOST systemd[1114]: Finished Update XDG user dir configuration.

Another thought may be some odd foreign package replacing system base packages.
Check ‘foreign’ with

pacman -Qm

And probably unrelated but heres printing pacnews if any exist

pacdiff -o

PS.
You have no swap, so lockups are expected when you run out of RAM unless you have an OOM-killer or similar.
Setting up SWAP may mitigate the issue, and may be a good idea in general … though of course the runaway process is still a problem that needs to be resolved.

2 Likes

A wise man once suggested

A random shot in the dark: did you have Plasma set to restore the previous session?

having plasma set to restore a large appimage program that results in OOM could be a good way to get into this problem.

(unless plasma has some sane safeguards like: after unclean shutdown restore clean session)

1 Like

I’ve removed the manjaro-pacnew-checker, here is the new log:

journalctl -b0 -p4 --no-pager
Dez 20 00:20:42 user-tuxedo kernel: MDS CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/mds.html for more details.
Dez 20 00:20:42 user-tuxedo kernel: MMIO Stale Data CPU bug present and SMT on, data leak possible. See https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/processor_mmio_stale_data.html for more details.
Dez 20 00:20:42 user-tuxedo kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Dez 20 00:20:42 user-tuxedo kernel: pnp 00:02: disabling [io  0x3322-0x3323] because it overlaps 0000:00:1d.6 BAR 13 [io  0x3000-0x3fff]
Dez 20 00:20:42 user-tuxedo kernel: nvme nvme1: missing or invalid SUBNQN field.
Dez 20 00:20:42 user-tuxedo kernel: tuxedo_compatibility_check: loading out-of-tree module taints kernel.
Dez 20 00:20:42 user-tuxedo systemd-udevd[415]: /etc/udev/rules.d/50-qmk.rules:71 Unknown group 'plugdev', ignoring.
Dez 20 00:20:42 user-tuxedo lvm[490]: PV /dev/nvme1n1p3 online, VG vgsystem is complete.
Dez 20 00:20:42 user-tuxedo lvm[490]: VG vgsystem finished
Dez 20 00:20:42 user-tuxedo lvm[491]: PV /dev/nvme0n1p1 online, VG vgsystem is complete.
Dez 20 00:20:42 user-tuxedo lvm[491]: VG vgsystem finished
Dez 20 00:20:42 user-tuxedo kernel: tuxedo_keyboard tuxedo_keyboard: Led rgb:kbd_backlight renamed to rgb:kbd_backlight_1 due to name collision
Dez 20 00:20:42 user-tuxedo kernel: tuxedo_keyboard tuxedo_keyboard: Led rgb:kbd_backlight renamed to rgb:kbd_backlight_2 due to name collision
Dez 20 00:20:43 user-tuxedo kernel: iwlwifi 0000:08:00.0: api flags index 2 larger than supported by driver
Dez 20 00:20:43 user-tuxedo kernel: Bluetooth: hci0: FW download error recovery failed (-19)
Dez 20 00:20:43 user-tuxedo kernel: Bluetooth: hci0: sending frame failed (-19)
Dez 20 00:20:43 user-tuxedo kernel: Bluetooth: hci0: Reading supported features failed (-19)
Dez 20 00:20:43 user-tuxedo kernel: Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
Dez 20 00:20:43 user-tuxedo kernel: Bluetooth: hci0: sending frame failed (-19)
Dez 20 00:20:43 user-tuxedo kernel: Bluetooth: hci0: Failed to read MSFT supported features (-19)
Dez 20 00:20:43 user-tuxedo kernel: psmouse serio2: synaptics: Unable to query device: -5
Dez 20 00:20:43 user-tuxedo kernel: thermal thermal_zone5: failed to read out thermal zone (-61)
Dez 20 00:20:44 user-tuxedo (uetoothd)[735]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: src/plugin.c:plugin_init() System does not support csip plugin
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: src/plugin.c:plugin_init() System does not support micp plugin
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: src/plugin.c:plugin_init() System does not support vcp plugin
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: src/plugin.c:plugin_init() System does not support mcp plugin
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: src/plugin.c:plugin_init() System does not support bass plugin
Dez 20 00:20:44 user-tuxedo bluetoothd[735]: src/plugin.c:plugin_init() System does not support bap plugin
Dez 20 00:20:44 user-tuxedo systemd[1]: Cannot find unit for notify message of PID 746, ignoring.
Dez 20 00:20:44 user-tuxedo systemd[1]: Cannot find unit for notify message of PID 748, ignoring.
Dez 20 00:20:44 user-tuxedo systemd[1]: Cannot find unit for notify message of PID 793, ignoring.
Dez 20 00:20:44 user-tuxedo systemd[1]: Cannot find unit for notify message of PID 794, ignoring.
Dez 20 00:20:44 user-tuxedo systemd[1]: Cannot find unit for notify message of PID 857, ignoring.
Dez 20 00:20:45 user-tuxedo kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
Dez 20 00:20:45 user-tuxedo kernel: Bluetooth: hci0: HCI LE Coded PHY feature bit is set, but its usage is not supported.
Dez 20 00:20:45 user-tuxedo kernel: nvidia: module license 'NVIDIA' taints kernel.
Dez 20 00:20:45 user-tuxedo kernel: Disabling lock debugging due to kernel taint
Dez 20 00:20:45 user-tuxedo kernel: nvidia: module license taints kernel.
Dez 20 00:20:46 user-tuxedo kernel: 
Dez 20 00:20:46 user-tuxedo kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  545.29.06  Thu Nov 16 01:59:08 UTC 2023
Dez 20 00:20:46 user-tuxedo kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20230628/nsarguments-61)
Dez 20 00:20:48 user-tuxedo kernel: Xorg[965]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set
Dez 20 00:20:48 user-tuxedo kernel: psmouse serio2: Failed to enable mouse on isa0060/serio2
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: QObject: Cannot create children for a parent that is in a different thread.
                                                 (Parent is QGuiApplication(0x7ffc684824f0), parent's thread is QThread(0x55bf4541b5c0), current thread is QThread(0x55bf4558e6f0)
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: QObject: Cannot create children for a parent that is in a different thread.
                                                 (Parent is QGuiApplication(0x7ffc684824f0), parent's thread is QThread(0x55bf4541b5c0), current thread is QThread(0x55bf4558e6f0)
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: QObject: Cannot create children for a parent that is in a different thread.
                                                 (Parent is QGuiApplication(0x7ffc684824f0), parent's thread is QThread(0x55bf4541b5c0), current thread is QThread(0x55bf4558e6f0)
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/components/VirtualKeyboard.qml:11:1: Type InputPanel unavailable
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:138:5: Type Keyboard unavailable
Dez 20 00:20:51 user-tuxedo sddm-greeter[1005]: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: QQmlEngine::setContextForObject(): Object already has a QQmlContext
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: QQmlEngine::setContextForObject(): Object already has a QQmlContext
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/components/VirtualKeyboard.qml:11:1: Type InputPanel unavailable
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: qrc:/QtQuick/VirtualKeyboard/content/InputPanel.qml:138:5: Type Keyboard unavailable
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: qrc:/QtQuick/VirtualKeyboard/content/components/Keyboard.qml:38:1: module "QtQuick.VirtualKeyboard.Plugins" is not installed
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: QDBusConnection: name 'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.23'
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: QDBusConnection: name 'org.freedesktop.UPower' had owner '' but we thought it was ':1.24'
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:20:52 user-tuxedo sddm-greeter[1005]: file:///usr/share/sddm/themes/breath/Main.qml:465:13: Unable to assign [undefined] to QUrl
Dez 20 00:21:03 user-tuxedo ksplashqml[1088]: file:///usr/share/plasma/look-and-feel/org.manjaro.breath-dark.desktop/contents/splash/Splash.qml:49: ReferenceError: maxWidth is not defined
Dez 20 00:21:03 user-tuxedo ksplashqml[1088]: file:///usr/share/plasma/look-and-feel/org.manjaro.breath-dark.desktop/contents/splash/Splash.qml:49: ReferenceError: maxWidth is not defined
Dez 20 00:21:03 user-tuxedo ksplashqml[1088]: file:///usr/share/plasma/look-and-feel/org.manjaro.breath-dark.desktop/contents/splash/Splash.qml:82:29: Unable to assign int to QEasingCurve
Dez 20 00:21:03 user-tuxedo ksplashqml[1088]: file:///usr/share/plasma/look-and-feel/org.manjaro.breath-dark.desktop/contents/splash/Splash.qml:82:29: Unable to assign int to QEasingCurve
Dez 20 00:21:05 user-tuxedo kernel: [UFW BLOCK] IN=wlp8s0 OUT= MAC=dc:fb:45:00:3b:38:e2:28:6d:68:42:c4:08:60 SRC=194.36.25.18 DST=192.168.188.56 LEN=176 TOS=0x00 PREC=0x00 TTL=56 ID=31472 PROTO=UDP SPT=80 DPT=46834 LEN=156 
Dez 20 00:22:41 user-tuxedo kernel: [UFW BLOCK] IN=wlp8s0 OUT= MAC=01:00:5e:00:00:01:e0:28:6d:68:62:c4:08:00 SRC=192.168.188.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=62248 DF PROTO=2 
Dez 20 00:23:38 user-tuxedo kernel: [UFW BLOCK] IN=wlp8s0 OUT= MAC=01:00:5e:00:00:fb:de:ab:f3:c0:59:6e:08:00 SRC=192.168.188.99 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=6196 PROTO=2 
Dez 20 00:25:42 user-tuxedo kernel: [UFW BLOCK] IN=wlp8s0 OUT= MAC=01:00:5e:00:00:fb:de:ab:f3:c0:59:6e:08:00 SRC=192.168.188.99 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=46621 PROTO=2 
Dez 20 00:25:42 user-tuxedo kernel: [UFW BLOCK] IN=wlp8s0 OUT= MAC=01:00:5e:00:00:01:e0:28:6d:68:62:c4:08:00 SRC=192.168.188.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0xC0 TTL=1 ID=9500 DF PROTO=2 

Mine also looks fine:

systemctl --user status xdg-user-dirs-update.service
○ xdg-user-dirs-update.service - Update XDG user dir configuration
     Loaded: loaded (/usr/lib/systemd/user/xdg-user-dirs-update.service; enabled; preset: enabled)
     Active: inactive (dead) since Wed 2023-12-20 00:26:10 CET; 1min 18s ago
       Docs: man:xdg-user-dirs-update(1)
    Process: 1379 ExecStart=/usr/bin/xdg-user-dirs-update (code=exited, status=0/SUCCESS)
   Main PID: 1379 (code=exited, status=0/SUCCESS)
        CPU: 2ms

Dez 20 00:26:10 user-tuxedo systemd[1370]: Starting Update XDG user dir configuration...
Dez 20 00:26:10 user-tuxedo systemd[1370]: Finished Update XDG user dir configuration.

Yes, I have some AUR packages. These were all installed by me.

pacman -Qm
anki-bin 23.10.1-1
davfs2 1.7.0-1
linux-wifi-hotspot 4.6.0-1
ludusavi-bin 0.21.0-1
oversteer 0.8.0-1
safeeyes 2.1.6-1
visual-studio-code-bin 1.84.2-1
wsdd 0.7.1-1

This returned nothing for me.

Addressed, thanks for the tip! However, startplasma-x11 took all of that too, how nice :laughing:

Make sure to try empty session and/or new user.
(if it does not affect the new user we know it is not a system-wide issue)

I will try it, thanks.
But first I’ll try your advice with the configs from another topic.

Thanks @Takakage for pointing to that one.

Should not be the case. I mean, I don’t know where to check it except for graphical interface.

I’ve also deleted the AppImage that caused the crash, so I’m not sure anymore what it loads my system with;)

Yeah, I very doubt it:)

Eem, running kbuildsycoca5 --noincremental resulted in a memory leak :laughing:
Does it tell us something?

htop

What AppImage? All AppImageLauncher does is assist in integrating an AppImage into the system, so that’s not related.

What’s the output running the AppImage? It’s either in your ~/Downloads/ folder or ~/Applications/ if you chose to integrate it into the system with AppImageLauncher.

chmod +x name-of-AppImage.AppImage # if necessary, AppImageLauncher should have already done that
./name-of-AppImage.AppImage

I’ve already removed it completely from the system.
It was UltiMaker Cura app.

Ah, well. Problem solved then, eh? :wink:

Nope :grin: I still cannot log in to desktop, even after I removed the AppImage.
The process startplasma-x11 just freezes and takes up all the memory. The same happens when I run kbuildsycoca5 --noincremental from tty.

Yeah, but probably not on a new user ?

Had the same issue, but can confirm that the issue didn’t occur on other/new user accounts…

1 Like

Yes, with a new user I’m able to log in.

Have you been able to solve the issue?

if renaming the cache and confgi folder didnt helped, try renaming these folders in: home/.local/share:
kscreen to kscreen.bak
plasma to plasma.bak
sddm to sddm.bak
reboot and see if it helped…

Can you also maybe check for any remnants of things in

ls ~/.{config/autostart,local/share/applications}

Tried renaming the .config, and .cache, and the folders you mentioned, but no luck unfortunately…

Yes, nothing seems unusual:

ls ~/.{config/autostart,local/share/applications}
~/.config/autostart:
io.optimus_manager.OptimusManagerQt.desktop
org.moson.matray.desktop
solaar.desktop

~/.local/share/applications:
appimagekit_eafcb9ebeaeba5dfffb54bcc750e44bc-Electron_Cash.desktop
appimagekit_f6eaeb162c16ccbba84f09773e03429a-Obsidian.desktop
chromium.desktop
com.obsproject.Studio.desktop
firefox.desktop
mimeinfo.cache
org.gimp.GIMP.desktop
userapp-Telegram Desktop-1I5XG1.desktop
wine
wine-extension-chm.desktop
wine-extension-gif.desktop
wine-extension-hlp.desktop
wine-extension-htm.desktop
wine-extension-html.desktop
wine-extension-ini.desktop
wine-extension-jfif.desktop
wine-extension-jpe.desktop
wine-extension-msp.desktop
wine-extension-pdf.desktop
wine-extension-png.desktop
wine-extension-rtf.desktop
wine-extension-txt.desktop
wine-extension-url.desktop
wine-extension-vbs.desktop
wine-extension-wri.desktop
wine-extension-xml.desktop

use startx instead of startplasma-x11 and post the output of the logs…
also you have optimus manager installed, and that could be the reason too… maybe uninstalling it + its configs, could help…

How to use startx instead of startplasma-x11?
I mean, startplasma-x11 starts automatically when I log in with sddm.