Rendering: Blender "silently" switches to the wrong color management if config is missing #115881

Closed
opened 2023-12-07 10:00:20 +01:00 by Raimund Klink · 1 comment
Contributor

System Information
Operating system: Win 11

Blender Version
Broken: Blender 3.6, 4.0
Worked: never?

Short description of error
Coming from a crowd-render farm with weird machine configurations.
Blender doesn't kill the rendering if the color management files are missing.

Exact steps for others to reproduce the error

  1. Remove the folder 4.0\datafiles\colormanagement\
  2. Render a scene in background mode (blender -b -f 1)
  3. The color management was silently switched to "Standard"

The expected behavior would be that Blender aborts the render if the desired color config if missing.

PS C:\Users\raimund.klink\Desktop\blender-4.0.0-windows-x64> .\blender.exe -b -f 1
Color management: using fallback mode for management
Blender 4.0.0 (hash 878f71061b8e built 2023-11-14 01:20:37)
Read prefs: "C:\Users\raimund.klink\AppData\Roaming\Blender Foundation\Blender\4.0\config\userpref.blend"
Color management: scene view "AgX" not found, setting default "Standard".
Fra:1 Mem:43.33M (Peak 44.42M) | Time:00:00.86 | Syncing Cube
Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.87 | Syncing Light
Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.87 | Syncing Camera
Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.87 | Rendering 1 / 64 samples
Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.94 | Rendering 26 / 64 samples
Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.97 | Rendering 51 / 64 samples
Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.99 | Rendering 64 / 64 samples
Saved: 'C:\tmp\0001.png'
Time: 00:01.14 (Saving: 00:00.13)


Blender quit
**System Information** Operating system: Win 11 **Blender Version** Broken: Blender 3.6, 4.0 Worked: never? **Short description of error** Coming from a crowd-render farm with weird machine configurations. Blender doesn't kill the rendering if the color management files are missing. **Exact steps for others to reproduce the error** 1. Remove the folder `4.0\datafiles\colormanagement\` 2. Render a scene in background mode (`blender -b -f 1`) 3. The color management was silently switched to "Standard" The expected behavior would be that Blender aborts the render if the desired color config if missing. ``` PS C:\Users\raimund.klink\Desktop\blender-4.0.0-windows-x64> .\blender.exe -b -f 1 Color management: using fallback mode for management Blender 4.0.0 (hash 878f71061b8e built 2023-11-14 01:20:37) Read prefs: "C:\Users\raimund.klink\AppData\Roaming\Blender Foundation\Blender\4.0\config\userpref.blend" Color management: scene view "AgX" not found, setting default "Standard". Fra:1 Mem:43.33M (Peak 44.42M) | Time:00:00.86 | Syncing Cube Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.87 | Syncing Light Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.87 | Syncing Camera Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.87 | Rendering 1 / 64 samples Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.94 | Rendering 26 / 64 samples Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.97 | Rendering 51 / 64 samples Fra:1 Mem:43.37M (Peak 44.42M) | Time:00:00.99 | Rendering 64 / 64 samples Saved: 'C:\tmp\0001.png' Time: 00:01.14 (Saving: 00:00.13) Blender quit ```
Raimund Klink added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-12-07 10:00:21 +01:00
Member

Hi @Raimund58 , thanks for the report. As far as I understand, this is working as intended when colormanagement is not found. i.e. default view_transform is switched to "standard". see: colormanage_check_view_settings: - https://projects.blender.org/blender/blender/src/branch/main/source/blender/imbuf/intern/colormanagement.cc#L1158

There is also a message in console when such case is triggered: Color management: scene view "AgX" not found, setting default "Standard".
I always get this error in lite build.

This is now rather a request to improve current behavior so closing.

Hi @Raimund58 , thanks for the report. As far as I understand, this is working as intended when `colormanagement` is not found. i.e. default view_transform is switched to "standard". see: colormanage_check_view_settings: - https://projects.blender.org/blender/blender/src/branch/main/source/blender/imbuf/intern/colormanagement.cc#L1158 - https://projects.blender.org/blender/blender/src/branch/main/intern/opencolorio/fallback_impl.cc#L226 There is also a message in console when such case is triggered: `Color management: scene view "AgX" not found, setting default "Standard".` I always get this error in lite build. This is now rather a request to improve current behavior so closing.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-12-07 10:51:57 +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#115881
No description provided.