You are not logged in.

#26 2024-02-10 23:16:34

Cellstije
Member
Registered: 2019-10-02
Posts: 8

Re: Unable to use gpu on blender

Hi,

Could ppl still with issue with rocm 6 + Blender ( or darktable, davinci resolve, pytorch, etc) please report/open a bug report?

I opened a bug report, but it seems that my effort was tagged as a 'waste of time', as I have blocked the upgrade from rocm 5.6 to 6.0 due to my requirement to have a working pytorch on my system
(although upstream blender 4.0.2 from blender.org works fine with the 'old' version of rocm 5.6.1 from arch repos)

https://gitlab.archlinux.org/archlinux/ … ote_162107

I believe it is important to flag what it is not working correctly

Thanks

Offline

#27 2024-03-20 17:08:04

rdiew
Member
Registered: 2024-03-20
Posts: 1

Re: Unable to use gpu on blender

I can confirm that problem comes not from ROCm, but from an arch package of Blender itself. Downloading a .tar from official blender website solved my issue with crushing when using HIP to render cycles with GPU. My ROGm is at version 6.0.0-1, didn't yet tried with a early build of 6.0.2-1. My GPU is 6600xt. ROCm documentation is a bit confusing, because it doesn't mention support for any RDNA 2 GPU at the time of posting this, but it's clearly works for me without any issue as of yet.

Offline

#28 2024-03-20 20:39:47

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 275
Website

Re: Unable to use gpu on blender

Nice! A lead!
and blender
Too bad I can't reproduce: My iGPU (680M/RDNA2) still freezes once I move the viewport in render mode, and with my eGPU (7800xt/RDNA3) blender says "loading render kernels" and somewhen freezes (this is with rocm 6.0/6.0.2 and blender 4.0/4.0.2).

I downloaded the ABS files for blender, it contains a blender-rocm-6 patch. Sounds like a potential culprit.
This patch should enable rocm 6 while retaining backwards compatability for rocm 5.
Could you try compiling without the patch? I'd do it for you if I had the time.

-jl2

Last edited by jl2 (2024-03-21 11:38:38)


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#29 2024-03-21 17:27:54

Cellstije
Member
Registered: 2019-10-02
Posts: 8

Re: Unable to use gpu on blender

This is an issue with ROCM since 5.7 in Arch repos

Steam Blender (v4.0.2)) worked fine with ROCM 5.6 from Arch repos
Updated ROCM to 6.0.2 and Blender from both Arch and Steam segfault.

See:
https://gitlab.archlinux.org/archlinux/ … /issues/12
https://gitlab.archlinux.org/archlinux/ … -/issues/6

EDIT: on rx6800 a number of applications segfault wtih ROCM > 5.6, including pytorch-rocm.
python code implementing neural networks that worked in ROCM 5.6 does not (seg fault) with ROCM 5.7 and 6.0.2 from arch repos

Last edited by Cellstije (2024-03-21 17:33:10)

Offline

#30 2024-04-05 05:29:57

glenjo
Member
From: Pacific NW
Registered: 2020-06-09
Posts: 38

Re: Unable to use gpu on blender

Finally have HIP working on blender:
kernel 6.8.4-AMD-znver3
blender 17:4.1.0-3
hip-runtime-amd 6.0.2-2

This is with a RX 7600.

Offline

#31 2024-04-05 07:24:07

Cellstije
Member
Registered: 2019-10-02
Posts: 8

Re: Unable to use gpu on blender

glenjo wrote:

Finally have HIP working on blender:
kernel 6.8.4-AMD-znver3
blender 17:4.1.0-3
hip-runtime-amd 6.0.2-2

This is with a RX 7600.


Yes, the issue was solved lately (in both ROM 6.0.2 and Blender 4.1):

https://gitlab.archlinux.org/archlinux/ … /issues/13

Last edited by Cellstije (2024-04-05 07:31:15)

Offline

Board footer

Powered by FluxBB