OCIO environment variable not working on Linux #59016
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#59016
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Ubuntu Linux, 17.04 - 18.10
Graphics card: nVidia Geforce 650m
Blender Version
Broken: any 2.80 version for now
Worked: 2.79b and before
Short description of error
I am using the following variable in /etc/environment to set a custom OCIO location:
When starting Blender 2.80 from the command line, an error is printed into the console window:
What happens then is that I have only one View Transform ('Default') and no Looks available at all. Nor my custom ones, neither the Default shipped ones.
I'm using this setup because I have a custom OCIO color configuration that is also shared with applications like Resolve and Nuke. The interesting thing is that using environment variables on Windows does work. This seems to be a Linux only issue (cannot test MacOS though). Also, with Blender 2.79b, the OCIO variable is evaluated correctly on the same Linux machine.
Added subscriber: @RainerTrummer
Added subscriber: @StephenSwaney
Added subscriber: @ZedDB
If i clone this git repo: https://github.com/imageworks/OpenColorIO-Configs
And run blender with
OCIO=<path-to>/nuke-default/config.ocio ./blender
it works as I would expect it to. But I have to admit I'm not 100% sure how this should work.Do you still have this issue on linux with the latest blender beta?
Yes, for me the problem still persists. Same if I use the provided syntax above:
OCIO=/CustomSoftware/OCIO/filmic-blender/config.ocio ./blender
throws the same error for me:Blender 2.79b uses my custom OCIO config just fine.
Output of 2.79b:
which is the expected output. The original implementation of Troy Sobotka calls the Default View Transform "sRGB OETF", so 2.79b finds the settings and sets the defaults as desired.
Added subscriber: @brecht
Are you perhaps using your own or an unofficial Blender build? If so, does the official daily build work for you?
https://builder.blender.org/download/
It seems like somehow you are using a Blender without OpenColorIO support?
@brecht Jesus, that was indeed the issue. My own builds fail to detect OCIO, while the official ones work just fine. Must have messed that up a while ago. Thanks for investigating!
Changed status from 'Open' to: 'Archived'