I had the same problem. I fix it adding follow line in /etc/Config.prc:
Same here on Ubuntu 9.10 x86_64, Intel mobile graphics.
I had no error messages and nothing insightful from notify-level-glgsg debug. glxgears worked fine. All the samples would show a static grey or black window and do nothing.
The above fix worked great, thanks