question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RPR 3.1.0 blender crash on Viewport Shading mode

See original GitHub issue

Hi
I had a problem with Viewport Shading materials and rendered mode, they crashed my blender. I decide to upgrade all versions of my configuration now I use Blender 2.92 and RPR 3.0.1 But I have the same problem with last versions.

My setup Macbook Pro 2,6 GHz Intel Core i7 16 Go DDR4 with a AMD Radeon Pro 5300M 4 Go.

On render properties :

  • RPR : activate
  • CPU : disable
  • AMD Radeon Pro 5300M : activate
  • Separate viewport and preview… : disable

On View layers properties

  • RPR Denoiser : disable

Tested with render engine Cycles and I have no problem but my CPU don’t like it !

Capture d’écran 2021-04-10 à 18 43 35

More logs

I0410 18:32:22.095481 532901376 blender_python.cpp:194] Debug flags initialized to:
CPU flags:
  AVX2       : True
  AVX        : True
  SSE4.1     : True
  SSE3       : True
  SSE2       : True
  BVH layout : EMBREE
  Split      : False
CUDA flags:
  Adaptive Compile : False
OptiX flags:
  CUDA streams : 1
OpenCL flags:
  Device type    : ALL
  Debug          : False
  Memory limit   : 0
2021-04-10 18:32:22,325 INFO rpr.engine.init [4827868672]:  RPR Core version: 2.2.1 build 0x924e5459
2021-04-10 18:32:22,340 INFO rpr.engine.init [4827868672]:  Image Filters version 1.6.1 build 0xe4886697
2021-04-10 18:32:22,342 INFO rpr.default [4827868672]:  rprsdk_bin_path: /Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender
2021-04-10 18:32:22,608 INFO rpr.material_library [4827868672]:  Material library located at /Users/Shared/RadeonProRender/MaterialLibrary/2.0.0/Xml
Switching to fully guarded memory allocator.
Blender 2.92.0
Build: 2021-02-25 09:27:51 Darwin Release
argv[0] = /Applications/Blender.app/Contents/MacOS/Blender
argv[1] = --debug
argv[2] = --debug-cycles
Read prefs: /Users/rmybld/Library/Application Support/Blender/2.92/config/userpref.blend
read file 
  Version 280 sub 39 date unknown hash unknown
Read blend: /Users/rmybld/Desktop/Blender/update tests/untitled.blend
read file /Users/rmybld/Desktop/Blender/update tests/untitled.blend
  Version 292 sub 15 date 2021-02-24 16:25 hash 02948a2cab44
[MSG  @RIF]: Loaded RIF API version: 1.6.1.0xe4886697
INFO: Using Metal device: AMD Radeon Pro 5300M
[MSG  @RIF]: Loaded RIF API version: 1.6.1.0xe4886697
INFO: Using Metal device: AMD Radeon Pro 5300M
[MSG  @RIF]: Loaded RIF API version: 1.6.1.0xe4886697
INFO: Using Metal device: AMD Radeon Pro 5300M
[MSG  @RIF]: Loaded RIF API version: 1.6.1.0xe4886697
INFO: Using Metal device: AMD Radeon Pro 5300M
[MSG  @RIF]: Loading model: /Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/data/models/denoise_c9_hdr_gamma_2.5_f16.onnx
INFO: Model info: 
 domain: 
 ir_version: 6
 producer_name: AMD
 producer_version: 
 version: 0
 opset domain: opset version11

[MSG  @RIF]: Loading model: /Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/data/models/esrgan-05x3x32-278391.pb
[ERROR@RIF]: RIF_ERROR_OUT_OF_VIDEO_MEMORY at file /Users/admin/JN/WS/RadeonProImageProcessor_Build/src/AIFilters.cpp line 620
2021-04-10 18:32:52,248 ERROR rpr.viewport_engine [123145517936640]:  RIF call ContextExecuteCommandQueue(<pyrprimagefilters.Context object at 0x13b91f890>, <pyrprimagefilters.CommandQueue object at 0x13b91f6d0>, <cdata 'void *' NULL>, <cdata 'void *' NULL>, <cdata 'void *' NULL>) returned error code <-3> with error message: '' EXCEPTION: Traceback (most recent call last):
  File "/Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/engine/viewport_engine.py", line 449, in _do_sync_render
    self._do_render()
  File "/Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/engine/viewport_engine_2.py", line 242, in _do_render
    self.upscale_filter.run()
  File "/Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/engine/image_filter.py", line 109, in run
    self.command_queue.execute()
  File "/Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/pyrprimagefilters.py", line 366, in execute
    ContextExecuteCommandQueue(self.context, self, ffi.NULL, ffi.NULL, ffi.NULL)
  File "/Users/rmybld/Library/Application Support/Blender/2.92/scripts/addons/rprblender/pyrpr.py", line 78, in wrapped
    raise CoreError(status, f.__name__, argv, module_name)
pyrpr.CoreError: RIF call ContextExecuteCommandQueue(<pyrprimagefilters.Context object at 0x13b91f890>, <pyrprimagefilters.CommandQueue object at 0x13b91f6d0>, <cdata 'void *' NULL>, <cdata 'void *' NULL>, <cdata 'void *' NULL>) returned error code <-3> with error message: ''

I wonder if this is not a problem in my RPR configuration.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
bsaverycommented, May 6, 2021

End of may. You can download a trial build in “releases”

1reaction
jakubspitzercommented, Apr 30, 2021

Hey @rmybld, just to let you know I did not find any solution. I just bought mac mini with M1 silicon chip. Works great with both CPU or GPU cycles rendering. Did not test which is faster tho. Hope you will find solution for this issue. Heads up 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

T97038 crash cycles shading viewport
Blender crashes when I have the shading viewport selected if there is a light in the scene and I orbit the window with...
Read more >
Crash when switching the viewport shading mode to wireframe.
Blender crashes when switching the viewport shading mode to wireframe (wire edges). Interestingly enough, if just before switching to the wireframe mode, ...
Read more >
crash when changing viewport shading to wireframe mode
the crash doesn't happen when changing to eevee or solid view, it only happens when changing to wireframe. Important note: if you DON'T...
Read more >
T97487 Blender 3.1 MacOS 12.3 crash on viewport display
As of the 3.1 update, some of my heavier projects and compositions are crashing when moving around on the viewport, I doubt this...
Read more >
T94876 Viewport shading crash
Blender 3.0.1 is crashing when I change viewport shader to Material Preview or Rendering. I have 2.83 version as well and it works...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found