MATLAB: Does MATLAB 7.3 (R2006b) crash the X-server session when I run the BENCH command multiple times

linuxlogoutMATLABopenglwindowsxx-windows

After installing MATLAB 7.3 (R2006b) on a 64-bit Fedora Core 6, MATLAB crashes the X-server when the BENCH command is run. This can happen when the BENCH is run anywhere from 2 to 10 times. There does not seem to be any problems with any other X applications that use X on this machine.

Best Answer

This could be an issue with the incompatibilities between MATLAB and the OpenGL driver, due to the numerous variants of OpenGL drivers for Linux. This shows up in the 3D graphics test portion of the BENCH command. When this type of error occurs, the X session is closed by the client.
Therefore, to workaround this issue, some customers have found it helpful to use the software version of OpenGL, by executing the following command after starting up MATLAB:
opengl software
This will force MATLAB to use software OpenGL rendering instead of hardware OpenGL.