https://bugzilla.redhat.com/show_bug.cgi?id=2249261
Bug ID: 2249261 Summary: Blender + HIP + mesa crashing on Radeon RX 6650 (RDNA2) Product: Fedora Version: 39 Hardware: x86_64 OS: Linux Status: NEW Component: blender Keywords: Desktop Severity: medium Assignee: luya_tfz@thefinalzone.net Reporter: lucas.kurdziel@gmail.com QA Contact: extras-qa@fedoraproject.org CC: code@musicinmybrain.net, design-devel@lists.fedoraproject.org, epel-packagers-sig@lists.fedoraproject.org, kwizart@gmail.com, luya_tfz@thefinalzone.net, negativo17@gmail.com Target Milestone: --- Classification: Fedora
Hello,
I've been trying to run Blender rendering on GPU. I tried couple of weeks ago on Fedora 38 and today after fresh upgrade to Fedora 39. I've installed Blender from repositories. After intalling `rocm-hip` package the GPU becomes listed as available in Blender GPU rendering properties. It. Crashes. Every. Single. Time.
Now, the interesting part is: If I run Blender via `distrobox` (installed in an Arch Linux container) it all works beautifully! Here's the link to a hack/workaround: https://www.reddit.com/r/Fedora/comments/11qh9j3/getting_bender_hip_to_work/
Is `rocm-hip` in Fedora not the equivalent of `hip-runtime-amd` from Arch? Is there a way of getting GPU rendering in Blender on Fedora with Mesa drivers and HIP? Because as proved - it does work on this hardware + mesa + blender
Blender from F39 repo: 3.6.4 Blender in Arch container: 3.6.5
I've tried also installing Blender 3.6.5 from Rawhide but same exact thing happens - Blender crashing
Reproducible: Always
Steps to Reproduce: 1. dnf install blender rocm-hip 2. Open up Blender, go to Edit -> Preferences -> System -> Cycles rendering devices -> HIP, Radeon RDNA2 GPU ticked 3. Close it. Go to Render properties on the right bottom pane, select Render engine: Cycles, Feature set: Supported, Device: GPU Compute, press F12 4. Press F12 and Blender will crash right away. If you're unlucky it'll crash at step 2 Actual Results: Blender crash
Expected Results: Blender doesn't crash
https://bugzilla.redhat.com/show_bug.cgi?id=2249261
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value
--- Comment #1 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Hello Luke, Yes currently, rocm-hip is the equivalent of hip-runtime-amd used on Blender. The issue is reported on both upstream blender (https://projects.blender.org/blender/blender/issues/109431) and rocclr (#2216594).
https://bugzilla.redhat.com/show_bug.cgi?id=2249261
--- Comment #2 from Luke lucas.kurdziel@gmail.com --- How can it be the upstream issue if the same software on the same hardware works on *different distribution*? Not even that, it's a container running on Fedora so in both cases it's the same kernel. All that's "different" is the Blender build and hip runtime. Have you identified the problem and are sure it's not a packaging/compiling problem?
https://bugzilla.redhat.com/show_bug.cgi?id=2249261
--- Comment #3 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- (In reply to Luke from comment #2)
How can it be the upstream issue if the same software on the same hardware works on *different distribution*? Not even that, it's a container running on Fedora so in both cases it's the same kernel. All that's "different" is the Blender build and hip runtime. Have you identified the problem and are sure it's not a packaging/compiling problem?
Not exactly working on different distribution as highlighted on https://projects.blender.org/blender/blender/issues/100353. Additionally, Fedora build system has enabled security features. The problem is mainly HIP related hence the report to rocclr. More test needed to debug the root cause.
https://bugzilla.redhat.com/show_bug.cgi?id=2249261
James jjadigo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jjadigo@gmail.com
--- Comment #4 from James jjadigo@gmail.com --- I am having the same problem with F39
Name: gfx1031 Uuid: GPU-XX Marketing Name: AMD Radeon RX 6700 XT Vendor Name: AMD Feature: KERNEL_DISPATCH Profile: BASE_PROFILE Float Round Mode: NEAR Max Queue Number: 128(0x80) Queue Min Size: 64(0x40) Queue Max Size: 131072(0x20000) Queue Type: MULTI Node: 2 Device Type: GPU
kernel: 6.6.2-201.fc39.x86_64
The system crashed when it tried to render cycles with the GPU.
https://bugzilla.redhat.com/show_bug.cgi?id=2249261
--- Comment #5 from Luke lucas.kurdziel@gmail.com --- I know this is an old bug and F38 (and F39) is EOL but I wanted to give update for posterity:
Blender GPU rendering on Fedora 40 with ROCm stack on AMD RX 6650 works beautifully now! Thank you everyone.
https://bugzilla.redhat.com/show_bug.cgi?id=2249261
Luya Tshimbalanga luya_tfz@thefinalzone.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WORKSFORME Last Closed| |2024-07-19 00:21:31
--- Comment #6 from Luya Tshimbalanga luya_tfz@thefinalzone.net --- Glad to read the issue got resolved. Let's close it for now.
epel-packagers-sig@lists.fedoraproject.org