Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
AnzeigenĀ Ā nurĀ  | Stattdessen suchen nachĀ 
Meintest du:Ā 

kick not finding ocio config in Azure batch with correct command

5 ANTWORTEN 5
Antworten
Nachricht 1 von 6
Technics_Man
365 Aufrufe, 5 Antworten

kick not finding ocio config in Azure batch with correct command

Hello,


So I am trying to get kick to render on a VM in Azure batch and I managed to get kick to start up but it fails because it can not find the ocio config even when I use the -set color_manager_ocio.config, it seems not to be able to find it. The very command works when I try it on my machine when I have a custom path but it continues to not work when I am trying it on the Azure batch VM.


This is the code that I am using on Azure batch that starts up kick successfully and then tries to read the ocio.config file. 

 

cmd /c kick DBF0001.ass -o DBF0001.png -dw -dp -set color_manager_ocio.config c\ ocio.config

 

To explain a little how I manage to get kick to start on the Azure batch VM, was to have the kick.exe and all necessary .dll files, imported as recourse files and not an application package. So this means all the files are from my understanding, located in the root directory that I believe is C:\. I have tried different commands to try and locate the ocio.config file which is located in the very same place as the kick.exe. 

 

These are the different ways to write the location of the ocio.config file I have tried when using the -set color_manager_ocio.config command when the ocio.config file is located in the same recourse file import and then in what I believe, is the same directory that, as said, I also believe is C:\.

 

-set color_manager_ocio.config ocio.config
-set color_manager_ocio.config C:\ocio.config
-set color_manager_ocio.config c:\ocio.config
-set color_manager_ocio.config /c:/ocio.config
-set color_manager_ocio.config /c:/ocio.config
-set color_manager_ocio.config c/ ocio.config
-set color_manager_ocio.config c\ ocio.config
-set color_manager_ocio.config /c\ocio.config
In the one below I have censored the full blob storage address for security reasons
-set color_manager_ocio.config https://.blob.core.windows.net/kick/config.ocio

 


This is the log of the latest failed kick rendering on Azure batch.

 

00:00:00    68MB         | log started Thu May 26 12:41:06 2022
00:00:00    68MB         | Arnold 7.1.1.1 [68f16a3f] windows clang-10.0.1 oiio-2.4.0 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/04/21 17:03:24
00:00:00    68MB         | running on aeb343423000000, pid=3528
00:00:00    68MB         |  1 x Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (1 cores, 1 logical) with 2047MB
00:00:00    68MB         |  Windows Server (version 10.0, build 14393)
00:00:00    68MB         |  soft limit for open files is set at 2048
00:00:00    68MB         |  
00:00:00    86MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd\../ocio/configs/arnold/config.ocio
00:00:00    86MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd\../ocio/configs/arnold/config.ocio
00:00:00   102MB         | [kick] command: kick DBF0001.ass -o DBF0001.png -dw -dp -set color_manager_ocio.config c\ ocio.config
00:00:00   102MB         | loading plugins from . ...
00:00:00   105MB         | loaded 116 plugins from 5 lib(s) in 0:00.12
00:00:00   107MB         | [ass] loading DBF0001.ass ...
00:00:00   107MB         | [ass] read 13868 bytes, 12 nodes in 0:00.00
00:00:00   107MB         | [kick] applying 1 attr value override
00:00:00   107MB         | 
00:00:00   107MB         | authorizing ...
00:00:00   110MB         | [azure] successfully entitled in 0:00.16
00:00:00   110MB         | [azure] Id  : token-a7535d8f-0263-45ba-8464-abd1a11bb932VmId: ebf603ff-9ffa-45ca-85bb-5498ace14871
00:00:00   110MB         | 
00:00:00   110MB         | [color_manager] using color manager of type "color_manager_ocio"
00:00:00   110MB ERROR   | [color_manager_ocio] could not read 'c\ ocio.config' OCIO profile.
00:00:00   110MB WARNING | [color_manager] unable to determine rendering color space chromaticities for "ACEScg": using default "linear sRGB" chromaticities
00:00:00   110MB         |                 r(0.6400, 0.3300) g(0.3000, 0.6000) b(0.1500, 0.0600) and w(0.3127, 0.3290)
00:00:00   118MB WARNING | [kick] render aborted due to earlier errors
00:00:00   123MB         |  
00:00:00   123MB         | rendering image at 960 x 540, 6 AA samples
00:00:00   123MB         |   AA samples max    <disabled>
00:00:00   123MB         |   AA sample clamp   <disabled>
00:00:00   123MB         |   diffuse           samples  2 / depth  1
00:00:00   123MB         |   specular          samples  2 / depth  1
00:00:00   123MB         |   transmission      samples  2 / depth  8
00:00:00   123MB         |   volume indirect   <disabled by depth>
00:00:00   123MB         |   total                          depth 10
00:00:00   123MB         |   bssrdf            samples  2
00:00:00   123MB         |   transparency      depth 10
00:00:00   123MB WARNING | Aborted by user:  unknown reason
00:00:00   123MB         |  
00:00:00   123MB         | releasing resources
00:00:00    97MB         |   
00:00:00    97MB         |  releasing resources
00:00:00    75MB         |  Arnold shutdown

 

 

Tags (2)
Beschriftungen (2)
5 ANTWORTEN 5
Nachricht 2 von 6
Stephen.Blair
als Antwort auf: Technics_Man

I don't understand this:

 ERROR   | [color_manager_ocio] could not read 'c\ ocio.config' OCIO profile.

. "c\ ocio.config" is not a valid path
You should do something like -set color_manager_ocio "C:/ocio.config"

 



// Stephen Blair
// Arnold Renderer Support
Nachricht 3 von 6
Technics_Man
als Antwort auf: Technics_Man

When I try -set color_manager_ocio "C:/ocio.config" I still get this

 

00:00:00   110MB ERROR   | [color_manager_ocio] could not read 'C:/ ocio.config' OCIO profile.

 

 And in the second block of "code" in my first comment, I list all the different versions of the file path that I have tried (some that may not make sense but tried anyway to make sure) but I still get the same error message every time.

Here is the full log

 

00:00:00    68MB         | log started Thu May 26 16:06:18 2022
00:00:00    68MB         | Arnold 7.1.1.1 [68f16a3f] windows clang-10.0.1 oiio-2.4.0 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/04/21 17:03:24
00:00:00    68MB         | running on aeb343423000000, pid=2076
00:00:00    68MB         |  1 x Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (1 cores, 1 logical) with 2047MB
00:00:00    68MB         |  Windows Server (version 10.0, build 14393)
00:00:00    68MB         |  soft limit for open files is set at 2048
00:00:00    68MB         |  
00:00:00    86MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest26\wd\../ocio/configs/arnold/config.ocio
00:00:00    86MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest26\wd\../ocio/configs/arnold/config.ocio
00:00:00   102MB         | [kick] command: kick DBF0001.ass -o DBF0001.png -dw -dp -set color_manager_ocio.config C:/ ocio.config
00:00:00   102MB         | loading plugins from . ...
00:00:00   105MB         | loaded 116 plugins from 5 lib(s) in 0:00.12
00:00:00   107MB         | [ass] loading DBF0001.ass ...
00:00:00   107MB         | [ass] read 13868 bytes, 12 nodes in 0:00.00
00:00:00   107MB         | [kick] applying 1 attr value override
00:00:00   107MB         | 
00:00:00   107MB         | authorizing ...
00:00:00   110MB         | [azure] successfully entitled in 0:00.12
00:00:00   110MB         | [azure] Id  : token-6d303090-7894-44e6-bfdc-7603eafb63feVmId: 76961ff9-ed9a-4bfd-8090-8556258b2c43
00:00:00   110MB         | 
00:00:00   110MB         | [color_manager] using color manager of type "color_manager_ocio"
00:00:00   110MB ERROR   | [color_manager_ocio] could not read 'C:/ ocio.config' OCIO profile.
00:00:00   110MB WARNING | [color_manager] unable to determine rendering color space chromaticities for "ACEScg": using default "linear sRGB" chromaticities
00:00:00   110MB         |                 r(0.6400, 0.3300) g(0.3000, 0.6000) b(0.1500, 0.0600) and w(0.3127, 0.3290)
00:00:00   110MB WARNING | [kick] render aborted due to earlier errors
00:00:00   123MB         |  
00:00:00   123MB         | rendering image at 960 x 540, 6 AA samples
00:00:00   123MB         |   AA samples max    <disabled>
00:00:00   123MB         |   AA sample clamp   <disabled>
00:00:00   123MB         |   diffuse           samples  2 / depth  1
00:00:00   123MB         |   specular          samples  2 / depth  1
00:00:00   123MB         |   transmission      samples  2 / depth  8
00:00:00   123MB         |   volume indirect   <disabled by depth>
00:00:00   123MB         |   total                          depth 10
00:00:00   123MB         |   bssrdf            samples  2
00:00:00   123MB         |   transparency      depth 10
00:00:00   123MB WARNING | Aborted by user:  unknown reason
00:00:00   123MB         |  
00:00:00   123MB         | releasing resources
00:00:00    97MB         |   
00:00:00    97MB         |  releasing resources
00:00:00    75MB         |  Arnold shutdown

 

 

Nachricht 4 von 6
Stephen.Blair
als Antwort auf: Technics_Man

 

From that log, Arnold is here:

D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd\

 

eg you are running this kick

D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd\bin\kick.exe

 

 

Why is /ocio/configs/arnold/config.ocio missing? What other files are missing from the Arnold distribution?

 

This should be part of the Arnold install:

D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest25\wd/ocio/configs/arnold/config.ocio

 



// Stephen Blair
// Arnold Renderer Support
Nachricht 5 von 6
Technics_Man
als Antwort auf: Technics_Man

There should not be any file that should be missing. What I have done and practically only can do, is to gather all the files from the bin folder that you get from Arnold SDK and then throw in the ocio files from all subfolders the ocio folder that you get from again, Arnold SDK. I assume that there are certain files that I may have missed that should be in the same folder and the reason why every file is in the same "folder" is that the containers that you create for blob storage cannot have any subfolders. I tried to package kick as an "application package" which is a zip that you then access somehow, I did not manage to get that to work so I made this as a form of workaround. 
I have attached an image that shows all the files that are in one of the recourse folder the VM downloads, the other recourse folder is where the project file and potential textures are in.

 

And what is interesting is when I use the very same command on my computer and rename all folders associated with ocio and then have an ocio.config placed somewhere on my computer that I then path to, it works


I did try and use your recommended path (number moddified) D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest31\wd/ocio/configs/arnold/config.ocio and it did not work I have attached the log

 

 

 

00:00:00    67MB         | log started Thu May 26 17:03:30 2022
00:00:00    67MB         | Arnold 7.1.1.1 [68f16a3f] windows clang-10.0.1 oiio-2.4.0 osl-1.12.0 vdb-7.1.1 adlsdk-6.3.1.44 clmhub-2.0.0.235 rlm-14.1.3 optix-6.6.0 2022/04/21 17:03:24
00:00:00    67MB         | running on aeb343423000000, pid=1468
00:00:00    67MB         |  1 x Intel(R) Xeon(R) Platinum 8272CL CPU @ 2.60GHz (1 cores, 1 logical) with 2047MB
00:00:00    67MB         |  Windows Server (version 10.0, build 14393)
00:00:00    67MB         |  soft limit for open files is set at 2048
00:00:00    67MB         |  
00:00:00    85MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest31\wd\../ocio/configs/arnold/config.ocio
00:00:00    85MB WARNING | [color_manager_ocio] unable to find default OCIO config, expected in D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest31\wd\../ocio/configs/arnold/config.ocio
00:00:00   101MB         | [kick] command: kick DBF0001.ass -o DBF0001.png -dw -dp -set color_manager_ocio.config D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest31\wd/ocio/configs/arnold/config.ocio
00:00:00   101MB         | loading plugins from . ...
00:00:00   104MB         | loaded 116 plugins from 5 lib(s) in 0:00.14
00:00:00   106MB         | [ass] loading DBF0001.ass ...
00:00:00   106MB         | [ass] read 13868 bytes, 12 nodes in 0:00.00
00:00:00   106MB         | [kick] applying 1 attr value override
00:00:00   106MB         | 
00:00:00   106MB         | authorizing ...
00:00:00   108MB         | [azure] successfully entitled in 0:00.07
00:00:00   108MB         | [azure] Id  : token-9e6b3d3d-ce37-4e80-bdee-d057548bf14aVmId: bc6e556f-6de6-4f3e-b4d1-3ec8c8286168
00:00:00   108MB         | 
00:00:00   109MB         | [color_manager] using color manager of type "color_manager_ocio"
00:00:00   109MB ERROR   | [color_manager_ocio] could not read 'D:\batch\tasks\workitems\dite_azurebatch_testjob\job-1\rendertest31\wd/ocio/configs/arnold/config.ocio' OCIO profile.
00:00:00   109MB WARNING | [color_manager] unable to determine rendering color space chromaticities for "ACEScg": using default "linear sRGB" chromaticities
00:00:00   109MB         |                 r(0.6400, 0.3300) g(0.3000, 0.6000) b(0.1500, 0.0600) and w(0.3127, 0.3290)
00:00:00   112MB WARNING | [kick] render aborted due to earlier errors
00:00:00   122MB         |  
00:00:00   122MB         | rendering image at 960 x 540, 6 AA samples
00:00:00   122MB         |   AA samples max    <disabled>
00:00:00   122MB         |   AA sample clamp   <disabled>
00:00:00   122MB         |   diffuse           samples  2 / depth  1
00:00:00   122MB         |   specular          samples  2 / depth  1
00:00:00   122MB         |   transmission      samples  2 / depth  8
00:00:00   122MB         |   volume indirect   <disabled by depth>
00:00:00   122MB         |   total                          depth 10
00:00:00   122MB         |   bssrdf            samples  2
00:00:00   122MB         |   transparency      depth 10
00:00:00   122MB WARNING | Aborted by user:  unknown reason
00:00:00   122MB         |  
00:00:00   122MB         | releasing resources
00:00:00    96MB         |   
00:00:00    96MB         |  releasing resources
00:00:00    74MB         |  Arnold shutdown
tdown

 

 

 

 

Nachricht 6 von 6
Technics_Man
als Antwort auf: Technics_Man

I managed to make it find the ocio config file. The problem was that the file name was not "ocio.config" but "config.ocio"

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren verƶffentlichen  

Autodesk Design & Make Report