How can I tell what OpenGL versions are supported on my (Arch Linux) machine?

up vote 7 down vote accepted

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? – Jeroen Bollen Apr 8 '14 at 19:59
  • 3
    @JeroenBollen It's in the mesa-demos package in extra. You can also use glewinfo if you have glew already installed. – Leiaz Apr 8 '14 at 22:52
$ sudo pacman -S mesa-demos
$ glxinfo | grep "OpenGL version"
glxinfo | awk '/OpenGL version/ {print $4}'

Install "mesa-demos" if it does not work. :)

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.