I've tried the software based openGL libraries as you described, with the graphics card driver reloaded, and so far no problems. So fingers crossed this is a fix.
I've also applied the ubuntu 10.04 updates, and upgraded linuxcnc to 2.5.2 without issue.