Machine learning works on my Mac Book Pro:
CPU: 6 cores 2.2 GHz Intel Core i7
GPU: Radeon Pro 555x
OSX: 10.14.5
But not working on my iMac Pro:
CPU: 8 cores 3.2 GHz Intel Xeon W
GPU: Radeon Vega 64 (16gb HBM2 memory)
OSX: Open Beta Catalina
On iMac pro I do render CPU + GPU or only GPU, it renders okay then when applies Denoiser whole image is broken, just random colorful noise shown.
Open Beta Catalina 10.15 Beta (19A526h)
Anything regarding this?
I see this issue as well. We are investigating.
Now its just crashes after I switch scene to rendered view…
Blender 2.81a
MacOS 10.15.1 (19B88)
I feel like I'm the only idiot who still tries it over and over …
Denys. There are plenty of uses on macOS without this issue so don't feel like you're the only one!
We need more information to help you though. Please read this: https://community.amd.com/docs/DOC-2022
Just saying "I get a crash" doesn't really help. Is there an error? Can you attach a scene?
I can confirm that machine learning denoiser crash Blender 2.81a under mac os 10.15.2 with RX5700 XT
Thanks! As I said before we see it as well and are investigating.
The above crash reported on the viewport is different. Need more info there.
All info is provided.
You have hardware in the topic and software as well. Let me copy paste it …
on my iMac Pro:
CPU: 8 cores 3.2 GHz Intel Xeon W
GPU: Radeon Vega 64 (16gb HBM2 memory)
Now its just crashes after I switch scene to rendered view…
Blender 2.81a
MacOS 10.15.1 (19B88)
There is no scene file, just open blender and switch to rendered view …
Which device(s) are you selecting for viewport rendering?
What version of the RPR plugin do you have?
Are you enabling denoiser for viewport rendering?
Another way to get more info that would help is to launch Blender from the terminal: Usually run /Applications/Blender.app/Contents/MacOS/blender and copy the error message here.
For me:
Blender 2.81a, RPR 2.1.1
There are no viewport denoiser.
Mac OS 10.15.2 with RX 5700 XT (metal).
Scene .blend file from this post: Overall Pro Render Performance under Mac OS (a lot of tests)
some moments from crash report:
...
Crashed Thread: 24
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000042
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1989]
VM Regions Near 0x42:
-->
__TEXT 000000010132f000-0000000109050000 [125.1M] r-x/rwx SM=COW /Applications/Blender/Blender.app/Contents/MacOS/Blender
...
Thread 22:
0 libsystem_pthread.dylib 0x00007fff6bfbd818 start_wqthread + 0
Thread 23:
0 libsystem_pthread.dylib 0x00007fff6bfbd818 start_wqthread + 0
Thread 24 Crashed:
0 org.blenderfoundation.blender 0x0000000102b71277 std::__1::__tree_node_base<void*>*& std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, oidn::Tensor>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, oidn::Tensor>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, oidn::Tensor> > >::__find_equal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::__tree_end_node<std::__1::__tree_node_base<void*>*>*&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 87
1 org.blenderfoundation.blender 0x0000000102b44bf7 oidn::Network<8>::getConvDims(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<long long, std::__1::allocator<long long> > const&) + 71
2 libOpenImageDenoise.dylib 0x00000001718d6b14 std::__1::shared_ptr<oidn::Executable> oidn::AutoencoderFilter::buildNet<8>() + 644
3 libOpenImageDenoise.dylib 0x00000001718cef57 tbb::interface7::internal::delegated_function<oidn::AutoencoderFilter::commit()::$_0 const, void>::operator()() const + 39
4 libOpenImageDenoise.dylib 0x0000000171ad2b0f tbb::interface7::internal::task_arena_base::internal_execute(tbb::interface7::internal::delegate_base&) const + 783
5 libOpenImageDenoise.dylib 0x00000001718ce946 oidn::AutoencoderFilter::commit() + 86
6 libOpenImageDenoise.dylib 0x00000001718b7214 oidnCommitFilter + 52
7 libRadeonImageFilters64.dylib 0x000000011b3eb476 rif::ai::OIDNFilterPass::Enqueue(Math::Rect&, bool, float*) + 2054
8 libRadeonImageFilters64.dylib 0x000000011b3f1331 rif::Filter::Enqueue(Math::Rect&, float*) + 689
9 libRadeonImageFilters64.dylib 0x000000011b451440 rif::Queue::EnqueueFilters(float*) + 64
10 libRadeonImageFilters64.dylib 0x000000011b46d4fe rifContextExecuteCommandQueue + 2622
11 libffi.dylib 0x00007fff699a3915 ffi_call_unix64 + 85
12 libffi.dylib 0x00007fff699a3255 ffi_call_int + 699
13 _cffi_backend.cpython-37m-darwin.so 0x000000011b67cefd cdata_call + 573
14 org.blenderfoundation.blender 0x0000000101b765e1 _PyObject_FastCallKeywords + 577
15 org.blenderfoundation.blender 0x0000000101c4d075 call_function + 789
16 org.blenderfoundation.blender 0x0000000101c49bd3 _PyEval_EvalFrameDefault + 29155
17 org.blenderfoundation.blender 0x0000000101b76cbd function_code_fastcall + 253
18 org.blenderfoundation.blender 0x0000000101c49eef _PyEval_EvalFrameDefault + 29951
19 org.blenderfoundation.blender 0x0000000101c4dde5 _PyEval_EvalCodeWithName + 2981
20 org.blenderfoundation.blender 0x0000000101b76786 _PyFunction_FastCallKeywords + 230
21 org.blenderfoundation.blender 0x0000000101c4d089 call_function + 809
22 org.blenderfoundation.blender 0x0000000101c49c7e _PyEval_EvalFrameDefault + 29326
23 org.blenderfoundation.blender 0x0000000101b76cbd function_code_fastcall + 253
24 org.blenderfoundation.blender 0x0000000101c4d089 call_function + 809
25 org.blenderfoundation.blender 0x0000000101c49bb3 _PyEval_EvalFrameDefault + 29123
26 org.blenderfoundation.blender 0x0000000101b76cbd function_code_fastcall + 253
27 org.blenderfoundation.blender 0x0000000101c4d089 call_function + 809
28 org.blenderfoundation.blender 0x0000000101c49bb3 _PyEval_EvalFrameDefault + 29123
29 org.blenderfoundation.blender 0x0000000101b76cbd function_code_fastcall + 253
30 org.blenderfoundation.blender 0x0000000101c4d089 call_function + 809
31 org.blenderfoundation.blender 0x0000000101c49bb3 _PyEval_EvalFrameDefault + 29123
32 org.blenderfoundation.blender 0x0000000101b76cbd function_code_fastcall + 253
33 org.blenderfoundation.blender 0x0000000101c4d089 call_function + 809
34 org.blenderfoundation.blender 0x0000000101c49bb3 _PyEval_EvalFrameDefault + 29123
35 org.blenderfoundation.blender 0x0000000101b76cbd function_code_fastcall + 253
36 org.blenderfoundation.blender 0x00000001017e9f11 bpy_class_call + 961
37 org.blenderfoundation.blender 0x00000001019093c1 engine_render + 113
38 org.blenderfoundation.blender 0x00000001017f3406 RE_engine_render + 1110
39 org.blenderfoundation.blender 0x00000001017fdc9a do_render_all_options + 378
40 org.blenderfoundation.blender 0x00000001017fd786 RE_RenderFrame + 406
41 org.blenderfoundation.blender 0x00000001071b5807 render_startjob + 119
42 org.blenderfoundation.blender 0x000000010199c1e7 do_job_thread + 39
43 libsystem_pthread.dylib 0x00007fff6bfc1e65 _pthread_start + 148
44 libsystem_pthread.dylib 0x00007fff6bfbd83b thread_start + 15
Thread 25:
0 libsystem_pthread.dylib 0x00007fff6bfbd818 start_wqthread + 0
Thread 26:
0 libsystem_pthread.dylib 0x00007fff6bfbd818 start_wqthread + 0
...
Thread 24 crashed with X86 Thread State (64-bit):
rax: 0x0000700008d1c080 rbx: 0x0000700008d1c080 rcx: 0x0000000000000007 rdx: 0x0000700008d1c081
rdi: 0x00007fd2b01c3668 rsi: 0x0000700008d1c070 rbp: 0x0000700008d1c010 rsp: 0x0000700008d1bfc0
r8: 0x0000000000000002 r9: 0x0000000000000018 r10: 0x0000700008d1c080 r11: 0x00006ffefff8bf34
r12: 0x00007fd2b01c3660 r13: 0x0000700008d1c380 r14: 0x0000000000000022 r15: 0x00007fd2b01c3618
rip: 0x0000000102b71277 rfl: 0x0000000000010206 cr2: 0x0000000000000042
Logical CPU: 0
Error Code: 0x00000004 (no mapping for user data write)
Trap Number: 14
BTW, I couldn't render with CPU + GPU under RPR 2.1.1
When I check not just GPU, but also CPU, RPR crash my Blender.
-----------
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: Blender [2014]
Application Specific Information:
dyld: in dladdr()
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6bf00bba __semwait_signal + 10
1 libsystem_c.dylib 0x00007fff6be840fa nanosleep + 196
2 libsystem_c.dylib 0x00007fff6be83ff4 usleep + 53
3 org.blenderfoundation.blender 0x00000001092c9238 WM_main + 24
4 org.blenderfoundation.blender 0x0000000108dbe34f main + 927
5 libdyld.dylib 0x00007fff6bdbd7fd start + 1
...
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000004 rbx: 0x0000000000000000 rcx: 0x00007ffee6f8caa8 rdx: 0x0000000000000001
rdi: 0x0000000000001403 rsi: 0x0000000000000000 rbp: 0x00007ffee6f8cae0 rsp: 0x00007ffee6f8caa8
r8: 0x0000000000000000 r9: 0x00000000004c4b40 r10: 0x0000000000000001 r11: 0x0000000000000246
r12: 0x0000600003540ac8 r13: 0x0000000000000001 r14: 0x0000000000000000 r15: 0x00007ffee6f8caf0
rip: 0x00007fff6bf00bba rfl: 0x0000000000000247 cr2: 0x0000000123e30000
Logical CPU: 0
Error Code: 0x0200014e
Trap Number: 133
Hey! As we mentioned https://community.amd.com/community/radeon-pro-graphics/blog/2019/12/18/a-year-of-radeon-prorender-e... We'll have an updated Blender plugin in the next few days. We'll have a solution here for this on macOS.
https://www.amd.com/en/support/kb/release-notes/rn-prorender-blender-v2-2-blender-2-80-2-81 . Please checkout the changes we made here to use the default blender denoiser.