Might be a good idea to start searching on google and of course the ubuntu forums, also check the nvidia docs.
I would also take compiz out of /etc/rc.local, to see if it works normally. You can start it from the command prompt after startup.
This can help determine if it even works at all.






