Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 5 down vote accepted

glxinfo | grep "OpenGL version"

share|improve this answer
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
@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
glxinfo | awk '/OpenGL version/ {print $4}'
share|improve this answer
This command didn't output anything for me. – Jeroen Bollen Apr 20 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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