regolith-desktop icon indicating copy to clipboard operation
regolith-desktop copied to clipboard

Stuck on black screen after resume from suspend

Open stbneb opened this issue 1 year ago • 4 comments

Describe the bug Stuck on black screen after resume from suspend

To Reproduce Put computer to sleep and resume from it

Expected behavior You are able to log in

Installation Details

  • Regolith Install Type: PPA
  • Regolith Version: 3.1
  • PPA url: ppa:regolith-linux/release
  • Host OS (for PPA): Pop!_OS 22.04

Additional context The black screen does not show up instantly after switching to regolith. After I installed regolith I tried sleep and it worked fine, then left the computer on for a bit and now I always get the black screen after wake up. I have already tried formatting, tried Ubuntu and in one version the same happened (can't remember which, I've trying to get relogith to work on Ubuntu 23.10, 22.04, 20.04 and now Pop OS)

I couldn't reproduce this behavior using gnome-flashback nor pop OS

stbneb avatar Jun 02 '24 21:06 stbneb

Are you on wayland or x11?

SoumyaRanjanPatnaik avatar Jun 02 '24 21:06 SoumyaRanjanPatnaik

On x11, I cannot boot into Wayland (I have an NVIDIA GPU). I forgot to add, adding nvme_core.default_ps_max_latency_us=0 to GRUB_CMDLINE_LINUX_DEFAULT seems to make it happen less often.

stbneb avatar Jun 02 '24 21:06 stbneb

Do you notice anything suspicious in /var/log/syslog at the time of resume?

kgilmer avatar Jun 04 '24 02:06 kgilmer

yes, filtering journalctl by error I get:

Jun 06 20:11:39.779150 pop-os gdm3[1029]: GLib: Source ID 81 was not found when attempting to remove it 
Jun 06 20:12:42.737857 pop-os gnome-flashback[2292]: pam_unix(gnome-flashback:auth): conversation failed 
Jun 06 20:12:42.737868 pop-os gnome-flashback[2292]: pam_unix(gnome-flashback:auth): auth could not identify password for [esteban]

Not sure what that last error is about, I did not trying logging in.

In another attempt I got the same two errors even though I did not even touch the keyboard:

Jun 06 20:58:47.782910 pop-os bluetoothd[733]: profiles/input/hog-lib.c:output_written_cb() Write output report failed: Request attribute has encountered an unlikely error
Jun 06 20:59:59.733062 pop-os gnome-flashback[2131]: pam_unix(gnome-flashback:auth): conversation failed
Jun 06 20:59:59.733075 pop-os gnome-flashback[2131]: pam_unix(gnome-flashback:auth): auth could not identify password for [esteban]

Noticed two things:

  1. Audio is working while the screen is black, I got a notification sound from an app
  2. Mouse or keyboard might not be working, I have function keys for volume up/down and they don't seem to be working or at least the sound that is played when the volume changes is not played

I will keep the system as it is to help debug it, so let me know whatever you need

stbneb avatar Jun 07 '24 00:06 stbneb