access to all device is granted already, so there is no need in granting access to dri devices.
command to build: flatpak-builder --force-clean --user --install-deps-from=flathub --repo=repo --install builddir flatpak/me.gapixels.Megapixels.yml