Fast login, causes black screen

Ill start of with specs:
nixos: 25.05
kernel 6.12.9
plasma 6.2.5

this happens only on wayland session(nvidia)

here is the behavior
on boot if i when sddm pops up wait for ~10 seconds and log in everything works as expected, however if i log in to fast (faster then 10 seconds) i black screen with last boot message that was displayed before starting up sddm

after this 2 possible behaviors occur, if i wait a minute or 2, it will bring up plasma session, and it will work for a few minutes and then crash
second behavior is that it will never bring up the plasma session(let it be for 90 minutes before giving up)

not sure what logs or where i could read them, so any hints welcome

also this behavior is happening since plasma 6 first release, did not test on plasma 5

Hi! Just to check, does following the steps in the post linked here help on your device?

That topic primarily involved KDE Neon users, but since it involves kernel module parameters it seems like it could be relevant in other distribution settings as well - possibly related to how the NVIDIA drivers are packaged in each case?

tried this, has no effect

Hmm, it’s probably worth taking a look at your system journal logs then - the general command to read those logs, assuming you’re using systemd, would be sudo journalctl.

If you want to filter out purely informational messages to try to search for possible causes more easily, then you could also add the parameter --priority=0..4 to show only entries that are tagged as at least a “warning”.

Personally, I’d recommend looking for entries from a successful 10-second waiting period, and then also for entries from the time when a crash occurs after logging in quickly. To filter to a specific time range, you can use the --since and --until parameters - for example, if I knew that something had happened between 11:00 PM and 11:01 PM tonight, I’d use sudo journalctl --since="2025-01-20 23:00:00" --until="2025-01-20 23:01:00".

The issue posted here - SDDM crashes to tty after quick login · Issue #292980 · NixOS/nixpkgs · GitHub - would make me suspect some SDDM issue, but it’s worth checking into :slight_smile:

Thanks for the reply,
had a look at journalctl logs previously and nothing pops up that would result in plasma destop crashing,
i see from plasmashell lots of pipewire -32 connection errors that happen on a certain interval, some
org.kde.plasma.notifications/contents/ui/global/Globals.qml:136: TypeError: Cannot read property ‘screenGeometry’ of null
org.kde.plasma.notifications/contents/ui/global/Globals.qml:250: TypeError: Cannot read property ‘plasmoid’ of undefined
warninga, and a
gkr-pam: unable to locate daemon control file
error

ill append the entire log once i enter the session and if you can see something

