Configuration | Tutorial Option GLXplus: Tunneling OpenGL through GLX

# Configuration

To tunnel the OpenGL 2.1 protocol stream through GLX, both ends of the tunnel have to be configured.

## Configuration of OpenGL clients

All clients using OpenGL have to be started using the glxPlus script.

The script glxPlus starts an OpenGL client:

    /opt/XSOXmetaX/bin/glxPlus program_name [program_argument...]

The argument program_name specifies the desired client to start, followed by client specific program_arguments.

The script changes the LD_LIBRARY_PATH environment variable to bind the special X-Software GLXplus OpenGL library.

OpenGL distinguishes two rendering techniques, direct rendering and indirect rendering. Direct rendering means that all drawing operations are directly execute by the graphics card, whereas indirect drawing operations are executed by the X Window server. Using GLXplus per se means indirect rendering, although the XmetaX proxy accesses the graphics hardware directly. Some OpenGL clients may disable actually available features or even refuse to work in indirect mode. In these situations setting the environment variable GLXPLUS_REPORT_DIRECT, for instance using the Bourne shell:

    export GLXPLUS_REPORT_DIRECT="1"

or with the C shell:

    setenv GLXPLUS_REPORT_DIRECT "1"

might help. It lets the GLXplus OpenGL library pretend direct rendering.

## Configuration of the XmetaX proxy

The statement

    options [+|-]GLXplus

enables or disables the option GLXplus for the XmetaX proxy. However, only options which are covered by the license key (Licensing) may be enabled. The default setting — no additional options — corresponds to the XmetaX base product.

In addition the GLXplus feature must be enabled for each screen (GLXplus).

top
Tutorial
Option GLXplus: Tunneling OpenGL through GLX

Copyright © 2021 X-Software GmbH
info@x-software.com