5

After the latest update, my machine isn't waking up from suspend, and I have to hard-reboot it. This only happens sometimes, and I can't tell under what exact circumstances it happens. I think it's mostly when it suspends automatically after leaving my machine idle for a while, not when I manually initiate a suspend.

I checked dmesg, and I see some messages like pci 0000:00:1a.0: System wakeup disabled by ACPI, but I'm not sure if it's relevant.

How can I debug what is happening, and get my machine to wake properly after suspend?

Edit: This machine is a recent iMac, with an NVIDIA graphics card. It's a desktop.

Jonathan
  • 7,470

3 Answers3

1

Firstly

Please do be careful, you are tampering with the bootloader. Make sure your data is backuped.

First try the setting

Reboot your pc, boot into grub, highlight Ubuntu , press e too edit the boot parameters, and add the parameter specified bellow after line that says quiet splash $vt_handoff to try if it works.

acpi_osi=Linux

To use it permanently run in terminal:

sudo nano /etc/default/grub

change the parameter on this line

GRUB_CMDLINE_LINUX_DEFAULT=""

to:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=Linux"

and udapte the bootloader:

sudo update-grub
s1mmel
  • 2,124
0

You might want to take a look around in your CMOS/BIOS settings. In there, there is often a configuration option for waking from suspend. You should change it to something that would probably work, like 'enable suspend' or similar. Hopefully this works, some motherboards override the OS when it comes it waking up.

Be careful, though, don't brick your computer!

0

Its your graphics driver. You need to update your graphic drivers to latest binaries. You can download them from nvidia's website. Don't forget to remove your installed drivers using apt-get before doing anything.

Mostafa Shahverdy
  • 5,342
  • 3
  • 22
  • 34