Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I find out my OpenGL version on Ubuntu 13.04

Does this question even make sense?

SFML 2.0 has added a feature whereby you can specify an OpenGL version to use. Is there a terminal command I can run (or otherwise) to find out what version I should be using?

like image 314
FreelanceConsultant Avatar asked May 24 '13 17:05

FreelanceConsultant


1 Answers

To know your OpenGL version in Ubuntu,

Install Glxinfo

$sudo apt-get install mesa-utils

To Check OpenGL Version,

$glxinfo | grep "OpenGL version"

You will get the output as follows,

glxinfo | grep "OpenGL version"
OpenGL version string: 1.4 (2.1 Mesa 7.7.1)

Reference: https://askubuntu.com/questions/47062/what-is-terminal-command-that-can-show-opengl-version

like image 174
FreelanceConsultant Avatar answered Oct 13 '22 00:10

FreelanceConsultant