Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How can I verify whether hardware acceleration is available and whether it is enabled for my video card.

If it makes a difference I am using Ubuntu 10.04.

share|improve this question
add comment

1 Answer

up vote 4 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
2  
@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
add comment

Your Answer

 
discard

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.