tecosystems

How To Fix Suspend After Installing AIGLX/Compiz on Ubuntu

Share via Twitter Share via Facebook Share via Linkedin Share via Reddit

I completely forgot to mention this last week, despite the fact that it’s only pertinent to a distinct minority of my audience, but the fix for suspend after trying AIGLX/Compiz is actually pretty simple.

As I mentioned here, though I managed to get AIGLX/Compiz installed on the machine I did not get them fully up and running, and to add insult to injury I broke suspend on my laptop in doing so. Given that suspend is a feature I was willing to actually switch distributions to get, it’s more than moderately important to me.

Fortunately, the fix was an easy one and didn’t take long to find. For reasons that are unknown to me, the installation process described in the AIGLX/Compiz instructions I used triggered a rewrite of my grub conf file. In the process, it erased a necessary kernel parameter I was passing in. If this has happened to you as well, just do the following (which was copied from here):

gedit /boot/grub/menu.lst And: in your booting kernel option (/boot/grub/menu.lst), add as an option: acpi_sleep=s3_bios

Please note, as the installation instructions will warn you, that mucking around with AIGLX/Compiz and, of course, your boot configuration file does demand a certain level of experience. Not necessarily to make the changes – that part is usually dangerously easy – but to fix and/or back out of them if/when something goes wrong. In other words, don’t say I didn’t warn you.