Closed curiousercreative closed 1 year ago
Hi there! If you disable bluetooth prior to suspending, is this still happening?
If disabling bluetooth doesn't help, have you experienced more stability in suspend after purging and reinstalling the nvidia drivers?
sudo rm /lib/systemd/system/nvidia-hibernate.service
sudo apt purge ~nnvidia
sudo apt autoremove
sudo apt clean
sudo apt install system76-driver-nvidia
@Seibz I'm aware of the bluetooth suspend bug and this reproduces with Bluetooth disabled. I've also tried the reinstall as you desribe to no avail across two systems. The workaround at the end of my first post works though and the source link does a better job of describing what may be the issue in Pop.
After updating NVIDIA driver to 515 via Pop! Shop, the workaround remains in effect (services disabled). I re-enabled them and the issue still reproduces. On my galp5, the resume screen shows this text, but is unresponsive to any keys:
ACPI Error: No handler or method for GPE 68, disabling event 20211217/evgpe-839)
Maybe it reads "GPE 6B", I can't tell from my photo.
I can confirm that I have the same problem with a Dell XPS 9500.
$ uname -r
5.18.10-76051810-generic
I have the Nvidia services disabled and also a script to switch off Bluetooth before suspending.
Same issue here.
Update: I decided to enable the NVidia services (hibernate, suspend, resume), and my system seems to be working as expected with suspend and resume. Hibernate does not work - it gets stuck in the Dell boot logo when powering on, but it never worked for me.
OS: Pop!_OS 22.04 LTS x86_64
Host: XPS 15 9500
Kernel: 5.18.10-76051810-generic
Uptime: 10 hours, 38 mins
Packages: 3383 (dpkg), 45 (flatpak)
Shell: bash 5.1.16
Resolution: 1920x1200
DE: GNOME
WM: Mutter
WM Theme: Pop
Theme: Pop-dark [GTK2/3]
Icons: candy-icons [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-10750H (12) @ 5.000GHz
GPU: NVIDIA GeForce GTX 1650 Ti Mobile
GPU: Intel CometLake-H GT2 [UHD Graphics]
Memory: 9564MiB / 15746MiB
NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7
I also included my last suspend and resume log.
○ nvidia-hibernate.service - NVIDIA system hibernate actions
Loaded: loaded (/lib/systemd/system/nvidia-hibernate.service; enabled; vendor preset: enabled)
Active: inactive (dead)
○ nvidia-suspend.service - NVIDIA system suspend actions
Loaded: loaded (/lib/systemd/system/nvidia-suspend.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Aug 04 03:12:31 pop-xps systemd[1]: Starting NVIDIA system suspend actions...
Aug 04 03:12:31 pop-xps suspend[43752]: nvidia-suspend.service
Aug 04 03:12:31 pop-xps logger[43752]: <13>Aug 4 03:12:31 suspend: nvidia-suspend.service
Aug 04 03:12:33 pop-xps systemd[1]: nvidia-suspend.service: Deactivated successfully.
Aug 04 03:12:33 pop-xps systemd[1]: Finished NVIDIA system suspend actions.
○ nvidia-resume.service - NVIDIA system resume actions
Loaded: loaded (/lib/systemd/system/nvidia-resume.service; enabled; vendor preset: enabled)
Active: inactive (dead)
Aug 04 10:36:55 pop-xps systemd[1]: Starting NVIDIA system resume actions...
Aug 04 10:36:55 pop-xps suspend[44247]: nvidia-resume.service
Aug 04 10:36:55 pop-xps logger[44247]: <13>Aug 4 10:36:55 suspend: nvidia-resume.service
Aug 04 10:36:55 pop-xps systemd[1]: nvidia-resume.service: Deactivated successfully.
Aug 04 10:36:55 pop-xps systemd[1]: Finished NVIDIA system resume actions.
I had a problem if I closed my laptop lid while it was connected to power and the charging cable before opening the lid to resume; it crashed with the following error psmouse serio1: elantech: failed to query capabilities.
I added psmouse
to the blacklist following this info on ArchWiki. So far, I haven't had any problems. It has been about four days now.
@ShahanM A default Pop! install does not support hibernate, so unless you created your swap partition and added the resume kernel boot option, it should not be expected to work. On my laptop, I have hibernation configured and it works well. No reason to hibernate my desktop.
Hibernate does not work - it gets stuck in the Dell boot logo when powering on, but it never worked for me.
@curiousercreative
so, unless you created your swap partition and added the resume kernel boot option, it should not be expected to work.
I did, and I couldn't get it to work reliably. I tried in Winter 2020, so I do not recall what I tried. It wasn't a complaint, though. I was being thorough about the 3 Nvidia services.
On the latest Pop! and related packages and with these services enabled, I don't have this problem anymore, so will close.
On the latest Pop! and related packages and with these services enabled, I don't have this problem anymore, so will close.
I still have this issue... Always happens if I have had plugged out a external monitor and then tries to wake up the laptop.
Running a System 76 Oryx Pro with nvidia graphics. PopOS 22.04 LTS.
On the latest Pop! and related packages and with these services enabled, I don't have this problem anymore, so will close.
I still have this issue... Always happens if I have had plugged out a external monitor and then tries to wake up the laptop.
Running a System 76 Oryx Pro with nvidia graphics. PopOS 22.04 LTS.
happens both when plugged in to external screen and when not
there are sooooo many related issues on suspend #449,#2616, #1799 I sometimes wonder if PopOs is more of a hobby for the developers at System76
it looks like it has to do with these error codes (screenshot with Gnome Logs):
i915 0000:00:02.0: [drm] ERROR Failed to write source OUI
there are sooooo many related issues on suspend #449,#2616, #1799 I sometimes wonder if PopOs is more of a hobby for the developers at System76
I think this is more likely an upstream issue that nvidia need to fix
I sometimes wonder if PopOs is more of a hobby for the developers at System76
Your statement makes no sense. System76 employs developers to work on Pop!_OS, so how could it be a hobby?
Furthermore, I'll remind you that we have a code of conduct. While I understand how frustrating it can be to deal with some of these bugs, I must insist that you remain respectful.
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/111#note_1254235
The change in the above link solved laptop suspend issues when using a second screen and closing the lid. Would wake up to a black screen and could only hard power down with the power button or alt + print scr + reisub
Nevermind, got a black screen again that I had to Reisub out of. Will revisit this if it gets fixed. Tried cleaning up my kernelstub and checking to see if this has any effect.
Distribution (run
cat /etc/os-release
):Related Application and/or Package Version (run
apt policy $PACKAGE NAME
):Issue/Bug Description: Graphical environment fails to resume from suspend
Steps to reproduce (if you know): I don't have 100% reliable repro steps unfortunately, but this will repro for me often
Expected behavior: Desktop graphical environment and lock screen should reappear on both monitors in short time.
Observed behavior:
sudo killall gdm3
will bring the displays back to life, but logging in again fails and returns to login screen. Of course your prior graphical session will have been killed even if login succeed.Other Notes: This appears to be a workaround (described here):