LinuxCommandLibrary

glxinfo

TLDR

Show OpenGL information

$ glxinfo
copy
Show brief summary
$ glxinfo -B
copy
Show only vendor and version
$ glxinfo | grep "OpenGL"
copy
List supported extensions
$ glxinfo | grep "GL_"
copy
Display on specific screen
$ DISPLAY=:0 glxinfo
copy
Show in-depth limits
$ glxinfo -l
copy

SYNOPSIS

glxinfo [options]

DESCRIPTION

glxinfo displays information about the GLX implementation and OpenGL capabilities of the graphics system. It's useful for diagnosing graphics driver issues and checking hardware capabilities.
The tool queries the X server and graphics driver, reporting OpenGL version, renderer, vendor, and supported extensions.

PARAMETERS

-B

Brief output (summary only).
-l
Display extended limits.
-v
Verbose output.
-t
Display visual table.
-i
Force indirect rendering.
-display dpy
Specify X display.
-h
Display help.

CAVEATS

Requires X server connection. Results depend on driver and configuration. Indirect rendering may show different capabilities. Wayland needs XWayland.

HISTORY

glxinfo is part of the mesa-utils package, associated with the Mesa 3D Graphics Library. Mesa was started by Brian Paul in 1993, and glxinfo has been a standard diagnostic tool for OpenGL on X11 systems since the early days of GLX.

SEE ALSO

Copied to clipboard