Back

Explore Courses Blog Tutorials Interview Questions
0 votes
4 views
in Linux by (18.4k points)
SFML 2.0 is been added to the feature whereby you can specify an OpenGL version to use. Is there any terminal command that I can run to find out what version I must use?

1 Answer

0 votes
by (36.8k points)

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)

 Want to be a Linux expert? Come and join this Linux course

Related questions

0 votes
1 answer
asked Feb 5, 2021 in Linux by blackindya (18.4k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 18, 2020 in Linux by blackindya (18.4k points)

Browse Categories

...