Bug 493303 - After 6.2 beta, stuck at black screen after log in on Wayland only
Summary: After 6.2 beta, stuck at black screen after log in on Wayland only
Status: RESOLVED DUPLICATE of bug 466193
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (show other bugs)
Version: 6.1.90
Platform: Arch Linux Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-09-18 00:53 UTC by briguy992
Modified: 2024-10-22 16:09 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Log of one of the affected bad boots. I do Ctrl+Alt+F3 to go to tty3 process while I'm stuck at the black screen if that's a useful marker in the log. (357.81 KB, text/x-log)
2024-09-18 00:53 UTC, briguy992
Details
A successful boot using X11 for comparison (458.48 KB, text/x-log)
2024-09-18 01:35 UTC, briguy992
Details
While at black screen, did Alt+Space, then typed konsole, and then plasmashell to attempt to launch shell. Nothing rendered however and I remained at black screen. (487.74 KB, text/x-log)
2024-09-18 19:07 UTC, briguy992
Details

Note You need to log in before you can comment on or make changes to this bug.
Description briguy992 2024-09-18 00:53:49 UTC
Created attachment 173808 [details]
Log of one of the affected bad boots. I do Ctrl+Alt+F3 to go to tty3 process while I'm stuck at the black screen if that's a useful marker in the log.

SUMMARY
After upgrading to KDE Beta 6.2, upon logging in I am brought to a black screen with a cursor and nothing else and I never make it to the desktop. This does not repro when using X11, even though I have been using Wayland successfully ever since the Plasma 6 beta.

STEPS TO REPRODUCE
1. Turn on PC and login at SDDM
2. Hit black screen

OBSERVED RESULT
Stuck at black screen with a cursor. The screen has a noticeable performance hit every few seconds, which gives the impression something is continuously trying to start and fail.

EXPECTED RESULT
Make it to desktop

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.1.90
KDE Frameworks Version: 6.6.0
Qt Version: 6.8.0
Kernel Version: 6.11.0-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2


ADDITIONAL INFORMATION
As noted above, the perf hit makes it feel like there's some process rebooting continuously while I'm at the black screen.

The kauth crash in the log also shows up in the x11 session, so not sure if related.

I tried re-installing plasma, kde, qt6 packages, and also removed Endeavour SDDM and Endeavour Plasma themes.
Comment 1 briguy992 2024-09-18 01:35:45 UTC
Created attachment 173809 [details]
A successful boot using X11 for comparison
Comment 2 Nate Graham 2024-09-18 17:58:12 UTC
In this state, can you hit Alt+Space to get KRunner and open Konsole? If that works, can you try launching plasma with `plasmashell`?
Comment 3 briguy992 2024-09-18 19:06:16 UTC
(In reply to Nate Graham from comment #2)
> In this state, can you hit Alt+Space to get KRunner and open Konsole? If
> that works, can you try launching plasma with `plasmashell`?

So nothing actually rendered and I could still only see a black screen and the cursor. I still tried to type in the commands. However I noticed, the cursor was changing its icon as if there was the window there (so from a standard pointer to the typing indicator, and window resize arrows). So it seemed like I did launch it potentially since the cursor was recognizing a window being there at least. But nothing still showed up.

Attaching logs from this run.
Comment 4 briguy992 2024-09-18 19:07:02 UTC
Created attachment 173840 [details]
While at black screen, did Alt+Space, then typed konsole, and then plasmashell to attempt to launch shell. Nothing rendered however and I remained at black screen.
Comment 5 Marco Martin 2024-09-19 11:05:15 UTC
seems that plasma indeed fails to start 

Sep 17 17:36:04 brian-endeavour plasmashell[1589]: kde.plasmashell: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Sep 17 17:36:04 brian-endeavour plasmashell[1589]: 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.
Comment 6 Marco Martin 2024-09-19 11:07:53 UTC
seems kactivities/kactivitymanagerd is not installed seems a local setup or distro issue
Comment 7 Nate Graham 2024-09-19 13:14:50 UTC

*** This bug has been marked as a duplicate of bug 466193 ***
Comment 8 garybig 2024-10-22 01:44:21 UTC
the black screen issue still exists
NOT resolved
Comment 9 Nate Graham 2024-10-22 16:09:41 UTC
There are many potential causes of a black screen. Please open a new bug report to track the issue you're seeing. Thanks!