System-wide DRI_PRIME environment variable for all Flatpaks - is there a solution?
Flathub Discourse [Unofficial]
March 15, 2026
You may set flatpak override --user --env=DRI_PRIME=0 and it will work for all apps.
Discussion in the ATmosphere