Nvidia proprietary drivers and Ubuntu 12.04 redraw
One thing that took me a long time to fix was, small of regions windows not getting redrawn when modified. After trying countless things, the option was in compiz config settings manager (ccsm).
To fix, in CCSM->Workarounds it i set:"Force complete redraw on initial damage"
"Force fullscreen redraws (buffer swap) on repaint"
Now this works very nicely indeed....
Thanks to all the people working on Ubuntu/Linux software!!!
Update:
Using nvidia-settings, changing power saving mode to maximum performance fixes this problem. It gives better performance than below but i assume uses more power.