I have installed Nvidia driver from default repository in my just installed Ubuntu 10.10 amd64 and enabled compiz 3D effects.Install Nvidia driver in Ubuntu Maverick (10.10) is much easier than Ubuntu Lucid (10.04).

Install from the default local repository:

Open a terminal window from Applications ->Accessories menu,and run this command:

sudo apt-get install nvidia-current

then restart you computer,run the command to create the configuration file:

sudo nvidia-xconfig

Log out and back in ,and you can now change nvidia settings by System – > Administration -> Nvidia X server Settings

In addition,if you’d like to download and install latest driver from Nvidia official page,this post may help you to try out!