Environment Variables

Normally, no environment variables need to be set. Most of the environment variables used by Mesa/Gallium are for debugging purposes, but they can sometimes be useful for debugging end-user issues.

LibGL environment variables

Core Mesa environment variables

Mesa Xlib driver environment variables

The following are only applicable to the Mesa Xlib software driver. See the Xlib software driver page for details.

i945/i965 driver environment variables (non-Gallium)

Radeon R300 driver environment variables (non-Gallium)

EGL environment variables

Mesa EGL supports different sets of environment variables. See the Mesa EGL page for the details.

Gallium environment variables

Softpipe driver environment variables

LLVMpipe driver environment variables

Other Gallium drivers have their own environment variables. These may change frequently so the source code should be consulted for details.