flathub / org.blender.Blender

https://flathub.org/apps/details/org.blender.Blender
17 stars 26 forks source link

Blender 4.1.1 flatpak + Fedora 40 + KDE + AMD GPU = software crashes #179

Open SJHooks opened 2 months ago

SJHooks commented 2 months ago

I am running Fedora 40 in the Plasma 6.0.4 environment. I recently switched from an NVidia GPU (Geforce 1660 super, with RPM fusion drivers) to an AMD GPU (AMD Radeon RX 6700 XT, having installed HIP and OpenCL).

With either setup (NVidia or AMD), the official Blender Linux build currently launches fine and recognizes the GPU. With the NVIDIA setup, the Blender Flatpak also ran fine. However, ever since switching to AMD, the Blender Flatpak crashes on almost every attempt to boot (blender killed by SIGABRT). There are a few instances in which I can launch the Flatpak without crashing, but in each instance the GPU is not recognized:

It's odd, as the official Blender app and other Flatpaks (including Steam) have no issue launching or recognizing the GPU; only the Blender Flatpak, in my use case. This issue has persisted for at least a few months for me, unresolved by recent updates in Fedora, Plasma, or the Blender Flatpak.

Apologies if this post isn't descriptive enough - I'm rather new to filing bugs and troubleshooting.

kevinsmia1939 commented 2 months ago

Run this command to start Blender in the terminal. Copy what it show.

flatpak run org.blender.Blender

SJHooks commented 1 month ago

On running, all that pops up is:

Read prefs: "/home/user/.var/app/org.blender.Blender/config/blender/4.1/config/userpref.blend

On quitting, all that comes up is:

Saved session recovery to "/tmp/quit.blend"

Blender quit

Blender Flatpak launches properly, but does not recognize the GPU.

kevinsmia1939 commented 1 month ago

It is a well known issue that AMD is currently not support on Blender Flatpak. https://github.com/flathub/org.blender.Blender/issues/121

Until someone step up, nothing will change.

Edit: Look like addition of more GPU support was add to Freedesktop 24.08 mile stone. https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1535