Git mesa and drm-radeon-testing on a r600 card.
The problem is the same with both LIBGL_ALWAYS_SOFTWARE=1 and r600c.
Since mesa master commit -
Merge: 15a3b42... a433cd2...
Author: Ian Romanick <firstname.lastname@example.org>
Date: Mon Aug 16 19:08:53 2010 -0700
Merge branch 'glsl2'
Doom3-demo segfaults on startup -
----- R_InitOpenGL -----
Setup X display connection
signal caught: Segmentation fault
Was in fatal error shutdown: Unable to initialize OpenGL
Trying to exit gracefully..
Turns out that there is an easy workaround for this.
Edit the doom3-demo script which starts the game to comment out the line
I also encountered this. I tracked it down to some incompatibility between my 32bit multilib system libraries and the libs (libstdc++ and so on) that the doom3 installer ships with the binary. Removing these compat libs from the game directory also solved the problem, however this is essentially the same as changing the library path for LD.