Bug 472233 - Debian-KDE, I get a black screen when my computer goes to sleep, and I can't wake it up.
Summary: Debian-KDE, I get a black screen when my computer goes to sleep, and I can't ...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.5
Platform: Debian testing Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-13 20:26 UTC by Mathew A Coulliette
Modified: 2023-09-01 22:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Debian&KDE Version Numbers (132.81 KB, image/jpeg)
2023-07-13 20:53 UTC, Mathew A Coulliette
Details
VMware WorkStation Pro 17 version #s & info. (287.83 KB, image/jpeg)
2023-07-14 21:50 UTC, Mathew A Coulliette
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathew A Coulliette 2023-07-13 20:26:43 UTC
I get a black screen when my computer goes to sleep, and I can't wake it up.  I first found this issue on Kubuntu 22.04.2 LTS), so I switched to KDE-Debian (stable) and it had the same issue.  I have upgraded to Debian (Testing) (Trixie), but that did not fix the bug.

STEPS TO REPRODUCE
1. To Reproduce the bug just wait for your computer to go to sleep, and you won't be able to wake it up; you will have to reboot your computer.  
2.  Another way to Reproduce this issue is to go to the KDE-Menu (Application Menu) and click the "Sleep" Button to put your computer to sleep.  Immediately you will get the Black Screen and won't be able to wake your computer up.

OBSERVED RESULT
You get a Black Screen and have to restart your computer.

EXPECTED RESULT
You should be able to press a key, (space bar), and wake the computer up.  It would be nice to put the computer to sleep and then wake it back up and continue working.

SOFTWARE/OS VERSIONS
Linux:  Debian-KDE (Testing) (Trixie)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-10-amd64 (64-bit)

ADDITIONAL INFORMATION
I believe that this is a Major Bug and Exists in both Kubuntu, Kubuntu LTS, and Debian-KDE distrobutions.  I believe that you will have to trouble reproducing this bug.  In the past I have used just GNU/Linux for my OS for 10 years and I have never seen a bug this BAD.
Comment 1 Mathew A Coulliette 2023-07-13 20:53:52 UTC
Created attachment 160273 [details]
Debian&KDE Version Numbers
Comment 2 David Edmundson 2023-07-14 01:56:10 UTC
Does a VT switch (control alt F3) show a prompt?

 And does going back ( control alt F1) work?
Comment 3 Mathew A Coulliette 2023-07-14 03:08:14 UTC
(In reply to David Edmundson from comment #2)
> Does a VT switch (control alt F3) show a prompt?
> 
>  And does going back ( control alt F1) work?

No.  (control alt F3) does nothing.
No.  (control alt F1) does nothing.
Comment 4 Mathew A Coulliette 2023-07-14 03:19:07 UTC
I have documented that Sleep causes the issue, but I just tried Hybernate and it does not work either.  Hybernate puts the computer to sleep and there is no way to turn it back on.
Comment 5 Mathew A Coulliette 2023-07-14 03:51:02 UTC
I read on a forum that not having enough "swap space" could cause these issues, but I have 32 GB of ram and 40 GB of "swap space", so I don't think that that is the issue here!
Comment 6 Mathew A Coulliette 2023-07-14 21:47:11 UTC
I just want to declare something.  I use VMware Workstation 17 Pro to run GNU/Linux.  I didn't declare this right away because I don't think that it is the issue.  I have used VMware for years and never had a problem.  If you understand how it works the OS doesn't know that it is in a Virtual Machine; it thinks that it is running on actual hardware.  The Virtual Machine is very complete; it even has BIOS!

VMware Workstation Pro Version Number:   17.0.2 build-21581411.
Comment 7 Mathew A Coulliette 2023-07-14 21:50:23 UTC
Created attachment 160292 [details]
VMware WorkStation Pro 17 version #s & info.
Comment 8 Mathew A Coulliette 2023-07-21 14:33:42 UTC
Hi, I ran out of space on my computer, so I had to delete my Virtual Machine.  However, I have bought a new Solid State Disk, and I have reinstalled Debian on a new VM.  I am still experiencing the same issues, (bug)!
Comment 9 tagwerk19 2023-07-21 16:22:24 UTC
Bug 469975 may be the same, maybe try the:

ADDITIONAL INFORMATION

    If you install/enable sshd on the guest and connect, you see that the ssh connection
    drops. If you try to wake the system (by typing "things" into the blanked screen)
    the system silently wakes and you can connect again with ssh and close the system
    down gently. You do not get any response on the screen.
Comment 10 Zamundaaa 2023-08-30 14:00:05 UTC
Is this with Xorg or Wayland?
Comment 11 tagwerk19 2023-08-31 21:51:12 UTC
(In reply to Zamundaaa from comment #10)
> Is this with Xorg or Wayland?
In Bug 469975?

    ... It does not seem to matter whether you are using QXL or Virtio video or whether
    you select an X11 or Wayland session ...
Comment 12 Zamundaaa 2023-09-01 22:20:21 UTC
Looks like this is an issue with your VM then. According to bug 473835 at least virtio doesn't support suspend at all, so this isn't entirely unexpected. I'd recommend you to simply disable suspend in your VMs