arnold-usd icon indicating copy to clipboard operation
arnold-usd copied to clipboard

kick -v does not work with arnold:global:log:verbosity

Open xsisupport opened this issue 1 year ago • 1 comments

Describe the bug If the RenderSettings in a USD file include arnold:global:log:verbosity, then you never get more than kick -v 1 for a render.

For example:

00:00:00    88MB         | log started Thu Aug 31 14:51:49 2023
00:00:00    88MB         | Arnold 7.2.3.1 [6f30e43d] windows x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/08/10 10:49:57
00:00:00    88MB         | running on MTLMJ0HKD4C, pid=53824
00:00:00    88MB         |  1 x AMD Ryzen Threadripper PRO 3955WX 16-Cores  (16 cores, 32 logical) with 65386MB
00:00:00   100MB         |  NVIDIA driver version 528.95 (Optix 60805)
00:00:00   100MB         |  GPU 0: Quadro RTX 6000 @ 1770MHz (compute 7.5) with 24575MB (21138MB available) (NVLink:0)
00:00:00   100MB         |  GPU 1: NVIDIA T1000 @ 1395MHz (compute 7.5) with 4095MB (735MB available) (NVLink:0)
00:00:00   100MB         |  Windows 10 (version 10.0, build 19045)
00:00:00   100MB         |  soft limit for open files is set at 2048
00:00:00   100MB         |
00:00:00   109MB         | [color_manager_ocio] default ocio.config found in D:\arnold\Arnold-7.2.3.1_20230810103115_6f30e43d_windows_6.1\bin\../ocio/configs/arnold/config.ocio
00:00:00   109MB         | loading plugins from D:\arnold\Arnold-7.2.3.1\bin\..\plugins ...
00:00:00   109MB         |  alembic_proc.dll: alembic uses Arnold 7.2.3.1
00:00:00   109MB         |  cryptomatte.dll: cryptomatte uses Arnold 7.2.3.1
00:00:00   109MB         |  cryptomatte.dll: cryptomatte_filter uses Arnold 7.2.3.1
00:00:00   109MB         |  cryptomatte.dll: cryptomatte_manifest_driver uses Arnold 7.2.3.1
00:00:00   116MB         |  usd_proc.dll: usd uses Arnold 7.2.3.1
00:00:00   117MB         | loaded 5 plugins from 3 lib(s) in 0:00.08
00:00:00   117MB         | [color_manager_ocio] default ocio.config found in D:\arnold\Arnold-7.2.3.1_20230810103115_6f30e43d_windows_6.1\bin\../ocio/configs/arnold/config.ocio
00:00:00   119MB         | [kick] command: D:\arnold\Arnold-7.2.3.1\bin\kick -v 6 -dp -dw C:\temp\log_test.usda
00:00:00   119MB         | loading plugins from . ...
00:00:00   119MB         | no plugins loaded
Found camera
        |
        | authorizing with license manager: user ...
        | [user] authorized user "Stephen.Blair" in 0:01.29
        | [user] expiration date: 2024-10-26T19:59:59-04:00
        |
        | [color_manager] using color manager of type "color_manager_ocio"
        | [color_manager_ocio] using config file D:\arnold\Arnold-7.2.3.1\bin\../ocio/configs/arnold/config.ocio
        | [color_manager] rendering color space is "ACEScg"
        |
        | there are 1 light and 1 object:
        |       1 persp_camera
        |       1 skydome_light
        |       2 utility
        |       1 driver_exr
        |       3 box_filter
        |       2 list_aggregate
        |       2 color_manager_ocio
        |
        | rendering image at 1920 x 1080, 3 AA samples
        |   AA samples max    <disabled>
        |   AA sample clamp   <disabled>
        |   diffuse           samples  2 / depth  1
        |   specular          samples  2 / depth  1
        |   transmission      samples  2 / depth  2
        |   volume indirect   <disabled by depth>
        |   total                          depth 10
        |   bssrdf            samples  2
        |   light             <using per light samples>
        |   transparency      depth 10
        | initializing 9 nodes
        |  creating root object list ...
        | node initialization done in 0:00.00 (multithreaded)
        | updating 10 nodes
        |  no objects
        | node update done in 0:00.00 (multithreaded)
        | [aov] parsing 1 output statements ...
        | [aov] registered driver: "/Render/Products/renderproduct" (driver_exr)
        | [aov]  * "RGBA" of type RGBA filtered by "/Render/Products/Vars/RGBA/filter" (box_filter)
        | [aov] done preparing 2 AOVs for 1 output to 1 driver (0 deep AOVs)
        | starting 32 bucket workers of size 64x64 ...
        | render done in 0:00.553
        | [driver_exr] writing file `C:/Users/blairs/untitled.arnold_rendersettings1.0001.exr'
        | render done
00:00:02   283MB         |
00:00:02   283MB         | releasing resources
00:00:02   176MB         |
00:00:02   176MB         |  releasing resources
00:00:02   166MB         |   unloading 3 plugins
00:00:02   166MB         |    closing alembic_proc.dll ...
00:00:02   166MB         |    closing cryptomatte.dll ...
00:00:02   166MB         |    closing usd_proc.dll ...
00:00:02   166MB         |   unloading plugins done
00:00:02   166MB         |  Arnold shutdown```

**To Reproduce**
Steps to reproduce the behavior:
1. In Houdini, add an Arnold Render Settings node and set the log verbosity.
2. Use an USD Rop to export a usd file.
3. kick the usd file

Or, extract and kick this usda file:
[log_test.zip](https://github.com/Autodesk/arnold-usd/files/12489342/log_test.zip)

xsisupport avatar Aug 31 '23 18:08 xsisupport

Issue synced internally to ARNOLD-14002