I think I've discovered an underlying cause of these hangs - compiz taking a server grab and not flushing its command buffers - and have pointed DX at the fix.
To confirm this hypothesis, next time you see this freeze could you attach gdb to the *X* process (with “sudo gdb Xorg $(pgrep X)”) and give me the result of “print grabState”? ** Changed in: compiz (Ubuntu Natty) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/740126 Title: compiz hangs randomly several times per day -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs