Plasma 6.2: Black screen on wakeup

Thanks, I will thoroughly test if that helps.

Does anyone know it this issue has been addressed in Linux kernel 6.12? I am currently running Linux kernel 6.12.6 on a Fedora 41, KDE Plasma 5.2.4 laptop, and I still have this issue. Now to add a little context: I will start my machine at the start of the day, and be able to sleep/wake up many times with no problems only to have the issue appear later on. Thanks of any information and I hope this helps some.

/Mike

I discovered I can consistently get the screen to power on, in relation to my issue which I think is related to this one: Critical behaviour after suspension - #3 by Samuele

When the screen becomes totally black, I can lock the Plasma with a keyboard shortcut, then I can hit “Esc”: the screen flashes on, I can hit “Esc” again and it turns on. Clicking “Esc” again turns it off and so on. But this does not solve my problem: the screen shortly starts again to raise the brightness to the maximum and loop back to the minimum faster and faster until it becomes totally black.
The shortcuts for TTY for me do not work.

Running ArchLinux, the problem has been fixed in Kernel 6.12.8. So in case your issue is the same, it should have been fixed.

In the Arch forum, someone has narrowed down the issue to the mt7921e chip (mine is mt7921k) in combination with certain Linux versions, I guess. So either using an older Kernel (or lts in case of Arch) or disabling Bluetooth could be a workaround.

Anyway, as I said, Linux 6.12.8 has finally fixed the issue in my case.

1 Like

Just my 2 cents. Maybe not immediately relevant in this case, but it is one of the causes for BSOD / weird behaviour after wakeup:

I would check the size of the swap partition / file. If you plan to use hibernate, the size should be the same as the RAM. Thus, if you have 16 GB, you need to ensure that your swap is at least this big.

The reason for that is obvious, as what you do when putting your laptop to “sleep” is also called “suspend to RAM” and it basically just copies all what’s in your RAM to the swap partition or file.

I saw my problem appear again when disconnecting the laptop from the charger, so it seems to be a power management issue.

Arch Linux
Still seeing this after updating to 6.12.8. :\

My machine has WiFi, but it’s never been used as I only use Ethernet. Not exactly sure of my chipset, but lspci reports

Network controller: Intel Corporation Cannon Lake PCH CNVi WiFi (rev 10)

For months now I’ve been using a certain sequence I’ve learned through trial and error to regain control of my desktop session.

When I wake my machine up, I’ll blindly enter my password and hit enter. I can now see my mouse cursor over top a black screen. Then I login to a different TTY and issue
DISPLAY=:0 kwin_x11 --replace
Then go back and I can watch my desktop sesssion slowly recover itself. Every now and then it doesn’t completely recover and I’ll issue
systemctl restart --user plasma-plasmashell.service
After that, I’m back in business, but it’s getting very old.

Guess I’ll try some of the suggestions here to see if anything else works. Really had my fingers crossed that this last update would have fixed it…