Credit goes to sammyboy405 user in Ubuntu forums.If you want more fixes and updates on this check this ubuntuforum thread
Before Starting this Make sure you have the Latest Kernel. As of right now its .15 But if there is one Higher Make sure you have it before performing the steps below.
First lets check to make sure you have the latest Kernel version before we proceed.
From the Terminal run the following command
This will display your Kernel version. If it is 126.96.36.199 or Higher You are done. And continue down below. If it is not then do the following steps
sudo apt-get update
sudo apt-get dist-upgrade
go back into a terminal
Make sure your Upgrade happened. If it did and you want to get rid of your old Kernel you can do
sudo apt-get autoremove
Once you have latest kernel in place follow this procedure
Add this to your repository
sudo gedit /etc/apt/sources.list.d/ubuntu-mobile.list
add these 2 lines
deb http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-mobile/ppa/ubuntu jaunty main
Save and exit
Now you need to authenticate the keys
Press 1 and Enter
sudo apt-key add /tmp/pub.asc && rm /tmp/pub.asc
Now that your Ubuntu-Mobile Key is added do the Following.
The Following Packages need to be Installed Most are Dependences.
* psb-firmware -- Binary firmware for the Poulsbo (psb) 3D X11 driver
* psb-modules -- Kernel module built for -generic or -lpia kernel
* psb-kernel-source -- Kernel module for the Poulsbo (psb) 2D X11 driver
* psb-kernel-headers -- Kernel module headers for the Poulsbo (psb) 2D X11 driver
* xpsb-glx -- X11 drivers for Poulsbo (psb) 3D acceleration
* poulsbo-driver-3d -- Metapackage for the 3D Poulsbo (psb) X11 driver.
* poulsbo-driver-2d -- Metapackage for the 2D Poulsbo (psb) X11 driver.
From a Terminal run the following commands
sudo apt-get update
sudo apt-get install poulsbo-driver-2d poulsbo-driver-3d psb-firmware
Reboot your system
Make sure you have NO USB devices Hooked up as this will cause conflicting results with the poulsbo-driver-3d drivers. (see fix below for stability)
Once rebooted open a terminal and make a back up of your xorg.conf file.(fresh install may have a null xorg.conf file this is normal and ok)
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Open up your xorg.conf and add the below contents inside it.
sudo gedit /etc/X11/xorg.conf
Make the Section "Device" Look like this :
Identifier "Configured Video Device"
Option "AccelMethod" "EXA"
Option "DRI" "off"
Option "MigrationHeuristic" "greedy"
(Optional) add the following to the bottom of your xorg.conf file this will allow you to be able to do a CTRL+ALT+Backspace to restart your GUI/X11 session.
Option "DontZap" "False"
Reboot one last time and you should be rocking and rolling. Now what this did is allow the 3d Drivers to be installed and are in Partial use. Compiz and any other 3d Software "May" Not work I haven't 100% tested it. But modifying your xorg.conf with the above setting will allow you to be able to use External USB Devices with out random freezes.
If you have a fresh install you may need to recheck your xorg.conf file after you reboot as when the xserver configures itself it may put back the default settings. Those that had xserver setup before hand you should be fine. But if you feel that something isnt right, you may want to go and check your xorg.conf file again and be sure that the options are still there.
Leave out the xorg.conf if you don't plan on using anything USB. Although since your keyboard / touch-pad is technically USB I still had random Freezes Have 3d Enabled.
So I Highly Recommend using my xorg.conf example. I have had great success with it.
For those who are getting DRM errors after Upgrading from / to a new Kernel after doing the Old Procedures I had listed here do the following.
sudo apt-get install psb-kernel-source
Reboot and then you should be good to go again. You may want to add the 3d to give you some extra performance. If so just start from the top of this message and start from the beginning like you where installing for the first time. and that should do the trick.
Working with compiz and 3D effects
Open A Terminal
sudo gedit /boot/grub/menu.lst
You should find a line that looks like this (your root UUID and kernel version will/may vary)
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=c34d1d57-59d3-4f6f-abc1-fd83aea4 ro quiet splash
Change it to this (bold is to emphasize what needs changing)
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=c34d1d57-59d3-4f6f-abc1-fd83aea4 ro quiet nosplash mem=786mb
This tells grub to force the kernel to recognize only 786mb of the installed 1GB, leaving 238mb free for the graphics adapter to use. The “nosplash” option prevents any sexy graphics being displayed during boot.
Now for Compiz.
sudo gedit /usr/bin/compiz
Look for the following line
WHITELIST=”nvidia intel ati radeon i810 fglrx”
Change it to this:
WHITELIST=”psb nvidia intel ati radeon i810 fglrx”
Now your going to need to edit a line in your xorg.conf file. Doing this will allow for 3d effects.
sudo gedit /etc/X11/xorg.conf
add the following line
Option "IgnoreACPI" "yes"
Save and exit the file
click System -> Preferences -> Appearance and click the Visual Effects tab. I chose “Normal” just to get things started.