Personal tools
Document Actions

OpenGL misconfiguration detected on Linux.

Up to table of contents

This FAQ applies to: 1.5.0

Why I'm getting this message and how to fix it?

adt, pmv, vision and pythonsh scripts in the bin folder check to see if /usr/lib/libGL.so.1 and /usr/X11R6/lib/libGL.so.1 are the same. These files contain your OpenGL library/driver and here is the relevant part in our scripts:


case "`uname -s`" in
...
Linux)
p0="/usr/lib/libGL.so.1"
p1="/usr/X11R6/lib/libGL.so.1"
if [ -f "$p0" -a -f "$p1" ]
then
ls0=`ls -Ll "$p0" | sed 's,/.*,,'`
ls1=`ls -Ll "$p1" | sed 's,/.*,,'`
if [ "$ls0" != "$ls1" ]
then
echo "OpenGL misconfiguration detected."
echo "Please reinstall graphics driver."
#exit 1
fi
fi
...

 I've commented exit part because, in most cases, adt, pmv and vision can run without any problem, even when the last if condition is true. For instance, /usr/lib/libGL.so.1 might point to a more recent version of OpenGL library, which should not stop you from running adt, pmv or vision.  The case when exit is really needed is when /usr/lib/libGL.so gets corrupted. In this case, your X server can crash when calling pmv or any other application that calls OpenGL (e.g. glxinfo). If this is the case, reinstall graphics driver.

The following page list startup problems for Chimera on i386 Linux (TclError: Togl: couldn't get visual and OpenGL misconfiguration detected) that should be useful for MGLTools users as well: http://www.cgl.ucsf.edu/chimera/1.2470/linux.html

see also:

Using hardware accelerated 3D renderer on Linux
Making sure that your 3D viewer is working at full speed.
by Sargis Dallakyan last modified 2008-01-29 15:18 Molecular Graphics Laboratory, TSRI

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: