---
name: "xdriinfo"
section: "1"
platform: "linux"
package: "xorg-xdriinfo"
version: "1.0.8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/xdriinfo"
---

# xdriinfo(1)

query configuration information of DRI drivers

## NAME

xdriinfo - query configuration information of DRI drivers

## SYNOPSIS

**xdriinfo** \[**-display** *displayname*\] \[**-help**\|**-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.

- **-help**

  Print the program usage and exit.

- **-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)](/X/7.md), [**xdpyinfo**(1)](/xdpyinfo/1.md), [**xwininfo**(1)](/xwininfo/1.md), [**xvinfo**(1)](/xvinfo/1.md), [**glxinfo**(1)](/glxinfo/1.md), [**xprop**(1)](/xprop/1.md)

## AUTHOR

Felix Kuehling
