← 返回命令列表

Linux command

glxinfo 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show OpenGL information

glxinfo

Show brief summary

glxinfo -B

Show only vendor and version

glxinfo | grep "OpenGL"

List supported extensions

glxinfo | grep "GL_"

Display on specific screen

DISPLAY=:0 glxinfo

Show in-depth limits

glxinfo -l

说明

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.

参数

-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.

FAQ

What is the glxinfo command used for?

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.

How do I run a basic glxinfo example?

Run `glxinfo` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -B do in glxinfo?

Brief output (summary only).