After you update your OS and you forgot about this little quirk
edit /usr/local/bin/compiz-manager and change line saying
INDIRECT="no"
to
INDIRECT="yes"
UPDATE (2014-11-15):
Apparently this also depends on nvidia driver, so I am trying to keep the list of those I know work correctly, and those I know don't work correctly.
Working: 331.67, 331.113
Not working: 340.46, 343.22 (works most of the time, but sometimes get crazy), 346.22 similar to 343.22