GPU acceleration support for Flatpak is finally coming to Fedora Asahi Remix! Try it out today:

sudo dnf copr enable @asahi/flatpak
sudo dnf install mesa-asahi-23.08-flatpak mesa-asahi-22.08-flatpak

Then launch any Flatpak from Flathub that uses the GPU.

(Note: supported on the FDO 22.08 and 23.08 runtimes only, which covers the vast majority of Flatpaks on Flathub. Flatpaks on the Fedora flatpak repo are not yet supported, as the special Fedora runtime has an incorrect extension config we can't use as-is, and would need separate Mesa builds once that is resolved.)

Fedora Flatpak Runtime GL extension config is missing versions, makes it unusable for non-Nvidia drivers (#31) · Issues · fedora / Special Interest Groups (SIGs) / Fedora Flatpak SIG / Fedora Flatpaks · GitLab

For Fedora Asahi Remix we are now shipping a host Flatpak GL extension for the Freedesktop runtime with our pre-release downstream Mesa drivers, to make Flatpaks work...

GitLab

@AsahiLinux in the next few days we will roll this out as a platform specific dependency of flatpak so it’s installed automatically when needed.

Other distros should be able to re-use the flatpak extension from the fedora RPMs with they don’t want to replicate the complex build process.