Have to login in after suspend more than once?

I’m using 49.3 - but it has happened since 49. New install of Fedora/Gnome. I have a dell laptop 9530. Everything works great except when my machine wakes from suspend I reauthenticate - I can start working and within 10-15 seconds the screen goes black and I am presented with the login screen again. I usuallyhave to do this several times before I can use the laptop without the interuptions. ChatGPT says this is a known issue but I can’t believe it is very common as this makes usinga laptop for work very inconvenient. Is there anything I can do to work around this or resolve it? I don’t want to turn off authenticate after waking up as I need to walk away from my laptop during the day. I originally thought it was due to my fingerprint reader and using that to login - but I decided to test only typing in a password and it still happens. I haven’t tried disabling the fingerprint reader - I sure want to use it.

Thanks.

Do you have an Nvidia graphics card? If so, then it might well be this issue:

There is a suggested workaround there involving (1) disabling GNOME’s automatic suspend then (2) creating a small config file so that systemd’s automatic suspend kicks in instead.

According to this upstream bug report, GNOME 50 will fix this. The last commenter there asked for a backport to GNOME 49, but it’s not clear (at least from that topic) if that is happening.

Thanks for the quick response. There is a Nvidia card in the laptop but acording to lscpi the active controller is Intel Raptor Lake-P [Iris Xe Graphics Rev 4]

Thanks - I tried searching but didn’t even think to look for Nvidia issues.

Reading that bug thread it seems like it was fixed and is in 50 and isn’t Nvidia specific. Looks like a lot of other people have the issue too so I’ll just hope it is fixed.

The code change isn’t in an Nvidia-specific code path, but:

  1. Everyone in that thread who reported the issue (and provided hardware details) had an Nvidia card
  2. The merge request for the bug fix says:

NVIDIA drivers change the virtual terminal before suspend and restore it upon resume.
Upon resume, there is a period of time when systemd reports that our session is not active (we are on a different virtual terminal).