You are not logged in.

#1 2023-12-16 04:38:51

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Blender completely hangs on RX 6600 [SOLVED]

Hello I am having trouble with getting Blender working on my PowerColor Fighter RX 6600. I have debugged it and Blender hangs when trying to use hip in the settings of blender. I am at a completely loss. no idea what to do and I'm pulling hair out at this point any help would be appreciated 
hw-probe: https://linux-hardware.org/?probe=fee42ea005
gdb output: https://pastebin.com/MitGqppv
blender log: https://pastebin.com/LeDprcfP

Last edited by Ozzy_Helix_ (2024-02-02 19:40:18)

Offline

#2 2023-12-16 10:47:38

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Blender completely hangs on RX 6600 [SOLVED]

Is the hip-runtime-amd package installed?

What does this say

/opt/rocm/bin/rocminfo

Jin, Jîyan, Azadî

Offline

#3 2023-12-16 23:24:38

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

hip-runtime-amd is installed and this is the output of /opt/rocm/bin/rocminfo
https://pastebin.com/iLT7BBhs

Offline

#4 2023-12-17 10:13:53

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Blender completely hangs on RX 6600 [SOLVED]

Looks like you'll need the AMDGPU-PRO driver for this. The interface reports that driver "version 22.10 or newer" is needed, which refers to the blobs. Shame. I'm very disappointed about this myself because I've just bought a laptop with a discrete card and I'm very fond of path tracing.

I'm going to see if I can get Mitsuba or PBRT working on the GPU when I have the time. Perhaps try those instead?

https://aur.archlinux.org/packages?O=0&K=mitsuba

https://aur.archlinux.org/packages?O=0& … &submit=Go


Jin, Jîyan, Azadî

Offline

#5 2023-12-19 00:21:16

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

after installing AMDGPU PRO drivers from the instructions on the wiki the system hangs when trying to enable hip on blender
https://wiki.archlinux.org/title/AMDGPU_PRO

Offline

#6 2023-12-19 00:22:22

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

when I say it hangs mouse and keyboard input stop and the screen appears to freeze

Offline

#7 2023-12-19 00:43:36

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

from the testing I just did blender hangs when hip is enabled in the settings but it is random if it takes the system down with it sometimes blender will crash without taking the system down but will cause other apps like latte dock and the kde desktop to become unresponsive to the point I have to force restart the machine

Offline

#8 2023-12-19 08:03:00

apaz
Member
Registered: 2018-07-23
Posts: 130

Re: Blender completely hangs on RX 6600 [SOLVED]

The amdgpu-pro components useful for Blender and other programs are already in ROCm, there should be no need to install them. I have convinced myself that the problem is an incompatibility between the 6.6 kernel and ROCm 5.7, but I don't have the expertise to find it. Try putting in the LTS kernel, it should work.

Offline

#9 2023-12-20 15:38:28

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I rebooted into the LTS kernel but now blender can't find a hip device it doesn't crash on the LTS kernel but it can't find the hip device either

https://i.imgur.com/s3Y1M6T.png

Offline

#10 2023-12-20 18:56:49

Luciddream
Member
From: Greece
Registered: 2014-12-08
Posts: 72

Re: Blender completely hangs on RX 6600 [SOLVED]

apaz wrote:

The amdgpu-pro components useful for Blender and other programs are already in ROCm, there should be no need to install them. I have convinced myself that the problem is an incompatibility between the 6.6 kernel and ROCm 5.7, but I don't have the expertise to find it. Try putting in the LTS kernel, it should work.

It is, it seems like there is an issue since October about it.

Last edited by Luciddream (2023-12-20 18:57:55)

Offline

#11 2023-12-20 19:12:53

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I will try using downgrade to downgrade the linux-zen and linux-zen-headers to 6.1.12 to see if that fixes the issue I doubt it tho

Offline

#12 2023-12-20 20:10:05

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

ok when I downgrade the kernel to before 6.6.7 it can't even detect there is a hip device there

Offline

#13 2023-12-20 20:11:34

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

its the same result as running the LTS 6.1 kernel

Offline

#14 2023-12-20 20:12:25

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I am trying other kernels but I feel it will likely be the same result either nothing or a crash

Offline

#15 2023-12-20 20:30:46

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I've discovered going back to any version of 6.5 gets me further along but it still crashes it now displays Hip info in blender before terminating/crashing

https://i.imgur.com/AmLqVrB.png

Offline

#16 2023-12-20 20:56:08

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I ended up making a comment on this issue on gitlab I guess I'm just hoping this is fixed in 6.7

https://gitlab.freedesktop.org/drm/amd/-/issues/2991

Offline

#17 2024-01-01 23:54:27

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I looked into it and this describes my issue perfectly
https://lists.freedesktop.org/archives/ … 00298.html

Offline

#18 2024-01-03 14:06:27

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I downloaded the source code for the Zen Kernel version 6.6.8 and compiled it but I patched

drivers/gpu/drm/amd/amdkfd/kfd_flat_memory.c

it seems a commit was made to the kernel between 6.5 and 6.6 that made Linux lock up when running blender due to an incompatiblity between rocm and amdgpu this gitlab thread talks about it and provides changes to the kernel that fix the issue it's just bisecting a commit in particular 

96c211f1f9ef82183493f4ceed4e347b52849149

https://gitlab.freedesktop.org/drm/amd/-/issues/2991

Offline

#19 2024-02-02 18:10:35

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

the issue appears to be resolved in Linux 6.7.2 but idk if the issue will reappear in the future.
I use the Zen kernel but its fixed in that

Last edited by Ozzy_Helix_ (2024-02-02 18:11:09)

Offline

#20 2024-02-02 19:42:59

Ozzy_Helix_
Member
Registered: 2023-11-26
Posts: 74

Re: Blender completely hangs on RX 6600 [SOLVED]

I've requested that this thread be archived but I get the feeling this issue will reappear in the future I worry this kernel bug will rear its ugly head again at some point in the future

Offline

Board footer

Powered by FluxBB