Skip to content

Add support for multiple potential dri cards. #143

@callumhopkinsdev

Description

@callumhopkinsdev

Currently using the DRM backend you can only select a single card via FLUTTER_DRM_DEVICE. However, on the Raspberry Pi 4 the vc4 driver can randomly select either /dev/dri/card0 or /dev/dri/card1 at boot time.

Most other DRM based applications iterate through all of the devices in the /dev/dri/ directory and attempt to open each one until they are successful.

It would be great if either the FLUTTER_DRM_DEVICE variable allowed for a comma seperated list of devices to attempt to open, or if by default the DRM backend would attempt to open every device until one is successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions