Bug 1226281 - KDE login screen freezes and Wayland session crashes on openSUSE Tumbleweed
Summary: KDE login screen freezes and Wayland session crashes on openSUSE Tumbleweed
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-13 10:57 UTC by B
Modified: 2024-07-14 12:37 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Hardware details (4.32 MB, text/plain)
2024-06-13 10:57 UTC, B
Details
Installed packages (83.00 KB, text/plain)
2024-06-13 10:58 UTC, B
Details
journalctl-log (443.53 KB, text/plain)
2024-06-13 10:59 UTC, B
Details
xorg-log.txt (105.94 KB, text/plain)
2024-06-13 10:59 UTC, B
Details
wayland-log (5.25 KB, text/plain)
2024-06-13 11:00 UTC, B
Details
recent-logs.txt (200.44 KB, text/plain)
2024-06-13 11:01 UTC, B
Details
recent-logs2.txt (182.34 KB, text/plain)
2024-06-13 11:01 UTC, B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description B 2024-06-13 10:57:33 UTC
Created attachment 875463 [details]
Hardware details

Description:
After entering the password on the KDE login screen, the system sometimes freezes and requires a reboot. Occasionally the Wayland session crashes and I have to enter my password a second time to log in successfully. There are also cases where after entering the password on the login screen, the session crashes and I am redirected to a TTY.

Steps to reproduce:
- Boot the system and wait for the KDE login screen to appear.
- Enter the password.
- Observe the behaviour: freezing, crashing to TTY, or requiring a second login attempt.

Expected behaviour:
The system should log in successfully after entering the password without crashing or freezing.

Actual behaviour:

- The system sometimes freezes after entering the password.
- The Wayland session crashes, requiring a second login attempt.
- The session crashes and redirects to a TTY.

Additional Information:

Kernel version: [output of uname -a]
KDE version: Linux opensus-desktop 6.9.3-1-default #1 SMP PREEMPT_DYNAMIC Thu May 30 08:29:01 UTC 2024 (279162a) x86_64 x86_64 x86_64 GNU/Linux
KWin version: kwin 6.0.5
Installed packages: See attached installed-packages.txt
System logs: See attached journalctl-log.txt, xorg-log.txt, wayland-log.txt, and recent-logs.txt
Hardware details: See attached hwinfo.txt

Log analysis:
recent-logs.txt:

The log entries show an attempt to log in that required two attempts. Key entries include

    Various system service starts and hardware initialisations.
    Logind errors, possibly related to session management.

recent-logs2.txt:

The second successful logon attempt contains entries such as

    Initialisation and successful start of system services.
    User Session and Display Manager successfully started.
    Initialisation of NetworkManager and Bluetooth services.
Comment 1 B 2024-06-13 10:58:29 UTC
Created attachment 875464 [details]
Installed packages
Comment 2 B 2024-06-13 10:59:19 UTC
Created attachment 875465 [details]
journalctl-log
Comment 3 B 2024-06-13 10:59:50 UTC
Created attachment 875467 [details]
xorg-log.txt
Comment 4 B 2024-06-13 11:00:16 UTC
Created attachment 875468 [details]
wayland-log
Comment 5 B 2024-06-13 11:01:01 UTC
Created attachment 875469 [details]
recent-logs.txt
Comment 6 B 2024-06-13 11:01:18 UTC
Created attachment 875470 [details]
recent-logs2.txt
Comment 7 B 2024-06-13 11:03:21 UTC
Just to let you know what commands I used:
sudo hwinfo > hwinfo.txt
uname -a
plasmashell --version
kwin_wayland --version
rpm -qa > installed-packages.txt
journalctl -b > journalctl-log.txt
cat /var/log/Xorg.0.log > xorg-log.txt
journalctl -b | grep -i wayland > wayland-log.txt
journalctl -xe > recent-logs.txt
journalctl -xe > recent-logs2.txt
Comment 8 B 2024-06-13 11:07:10 UTC
Forgot the plasma version 

(In reply to B from comment #0)
> KDE version:

plasmashell --version
plasmashell 6.0.5
Comment 9 B 2024-06-26 11:36:42 UTC
Plasma 6.1 still affected 
Tumbleweed # VERSION="20240624"
Comment 10 David Kerkhof 2024-06-27 12:18:16 UTC
Same here, after update and reboot Plasma won't start anymore with Wayland, so switching to Xorg was needed as work around
Comment 11 B 2024-07-01 11:42:56 UTC
(In reply to David Kerkhof from comment #10)
> Same here, after update and reboot Plasma won't start anymore with Wayland,
> so switching to Xorg was needed as work around

If you're looking for a quick fix, I've found that it's easy to switch the TTY (1 or 3 usually), login, then use the command startplasma-wayland.
Comment 12 B 2024-07-14 12:15:58 UTC
So, perhaps an interesting update on this topic:
I found out two things.
1) Setting KDE to autologin causes a 100% reproducible boot to TTY after the KDE login splash screen.

2) If I disable autologin again and enter my user password about 5 seconds later as "immediately", I can login 100% of the time.

What is going on here?
Comment 13 Fabian Vogt 2024-07-14 12:37:44 UTC
(In reply to B from comment #12)
> So, perhaps an interesting update on this topic:
> I found out two things.
> 1) Setting KDE to autologin causes a 100% reproducible boot to TTY after the
> KDE login splash screen.
> 
> 2) If I disable autologin again and enter my user password about 5 seconds
> later as "immediately", I can login 100% of the time.
> 
> What is going on here?

That's unrelated to your original issue. Wayland + autologin not working is a mix of systemd and sddm issues (bug 1200436).