How can I tell what OpenGL versions are supported on my (Arch Linux) machine?
3 Answers
glxinfo | grep "OpenGL version"
-
That's not a program installed by default, but it is available in the AUR. I'm guessing there is no default program to do this?– JeroenApr 8, 2014 at 19:59
-
4@JeroenBollen It's in the
mesa-demos
package in extra. You can also useglewinfo
if you have glew already installed.– LeiazApr 8, 2014 at 22:52
glxinfo | awk '/OpenGL version/ {print $4}'
Install "mesa-demos" if it does not work. :)
-
-
-
1Using a fixed column number is not going to be viable, specially over different versions. One might change the output format in different releases. Oct 8, 2018 at 20:01