Jän 21 14:51:57 vallium dbus-daemon[1391]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.112' (uid=0 pid=3739 comm="/nix/store/kk21fablsbiqqz16h74l4s24lq8x7x6v-flatpa" label="kernel")
Jän 21 14:51:57 vallium systemd[1]: Starting Locale Service...
Jän 21 14:51:57 vallium systemd-timesyncd[1331]: Network configuration changed, trying to establish connection.
Jän 21 14:51:57 vallium systemd-timesyncd[1331]: Network configuration changed, trying to establish connection.
Jän 21 14:51:57 vallium systemd-timesyncd[1331]: Network configuration changed, trying to establish connection.
Jän 21 14:51:57 vallium systemd-timesyncd[1331]: Contacted time server 86.59.113.124:123 (2.nixos.pool.ntp.org).
Jän 21 14:51:57 vallium systemd[1]: Started Locale Service.
Jän 21 14:51:57 vallium dbus-daemon[1391]: [system] Successfully activated service 'org.freedesktop.locale1'
Jän 21 14:51:57 vallium av8bhf80mij3k9qcg1214viaw85sbh0c-flatpak-managed-install[3746]: Skipping: it.mijorus.gearlever/x86_64/stable is already installed
Jän 21 14:51:57 vallium systemd[1]: flatpak-managed-install.service: Deactivated successfully.
Jän 21 14:51:57 vallium systemd[1]: Finished flatpak-managed-install.service.
Jän 21 14:51:57 vallium systemd[1]: flatpak-managed-install.service: Consumed 187ms CPU time, 16.3M memory peak, 6.2M read from disk, 38.4K incoming IP traffic, 5.1K outgoing IP traffic.
Jän 21 14:51:59 vallium tailscaled[2196]: Received error: PollNetMap: unexpected EOF
Jän 21 14:51:59 vallium tailscaled[2196]: control: controlhttp: forcing port 443 dial due to recent noise dial
Jän 21 14:52:27 vallium systemd[1]: systemd-localed.service: Deactivated successfully.
Jän 21 14:52:29 vallium tailscaled[2196]: Received error: PollNetMap: unexpected EOF
Jän 21 14:52:29 vallium tailscaled[2196]: control: controlhttp: forcing port 443 dial due to recent noise dial
Jän 21 14:52:49 vallium systemd[1]: libvirtd.service: Deactivated successfully.
Jän 21 14:52:49 vallium systemd[1]: libvirtd.service: Consumed 208ms CPU time, 30.2M memory peak, 20.1M read from disk.
Jän 21 14:52:54 vallium systemd[1]: session-2.scope: Deactivated successfully.
Jän 21 14:52:54 vallium systemd[1]: session-2.scope: Consumed 441ms CPU time, 74M memory peak, 44.5M read from disk, 788K written to disk.
Jän 21 14:52:54 vallium systemd-logind[1482]: Removed session 2.
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "alsa_output.usb-Topping_D10s-00.pro-output-0"
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "alsa_output.usb-Topping_D10s-00.pro-output-0"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "alsa_output.usb-Topping_D10s-00.pro-output-0"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "alsa_input.usb-HP__Inc_HyperX_SoloCast-00.analog-stereo"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "@DEFAULT_SINK@"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "@DEFAULT_SINK@"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@"
Jän 21 14:52:54 vallium kded6[2240]: org.kde.pulseaudio: No object for name "auto_null.monitor"
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "alsa_output.usb-Topping_D10s-00.pro-output-0"
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "alsa_input.usb-HP__Inc_HyperX_SoloCast-00.analog-stereo"
Jän 21 14:52:54 vallium plasmashell[2458]: file:///nix/store/kgagd45cn9hr3nyvb4b916q39pcjj3nc-plasma-pa-6.2.5/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:91: TypeError: Cannot read property 'description' of undefined
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "auto_null"
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "auto_null.monitor"
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "auto_null.monitor"
Jän 21 14:52:54 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "auto_null.monitor"
Jän 21 14:52:58 vallium systemd[1]: Unmounting /mnt/ssd_ext4...
Jän 21 14:52:58 vallium kernel: EXT4-fs (nvme3n1p3): unmounting filesystem f514f24a-2acd-4690-8097-95c4686bca60.
Jän 21 14:52:58 vallium systemd[1]: mnt-ssd_ext4.mount: Deactivated successfully.
Jän 21 14:52:58 vallium systemd[1]: Unmounted /mnt/ssd_ext4.
Jän 21 14:52:58 vallium systemd[1]: mnt-ssd_ext4.mount: Consumed 20ms CPU time, 4.2M memory peak, 2.6M read from disk, 8K written to disk.
Jän 21 14:53:00 vallium tailscaled[2196]: Received error: PollNetMap: unexpected EOF
Jän 21 14:53:00 vallium tailscaled[2196]: control: controlhttp: forcing port 443 dial due to recent noise dial
Jän 21 14:53:05 vallium systemd[1]: Stopping User Manager for UID 1000...
Jän 21 14:53:05 vallium systemd[2057]: Activating special unit Exit the Session...
Jän 21 14:53:05 vallium systemd[2057]: Stopped target Main User Target.
Jän 21 14:53:05 vallium systemd[2057]: Stopped target plasma-workspace-wayland.target.
Jän 21 14:53:05 vallium systemd[2057]: Stopped target Startup of XDG autostart applications.
Jän 21 14:53:05 vallium systemd[2057]: Closed Socket to launch DrKonqi for a systemd-coredump crash.
Jän 21 14:53:05 vallium systemd[2057]: Stopping Pika Backup Monitor...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Discover...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Calendar Reminders...
Jän 21 14:53:05 vallium systemd[2057]: Stopping KDE Connect...
Jän 21 14:53:05 vallium systemd[2057]: Stopping UnifiedPush Distributor...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Xwayland Video Bridge...
Jän 21 14:53:05 vallium systemd[2057]: Stopping D-Bus User Message Bus...
Jän 21 14:53:05 vallium systemd[2057]: Stopping User preferences database...
Jän 21 14:53:05 vallium gpg-agent[3209]: SIGTERM received - shutting down ...
Jän 21 14:53:05 vallium gpg-agent[3209]: gpg-agent (GnuPG) 2.4.5 stopped
Jän 21 14:53:05 vallium obexd[2917]: Terminating
Jän 21 14:53:05 vallium systemd[2057]: Stopping GnuPG cryptographic agent and passphrase cache...
Jän 21 14:53:05 vallium wireplumber[2087]: m-dbus-connection: <WpDBusConnection:0x3364b90> DBus connection closed: Underlying GIOStream returned 0 bytes on an async read
Jän 21 14:53:05 vallium systemd[2057]: Stopping Bluetooth OBEX service...
Jän 21 14:53:05 vallium systemd[2057]: Stopping PipeWire PulseAudio...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Xdg Desktop Portal For KDE...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Multimedia Service Session Manager...
Jän 21 14:53:05 vallium kded6[2240]: org.kde.pulseaudio: context kaput
Jän 21 14:53:05 vallium systemd[2057]: Stopping Portal service (GTK/GNOME implementation)...
Jän 21 14:53:05 vallium kded6[2240]: org.kde.pulseaudio: No object for name "auto_null"
Jän 21 14:53:05 vallium kded6[2240]: org.kde.pulseaudio: No object for name "auto_null.monitor"
Jän 21 14:53:05 vallium systemd[2057]: Stopping Portal service...
Jän 21 14:53:05 vallium plasmashell[2458]: org.kde.pulseaudio: context kaput
Jän 21 14:53:05 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "auto_null"
Jän 21 14:53:05 vallium plasmashell[2458]: org.kde.pulseaudio: No object for name "auto_null.monitor"
Jän 21 14:53:05 vallium systemd[2057]: Stopping flatpak document portal service...
Jän 21 14:53:05 vallium systemd[2057]: Stopping sandboxed app permission store...
Jän 21 14:53:05 vallium wireplumber[2087]: m-dbus-connection: <WpDBusConnection:0x3364b90> Trying to reconnect after core sync
Jän 21 14:53:05 vallium wireplumber[2087]: wireplumber: stopped by signal: Terminated
Jän 21 14:53:05 vallium systemd[2057]: Stopped Pika Backup Monitor.
Jän 21 14:53:05 vallium systemd[2057]: Stopped sandboxed app permission store.
Jän 21 14:53:05 vallium systemd[2057]: Stopped User preferences database.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Portal service.
Jän 21 14:53:05 vallium wireplumber[2087]: wireplumber: disconnected from pipewire
Jän 21 14:53:05 vallium systemd[1]: run-user-1000-doc.mount: Deactivated successfully.
Jän 21 14:53:05 vallium systemd[2057]: Stopped PipeWire PulseAudio.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Bluetooth OBEX service.
Jän 21 14:53:05 vallium systemd[2057]: Stopped UnifiedPush Distributor.
Jän 21 14:53:05 vallium systemd[2057]: Stopped GnuPG cryptographic agent and passphrase cache.
Jän 21 14:53:05 vallium systemd[2057]: Stopped flatpak document portal service.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Portal service (GTK/GNOME implementation).
Jän 21 14:53:05 vallium systemd[2057]: Stopped D-Bus User Message Bus.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Multimedia Service Session Manager.
Jän 21 14:53:05 vallium systemd[2057]: Stopping PipeWire Multimedia Service...
Jän 21 14:53:05 vallium kwin_wayland[2134]: kwin_screencast: PipeWire remote error:  connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium systemd[2057]: Stopped PipeWire Multimedia Service.
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium plasmashell[2458]: kpipewire_logging: PipeWire remote error:  -32 connection error
Jän 21 14:53:05 vallium systemd[2057]: Stopped KDE Connect.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Discover.
Jän 21 14:53:05 vallium systemd[2057]: app-org.kde.discover.notifier@autostart.service: Consumed 838ms CPU time, 77.7M memory peak.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Xdg Desktop Portal For KDE.
Jän 21 14:53:05 vallium systemd[2057]: plasma-xdg-desktop-portal-kde.service: Consumed 209ms CPU time, 80M memory peak.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Calendar Reminders.
Jän 21 14:53:05 vallium systemd[2057]: app-org.kde.kalendarac@autostart.service: Consumed 290ms CPU time, 86.1M memory peak.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Xwayland Video Bridge.
Jän 21 14:53:05 vallium systemd[2057]: Stopped target Current graphical user session.
Jän 21 14:53:05 vallium systemd[2057]: Stopped target KDE Plasma Workspace.
Jän 21 14:53:05 vallium systemd[2057]: Stopping Proxies GTK DBus menus to a Plasma readable format...
Jän 21 14:53:05 vallium systemd[2057]: Stopping KAccess...
Jän 21 14:53:05 vallium systemd[2057]: Stopping KActivityManager Activity manager Service...
Jän 21 14:53:05 vallium systemd[2057]: Stopping KDE PolicyKit Authentication Agent...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Powerdevil...
Jän 21 14:53:05 vallium systemd[2057]: Stopping Handle legacy xembed system tray icons...
Jän 21 14:53:05 vallium polkitd[1635]: Unregistered Authentication Agent for unix-session:2 (system bus name :1.81, object path /org/kde/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jän 21 14:53:05 vallium systemd[2057]: Stopped KActivityManager Activity manager Service.
Jän 21 14:53:05 vallium systemd[2057]: Stopped KDE PolicyKit Authentication Agent.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Handle legacy xembed system tray icons.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Proxies GTK DBus menus to a Plasma readable format.
Jän 21 14:53:05 vallium systemd[2057]: Stopped KAccess.
Jän 21 14:53:05 vallium systemd[2057]: Stopped Powerdevil.
Jän 21 14:53:05 vallium systemd[2057]: Removed slice User Background Tasks Slice.
Jän 21 14:53:05 vallium systemd[2057]: background.slice: Consumed 1.064s CPU time, 137.2M memory peak.
Jän 21 14:53:05 vallium systemd[2057]: Stopped target KDE Plasma Workspace Core.
Jän 21 14:53:05 vallium systemd[2057]: Stopped target Session services which should run early before the graphical session is brought up.
Jän 21 14:53:05 vallium systemd[2057]: Stopping KDE Daemon 6...
Jän 21 14:53:05 vallium systemd[2057]: Stopping KDE Plasma Workspace...
Jän 21 14:53:05 vallium systemd[2057]: Stopped KDE Daemon 6.
Jän 21 14:53:05 vallium plasmashell[2458]: file:///nix/store/57ylzq0f3cshcmgqacg81jkb577cd14x-plasma-workspace-6.2.5/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:136: TypeError: Cannot read property 'screenGeometry' of null
Jän 21 14:53:05 vallium plasmashell[2458]: file:///nix/store/57ylzq0f3cshcmgqacg81jkb577cd14x-plasma-workspace-6.2.5/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:250: TypeError: Cannot read property 'plasmoid' of undefined
Jän 21 14:53:05 vallium cupsd[1836]: REQUEST localhost - - "POST / HTTP/1.1" 200 153 Cancel-Subscription successful-ok
Jän 21 14:53:05 vallium systemd[2057]: Stopped KDE Plasma Workspace.
Jän 21 14:53:05 vallium systemd[2057]: plasma-plasmashell.service: Consumed 3.115s CPU time, 522.5M memory peak.
Jän 21 14:53:05 vallium systemd[2057]: Stopping KDE Session Management Server...
Jän 21 14:53:05 vallium systemd[2057]: Stopped KDE Session Management Server.
Jän 21 14:53:05 vallium systemd[2057]: Stopping KDE Window Manager...
Jän 21 14:53:05 vallium systemd[1]: user@1000.service: Deactivated successfully.
Jän 21 14:53:05 vallium systemd[1]: Stopped User Manager for UID 1000.
Jän 21 14:53:05 vallium systemd[1]: user@1000.service: Consumed 10.991s CPU time, 1.3G memory peak, 406.3M read from disk, 15.2M written to disk, 100.2K incoming IP traffic, 15.7K outgoing IP traffic.

this is a good find, seems simmilar to what i happening to me

One other possible troubleshooting step that might be worth checking - if you create a brand-new user account, does the issue still occur? That could help at least rule out some possible user-level configuration glitch, possibly something not carrying over correctly during the Plasma 5 → 6 transition?

did try that, but it happened still, what i can say for sure it is sddm related, tried with lightdm, and works flawlessly

will be switching to that until that breaks

Thanks for the help

1 Like