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

Viewport renderer only shows gray in Blender 3.0 #458

Open Obsyden opened 2 years ago

Obsyden commented 2 years ago

System setup:

Scene to reproduce: Any including default cube scene

Expected behaviour Viewport renderer or lookdev should show render of scene Actual behaviour Viewport is simply gray during lookdev or viewport render mode image (the 'viewport render' sample scene from the user guide)

Error messages None

Other info Confusingly, the material previews that are rendered in the materials tab work fine with radeonprorender; the final F12 render also works as expected. Only the viewport rendering is problematic. When using viewport render, there are no error messages and radeonprofile shows that the GPU is being used by Blender, but the viewport is just gray.

The log is as follows: Read prefs: /home/obsyden/.config/blender/3.0/config/userpref.blend /run/user/1000/gvfs/ non-existent directory 2022-02-26 11:25:42,109 INFO rpr.engine.init [140063509672704]: Core version: 2.2.10 build 0xe46836cc 2022-02-26 11:25:42,111 INFO rpr.engine.init [140063509672704]: RIF version: 1.7.1 build 0xfdc139ba Registered plugin: plugin_id=0, lib_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/libNorthstar64.so, cache_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/.cache/0x200210_rpr2 Registered plugin: plugin_id=1, lib_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/Hybrid.so, cache_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/.cache/0x200210_hybrid Read blend: /home/obsyden/Downloads/viewport_render.blend [MSG @RIF]: Loaded RIF API version: 1.7.1.0xfdc139ba INFO: MIOpen version: 2.0.5 [MSG @RIF]: Loaded RIF API version: 1.7.1.0xfdc139ba INFO: MIOpen version: 2.0.5 [MSG @RIF]: Loaded RIF API version: 1.7.1.0xfdc139ba INFO: MIOpen version: 2.0.5 [MSG @RIF]: Loaded RIF API version: 1.7.1.0xfdc139ba INFO: MIOpen version: 2.0.5 [MSG @RIF]: Loading model: /home/obsyden/.config/blender/3.0/scripts/addons/rprblender/data/models/denoise_c9_ldr_f16.onnx INFO: Model info: domain: ir_version: 6 producer_name: AMD producer_version: version: 0 description: opset domain: opset version11 WARN: roi is empty. Ignore it and remove from graph WARN: scales is empty. Ignore it and remove from graph WARN: roi is empty. Ignore it and remove from graph WARN: scales is empty. Ignore it and remove from graph WARN: roi is empty. Ignore it and remove from graph WARN: scales is empty. Ignore it and remove from graph WARN: roi is empty. Ignore it and remove from graph WARN: scales is empty. Ignore it and remove from graph WARN: roi is empty. Ignore it and remove from graph WARN: scales is empty. Ignore it and remove from graph INFO: Memory: required: 111400960, single node max: 89120768, requested sum: 520388608 [MSG @RIF]: Loading model: /home/obsyden/.config/blender/3.0/scripts/addons/rprblender/data/models/upscale2x_fast.pb INFO: Memory: required: 401043456, single node max: 356483072, requested sum: 1448214528

bsavery commented 2 years ago

I would try disabling the viewport denoising and upscaling in the viewport settings

Obsyden commented 2 years ago

I would try disabling the viewport denoising and upscaling in the viewport settings

Thanks for the reply, I've already tried this to no effect.

bsavery commented 2 years ago

Hmmm, there should be more info in the log though if there is another error. Can you try launching blender from a terminal and looking for error info in the terminal?

Obsyden commented 2 years ago

The terminal output is as follows, there doesn't seem to be an error message anywhere? Read prefs: /home/obsyden/.config/blender/3.0/config/userpref.blend /run/user/1000/gvfs/ non-existent directory 2022-03-08 09:57:52,075 INFO rpr.engine.init [140394054730496]: Core version: 2.2.10 build 0xe46836cc 2022-03-08 09:57:52,078 INFO rpr.engine.init [140394054730496]: RIF version: 1.7.1 build 0xfdc139ba Registered plugin: plugin_id=0, lib_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/libNorthstar64.so, cache_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/.cache/0x200210_rpr2 Registered plugin: plugin_id=1, lib_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/Hybrid.so, cache_path=/home/obsyden/.config/blender/3.0/scripts/addons/rprblender/.cache/0x200210_hybrid Read blend: /home/obsyden/Downloads/viewport_render.blend

VascoPi commented 2 years ago

I would also try different driver versions.

NikorinMP commented 2 years ago

Try lowering the amount of Threads you allow the program to use. I had the same issue, and doing so started showing colour on materials!

bsavery commented 2 years ago

Please try with latest drivers for ubuntu