Date: 26-Nov-2009   URL: www.sun.com/software/graphics/opengl/faq.xml
Sun OpenGL API for Solaris Operating System, SPARC Platform Edition

General FAQ

Installation Questions


Q:
I downloaded OpenGL software from the Sun website. When I tried to install it, I got "^M: not found" error. Why?
A:
Depending on the setup of the web server, some ftp proxies will append ^M (newline character) to certain type of files.

The OpenGL download files are self-extract binary files which should be treated with no conversion during download. When the web proxy appends ^M the files, it corrupts them. You should check with your web admin to disable binary file conversion for your download.

Back to Top


Q:
OpenGL application failed to run and reported "GLX extension missing" error. Why?
A:

Most of the time, this problem can be attributed to one of the following:

  1. The X window system was not restarted after the installation of OpenGL software.
  2. You are trying to display to a remote system and the remote system either does not have OpenGL installed or does not support GLX protocol.
Sun's X window server only loads server extension modules (GLX, PEX, etc.) at server initiation time or at the first invocation of the extension protocol. In order to ensure that the OpenGL GLX server extension module is loaded by the Xsun server, it is necessary to restart the Xsun window server after installing the OpenGL packages.

If you are running OpenWindow, you can restart the window server by simply logging out and logging back in. On systems running CDE, you'll need to restart to Xsun window server by exiting the desktop session.

If you are displaying to a remote system, you need to make sure that you have the appropriate OpenGL software installed on the remote system.If you are still unable to resolve the problem, send a problem report to ogl-help@sun.com. Please download, then run this config_info.sh script (type in ksh config_info.sh), and send it's output along with the problem report.

Back to Top


Q:
After installing OpenGL software, my application still fails to run. What should I do?
A:
Check out the instructions on our Technical FAQ (Verify Installation). If you are still unable to resolve the problem, send a problem report to ogl-help@sun.com. Please download, then run this config_info.sh script (type in ksh config_info.sh), and send output from config_info.sh and ogl_install_check along with the problem report.

Back to Top

Product Specifications


Q:
How can I find out the release version number of OpenGL library I am using?
A:

You can identify the release version number of OpenGL library in several ways:

  1. For the 32 bit libraries: Using the what(1) or mcs(1) command:

    % what /usr/openwin/lib/libGL.so.1
  2. For 64 bit libraries: Using the what(1) or mcs(1) command:
    % what /usr/openwin/lib/sparcv9/libGL.so.1
  3. Programmatically, by calling glGetString(GL_VERSION)
    (see glGetString man page for more details)

  4. Running the OpenGL install_check demo program:

    % /usr/openwin/demo/GL/ogl_install_check

Back to Top


Q:
How can I obtain the list of OpenGL packages installed?
A:
Type in the command pkginfo | grep OpenGL

Back to Top

Links Mentioned on This Page

This page is located at: http://sun.com/software/graphics/opengl/faq.xml

Additional links mentioned are:

There are no additional links on this page.

 
 
Copyright 2004-2009 Sun Microsystems, Inc.