Did I understand it right that you installed the driver manually? It’s generally better to use the Fedora Nvidia driver package (sudo dnf install akmod-nvidia), than to download from Nvidia’s website. I’m on Fedora 40 too, and currently using the 560.35.03 version of the driver on a 2080, which upgraded from 555 recently - I wonder if that’s what broke compatibility with your version of the driver. It may be that you need to update. Only thing I’m not sure of is how this will interact with manually-installed drivers…
I’ve wanted this for a while; when I’m done with my computer, I don’t mind it staying on a bit longer to do this, rather than when I next turn it on when I (presumably) want to do something. Great add!
In defense of this warning, when I first put my application on Flathub, I had it because of how file i/o worked (didn’t support XDG portals, so needed home folder access to save properly). It did actually motivate me to get things working with portals to not request the extra permissions and get the green “safe” marker.
A lot of apps will always be “unsafe” because they do things that requires hardware access, though, so I could see them wanting something more nuanced.
congratulations, LA residents! Your bodies have been donated to a corporation for beta testing!