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
489 stars 57 forks source link

Grey viewport in Interactive render mode #568

Open mobilex1122 opened 1 year ago

mobilex1122 commented 1 year ago

Issue

When i switch to interactive mode it does not start. Instead of render i see gray (blender viewport color) viewport.

Steps to Reproduce

  1. Switch render quality to interactive
  2. Switch to render view
  3. See gray viewport and python error message in terminal.

System Setup (Environment)

OS: Arch or windows 11 (I use both) GPU: AMD Radeon RX 6600 (Latest driver on windows) Blender version: 3.4 Mostly using GPU rendering

Detailed Description

Error message:

2022-12-20 17:54:04,707 ERROR rpr.init [140593525411840]:  RPR call ContextSetParameterByKeyString(<pyhybridpro.Context object at 0x7fde41ee7f70>, 369, b'/usr/bin/3.4/datafiles/colormanagement/config.ocio') returned error code <-18> with error message: '' EXCEPTION: Traceback (most recent call last):
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/__init__.py", line 168, in view_update
    self.engine.sync(context, depsgraph)
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/engine/viewport_engine_hybridpro.py", line 49, in sync
    super().sync(context, depsgraph)
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/engine/viewport_engine.py", line 482, in sync
    scene.rpr.init_rpr_context(self.rpr_context, is_final_engine=False,
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/properties/render.py", line 615, in init_rpr_context
    rpr_context.set_parameter(pyrpr.CONTEXT_OCIO_CONFIG_PATH, ocio_config_path)
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/engine/context.py", line 534, in set_parameter
    self.context.set_parameter(key, param)
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/pyhybridpro.py", line 46, in wrapper
    return function(*args, **kwargs)
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/pyhybridpro.py", line 85, in set_parameter
    super().set_parameter(key, param)
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/pyrpr.py", line 270, in set_parameter
    ContextSetParameterByKeyString(self, key, encode(param))
  File "/home/mobilex/.config/blender/3.4/scripts/addons/rprblender/pyrpr.py", line 74, in wrapped
    raise CoreError(status, f.__name__, argv, module_name)
pyrpr.CoreError: RPR call ContextSetParameterByKeyString(<pyhybridpro.Context object at 0x7fde41ee7f70>, 369, b'/usr/bin/3.4/datafiles/colormanagement/config.ocio') returned error code <-18> with error message: ''
bsavery commented 1 year ago

Which plugin version do you have?

mobilex1122 commented 1 year ago

Which plugin version do you have?

The latest one (3.5.0)

mobilex1122 commented 1 year ago

I'm getting the same grey (blender viewport) color when performing a viewport render.

  • macOS Monterey 12.6.2
  • RPRForBlenderMacos 3.5.0
  • AMD Radeon 5700xt
  • Blender 3.4 It performs a partial render, pauses for a moment, then the render is covered by several grey squares.

https://user-images.githubusercontent.com/36450865/211219337-6c11259b-6ca5-4fb1-b698-4beb27f7e04f.mov

I have little diferent one. for me it's gray form the start.

Vinnyemath commented 1 year ago

Same as OP, disabling denoising is a workaround for now. (at least for me)

kintuX commented 1 year ago

Confirming. This issue is still present in latest RPR dev. build v3.5.21 RPR_VWPRTdns-bug