libdrm icon indicating copy to clipboard operation
libdrm copied to clipboard

drmAvailable() always tries to open /dev/dri/card0 even if /dev/dri/card1 only is available

Open sgerwk opened this issue 1 month ago • 0 comments

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

sgerwk avatar Dec 23 '25 15:12 sgerwk