Misc OpenGL Issues and Common Solutions

Info & Tags

Article #:
387
Created:
01/18/06
Modified:
10/23/08
Tags:
graphics, opengl, revision graph

Related Articles

PROBLEM

I have a graphics card that runs OpenGL. Can this cause problems with revision graph?


SOLUTION

If you are unable to run revision graph, the problem might be related to conflicts with OpenGL and revision graph. To work around these OpenGL conflicts, as of the 2006.1 release of P4V, there is a new "Software Rendering" option. This option allows revision graph to run on systems without OpenGL support or that encounter issues with OpenGL. The software rendering option can be turned on by making sure that "Use software rendering for Revision Graph" is checked within your P4V preferences.

Xmu Symbols error

If you see the following error from P4V, or any other Qt app, on Unix:

Fatal: Unable to resolve Xmu symbols - please check your Xmu library installation.

The problem is due to the missing library, libXmu.so. The Qt OpenGL module depends on this library being present on Unix. The relevant bit of source is in the Unix version of the Qt code, in the file opengl/qgl_x11.cpp:

qt_XmuLookupStandardColormap = (_XmuLookupStandardColormap)
QLibrary::resolve("Xmu", "XmuLookupStandardColormap");

if (!qt_XmuLookupStandardColormap)
   qFatal("Unable to resolve Xmu symbols - please check your Xmu library installation.");

On some systems the libXmu.so file is present as "libXmu.so.N", where N is a version number. If this is the case on your machine, then a symlink called "libXmu.so" must be created that points to the actual file.

libXmu.so exists in /usr/X11R6/lib. This is in the library load path but might not be picked up by P4V. Creating a symlink in /usr/lib/libXmu.so that points to /usr/X11R6/lib/libXmu.so can resolve this issue.

ATI FireGL cards

ATI FireGL cards are known to have OpenGL conflicts when running revision graph. If you are using a FireGL card and experiencing crashes on Windows, hardware acceleration needs to be disabled. To disable hardware acceleration:

  1. Go to the card's control panel, generally under Display>Settings>Advanced
  2. Disable all hardware acceleration options.

The alternative solution is to use software rendering within P4V.

Mesa3D 6.4.x

As of 15th February 2006, Mesa3D versions 6.4.x have a problem with multiple sequential runs of revision graph. With versions 6.4.x crashes occur in the Mesa code. Version 6.2.1 appears to work fine. To determine which version you have installed, you can run the following:

"glxinfo | grep OpenGL.*string".  

This command can also be useful if there is any doubt as to which symlinks are being picked up by P4V.