Using Brave A.I. search engine via Mojeek gives:
" GNOME 46 on Wayland crashes after auto screen lock has been reported by multiple users, particularly on Fedora 40 and other distributions using recent GNOME and kernel versions. The issue often manifests as a blank screen or complete session freeze after the screen locks due to inactivity, requiring a hard reboot to recover.
Root Causes and Workarounds
- GNOME Shell Extensions : Several users have identified conflicting extensions as the culprit. Disabling extensions like "Lock Screen Background" or "TopIcons Plus" resolves the crash. These extensions may interfere with Wayland’s screen lock mechanism during session transitions.
- Kernel Issues : A known fix involves kernel version instability. One user reported that the issue was resolved after upgrading to Kernel 6.11.3 , while earlier versions (e.g., 6.10.9) caused or worsened the problem. Rolling back to 6.10.8 also worked for some, suggesting a regression in kernel patches.
- System Resource Limits : A workaround involving
prlimitwas reported to help:
prlimit --pid $(pgrep -x gnome-shell) --rttime=1000000:2000000
This increases real-time scheduling limits for GNOME Shell, potentially preventing crashes during lock events.
Recommended Steps
- Disable all GNOME Shell extensions temporarily to test if the issue persists.
- Update to the latest kernel (e.g., 6.11.3 or newer) and ensure your system is fully updated.
- Check system logs using
journalctl -u gdmorjournalctl -bfor errors related tognome-shell,wayland, orsession. - If the problem remains, consider reporting the issue to the GNOME GitLab issue tracker with logs and system details.
The issue appears to be resolvable in recent updates, especially with newer kernels and updated GNOME 46 versions, but may still affect older or improperly configured systems.
AI-generated answer. Please verify critical facts."