You are not logged in.

#1 2024-03-09 03:39:54

foobat
Member
Registered: 2021-02-13
Posts: 25

[PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

After upgraded to plasma 6, the lock screen becomes a blackscreen. Nothing is on the screen except a mouse cursor. However, if I blindly type my password, I can still unlock it, and `loginctl unlock-session` on tty works.

My GPU is Intel UHD 715 and RTX 4070 laptop. I'm using plasma on X11.

Last edited by foobat (2024-03-15 08:37:17)

Offline

#2 2024-03-09 09:21:57

yataro
Member
Registered: 2024-03-09
Posts: 76

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

Same for me, Plasma 6 on X11, black screen with cursor, but when I switch to another tty and back several times the screen starts to show.
I also only get this when the screen is locked automatically, the issue doesn't appear when lock/sleep is triggered manually.

Offline

#3 2024-03-09 11:09:55

foobat
Member
Registered: 2021-02-13
Posts: 25

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

yataro wrote:

Same for me, Plasma 6 on X11, black screen with cursor, but when I switch to another tty and back several times the screen starts to show.
I also only get this when the screen is locked automatically, the issue doesn't appear when lock/sleep is triggered manually.

This problem seems to be completely random. My lockscreen has a chance to  become a black screen both when the screen locks automatically and locked manually.

It seems that this can be solved by switching to another plasma theme and then switching back. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. I tried this and black screen hasn't appeared so far. But it takes some time to make sure that it has been solved, since this problem seems to be random.

Offline

#4 2024-03-09 11:54:15

kyngs
Member
Registered: 2022-10-16
Posts: 51

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

I'm exhibiting a similar behavior on X11.
When I lock it, my screen gets black. When I randomly smash my keyboard and mouse, after like 15 seconds the lock screen appears. When I enter my password, it does get unlocked, but the screen goes black again. After smashing the mouse and kb again for another 15 seconds, I finally get to my unlocked desktop.

Offline

#5 2024-03-11 06:44:19

foobat
Member
Registered: 2021-02-13
Posts: 25

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

Changing plasma workspace theme and then changing it back partialy solves this problem. I changed my plasma workspace theme to Oxygen, logged off, relogged in, and then switch back to the breeze theme, then the lock screen works in most cases. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. However, when the laptop resumes from sleeping, the lockscreen is still a black screen.

Last edited by foobat (2024-03-11 07:34:56)

Offline

#6 2024-03-11 08:22:04

kyngs
Member
Registered: 2022-10-16
Posts: 51

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

foobat wrote:

Changing plasma workspace theme and then changing it back partialy solves this problem. I changed my plasma workspace theme to Oxygen, logged off, relogged in, and then switch back to the breeze theme, then the lock screen works in most cases. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. However, when the laptop resumes from sleeping, the lockscreen is still a black screen.

I'll wait if it gets fixed by the end of the week, otherwise, I'll post a bug report.

Offline

#7 2024-03-11 09:11:45

foobat
Member
Registered: 2021-02-13
Posts: 25

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

kyngs wrote:
foobat wrote:

Changing plasma workspace theme and then changing it back partialy solves this problem. I changed my plasma workspace theme to Oxygen, logged off, relogged in, and then switch back to the breeze theme, then the lock screen works in most cases. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. However, when the laptop resumes from sleeping, the lockscreen is still a black screen.

I'll wait if it gets fixed by the end of the week, otherwise, I'll post a bug report.

This seems to be a bug of Breeze Plasma theme. I tried Oxygen theme and some 3rd party themes, lockscreen all works under them. The black screen problem only appears under Breeze.

Offline

#8 2024-03-12 02:02:07

foobat
Member
Registered: 2021-02-13
Posts: 25

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

kyngs wrote:
foobat wrote:

Changing plasma workspace theme and then changing it back partialy solves this problem. I changed my plasma workspace theme to Oxygen, logged off, relogged in, and then switch back to the breeze theme, then the lock screen works in most cases. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. However, when the laptop resumes from sleeping, the lockscreen is still a black screen.

I'll wait if it gets fixed by the end of the week, otherwise, I'll post a bug report.

This problem is finally solved by following steps:

1. delete all the *.kcache files in ~/.cache, this deletes all theme and icon cache
2. change your plasma theme back and forth, this overwrites some old settings
3. reboot or relogin

Plasma doesn't clear caches from old versions, and those caches might have compatibility problems.

Last edited by foobat (2024-03-12 02:03:37)

Offline

#9 2024-03-12 18:22:53

kyngs
Member
Registered: 2022-10-16
Posts: 51

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

foobat wrote:
kyngs wrote:
foobat wrote:

Changing plasma workspace theme and then changing it back partialy solves this problem. I changed my plasma workspace theme to Oxygen, logged off, relogged in, and then switch back to the breeze theme, then the lock screen works in most cases. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. However, when the laptop resumes from sleeping, the lockscreen is still a black screen.

I'll wait if it gets fixed by the end of the week, otherwise, I'll post a bug report.

This problem is finally solved by following steps:

1. delete all the *.kcache files in ~/.cache, this deletes all theme and icon cache
2. change your plasma theme back and forth, this overwrites some old settings
3. reboot or relogin

Plasma doesn't clear caches from old versions, and those caches might have compatibility problems.

This unfortunately still does not seem to work, here's what I did:
1. deleted all *.kcache files in ~/.cache
2. changed system theme to oxygen, then back to breeze dark
3. rebooted

Unfortunately, after reboot, the issue is still present.

EDIT: I've just updated my laptop to KDE 6, it has the almost same issue, except that I cannot "revive" it when it goes to blacksreen by mashing keys and mouse.

EDIT: The issue I'm experiencing on my desktop should be solved when plasma 6.0.2 drops on Arch, see: https://bugs.kde.org/show_bug.cgi?id=481308

Last edited by kyngs (2024-03-12 19:54:22)

Offline

#10 2024-06-16 12:34:47

coolguy019
Member
Registered: 2024-05-02
Posts: 1

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

foobat wrote:
kyngs wrote:
foobat wrote:

Changing plasma workspace theme and then changing it back partialy solves this problem. I changed my plasma workspace theme to Oxygen, logged off, relogged in, and then switch back to the breeze theme, then the lock screen works in most cases. Since the behavior of the lockscreen is controlled by plasma workspace theme, switching themes might hopefully overwrite some incompatible configurations. However, when the laptop resumes from sleeping, the lockscreen is still a black screen.

I'll wait if it gets fixed by the end of the week, otherwise, I'll post a bug report.

This problem is finally solved by following steps:

1. delete all the *.kcache files in ~/.cache, this deletes all theme and icon cache
2. change your plasma theme back and forth, this overwrites some old settings
3. reboot or relogin

Plasma doesn't clear caches from old versions, and those caches might have compatibility problems.

It worked for me, but after another reboot, it instantly went back to a black screen when locking again.


Have a great day! smile

Offline

#11 2024-07-04 06:36:50

Finnan
Member
Registered: 2024-01-14
Posts: 2

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

I have the same issues: Random occurence of black screen with cursor, no unlock screen. Once a message showed up to unlock my screen with loginctl unloc-session 1, but only once. Since then I unlock it that way if it happens.

All my packages are up to date. I'm on a wayland plasma 6 session. Intel Core i5 13th gen. (Thinkpad X13 Yoga)

Offline

#12 2024-08-03 08:51:19

hanyixuanten
Member
Registered: 2024-08-02
Posts: 11

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

So, after half a year, this issue still exists...

Offline

#13 2024-09-13 19:36:59

salfter
Member
Registered: 2024-05-23
Posts: 1

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

foobat wrote:

This problem is finally solved by following steps:

1. delete all the *.kcache files in ~/.cache, this deletes all theme and icon cache
2. change your plasma theme back and forth, this overwrites some old settings
3. reboot or relogin

Tried that and it still didn't work...it appeared to work at first, but that didn't survive a reboot.  As near as I can tell, it's a problem with the Breeze theme.  Oxygen doesn't behave this way, and neither does Reactionary Plus (an additional theme I downloaded).

Last edited by salfter (2024-09-13 19:37:36)

Offline

#14 2024-10-23 21:57:49

Manuel de la Fuente
Member
Registered: 2012-04-20
Posts: 6

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

salfter wrote:

As near as I can tell, it's a problem with the Breeze theme.

I came here looking for help after encountering this bug. It's indeed a problem with Breeze. Just use any other theme. Personally, I installed Manjaro's modified Breeze theme called Breath, which can be found in the AUR and is similar enough. That one worked well for me.

You can still use Breeze as SDDM theme, but you have to use any other as the Plasma style.

Offline

#15 2024-12-12 08:11:31

philm
Member
From: Germany
Registered: 2013-12-25
Posts: 9
Website

Re: [PARTIALY SOLVED] Blackscreen on lockscreen after upgrading to plasma6

This is now fixed by me in upcoming 6.2.5: https://invent.kde.org/plasma/kscreenlo … 4b34b3ebe6

Offline

Board footer

Powered by FluxBB