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: Failed to enter power saving mode: drmModeAtomicCommit: No such file or directory
Jul 07 14:21:26 lp-fedora gnome-shell: JS ERROR: Error getting systemd inhibitor: Gio.IOErrorEnum: GDBus.Error:org.freedesktop.login1.OperationInProgress: The operation inhibition has been requested for is already running
### Promise created here: ###
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.