Daily Archives: 2008/09/11

Hibernate eventually working on my Linux Box

de fence - by stockwerk23

de fence - by stockwerk23

I have to confess: I had surrendered a lot of time ago. I was not able to get my computer hibernate, or better, it could hibernate, but it would not wake up correctly and I needed to restart. Just like Walt Disney.

Luckily Ubuntu is updating twice a year and so I tried again yesterday. And it failed. So I had a look on the logs and I found out the problem was the X server, whose process was eating 99% of the CPU after waking up. Even the computer seemed hanged it wasn’t: I could login through SSH. So after a visit to Ubuntu Forums, I guessed it was because of NVidia proprietary drivers and I eventually reached this page, from which I got some good hints.

Basically what I did was to add the

Option "NvAGP" "1"

under the device section in the /etc/X11/xorg.conf file, and change the following

ACPI_SLEEP=true
ACPI_HIBERNATE=true
SAVE_VBE_STATE=false
POST_VIDEO=false
SAVE_VIDEO_PCI_STATE=true

in the /etc/default/acpi-support file. Remember that both files must be edited as superuser: have you ever heard about sudo?

I did not blacklisted the agpgart and the intel_agp (altough I have via_agp) and it worked anyway.

Next step: convince screenlets to do what I want insted of what they want.