The xdriinfo utility prints an XML description of a DRI driver. The driver can be specified directly by driver name or indirectly by screen number. No X connection is needed if the driver name is explicitly specified.