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
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).
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?
(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.
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.
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.
Glad to read the issue got resolved. Let's close it for now.