Bug 509903

Summary: Black screen and exit to the password entry screen
Product: [I don't know] kde Reporter: Konstantin <jon9097>
Component: generalAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: akselmo, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Log

Description Konstantin 2025-09-24 23:35:53 UTC
Created attachment 185234 [details]
Log

When I turn on the PC after I enter the password, sometimes for some reason a black screen hangs for a long time and after that, when I am already in the system, the screen suddenly blinks and throws the password on the screen.

Sddm config /etc/sddm.conf.d/10-wayland.conf:
***
[General]
DisplayServer=wayland
GreeterEnvironment=QT_WAYLAND_SHELL_INTEGRATION=layer-shell

[Wayland]
CompositorCommand=kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1
***

I am attaching a detailed log

Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-arch3-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X3D 16-Core Processor
Memory: 96 ГиБ of RAM (93.9 ГиБ usable)
Graphics Processor: NVIDIA GeForce RTX 4080
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X870E AORUS ELITE WIFI7
System Version: Default string-CF-WCP-ADO
Comment 1 Akseli Lahtinen 2025-09-25 08:59:39 UTC
Going through the logs, heres some potentially interesting bits

```
сен 25 02:04:36 Alex-PC sddm-greeter-qt6[1185]: file:///usr/share/sddm/themes/breeze/Main.qml:232:17 Parameter "username" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.

сен 25 02:04:36 Alex-PC (systemd)[1262]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[/dev/tty1] user=[liberty] ruser=[<unknown>] rhost=[<unknown>]
сен 25 02:04:36 Alex-PC (systemd)[1262]: pam_unix(systemd-user:session): session opened for user liberty(uid=1000) by liberty(uid=0)
сен 25 02:04:36 Alex-PC systemd-logind[1027]: New session '3' of user 'liberty' with class 'manager' and type 'unspecified'.
сен 25 02:04:36 Alex-PC systemd[1262]: Queued start job for default target Main User Target.
сен 25 02:04:36 Alex-PC sddm-helper-start-wayland[1180]: wayland greeter finished 0 QProcess::NormalExit
сен 25 02:04:36 Alex-PC sddm-helper-start-wayland[1180]: quitting helper-start-wayland
сен 25 02:04:36 Alex-PC sddm-helper-start-wayland[1180]: Stopping... "kwin_wayland"

сен 25 02:05:09 Alex-PC kded6[1537]: QDBusObjectPath: invalid path "/modules/kded_plasma-welcome"
сен 25 02:05:09 Alex-PC kded6[1537]: kf.dbusaddons: The kded module name "kded_plasma-welcome" is invalid!
сен 25 02:05:09 Alex-PC kded6[1537]: QDBusObjectPath: invalid path "/modules/wpad-detector"
сен 25 02:05:09 Alex-PC kded6[1537]: kf.dbusaddons: The kded module name "wpad-detector" is invalid!
сен 25 02:05:09 Alex-PC kded6[1537]: org.kde.colorcorrectlocationupdater: Geolocator stopped
сен 25 02:05:09 Alex-PC kded6[1537]: QDBusObjectPath: invalid path "/modules/oom-notifier"
сен 25 02:05:09 Alex-PC kded6[1537]: kf.dbusaddons: The kded module name "oom-notifier" is invalid!
сен 25 02:05:09 Alex-PC kded6[1537]: QDBusObjectPath: invalid path "/modules/plasma-session-shortcuts"
сен 25 02:05:09 Alex-PC kded6[1537]: kf.dbusaddons: The kded module name "plasma-session-shortcuts" is invalid!
сен 25 02:05:09 Alex-PC DiscoverNotifier[1732]: couldn't load "/usr/lib/qt6/plugins/discover-notifier/DiscoverPackageKitNotifier.so" because "Невозможно загрузить библиотеку /usr/lib/qt6/plugins/discover-notifier/DiscoverPackageKitNotifier.so: libpackagekitqt6.so.1: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога"

сен 25 02:06:17 Alex-PC kwin_wayland[1433]: kwin_wayland_drm: Atomic modeset test failed! Отказано в доступе
сен 25 02:06:17 Alex-PC kwin_wayland[1433]: kwin_core: Applying output configuration failed!
сен 25 02:06:17 Alex-PC kwin_wayland[1433]: kwin_wayland_drm: Atomic modeset test failed! Отказано в доступе
сен 25 02:06:17 Alex-PC kwin_wayland[1433]: kwin_core: Applying output configuration failed!

сен 25 02:06:20 Alex-PC sddm[1159]: Error from greeter session: "Process crashed"
сен 25 02:06:20 Alex-PC sddm[1159]: Auth: sddm-helper (--socket /tmp/sddm-auth-ea9de159-0f5b-496c-89fd-1cc9e08b0039 --id 4 --start /usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--wEGOXV --theme /usr/share/sddm/themes/breeze --user sddm --display-server kwin_wayland --drm --no-lockscreen --no-global-shortcuts --locale1 --greeter) crashed (exit code 1)
сен 25 02:06:20 Alex-PC sddm[1159]: Error from greeter session: "Process crashed"
сен 25 02:06:20 Alex-PC sddm[1159]: Auth: sddm-helper exited with 1
сен 25 02:06:20 Alex-PC sddm[1159]: Greeter stopped. SDDM::Auth::HELPER_AUTH_ERROR
```
Comment 2 Konstantin 2025-09-25 14:57:15 UTC
(In reply to Akseli Lahtinen from comment #1)
> Going through the logs, heres some potentially interesting bits
And what should I do about it?
Comment 3 Nate Graham 2025-09-25 15:21:02 UTC
Yeah, it looks like SDDM is crashing. However SDDM isn't a KDE project; please report this https://github.com/sddm/sddm/issues.

In the relatively near future, we're going to be moving to an in-house fork of SDDM, so bug reports like this will be able to stay on KDE infrastructure. But for now, they've gotta be reported to SDDM.
Comment 4 Konstantin 2025-09-25 15:24:54 UTC
(In reply to Nate Graham from comment #3)
> Yeah, it looks like SDDM is crashing. However SDDM isn't a KDE project;
> please report this https://github.com/sddm/sddm/issues.
> 
> In the relatively near future, we're going to be moving to an in-house fork
> of SDDM, so bug reports like this will be able to stay on KDE
> infrastructure. But for now, they've gotta be reported to SDDM.

Thank you. Is there any way to try it?
Comment 5 Nate Graham 2025-09-25 15:29:50 UTC
It lives here: https://invent.kde.org/plasma/plasma-login-manager/

See the warning in the README file, though. If you want to try it, you'll be in for an adventure. :)
Comment 6 Konstantin 2025-09-25 15:49:36 UTC
(In reply to Nate Graham from comment #5)
> It lives here: https://invent.kde.org/plasma/plasma-login-manager/
> 
> See the warning in the README file, though. If you want to try it, you'll be
> in for an adventure. :)

I love adventures. The main thing is that nothing is deleted from the disks :)
Comment 7 Konstantin 2025-09-26 07:58:16 UTC
(In reply to Nate Graham from comment #5)
> It lives here: https://invent.kde.org/plasma/plasma-login-manager/
> 
> See the warning in the README file, though. If you want to try it, you'll be
> in for an adventure. :)

Tell me, please. The Plasma Login Manager repository says that it was created in 2023, but the first commit was Jan 18, 2013. How can this be?
Comment 8 Nate Graham 2025-09-26 15:42:11 UTC
I'd recommend asking these kinds of development-related questions in a more suitable venue, such as the plasma-devel Matrix room. See https://community.kde.org/Get_Involved/development#Where_to_find_the_development_team