Ubuntu 20.04 doesn't wake up after suspend
Ubuntu 20.04 won't wake up from sleep
Issue:
Whenever laptop suspends (either due to closed lid or due to black screen for certain time), I cannot wake it up. Laptop does not respond to key strokes and power button clicks. As a result I always have to hold power button to shut it down and then power it up again.
System:
-Model: Dell Inspiron 15 3593
-Processor: Intel® Core™ i5-1035G1 CPU @ 1.00GHz × 8
-Graphics: Mesa Intel® UHD Graphics (ICL GT1)
-RAM: 16GB DDR4
-Storage: 512GB SSD + 1TB HDD
-OS: Ubuntu 20.04 LTS 64bit
Extra info: There are no drivers in the additional drivers tab and there are not updates. Also I have added the repository of dell for focal: http://dell.archive.canonical.com/updates focal-dell .
System logs: https://pastebin.com/71pnhiaZ
Thank you in advance!
Update:
-Tried GRUB_CMD_LINUX="nouveau.modeset=0" in grub config and it didn't work.
-Tried GRUB_CMDLINE_LINUX="nouveau.blacklist=1" in grub config and it didn't work.
-I switched to an old kernel version: "5.0.0-1070-oem-osp1" and made it default choice because under this kernel the issue is resolved. I used this guide for changing default kernel: How can I boot with an older kernel version? . Thank you @B.Tanner for the idea. I really hope that it will be fixed for newer Kernels in the future.
-Reported bug here: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909005
With Dell notebooks I generally configure them like this:
- Open the terminal
- Install the necessary drivers with
ubuntu-drivers autoinstall
- Disable the fallback service with
sudo systemctl disable nvidia-fallback.service
- Then edit
/etc/default/grub
and add the line:GRUB_CMDLINE_LINUX="nouveau.blacklist=1"
- Update Grub with:
sudo update-grub
- Reboot
With this my colleagues can suspend/hibernate-resume without too many issues … though there are occasional hiccups for people who suspend for 4+ days.
Hope this works for you, too 👍🏻
I know that this is an old post, but I frequented this constantly over the last few weeks trying to find an answer and I thought hopefully someone else will come along like me and see this instead.
In Terminal I ran uname -sr
and it returned Linux 5.13.0XXXXXXX-generic
I then went to here and scrolled down to the bottom.
This is the different updates for Ubuntu. I ignored the rc* files, and found the most recent, which in my case was v5.15/
When you click on that folder, you want to download the amd64 sets. Which is the first set of links. You want:
amd64/linux-headers-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
amd64/linux-headers-5.15.0-051500_5.15.0-051500.202110312130_all.deb
amd64/linux-image-unsigned-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
amd64/linux-modules-5.15.0-051500-generic_5.15.0-051500.202110312130_amd64.deb
You'll notice that all of these names have 'generic' in them instead of 'low latency', except for the one that contains 'all'.
Download those files, and chuck them in a folder. For simplicity I had them under Documents/kernels/5.15/
(I created these folders, they don't already exist aside from Documents).
I then went cd Documents/kernels/5.15/
followed by sudo dpkg -i *.deb
This installs all of those files you just downloaded. Make sure you're in the correct folder, or *.deb will install any file with that suffix.
It will take a few minutes to install. Once installed I wanted to check that it had been installed.
apt list --installed | grep linux-image
You should get a list of the currently installed versions. For me I had two 5.13's and my newly installed 5.15
At this point I uninstalled 5.13 with sudo apt remove linux-image-5.13.0-19-generic
(you will of course have to replace the 5.13.0-19 with whatever version you are running).
If you are uncomfortable uninstalling, you can wait or not do it at all. It's not a necessary step.
sudo reboot
At this point, if you do not usually start with a boot to GRUB, hold down your SHIFT key. Under Advanced Options, I manually selected 5.15
I was told that I had an invalid signature. To fix this, I ran 5.13 again, then rebooted, went into the GRUB settings, and located a way to disable Secure Boot. Each laptop will be different so I'm sorry I can't be more help here, but the settings should be fairly easy to navigate.
Feel free to do your own research on whether or not you should disable Secure Boot. Don't listen to strange people on the internet.
With secure boot disabled, I could launch 5.15, I tested it several times, and my suspend issues were over!
Hopefully this helps anyone else.