Hi, community!
Normally I’m able to solve my own issues, but this one has me stumped!
I have a System76 laptop, running Fedora 34. Sleep and wake work perfectly when I’m using the PC without the docking station. However, after I’ve used the dock, which connects to external monitors, keyboard, mouse, the laptop refuses to suspend/sleep properly! This has been an issue across kernel updates, even different linux flavors…
Today, digging through journalctl I finally found what looks to be holding up the suspend process, as seen below:
"
Jul 07 14:21:26 lp-fedora gnome-shell[2427]: Failed to enter power saving mode: drmModeAtomicCommit: No such file or directory
Jul 07 14:21:26 lp-fedora gnome-shell[2427]: JS ERROR: Error getting systemd inhibitor: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.login1.OperationInProgress: The operation inhibition has been requested for is already running
_promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:418:45
### Promise created here: ###
inhibit@resource:///org/gnome/shell/misc/loginManager.js:196:35
_syncInhibitor@resource:///org/gnome/shell/ui/screenShield.js:211:32
"
There’s nothing much special about my install on this machine, I just installed it per the defaults that the installer recommended. I did find one article that’s very recent which suggests that the zram could be the issue. However, there’s documentation that explains zram and it looks like the size is correct (8gb for 16gb ram).
Bottom line, I’ve marked this as a gnome issue because that’s what journalctl is showing me. Some Debian forums have indicated that probably what is holding up suspend in this case is the lock screen. However, locked or unlocked the issue is the same and only ever after I plug into the dock. It’s odd…
Regardless, thanks to anyone who might know something about this issue! I appreciate it.