Solaris Common Messages and Troubleshooting Guide

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

Cause

Install OpenGL 1.0 and test the configuration by running /usr/openwin/demo/GL/ogl_install_check which results in following:


# ./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 such as:


	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 1 file.) If other errors result, re-install OpenGL, especially the SUNWglrt package.

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


 
# 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 since there will be a permission issue loading the graphic pipelines.

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


:0 Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner 
The Xservers file will be found in /usr/dt/config if you haven't done any customization but more likely /etc/dt/config/. Additional arguments after the -nobanner option are acceptable.

Another way of proving this is to run OpenWindows from the command line as root. It will ensure 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 with a Creator 3D graphics card. If you install this application on an Ultra with a Creator framebuffer and NOT a Creator 3D you'll see these same error messages.