LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

glxinfo

OpenGL and GLX capability display tool

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 is 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 for the visual list.
-t
Produce a wider, more readable tabular format for the visual list.
-s
Print a single extension per line.
-i
Force indirect rendering.
-b
Find the "best" visual and print its number.
-display dpy
Specify X display.
-h
Display help.

INSTALL

sudo apt install mesa-utils
copy
sudo pacman -S mesa-utils
copy
sudo apk add mesa-utils
copy

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

RESOURCES

Copied to clipboard
Kai