rr- / screeninfo

Fetch location and size of physical screens.
Other
208 stars 36 forks source link

DRM-Enumerator: Raise exception after checked all devices #68

Open laley169 opened 2 years ago

laley169 commented 2 years ago

DRM-Enumerator: Raise "failed to get resources" exception only after checked all devices

Issue: On a raspberry I have card0 and card1 in /dev/dri. The problem is that the enumerator fails to get the resources from card0 and raises an exception, thus it never checks card1 which supplies the correct resources.

This commit is meant to fix this issue.