I just posted a patch for an instance of this in a different thread:
[url]shadow mapping ...'again' ( 1.6 problem)]
I tested on Windows only, but was experiencing the exact same symptoms and so am fairly confident my patch will fix it on Ubuntu as well.
–jonah