Sleep issues
Hi! So Since the last update, my desktop has had sleep issues. I run KDE for a desktop environment and I have sleep issues on both X11 and Wayland. For X11, my computer wakes up from sleep but my monitors are not detected so I have blank screen despite my desktop noticing some movement at first. For Wayland, my computer will wake but my desktop become uninteractable. Anybody else have these issues and found any solutions?
12 Replies
Is this AMD or Nvidia?
Nvidia
YMMV but I also had some issues with resuming from sleep on NVIDIA 560 with the GSP disabled (default). What helped for me was changing to
NVreg_EnableGpuFirmware=1
. I can be more specific if it's helpful.I think I have a similar issue, more details on where to set and what the impact is would be greatly appreciated
I used this in the terminal to enable:
rpm-ostree kargs --append=nvidia.NVreg_EnableGpuFirmware=1
and if it doesn't end up helping, you can rpm-ostree rollback
or rpm-ostree kargs --delete=nvidia.NVreg_EnableGpuFirmware=1
Needs a reboot to take effect.
I think the reason why it's currently disabled is because of some gaming performance loss / frame stuttering reported, at least in earlier versions of the driver. And because there hadn't been any other reports of a benefit to enabling. So it would be good to hear back on whether it made any difference.Tried the change and reboot, didn't notice any difference in gaming performance, but it also didn't resolve the black screen after suspend
Ok, still helpful to know! In that case, you may want to reverse it just to keep your configuration similar to everyone else then. (In case it ever causes a bug somewhere)
I tried this: systemctl enable nvidia-suspend.service
systemctl enable nvidia-hibernate.service
systemctl enable nvidia-resume.service
systemctl enable nvidia-persistenced.service
and it solved my sleep issues on Wayland
so far at least
We enable every one of those
Should have made no difference
The only one we don't enable is hibernate, and that's just because we don't support hibernation
hmm ok
Cause it solved my issues
at least on Wayland
strange
Is there a problem with hibernation?
Fedora project, which were based on, does not support it
It is a security risk to support it, because your RAM is not encrypted at rest while hibernating
So they elected to just not support it, and we follow that
ah ok thanks