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 verify whether hardware acceleration is available and whether it is enabled for my video card.

share|improve this question
up vote 10 down vote accepted

If you don't already have it, install glxinfo; in APT it's part of mesa-utils:

apt-get install mesa-utils

Run glxinfo and look for a line about direct rendering (another term for hardware acceleration):

> glxinfo | grep "direct rendering"
direct rendering: Yes

If it says "Yes", hardware acceleration is enabled

share|improve this answer
Wow. So simple it was awesome! Thanks. – Noah Goodrich Aug 21 '10 at 16:49
In the spirit of teaching a man to fish, could you post some information on what the mesa-utils package and what the glxinfo command does? – Noah Goodrich Aug 21 '10 at 16:50
@Noah I don't actually use Ubuntu, so I know little about its packages, but Ubuntu's package description says it "provides several basic GL utilities built by Mesa, including glxinfo and glxgears". GLX is the X extension for OpenGL; glxinfo displays information about that extension, including the current direct rendering state – Michael Mrozek Aug 21 '10 at 16:56
"mesa-utils"? Sounds like something Jar Jar would say :) – Tom Zych Nov 7 '15 at 9:40

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.