pop-os / cosmic-greeter

libcosmic greeter for greetd, which can be run inside cosmic-comp
GNU General Public License v3.0
53 stars 30 forks source link

Intermittent lock screen failure (grey screen) #17

Open jacobgkau opened 7 months ago

jacobgkau commented 7 months ago

On serw13, I sometimes see a grey screen with no dialog when I try to lock the screen. This seemed to happen less with cosmic-greeter as my DM than before when I was using GDM, but I just had it happen again.

These seem to be the relevant logs (before this was me moving panel applets around, and after it was me running commands in the TTY):

Mar 01 16:53:06 serw13 cosmic-panel[3656]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 440 > 432)
Mar 01 16:53:06 serw13 cosmic-panel[3656]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 440 > 432)
Mar 01 16:53:06 serw13 cosmic-session[3613]: 2024-03-01T23:53:06.068695Z ERROR egl{platform="PLATFORM_WAYLAND_KHR" version=(1, 5)}:egl_context{ptr=98939939080992}:renderer_gles2: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 440 > 432)
Mar 01 16:53:06 serw13 cosmic-session[3613]: 2024-03-01T23:53:06.068723Z ERROR egl{platform="PLATFORM_WAYLAND_KHR" version=(1, 5)}:egl_context{ptr=98939939080992}:renderer_gles2: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 440 > 432)
Mar 01 16:53:28 serw13 cosmic-greeter[10291]: pam_unix(login:auth): conversation failed
Mar 01 16:53:28 serw13 cosmic-greeter[10291]: pam_unix(login:auth): auth could not identify password for [jacob]

Here's the whole journalctl file in case I missed something (note that I had to restart COSMIC Greeter earlier in the boot to get the login screen working in the first place): cosmic-greeter-lock-screen-failure.txt

This can be successfully worked around without losing the session using the following commands @jackpot51 gave me:

killall cosmic-greeter
WAYLAND_DISPLAY=wayland-1 cosmic-greeter
leviport commented 7 months ago

I think this might be the same as https://github.com/pop-os/cosmic-comp/issues/288

I put it in cosmic-comp because killing cosmic-comp from TTY gets me out of it, whereas killing cosmic-greeter seems to have no effect. It could still be the greeter, though.

jacobgkau commented 7 months ago

You mentioned in that issue that killing cosmic-comp kills your session. Killing cosmic-greeter and restarting it doesn't kill the session. With that in mind, it seems like cosmic-greeter is running on top of cosmic-comp, the issue is in the greeter, and killing cosmic-comp just kills the greeter since it kills everything. (Just a theory.)

Edit: The key with killing cosmic-greeter is that you have to also start it again afterwards, so that could be why you thought it didn't do anything before.

leviport commented 7 months ago

Ah, that makes sense. I'll close https://github.com/pop-os/cosmic-comp/issues/288 in favor of this one then

WatchMkr commented 4 months ago

This issue seems resolved. Please confirm.

leviport commented 4 months ago

I have not seen this happen for at least a few weeks, and have eased back into using the lock screen more regularly. I'm thinking it's probably fixed, but I'll wait for Jacob's feedback as well before closing.

24fpsDaVinci commented 1 month ago

this issue is pretty severe for me, i've tried both greeter and gdm and it goes to greyscreen 100% of the time when I lockscreen

i'm running the latest build from here https://copr.fedorainfracloud.org/coprs/ryanabx/cosmic-epoch/