How to make nouveau driver work in Ubuntu 9.10

Using the reverse engineered open source nouveau driver for nvidia cards.
Update to the latest, and install the driver.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

# install the driver
# this will emove your proprietary nvidia driver, in case you have that installed.
sudo apt-get install xserver-xorg-video-nouveau

# gedit /etc/X11/xorg.conf

Section "Screen"
Identifier "Default Screen"
SubSection "Display"
Virtual 3840 3840

Section "Device"
Identifier "Default Device"
Driver "nouveau"
Option "NoLogo" "True"

Run this to make sure it's working
glxinfo | grep direct
direct rendering: Yes
This driver does not support 3D. If you need 3D support you still have to install the nvidia proprietary driver.