Skip to content

glxinfo | Cheatsheet

glxinfo is a command-line tool that can help you diagnose problems with your 3D acceleration setup. It can also provide additional helpful information for developers.


  • Set VIDEO_CARDS in /etc/portage/make.conf
    emerge --ask media-libs/mesa x11-apps/mesa-progs

Force an indirect rendering context

glxinfo -i

brief output, print only the basics

glxinfo  -B
glxinfo -v
glxinfo  -t
glxinfo  -h

Find the 'best' visual and print its number

glxinfo -b
glxinfo -l
glxinfo -s