Maniphest T93562

Crash when using OCIO v2
Needs Information from Developers, Normal

Assigned To
None
Authored By
Duke Brain (Duke98)
Dec 2 2021, 4:55 AM
Tags
  • BF Blender
  • Render & Cycles
Subscribers
Duke Brain (Duke98)
Jesse Yurkovich (deadpin)

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 472.47

Blender Version
Broken: version: 3.0.0 Release Candidate, branch: master, commit date: 2021-12-01 07:55, hash: rB9cec9b4d6e33

Short description of error
When I used OCIO v2 config file and used Cycles for rendering with Optix, it worked for viewport rendering. But if I pressed F12 for final render, Blender 3.0 crashed when the render was finsihing.
I tried with a few scenes even if the Blender default scene still crashed. Then I tried rendering with CPU, it still crashed.
I also tried in Blender 2.93.5. It crashed again even if the render didn't start.
I downloaded the OCIO v2 config file from https://opencolorio.readthedocs.io/en/latest/configurations/ocio_v2_demo.html.

When I used OCIO v1.2 config file, Blender worked perfectly.

Exact steps for others to reproduce the error

  • Set the OCIO environment variable to the location of the test-ocio2.txt config file.
  • Start blender and set Cycles as the render engine
  • F12

OCIO v2 Config

Blender 3.0 crash video

Event Timeline

Duke Brain (Duke98) created this task.Dec 2 2021, 4:55 AM
Jesse Yurkovich (deadpin) changed the task status from Needs Triage to Needs Information from Developers.Dec 2 2021, 7:35 AM
Jesse Yurkovich (deadpin) added a project: Render & Cycles.
Jesse Yurkovich (deadpin) added a subscriber: Jesse Yurkovich (deadpin).

I can confirm the crash at least. However, I'm unsure if that v2 config, which is noted as not production ready, is complete or not. In particular it has this comment inside of it:
# (As this is just a demo, not all the usual roles have been defined.)

Blender fails here because it is unable to find the "default_byte" or "texture_paint" Roles. The internal colorspace object is then left as null and it eventually crashes a bit later (which is arguably a bug regardless of validity of the config).

Will defer to the devs for further consideration. I'll attach the instructions for how to use the config in the next update here.

Jesse Yurkovich (deadpin) updated the task description.Dec 2 2021, 7:36 AM
Duke Brain (Duke98) added a comment.Dec 2 2021, 2:18 PM

Actually I got an another OCIO v2 config file from Arnold render 5.0.0.2 for Maya 2020, It worked perfectly in Maya and Arnold render. But in Blender, it still crashed.

Here is the config file that comes from Arnold.


Pratik Borhade (PratikPB2123) mentioned this in T93828: Crash when going into rendered view.Dec 16 2021, 7:33 AM
Pratik Borhade (PratikPB2123) mentioned this in T93559: crash on color managment setting.Dec 22 2021, 8:14 AM