Blender Crash with AMDGPU & Cycles (ROCM 6.0.2)
Description:
Blender 4.0.2-21 crashes when using HIP Cycles (rx 6800, rocm 6.0.2)
Same issue with Steam version of Blender (v4.02)
Steam version of Blender (v4.0.2) did not crash with RCOM 5.6.0 -- see issue:
Additional info:
tested with 'classroom' blender sample file from:
https://download.blender.org/demo/test/classroom.zip
gdb trace:
Memory access fault by GPU node-1 (Agent handle: 0x7fff3d48ca00) on address 0x7ffcf3791000. Reason: Page not present or supervisor privilege.
Thread 101 "blender" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff2b400000 (LWP 5461)]
__pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007fffe40ab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007fffe405a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007fffe40424b8 in __GI_abort () at abort.c:79
#4 0x00007fff37818514 in rocr::core::Runtime::VMFaultHandler (val=<optimized out>, arg=<optimized out>)
at /usr/src/debug/hsa-rocr/ROCR-Runtime-rocm-6.0.0/src/core/runtime/runtime.cpp:1429
#5 0x00007fff37874642 in rocr::core::Runtime::AsyncEventsLoop () at /usr/include/c++/13.2.1/bits/stl_vector.h:1125
#6 0x00007fff3781ca6c in rocr::os::ThreadTrampoline (arg=<optimized out>)
at /usr/src/debug/hsa-rocr/ROCR-Runtime-rocm-6.0.0/src/core/util/lnx/os_linux.cpp:80
#7 0x00007fffe40a955a in start_thread (arg=<optimized out>) at pthread_create.c:447
#8 0x00007fffe4126a3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
(gdb)
- package version(s):
all packages updated as 21 March 2024 Using kennel-zen
- config and/or log files:
- link to upstream bug report, if any:
Steps to reproduce:
- open classroom.blend file
- go to 'Render' Panel
- set Render Engine to Cycles
- render (hit F12)
@toolybird ROCM 6.0.2 has also broken pytorch-rocm -- who is wasting people time? see issue: #6 (closed)
Edited by cellstije