Intellipaat 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?

2 Answers

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

0 votes
by (2.8k points)

To find your OpenGL version in Ubuntu,

Install Glxinfo:

$sudo apt-get install mesa-utils

To Check OpenGL Version:

$glxinfo | grep "OpenGL version"

Output:

glxinfo | grep "OpenGL version" 

OpenGL version string: 1.4 (2.1 Mesa 7.7.1)

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)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...