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,450

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
Sergiy Kolodyazhnyy
  • 105,154
  • 20
  • 279
  • 497
s1mmel
  • 2,024
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!

waterlubber
  • 577
  • 4
  • 13
  • Since my computer is an iMac, I don't have BIOS, I don't think. – Jonathan Apr 16 '15 at 13:37
  • Is there a startup screen, or does it jump straight to the OS? If there is, like an apple logo, that's probably a BIOS. However, I am not familiar with apple devices, so I can't help too much. Try looking up "iMac BIOS". You might need to flash, but I hope not! – waterlubber Apr 24 '15 at 20:34
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,082
  • 2
  • 21
  • 34