Linux: Test If My Graphics Card Has OpenGL Support Or Not

OpenGL (Open Graphics Library) is a standard specification defining a cross-language, cross-platform API for writing applications that produce 2D and 3D computer graphics. How can I test if my graphics card has OpenGL support under Linux?

You need to use the glxinfo commmand to get information about the OpenGL and GLX implementations running on a given X display. The information includes details about the server and client side GLX implementation, the OpenGL and GLU implementations as well as a list of available GLX visuals. Open a shell prompt (terminal) and type the following command:

glxinfo | less
glxinfo | grep something
glxinfo | grep render

Sample Outputs:

direct rendering: Yes
OpenGL renderer string: Quadro FX 570/PCI/SSE2
    GL_NV_depth_buffer_float, GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_NV_vertex_program3, GL_NVX_conditional_render, GL_SGIS_generate_mipmap,

You can also specify the X display to interrogate, enter:

glxinfo -display :X.Y | grep render
glxinfo -display :0.0 |  grep render

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts