Open the file, then press shift-z to render using pro render. Then change the max displacement value to for example "20". dies every time for me.
This is repeatable. But, the plugins crashes semi-randomly in regular usage as well and is harder to report. 1.7 is very unstable for me on MBP15 (2017) with pro 560 as well as with attached vega 64 in razer Core X.(single and dual) mac os 10.13.6 official, blender 2.79b
Hey Filip. I tried with the same MBP and couldn't reproduce this crash after many renders....
I crashed on my MBP with no eGPUs - I couldn't even get to change a value... it crashed as I moved to it into the nodes!
VM Regions Near 0x7fffabfed058:
__DATA 00007fffabfe4000-00007fffabfec000 [ 32K] rw-/rwx SM=COW 7 [/usr/lib/libc++.1.dylib]
--> __DATA 00007fffabfec000-00007fffabfee000 [ 8K] rw-/rwx SM=COW 7 [/usr/lib/libc++abi.dylib]
unused shlib __DATA 00007fffabfee000-00007fffabfef000 [ 4K] rw-/rwx SM=COW system shared lib __DATA not used by this process
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_platform.dylib 0x00007fff73efdfe6 _platform_memmove$VARIANT$Haswell + 198
1 libGLImage.dylib 0x00007fff5574cb45 glgCopyRowsWithMemCopy(GLGOperationRec const*, unsigned long, GLDPixelModeRec const*) + 104
And also crashes on the eGPUs only as well. (Previous test was dGPU on the MBP2017)
I don't get the chance to change a value.
The preview renders great and I can move about.
Go anywhere near displacement Max / Min and BOOM. Blender is out of there.
macOS 10.13.6.
Blender 2.79b official.
RPR 1.7 official
VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000106375000 [ 99.5M] r-x/rwx SM=COW 7 [/Applications/Blender/blender.app/Contents/MacOS/blender]
ID Vend/Dev
7005 67df1002
9db1 68611002
Seconds Ago ID Type
98.0 7005 Attach
82.0 9db1 Attach
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff73d3320a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff73d32724 mach_msg + 60
Viewport rendering works, but looks odd. (see screenshot)
Render image -> Blender crashes
Changing displacement value to 20 -> Blender crashes
iMac pro with Vega64; ProRender 1.7.203; Blender 2.79
This still crashes for me in 1.7.1.212 on Mac.
Hey Filip. Can you try this with the weekly beta builds out now?
I can't reproduce this issue there.
A lot better! It doesn't crash at once and I could test it a few minutes, changing parameters etc. Then it locked up with all cores on the CPU maxing out an I had to force quite Blender after a few additional minutes of waitning. (this was using 1.7.231 and a eGPU btw)
I could repeat this behaviour by adding an object using the same material (and setting the subdivision parameters to the same as it was for the other object since those parameters doesnt seem to follow with the material) and switching forth and back from interactive viewport rendering (shift-z)
Here is the tail of the last log before I killed the process:
2018-10-30 08:58:43,399 INFO rpr.default [123145495134208]: camera.sensor_size: (64.0, 47.31550802139037)
2018-10-30 08:58:47,834 INFO rpr.default [4459861440]: using GPU(0): "AMD Radeon Pro 560 (Metal)"
2018-10-30 08:58:47,834 INFO rpr.default [4459861440]: using GPU(1): "AMD Radeon RX Vega 64 (Metal)"
2018-10-30 08:58:47,835 INFO rpr.default [4459861440]: total used 2 gpu, flags(1027)
2018-10-30 08:58:47,835 INFO rpr.default [4459861440]: Enabling Metal GPU rendering
2018-10-30 08:58:47,835 INFO rpr.default [4459861440]: Using GL_INTEROP
2018-10-30 08:58:47,835 INFO rpr.default [4459861440]: tracing: off
2018-10-30 08:58:47,840 INFO rpr.default [4459861440]: RenderLayers create...
2018-10-30 08:58:47,847 INFO rpr.default [4459861440]: camera.focal_length: 35.0
2018-10-30 08:58:47,848 INFO rpr.default [4459861440]: camera.sensor_size: (64.0, 47.31550802139037)
2018-10-30 08:58:48,166 INFO rpr.image_cache [4459861440]: images: 0, total size: 0.0Mb, requests:0, request per image: -, virtual size requested: 0.0 Mb
2018-10-30 08:58:48,166 INFO rpr.downscaled_image_cache [4459861440]: images: 1, total size: 16.0Mb, requests:6, request per image: 6.0, virtual size requested: 96.0 Mb
2018-10-30 08:58:48,166 INFO rpr.core_image_cache [4459861440]: CoreImageCache(original): image_size=None, contexts number=0
2018-10-30 08:58:48,166 INFO rpr.core_downscaled_image_cache [4459861440]: CoreImageCache(downscaled): image_size=1024, contexts number=2
context_id=4879818648, images=1
context_id=5176719344, images=1
ordered
OBCube
OBPlane
OBLamp
OBCamera
Terminated: 15
After testing some more with only the MBP pro 560 Blender crashed with a report:
# Blender 2.79 (sub 0), Commit date: 2018-03-22 14:10, Hash f4dc9f9
bpy.context.space_data.context = 'RENDER' # Property
bpy.ops.object.duplicate_move(OBJECT_OT_duplicate={"linked":False, "mode":'TRANSLATION'}, TRANSFORM_OT_translate={"value":(35.1764, 0, 0), "constraint_axis":(True, False, False), "constraint_orientation":'GLOBAL', "mirror":False, "proportional":'DISABLED', "proportional_edit_falloff":'SMOOTH', "proportional_size":1, "snap":False, "snap_target":'CLOSEST', "snap_point":(0, 0, 0), "snap_align":False, "snap_normal":(0, 0, 0), "gpencil_strokes":False, "texture_space":False, "remove_on_cancel":False, "release_confirm":False, "use_accurate":False}) # Operator
bpy.ops.mesh.primitive_cube_add(radius=1, view_align=False, enter_editmode=False, location=(-19.3265, -10.8588, -15.9776), layers=(True, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False)) # Operator
bpy.ops.transform.resize(value=(2.32632, 2.32632, 2.32632), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.transform.resize(value=(-6.65646, -6.65646, -6.65646), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.data.window_managers["WinMan"].(null) = False # Property
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.uv.smart_project(stretch_to_bounds=False) # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.context.space_data.context = 'MATERIAL' # Property
bpy.context.object.rpr_object.subdivision_type = 'adaptive' # Property
bpy.context.object.rpr_object.subdivision_boundary = 'EDGE_AND_CORNER' # Property
bpy.ops.transform.resize(value=(2.29451, 2.29451, 2.29451), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type='FACE') # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.uv.select_all(action='TOGGLE') # Operator
bpy.ops.transform.resize(value=(3.02082, 3.02082, 3.02082), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.ops.transform.translate(value=(0.329745, 0.329745, 0), constraint_axis=(False, False, False), constraint_orientation='GLOBAL', mirror=False, proportional='DISABLED', proportional_edit_falloff='SMOOTH', proportional_size=1) # Operator
bpy.data.node_groups["Shader Nodetree"].nodes["RPR Uber"].displacement_min = 0 # Property
bpy.data.node_groups["Shader Nodetree"].nodes["RPR Uber"].displacement_min = 0 # Property
bpy.data.node_groups["Shader Nodetree"].nodes["RPR Uber"].displacement_min_max_show = False # Property
bpy.data.node_groups["Shader Nodetree"].nodes["RPR Uber"].displacement_min_max_show = True # Property
bpy.ops.object.editmode_toggle() # Operator
# backtrace
0 blender 0x0000000100c837ea BLI_system_backtrace + 58
1 blender 0x000000010013f6fa sig_handle_crash + 362
2 libsystem_platform.dylib 0x00007fff75b13b3d _sigtramp + 29
3 ??? 0xffffffffc4653600 0x0 + 18446744072709551616
4 blender 0x00000001023be187 PyObject_CallFunctionObjArgs + 359
5 blender 0x000000010248305e PyEval_EvalFrameEx + 23438
6 blender 0x0000000102487705 _PyEval_EvalCodeWithName + 2421
7 blender 0x0000000102487fff fast_function + 351
8 blender 0x00000001024835fb PyEval_EvalFrameEx + 24875
9 blender 0x0000000102487f7f fast_function + 223
10 blender 0x00000001024835fb PyEval_EvalFrameEx + 24875
11 blender 0x0000000102487f7f fast_function + 223
12 blender 0x00000001024835fb PyEval_EvalFrameEx + 24875
13 blender 0x0000000102487705 _PyEval_EvalCodeWithName + 2421
14 blender 0x000000010247d4ae PyEval_EvalCodeEx + 78
15 blender 0x00000001023eb1ed function_call + 381
16 blender 0x00000001023c3000 PyObject_Call + 96
17 blender 0x00000001023d811d method_call + 141
18 blender 0x00000001023c3000 PyObject_Call + 96
19 blender 0x0000000102486d1d PyEval_CallObjectWithKeywords + 93
20 blender 0x00000001024c7536 t_bootstrap + 70
21 libsystem_pthread.dylib 0x00007fff75b1c33d _pthread_body + 126
22 libsystem_pthread.dylib 0x00007fff75b1f2a7 _pthread_start + 70
23 libsystem_pthread.dylib 0x00007fff75b1b425 thread_start + 13