``drmAvailable()`` calls ``drmOpenMinor(0, 1, DRM_NODE_PRIMARY)``, which opens ``/dev/dri/card0`` the call fails if the only available device is ``/dev/dri/card1``
drmAvailable()callsdrmOpenMinor(0, 1, DRM_NODE_PRIMARY), which opens/dev/dri/card0the call fails if the only available device is
/dev/dri/card1