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

CTD when using Interactive quality in a complex scene #562

Open krzysztofKKW opened 1 year ago

krzysztofKKW commented 1 year ago

Issue

When using Interactive quality in a complex scene, blender crashes to desktop due to a Memory Access Violation in module HybridPro.dll Previously with Blender 3.2 and Addon 3.4 I've had it throw a python error, but I've updated and now it outright causes a memory violation.

System Setup (Environment)

Windows 10 21H2 AMD Radeon RX 6600 XT + Ryzen 5 3600, Adrenalin 22.10.3 Blender Version 3.3.1, Addon 3.5 Rendering using GPU

Detailed Description

The crash log is available here: test.crash.txt

krzysztofKKW commented 1 year ago

I have tried doing the same thing on Linux. It doesn't crash there but throws a python error in the same module instead.

bsavery commented 1 year ago

Is it possible to attach the scene?

krzysztofKKW commented 1 year ago

Unfortunately it contains licensed models, so that's not possible

ARozghon commented 1 year ago

hi, could you try to separate scene by collections, and try to render not all scene, maybe one part of the scene provide this error

krzysztofKKW commented 1 year ago

With extensive testing I have found the exact problem: The crash is caused by the shader of a hair particle system

Steps to reproduce:

  1. Spawn monkey,
  2. Add hair particle system to it,
  3. Switch to RPR with quality mode interactive,
  4. Go into shading tab and add a shader to the hair,
  5. Plug in Principled BSDF into the material output,
  6. Plug in any color value into the emission field. Blender will crash as soon as you connect any value into the emission field of the hair's Principled BSDF shader.
ARozghon commented 1 year ago

thank you for the steps information

ARozghon commented 1 year ago

confirmed with all tested systems, created a ticket for developers