Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot wake from suspend #349

Closed
vcfxb opened this issue Aug 31, 2018 · 7 comments
Closed

Cannot wake from suspend #349

vcfxb opened this issue Aug 31, 2018 · 7 comments

Comments

@vcfxb
Copy link

vcfxb commented Aug 31, 2018

Distribution (run cat /etc/os-release):
NAME="Pop!_OS"
VERSION="18.04 LTS"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Pop!_OS 18.04 LTS"
VERSION_ID="18.04"
HOME_URL="https://system76.com/pop"
SUPPORT_URL="http://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

Issue/Bug Description:
When trying to wake the system from suspend, it hangs on a black screen.

Steps to reproduce (if you know):

  1. Put the computer into suspend using the suspend item in the top menu next to the shutdown button.
  2. Wait until the computer suspends entirely.
  3. Tap the power button to wake from suspend.

Expected behavior:
I expect the computer to wake from suspend normally, however it seems to hang with a black screen until I force a shutdown by holding the power button.

Other Notes:
My computer is a Dell XPS 15 9570.
I have a 1050 Ti MaxQ, and the most recent proprietary Nvidia drivers.

@vcfxb
Copy link
Author

vcfxb commented Aug 31, 2018

Fixed by adding rcutree.rcu_idle_gp_delay=1 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub.

@fouadzouraibi
Copy link

my /etc/default/grub is empty like WTF never had a GRUB file empty in linux xd.

@brs17
Copy link
Contributor

brs17 commented Mar 2, 2020

Since 18.04, Pop!_OS has been using sytemd-boot instead of GRUB on all UEFI installations. kernelstub is used to manage adding kernel parameters and the like.

@aloosley
Copy link

I am new to Linux trying out Pop!_OS 19.10 on my new XPS 7590. I seem to have the same problem when trying to unsuspend using NVIDIA graphics. On freeze, I see the log entry like "GPU has fallen off the bus".

I have tired adding kernelstub arguments based on this thread and another to no avail. I would like to be able to suspend my computer so any help is welcomed :-).

@aloosley
Copy link

I am new to Linux trying out Pop!_OS 19.10 on my new XPS 7590. I seem to have the same problem when trying to unsuspend using NVIDIA graphics. On freeze, I see the log entry like "GPU has fallen off the bus".

I have tired adding kernelstub arguments based on this thread and another to no avail. I would like to be able to suspend my computer so any help is welcomed :-).

I solved the issue in a different way then what is shown above using the following command to set my kernel boot options:

sudo kernelstub -o "loglevel=0 splash systemd.show_status=false quiet mem_sleep_default=deep"

Specifically, the mem_sleep_default=deep is the parameter to add. I found this solution here.

@mattmichielsen
Copy link

I "cross-graded" a Ubuntu install to pop on a Thinkpad T430 and had the same issue that mem_sleep_default=deep fixed. Thanks!

@shriaas2898
Copy link

Thank you! mem_sleep_default=deep worked for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants