regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.48k stars 31 forks source link

Stuck on black screen after resume from suspend #1014

Open stbneb opened 1 month ago

stbneb commented 1 month ago

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

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

SoumyaRanjanPatnaik commented 1 month ago

Are you on wayland or x11?

stbneb commented 1 month ago

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.

kgilmer commented 1 month ago

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

stbneb commented 4 weeks ago

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