I am seeing similar symptoms: desktop session is forcefully logged out when I wake the machine from screen-off by shaking the mouse. I attached a journalctl log, I believe 12:04:03 is the time I woke the machine.
Like the OP I am on nvidia-driver-535. Like the previous poster I do have the lock screen disabled (and I also have suspend disabled). This started happening on the day I upgraded from 22.04 to 24.04. ** Attachment added: "journalctl.txt" https://bugs.launchpad.net/ubuntu/+bug/2064037/+attachment/5786806/+files/journalctl.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2064037 Title: GDM session crashes after returning from a screen-off. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2064037/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs