Color Management render view only has 'standard' #82081
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser Project (Legacy)
Interest
Asset System
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
12 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#82081
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
Platform: Windows
GPU: 'GeForce GTX 960/PCIe/SSE2'version: '4.5.0 NVIDIA 432.00'
Version: 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash:
0330d1af29c0
, type: ReleaseShort description of error
When placing Blender in a directory with Katakana (Japanese characters) as name, OCIO fails to find the configuration file. Blender thus only provides the "Standard" view transform in the color management options.
The path for the Blender directory is
C:\Users\nanam\OneDrive\デスクトップ\blender-2.90.0-windows64
.system-info.txt
Exact steps for others to reproduce the error
Start Blender.
Instead of changing the Window's locale language, placing the portable version of Blender on a non-C drive as Step 1. will also show the issue.
Added subscriber: @dk123
#101376 was marked as duplicate of this issue
Hi, it looks as if this only occurs if I only download the portable versions.
If I download the non-portable version, then suddenly all the portable versions I have also work.
Added subscriber: @EAW
Changed status from 'Needs Triage' to: 'Archived'
Hi, @dk123, I have modified your report for readability.
Things that stick out for me:
OpenColorIO: 0, 0, 0
That should be
OpenColorIO: 1, 1, 1
If I had to guess, I would say that the path Blender was using to find OCIO was incorrect. By installing the non-portable version, this path was updated to point to the correct location.
As this issue has been fixed for you, I will be closing this report. If the issue reoccurs, let us know!
@EAW
This absolutely does not sound like a fix. I would recommend keeping this open to actually resolve the issue.
Added subscriber: @rjg
@dk123 This happens when Blender doesn't find the directory with the color management settings for OCIO
.\2.90\datafiles\colormanagement
. You should've seen the following the error message in the terminal when Blender starts.When this happens you will only have Standard as option in the View Transforms and OpenColorIO is reported with version
0, 0, 0
.I'd have to disagree. I notice that the portable version also has
.\2.90\datafiles\colormanagement
. The fact that the portable version couldn't find this I'd say would be an error.I've just tried uninstalling the non-portable version of blender and I see the same situation reoccurring. I'd have to say this is a definite bug.
So the version you're testing that fails to load the config has the
colormanagement
directory and also contains the following files?config.ocio
./filmic
filmic_desat65cube.spi3d
filmic_false_color.spi3d
filmic_to_0.99_1-0075.spi1d
filmic_to_0-35_1-30.spi1d
filmic_to_0-48_1-09.spi1d
filmic_to_0-60_1-04.spi1d
filmic_to_0-70_1-03.spi1d
filmic_to_0-85_1-011.spi1d
filmic_to_1.20_1-00.spi1d
./luts
aces_to_xyz.spimtx
dci_xyz.spi1d
lg10.spi1d
rec709.spi1d
rec709_to_aces.spimtx
srgb.spi1d
srgb_inv.spi1d
srgb_to_xyz.spimtx
vd16.spi1d
Have you set an environment variable for the OCIO config or do you use another software that may have? It currently sounds like a configuration issue of your system and not like a bug in Blender.
Correct. This is also a clean install of windows with just this portable version of blender, hence I find it difficult to say that this is a configuration issue on my side.
Has anyone checked if this is reproduceable? I feel as if people may be stating that it's a problem on my side without checking.
Yes, I've tested this with
blender-2.90.0-windows64.zip
(can be downloaded here ), 2.92 and current master. If you can still reproduce this issue on your system, please open Blender's installation and double click on theblender_debug_log.cmd
. This will start Blender in debug mode and create log files. Once you've verified that the view transform options are missing, you can close Blender. The Windows Explorer should open and show you up to two files, a debug log and the system information. Add them to your bug report by clicking on the upload button as shown in the screenshot below or via drag and drop.Additionally I'd suggest you check your environment variables. Press the Windows Icon in the task bar and search for "Env". Select the "Edit environment variable" entry and a window should open. Press the "Environment Variables" button. Check if there is anything related to OpenColorIO / OCIO set as environment variables.
Changed status from 'Archived' to: 'Needs User Info'
I just noticed that you've placed Blender inside the OneDrive sync folder. Just to rule out OneDrive interfering in an unexpected way, could you please also try to put the portable version in another directory?
blender_system_info.txt
blender_debug_output (1).txt
I've tried multiple configurations, and it seems that if the path of blender contains japanese characters, then color management seems to fail to pick up.
@dk123 This does appear to be the case, based on the log file. However, I can't reproduce this on my system by putting Blender into a directory with Katakana in the name. It looks like OpenColorIO treats the path with an incorrect encoding on your system or Blender passes it incorrectly to OpenColorIO. Blender itself appears to handle it properly.
Log file opened as UTF-8:
A similar issue was found before in #47869, but there was no reply to the bug report to OCIO since then. Since Blender contains the following code in
colormanagement_init
(colormanagement.c), it seems that a workaround is still necessary and this is what might be failing on your system.Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Added subscriber: @iss
Also can't reproduce this.
@dk123 Do you have any special language/locale or code page configurations on your system?
This is a clean install of Win 10 (japanese), I don't recognise anything else.
https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/406
It might be worth adding some more comments on to this thread here if it's the fundamental problem.
Changed status from 'Needs Developer To Reproduce' to: 'Confirmed'
I can reproduce the issue when changing the locale on Windows to Japanese in the "Language for non-Unicode programs" settings.
@Sergey reported this upstream to OCIO in 2016. It would be nice if it could get fixed for OCIO’s 2.0 release. I will look around at other FOSS’s workarounds to see if I can get OCIO a PR in the next few days. https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/406
Added subscriber: @Sergey
Triaging Note: I can reproduce this without having to change my Window's Language settings by placing the portable version of Blender on a non-
C
drive.Binary Path:
'D:\\previous Blender Versions\\Others\\2.93_builds\\blender-2.93.0-デスクトップ-windows64\\blender.exe'
Reported Error:
OpenColorIO Error: Error could not read 'D:\previous Blender Versions\Others\2.93_builds\blender-2.93.0-ǹ¯ÈÃ×-windows64\2.93\datafiles\colormanagement\config.ocio' OCIO profile.
Added subscriber: @Vyach
windows 8.1, Russian system language,
paths:
D:\Progs\Graphics\3d\Blender-2.93.0
C:\Users\Ad\AppData\Roaming\Blender Foundation\Blender\2.93
Start with factory settings have bug.
Clean start without settings folder (in appdata/roaming) don`t have a bug
I reset to English for Blender and system language (locale). Then made clean restart (creating new settings folder or uploading previous settings). It helped.
After setting Ru and back to En bug appears and left with English system.
Deleting colormanagement folder in settings (bf/blender/2.93) will help as workaround
Added subscriber: @ankitm
It was reported in #86176 (Render properties. Color management lost options. Regression) that the bug is not present in 2.93. So could anyone retry ?
Added subscriber: @loadus
I'm having this error, which just popped up out of nowhere and I came in searching for a solution.
The path to the Ocio config is malformed >>
The file itself and it's contents seem to be fine, just that the lib can't find it via that path.
[EDIT]
Correction, manually editing the ocio profile and removing the XYZ entries, the color management configuration loads up. Still, having this error pop up out of nowhere was a real headscratcher. I'll see if I can hunt down the cause, my guess would be the endless settings imports from previous versions.
Added subscriber: @Yuro
Does this mean that this long-standing bug is hopeful to be fixed?
#95206 :
OpenColorIO 2.0.0 --> 2.1.1
OpenColorIO v2.1.1 release :
PR #1527, Fixes Unicode paths on Windows (#1363)
Added subscriber: @PacoChan
Added subscriber: @LazyDodo
I can confirm that this is still an issue in 3.3 and 3.4.
@Yuro unfortunately the issue is not yet fixed (as @PacoChan has shown) due to an error in the CMAKE syntax that causes the Unicode fix to not be built.
Fixing this requires the OCIO libraries to be rebuilt with the corrected option added to CMAKE.
See: CMake: Fix issue that led to Windows Unicode support still defaulting to off #1594
@LazyDodo it looks like the following code needs to be added to CMAKE.
Added subscriber: @deadpin
Unfortunately the move to OCIO 2.2 last week did not fix this - it should have the CMAKE change mentioned above. This might be an issue on Blender's side as there's some interesting behavior here.
Default situation where Blender might be using a unicode path (fails):
Explicitly setting the OCIO env var to effectively the same location (succeeds):
I'll try to take a closer look this weekend if no one else spots the real issue before I can take a look.
i can confirm ocio was build with the right options, whatever is wrong, it's not the cmake option. from the CMakeCache.txt used to build ocio :
Alright, the issue is because we're still using a workaround in Blender (which doesn't seem to work and/or is no longer necessary). Removing this workaround fixes things: https://developer.blender.org/diffusion/B/browse/master/source/blender/imbuf/intern/colormanagement.c$674
Now here's the interesting bit, both 3.4 AND 3.3 can work if we remove that workaround even though they still use OCIO 2.1.1. This is because our app manifest declares that magical UTF-8 setting which seems to fix things up. I verified using 3.4 but not with 3.3 though it should be the same.
3.5 works once the workaround is removed and regardless of the app manifest setting which proves the fix for OCIO 2.2 is correct as well.
This issue was referenced by
b6c74b4c6f
Changed status from 'Confirmed' to: 'Resolved'