AnsweredAssumed Answered

rpr 1.7.231 eGPU crash when assigned as single rendering device

Question asked by voidcore on Oct 29, 2018

If I assign an eGPU as a single rendering device for previews it fails with blank viewport and "ERROR | Check log for details"

Strangly enough,  using both internal pro 560 and an eGPU works.

 

System:

Macbook pro 2017, amd pro 560 (with 1 egpu Vega 64 in Razer Core X)

macos mojave 10.14

blender 2.79b

RPR 1.7.231

 

below is part of log:

2018-10-29 09:33:51,641 INFO rpr.default [4645672384]:  using GPU(0): "AMD Radeon RX Vega 64 (Metal)"

2018-10-29 09:33:51,642 INFO rpr.default [4645672384]:  total used 1 gpu, flags(1026)

2018-10-29 09:33:51,642 INFO rpr.default [4645672384]:  Enabling Metal GPU rendering

2018-10-29 09:33:51,642 INFO rpr.default [4645672384]:  Using GL_INTEROP

2018-10-29 09:33:51,642 INFO rpr.default [4645672384]:  tracing: off

Traceback (most recent call last):

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 34, in execute

    start_viewport_rendering(context)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 49, in start_viewport_rendering

    viewport_renderer.start(context.scene)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 64, in start

    render_device = rprblender.render.get_render_device(is_production=is_production, is_viewport=True)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/__init__.py", line 235, in get_render_device

    context_props=props)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/device.py", line 289, in __init__

    self.material_system = pyrpr.MaterialSystem(self.context)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/pyrpr.py", line 715, in __init__

    ContextCreateMaterialSystem(self.context, 0, self)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/pyrpr.py", line 60, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextCreateMaterialSystem(<pyrpr.Context object at 0x126bfe828>, 0, <pyrpr.MaterialSystem object at 0x126bfe5c0>) returned error code <ERROR_INVALID_PARAMETER<-12>> with error message: ''

 

 

location: /Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py:189

 

 

location: /Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py:189

Error: Traceback (most recent call last):

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 34, in execute

    start_viewport_rendering(context)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 49, in start_viewport_rendering

    viewport_renderer.start(context.scene)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 64, in start

    render_device = rprblender.render.get_render_device(is_production=is_production, is_viewport=True)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/ad... truncated2018-10-29 09:33:51,646 CRITICAL rpr.render [4645672384]:  ERROR: It is recommended to restart Blender

view_update: Exception Traceback (most recent call last):

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 438, in view_update

    self._view_update(context)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 460, in _view_update

    bpy.ops.rpr.view_render_start()

  File "/Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py", line 189, in __call__

    ret = op_call(self.idname_py(), None, kw)

RuntimeError: Error: Traceback (most recent call last):

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 34, in execute

    start_viewport_rendering(context)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/engine.py", line 49, in start_viewport_rendering

    viewport_renderer.start(context.scene)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/viewport.py", line 64, in start

    render_device = rprblender.render.get_render_device(is_production=is_production, is_viewport=True)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/__init__.py", line 235, in get_render_device

    context_props=props)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/helpers.py", line 443, in wrapped

    return f(*argv, **kwargs)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/render/device.py", line 289, in __init__

    self.material_system = pyrpr.MaterialSystem(self.context)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/pyrpr.py", line 715, in __init__

    ContextCreateMaterialSystem(self.context, 0, self)

  File "/Users/filip/Library/Application Support/Blender/2.79/scripts/addons/rprblender/pyrpr.py", line 60, in wrapped

    raise CoreError(status, f.__name__, argv, module_name)

pyrpr.CoreError: RPR call ContextCreateMaterialSystem(<pyrpr.Context object at 0x126bfe828>, 0, <pyrpr.MaterialSystem object at 0x126bfe5c0>) returned error code <ERROR_INVALID_PARAMETER<-12>> with error message: ''

 

 

location: /Applications/Blender/blender.app/Contents/Resources/2.79/scripts/modules/bpy/ops.py:189

Outcomes