I've had a similar problem - for me it was related to nouveau vs bbswitch/bumblebeed/nvidia-current(from xorg-edgers).
Originally Posted by instant
Solution was to get rid of it all, and install these versions:
Kernel 3.7.0-7-generic, on raring.
ii bbswitch-dkms 0.4.2-2~quantalppa1 all Interface for toggling the power on nVidia Optimus video cards
ii bumblebee 3.0.1-3~quantalppa2 amd64 nVidia Optimus support
ii bumblebee-nvidia 3.0.1-3~quantalppa2 amd64 nVidia Optimus support using the proprietary NVIDIA driver
ii nvidia-current 304.51.really.304.43-0ubuntu2 amd64 NVIDIA binary Xorg driver, kernel module and VDPAU library