Suspend!

Haha! After two years 😯 I finally got suspend to work on my Dell Inspiron 8200. Apparently the Nvidia binary driver causes a lot of problems with suspend.  But not in all cases.  I have another laptop (HP dv6500t) with a GeForce 8400 and suspend works fine without any tweaking.  Back to my Dell.  I found out that by adding

Option      “NvAGP”    “1”

to my xorg.conf and tweaking /etc/default/acpi-support as described here, made suspend work!  But I hit a little problem.  Adding the NvAGP option to xorg.conf killed my performance.  The entire desktop responsiveness went down the drain.  Then I found out the reason was because there was no AGP being loaded due to a conflict between the kernel’s AGP (AGPGART) and Nvidia’s AGP (NVAGP).  The solution I found was to blacklist the AGPGART module to prevent it from loading so NVAGP could load.  To do this I did

gksudo gedit /etc/modprobe.d/blacklist

And added these two lines to the end of the list.

blacklist agpgart
blacklist intel_agp

Rebooted and the responsiveness of the system was back as well as being able to suspend and hibernate flawlessly.  Even the wireless works on resume!  You can always check the status of AGP with the Legacy Nvidia drivers with

cat /proc/driver/nvidia/agp/status

And you should get something like

Status:             Enabled
Driver:              NVIDIA
AGP Rate:          4x
Fast Writes:      Disabled
SBA:                Disabled

The Driver will say either AGPGART or NVIDIA depending on what AGP you are using.

Now if I could just figure out how to use CPU frequency scalling with the Nvidia driver, I could report on a laptop that works 100% perfectly with Ubuntu. 😀

Advertisements

Busy Busy Busy

Well, I’ve been very busy lately, which is why I haven’t blogged about anything recently.  It’s coming down to the last few weeks of the school quarter here, which means exams, which also means everything just gets more hectic.  I have two projects coming up this week and on top of that, I have to study for exams.  There’s only two more weeks of this madness 😛 after which I will have a nice break and have time to blog about some stuff.  Possibly about a home server which I plan to re-set up during my break.

I already have something sort of setup on this server, but it’s not really serving anything.  I pretty much just have SSH setup so I can remote admin it, and throw files on it, but that’s about it.  I would like to make it a full fledged home server, but I’ve learned the hard way that servers on wireless don’t work too well. 😛 So I’ll have to find a way to run some cable or something since this will be second computer on a hard line to the router.

Anyways, I’ll give a shoutout to all my online buddies who I haven’t had time to chat with much lately because of all this work. 😉

w00t! 2 more weeks of madness 😆