Solaris Common Messages and Troubleshooting Guide

Xlib: extension "GLX" missing on display "0.0"

Cause

Install the OpenGL® 1.0 software and test the configuration by running /usr/openwin/demo/GL/ogl_install_check, which provides the following results:


# ./ogl_install_check
    Xlib:  extension "GLX" missing on display "0.0".
    Xlib:  extension "GLX" missing on display "0.0".
    Xlib:  extension "GLX" missing on display "0.0".
    can't find visual

Action

First check that the installation has worked correctly by running the package check utility on the runtime package: pkgchk SUNWglrt. This should result in an error message like this:


ERROR: /usr/openwin/server/etc/OWconfig
file size <187> expected <5423> actual
file cksum <14394> expected <27045> actual
(The numbers might be different, but there should be only one file.) If other errors occur, re-install OpenGL, especially the SUNWglrt package.

Assuming that is fine, look at the process owner for the Xsun process using the following:


# ps -aef | grep Xsun | grep -v grep
nobody 20022   225  0 11:36:22 ?        0:34 /usr/openwin/bin/Xsun :0 -nobanner 
If the owner is not root, that is most likely the problem. There is a permissions issue loading the graphic pipelines.

If you are using CDE, ensure that the Xservers file has this form:


:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner 
The Xservers file can be found in /usr/dt/config, if you have not done any customization. Otherwise, it can more than likely be found in /etc/dt/config/. Additional arguments after the -nobanner option are acceptable.

Another way of proving this is to run the OpenWindows environment from the command line as root. It ensures that the Xsun process is owned by root.

Another possibility is that the system is NOT a Creator 3D. You can only run OpenGL 1.0 on an Ultra machine with a Creator 3D graphics card. If you install this application on an Ultra machine with a Creator framebuffer and NOT a Creator 3D, you see these same error messages.