# phpman > man > xdriinfo(1)

[xdriinfo(1)](https://www.chedong.com/phpMan.php/man/xdriinfo/1/markdown)                            General Commands Manual                           [xdriinfo(1)](https://www.chedong.com/phpMan.php/man/xdriinfo/1/markdown)



## NAME
       xdriinfo - query configuration information of DRI drivers

## SYNOPSIS
       **xdriinfo** [-display _displayname_] [-version] [command]

## DESCRIPTION
       _xdriinfo_  can  be  used to query configuration information of direct rendering drivers. If no
       command argument is specified it lists the names of the  direct  rendering  drivers  for  all
       screens.

       Valid options are:

### -display
              Specifies X server to connect to.

### -version
              Print the program version and exit.

       Valid commands are:

### nscreens
              Print the number of screens.

       **driver** _screen_
              Print the name of the direct rendering driver for _screen_.

       **options** _screen|driver_
              Print  the  XML  document describing the configuration options of a driver. The driver
              can be specified directly by _driver_ name or indirectly by _screen_ number. If the driver
              name is specified directly then no X connection is needed.

## ENVIRONMENT
       **DISPLAY**
              The default display.

## SEE ALSO
       [_X_(7)](https://www.chedong.com/phpMan.php/man/X/7/markdown), [_xdpyinfo_(1)](https://www.chedong.com/phpMan.php/man/xdpyinfo/1/markdown), [_xwininfo_(1)](https://www.chedong.com/phpMan.php/man/xwininfo/1/markdown), [_xvinfo_(1)](https://www.chedong.com/phpMan.php/man/xvinfo/1/markdown), [_glxinfo_(1)](https://www.chedong.com/phpMan.php/man/glxinfo/1/markdown), [_xprop_(1)](https://www.chedong.com/phpMan.php/man/xprop/1/markdown)

## AUTHOR
       Felix Kuehling



X Version 11                               xdriinfo 1.0.6                                [xdriinfo(1)](https://www.chedong.com/phpMan.php/man/xdriinfo/1/markdown)
