GPUOpen-LibrariesAndSDKs / RadeonProRenderBlenderAddon

This hardware-agnostic rendering plug-in for Blender uses accurate ray-tracing technology to produce images and animations of your scenes, and provides real-time interactive rendering and continuous adjustment of effects.
https://gpuopen.com/radeon-prorender-suite/
Apache License 2.0
480 stars 56 forks source link

Radeon ProRender, ERROR RIF call ContextExecuteCommandQueue #604

Open GitHub-Rep-8Ans opened 1 year ago

GitHub-Rep-8Ans commented 1 year ago

Problem with Radeon ProRender:

  1. Blender v3.5
  2. Simple Cube, on beginning when you start Blender, no texture, default material
  3. Select "Radeon ProRender" then checked CPU rendering option

You can get more information on the error message by opening Window -> Show System Console from blender and copying that text here. On MacOS launch Blender from the Terminal.

Issue

ERROR:

2023-04-12 18:33:35,341 rpr.engine.init [9168]: INFO Core version: 2.2.16 build 0xb050a508 2023-04-12 18:33:35,376 rpr.engine.init [9168]: INFO RIF version: 1.7.1 build 0xfdc139ba 2023-04-12 18:33:35,466 rpr.engine.init [9168]: WARNING ('Plugin is not registered', WindowsPath('C:/Users/Stolie/AppData/Roaming/Blender Foundation/Blender/3.5/scripts/addons/rprblender/HybridPro.dll'), '') 2023-04-12 18:33:35,469 rpr.engine.init [9168]: WARNING ('Plugin is not registered', WindowsPath('C:/Users/Stolie/AppData/Roaming/Blender Foundation/Blender/3.5/scripts/addons/rprblender/Hybrid.dll'), '') 2023-04-12 18:34:05,357 rpr.utils.user_settings [9168]: INFO Automatic save user preferences... 2023-04-12 18:34:06,023 rpr.utils.user_settings [9168]: INFO Automatic save user preferences... 2023-04-12 18:34:26,462 rpr.viewport_engine [10508]: ERROR RIF call ContextExecuteCommandQueue(<pyrprimagefilters.Context object at 0x0000000029263CD0>, <pyrprimagefilters.CommandQueue object at 0x0000000029263F70>, <cdata 'void ' NULL>, <cdata 'void ' NULL>, <cdata 'void ' NULL>) returned error code <-21> with error message: '' EXCEPTION: Traceback (most recent call last): File "C:\Users\Stolie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\rprblender\engine\viewport_engine.py", line 458, in _do_sync_render self._do_render() File "C:\Users\Stolie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\rprblender\engine\viewport_engine_2.py", line 255, in _do_render self.upscale_filter.run() File "C:\Users\Stolie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\rprblender\engine\image_filter.py", line 110, in run self.command_queue.execute() File "C:\Users\Stolie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\rprblender\pyrprimagefilters.py", line 364, in execute ContextExecuteCommandQueue(self.context, self, ffi.NULL, ffi.NULL, ffi.NULL) File "C:\Users\Stolie\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\rprblender\pyrpr.py", line 74, in wrapped raise CoreError(status, f.name, argv, module_name) pyrpr.CoreError: RIF call ContextExecuteCommandQueue(<pyrprimagefilters.Context object at 0x0000000029263CD0>, <pyrprimagefilters.CommandQueue object at 0x0000000029263F70>, <cdata 'void ' NULL>, <cdata 'void ' NULL>, <cdata 'void ' NULL>) returned error code <-21> with error message: ''

Steps to Reproduce

When i start to render and when this engine try to denoise, produce an error. rprblender.log

In very rare occasion when i close Blender and start again, render works - VERY RARE.

System Setup (Environment)

OS: Win 7 Cpu: Intel Xeon E5-2697 v2 Blender version: 3.5

Rendering: CPU

Detailed Description

What i found, when i choose "Radeon ProRender" and in "Viewport & Preview Sampling", uncheck option "Viewport upscaling", render works normally, every time. But this is not fix, not problem solving.

Rendering engine have some issue with option "Viewport upscaling", i think that you can fix this.