Crash when using OCIO v2 #93562

Open
opened 2021-12-02 04:55:52 +01:00 by Duke Brain · 5 comments

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: 9cec9b4d6e

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
test-ocio2.txt

  • 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
{F12676993 size=full}

Blender 3.0 crash video
Crash.mp4

**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: `9cec9b4d6e` **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** [test-ocio2.txt](https://archive.blender.org/developer/F12677518/test-ocio2.txt) - 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 {[F12676993](https://archive.blender.org/developer/F12676993/image.png) size=full} Blender 3.0 crash video [Crash.mp4](https://archive.blender.org/developer/F12677027/Crash.mp4)
Author

Added subscriber: @Duke98

Added subscriber: @Duke98

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

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.

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.
Author

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.
{F12679456 size=full}
arnold.zip

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. {[F12679456](https://archive.blender.org/developer/F12679456/image.png) size=full} [arnold.zip](https://archive.blender.org/developer/F12679449/arnold.zip)
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:02:53 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#93562
No description provided.