Nvidia GPU not Detected on Fedora Flatpaks (Blender issues)

what i am missing since Blender from Fedora flatpak it wont detect my Nvidia GPU? Blender version 4.1, but Blender from Flathub Detects my Nvidia GPU version 4.1.1 something difrent on Fedora flatpaks than flathubs

Same happends on Fedora flatpak Darktable and this is also no OpenCL enabled, but on flathub flatpaks all works

Are Fedora Flatpaks even allowed to ship the proprietary NVIDIA drivers? I wouldn’t imagine they’re allowed to given the Fedora Project’s stance on free software. I don’t think Fedora Flatpaks ship userspace drivers for Nouveau, either; that’s handled through Mesa which is installed on Silverblue by default.

Flathub ships userspace drivers instead of relying on system Mesa. They might be compiled differently to the Mesa shipped with Silverblue.

Flathub also ships proprietary userspace graphics drivers, and while I have no idea how the detection logic works, the proprietary userspace drivers for NVIDIA are only designed to work with NVIDIA’s kernel modules (open or proprietary). So you would need to have installed the proprietary NVIDIA drivers through RPM Fusion, I think…

That does beg the question, what happens to Fedora Flatpaks when you install the NVIDIA kernel module and blacklist Nouveau (does Fedora do that?)?

Sorry, probably not much help. I’m curious too, now.

Nvidia drivers are installed and signed as should and Nvidia optimus is working as should so question is if Fedora cant ship default all that is needed to run these on flatpaks why those are default installation order then? this will give more forum posts on issues when users just click and install and no GPU detected or NO OpenCL available on flatpaks apps by default and needs to have Flathub tweaks and try what we are missing.

on this i went to back to Silverblue and wanted to setup atomic container based Daily Workflow/Dev/Photo/Video edit and it seems that only using Flathub flatpaks is the way so there should take away Fedora flatpaks, but then we loose the app code checks that those are safe and we basically trust what flathub flatpaks offers so on privacy and apps i would prefer straight working flatpaks from Fedora

I don’t really know. I personally ignore Fedora Flatpaks except for the base apps already installed from that repository. They tend to cause issues like this because they sometimes intentionally don’t include features the application developers expect them to.

I would recommend installing applications from Flathub that are Verified. This means they are maintained by the original application developer (or someone they trust). You can always configure permissions yourself after install and before launching with Flatseal, but I tend to trust the developer.

I avoid applications on Flathub that are Unverified.

Fedora Flatpaks also tend to be out of date and might have issues not present in the Flathub package because they’re based on the RPM packages. The application developer likely knows how to build their own application better than anyone else, and what type of environment it expects.

so lets talk about using only trusted providers well then i cant use Blender Darktable, inkscape since those apps are not Verified on Flathub again…

That is an absolutely valid use case for Fedora Flatpaks. They sound like the right way to use these programs as they aren’t Verified on Flathub.

Now the question is, why doesn’t OpenCL work on them…? I had some theories but I don’t know specifically. So, I’ll go back to lurking while I wait for someone knowledgeable to answer…

there is also when i put settings to use and show only Verified fedora Flatpaks are not available too and shows only Flathub verified

1 Like

That’s an issue with GNOME Software. I don’t think Fedora Flatpaks have a concept of “Verified”, but Fedora should either patch GNOME Software or edit the metadata for Fedora Flatpaks such that they display even when “Show only Verified” is enabled in GNOME Software.

I suspect it has nothing to do with the nvidia GPU or driver, but rather the differences in the codecs available. Blender from flathub is able to include all codecs required. Blender from a fedora site has many codecs that cannot be included.

If the nvidia gpu is active and the nvidia drivers are in use that can be verified with lsmod | grep nvidia and inxi -Gxx which both would show the nvidia drivers.

Graphics apps will use the capabilities of the installed and active GPU but cannot fully function when they do not have the required codecs available.

Added blender

This is actually a different issue, as both Flatpak (Fedora/Flathub) versions do not work with certain Hardware configurations.Darktable is best used as a .rpm

I use all 3 of those and can confirm, those applications are made from the builds on their official website. Why they have not been confirmed is a different issue. Also, you can inspect the Manifest on them to be sure. (as I have. . .) “bot, build” :+1:t5:

Flathub has OpenCL enabled by default and everything works as should and Fedora flatpak dosent provide OpenCL even same versions, but yes different issue, but related to topic and in Silverblue options are flatpaks or toolbox for rpm most gows for simplicity and choose Flatpak and first option is always Fedora repo

Same settings different flatpak provider different results. Nvidia is working as should tested multiple times it is just codec issue then by packaging and that will make fedora flatpaks not so useful for Nvidia users so basically just disabling that repo and using Flathub as default would be good solution