35
submitted 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]

SOLUTION:

I was missing this package sudo dnf install rocm-hip-devel as per instructions here: https://fedoraproject.org/wiki/SIGs/HC


Hi, I'm trying to get GPU acceleration on AMD to work in Blender 4.1 but I can't seem to be able to. From what I've seen it should be working with ROCm just fine but I had no luck with it.

I'm using Fedora 40 GNOME with Wayland and my GPU is RX 6800 XT.

System is up to date. I've also installed all these packages:

sudo dnf install rocminfo

sudo dnf install rocm-opencl

sudo dnf install rocm-clinfo

sudo dnf install rocm-hip

and restarted system after.

rocminfo gives me this

rocm-clinfo gives me this

___``___

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 2 months ago* (last edited 2 months ago)

I'm quite certain it's supposed to be working with 6000 series and up... I've even seen people run it on 5000 series RDNA cards in Blender like 1.5y ago on Fedora 37.

edit:

https://www.phoronix.com/review/blender-32-gpus

Officially, Blender 3.2 works with RDNA2 and RDNA(1) graphics cards on Linux with HIP. I was able to test all of my available Radeon RX 6000 (RDNA2) graphics cards with Blender 3.2, yeah! But with all my RDNA1 tested graphics cards they all yielded Blender 3.2 having a segmentation fault.

[-] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I'm presently having issues with 40 and old Stable Diffusion/ComfyUI related to torch and stuck in a dependency loop. Almost defiantly unrelated.

When I was looking into AMD a year ago or so, the 7k thing was in a conference somewhere on YT. It had to do with some kinds of conflicts or something like that in how 7k versus the older stuff was designed and how CUDA is set up. I really don't recall the details well. I was about to pull the trigger on a 6k setup, and after seeing that info I went the other direction.

I was researching the CPU scheduler at the time and I may be blurring this and the GPU stuff together when I say: I think it was the open source team that was talking about this in a Linux Plummers conference, it might have been about the enterprise GPU stuff and about HIPS or something like that. Sorry I'm fuzzy on it.

Edit: I was always only looking for the AI side, so the back end/kernel/API was all I cared about.

[-] [email protected] 4 points 2 months ago* (last edited 2 months ago)

I just got it to work, I'll update the original post with solution.

edit:

now I need to figure out if I can this up and running https://github.com/vosen/ZLUDA as it seems quite a bit interesting for both of our use cases though I'm fine with ROCm for the meantime, got 3x faster render speed vs just using my CPU

[-] [email protected] 3 points 2 months ago

Awesome, glad you got it working. ZLUDA indeed was the project I had seen info about and was doing the back porting.

this post was submitted on 16 May 2024
35 points (97.3% liked)

Linux

45773 readers
886 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS