GDM session crashes after returning from a screen-off.
This bug report will be marked for expiration in 49 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I've written an AskUbuntu question about this: https:/
Originally I thought it was gnome not respecting my setting to prevent locking the screen after idling, but after discussing the issue on matrix (https:/
To summarize the symptom. I have the PC set to disable the screen after being idle for 5 minutes. I also set it such that it should not lock the session when this happens. (I want to turn on the screen and get right back to where I was without password overhead). What I've observed is that when I give the idle PC keyboard input, it wakes to a login screen, and when I login my windows from the previous session are completely gone (although tmux sessions are still alive).
I've attached a relevant section of `journalctl --user` from around the time when I last tried to interact with the idle PC. I believe the "wake" event happens at `Apr 28 13:42:43` at which point we start seeing whoopsie messages:
```
Apr 28 13:42:44 toothbrush systemd[1]: Started whoopsie.service - crash report submission.
```
And then what looks like logs indicating that I was logged out and the previous session was ended:
```
Apr 28 13:42:56 toothbrush systemd[1]: run-user-
Apr 28 13:42:57 toothbrush gdm-password]
Apr 28 13:42:57 toothbrush systemd[1]: session-61.scope: Deactivated successfully.
Apr 28 13:42:57 toothbrush systemd[1]: session-61.scope: Consumed 12min 9.467s CPU time.
Apr 28 13:42:57 toothbrush systemd-
Apr 28 13:42:57 toothbrush systemd-
```
The time from `13:42:44` to `13:43:07` where I get:
```
Apr 28 13:43:07 toothbrush systemd-
Apr 28 13:43:07 toothbrush systemd[1]: Started session-221.scope - Session 221 of User joncrall.
```
seems about right, because it takes a few seconds to go from de-idling the machine to seeing any sort of display.
System Information:
No LSB modules are available.
Description: Ubuntu 24.04 LTS
Release: 24.04
# System Details Report
---
## Report details
- **Date generated:** 2024-04-28 15:17:36
## Hardware Information:
- **Hardware Model:** ASUS ROG STRIX Z590-E GAMING WIFI
- **Memory:** 128.0 GiB
- **Processor:** 11th Gen Intel® Core™ i9-11900K × 16
- **Graphics:** NVIDIA GeForce RTX™ 3090
- **Graphics 1:** NVIDIA GeForce RTX™ 3090
- **Disk Capacity:** 45.0 TB
## Software Information:
- **Firmware Version:** 0232
- **OS Name:** Ubuntu 24.04 LTS
- **OS Build:** (null)
- **OS Type:** 64-bit
- **GNOME Version:** 46
- **Windowing System:** X11
- **Kernel Version:** Linux 6.8.0-31-generic
Nvidia versions:
NVIDIA-SMI 535.171.04 Driver Version: 535.171.04 CUDA Version: 12.2
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gdm3 46.0-2ubuntu1
ProcVersionSign
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelMo
ApportVersion: 2.28.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Sun Apr 28 15:04:13 2024
InstallationDate: Installed on 2024-04-25 (3 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
SourcePackage: gdm3
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
I'm also experiencing intermittent crashes of the window manager - either gnome-shell or gdm3, not 100% sure. What I am sure of is that I'm getting forcibly logged out.
I just experienced a crash when discussion this issue in matrix chat. There were a few things going on at the time. I did have steam and starcraft 2 open (running through steam's experimental proton). But that was in the background. In the foreground I was just moving a gvim window that had journalctl logs in it that I was going to copy into my chrome browser.
I'm attaching the journalctl logs from that crash here as well, as perhaps these issues are related.