AWS Thinkbox Discussion Forums

Problem Maya Batch using 3Delight

Hi I use 3delight 2.932 for Maya 2022
I render from deadline monitor to rendering with Maya batch

There is some error like
Error: file: C:/Users/Administrator/AppData/Local/Temp/tmpEE8.tmp line 6: Cannot find procedure “DRG_batchRenderInit”.

I’ve tried local render using Maya and it work. I think the problem at this DRG_batchRenderInit error, but I can’t figure out

here the deadline monitor log looks like this:

0: Loading Job’s Plugin timeout is Disabled
0: WARNING: Python version for ‘MayaBatch’ plugin is not specified! Defaulting to Py2.
0: SandboxedPlugin: Render Job As User disabled, running as current user ‘Administrator’
0: nogui was not added to the CommandLineParser.
0: Executing plugin command of type ‘Initialize Plugin’
0: INFO: Executing plugin script ‘C:\ProgramData\Thinkbox\Deadline10\workers\pc-04\plugins\646ed134fe614828cca8e430\MayaBatch.py’
0: INFO: About: Maya Batch Plugin for Deadline
0: INFO: The job’s environment will be merged with the current environment before rendering
0: Done executing plugin command of type ‘Initialize Plugin’
0: Start Job timeout is disabled.
0: Task timeout is disabled.
0: Loaded job: scene test (646ed134fe614828cca8e430)

0: Successfully mapped M: to \192.168.1.5\animation\TENH

0: Executing plugin command of type ‘Start Job’
0: DEBUG: S3BackedCache Client is not installed.
0: INFO: Executing global asset transfer preload script ‘C:\ProgramData\Thinkbox\Deadline10\workers\pc-04\plugins\646ed134fe614828cca8e430\GlobalAssetTransferPreLoad.py’
0: INFO: Looking for legacy (pre-10.0.26) AWS Portal File Transfer…
0: INFO: Looking for legacy (pre-10.0.26) File Transfer controller in C:/Program Files/Thinkbox/S3BackedCache/bin/task.py…
0: INFO: Could not find legacy (pre-10.0.26) AWS Portal File Transfer.
0: INFO: Legacy (pre-10.0.26) AWS Portal File Transfer is not installed on the system.
0: INFO: Executing global job preload script ‘C:\ProgramData\Thinkbox\Deadline10\workers\pc-04\plugins\646ed134fe614828cca8e430\GlobalJobPreLoad.py’
0: PYTHON: ** GlobalJobPreload start …
0: PYTHON: >>> Getting job …
0: PYTHON: — Job type - render 0
0: PYTHON: — Job type - publish 0
0: PYTHON: — Job type - remote 0
0: INFO: Rendering with Maya Version 2022.0
0: INFO: Setting MAYA_DEBUG_ENABLE_CRASH_REPORTING environment variable to 0 for this session
0: INFO: Setting Process Environment Variable MAYA_DEBUG_ENABLE_CRASH_REPORTING to 0
0: INFO: Setting MAYA_DISABLE_CIP (ADSK Customer Involvement Program) environment variable to 1 for this session
0: INFO: Setting Process Environment Variable MAYA_DISABLE_CIP to 1
0: INFO: Setting MAYA_DISABLE_CER (ADSK Customer Error Reporting) environment variable to 1 for this session
0: INFO: Setting Process Environment Variable MAYA_DISABLE_CER to 1
0: INFO: Setting MAYA_DISABLE_CLIC_IPM (ADSK In Product Messaging) environment variable to 1 for this session
0: INFO: Setting Process Environment Variable MAYA_DISABLE_CLIC_IPM to 1
0: INFO: Setting MAYA_OPENCL_IGNORE_DRIVER_VERSION environment variable to 1 for this session
0: INFO: Setting Process Environment Variable MAYA_OPENCL_IGNORE_DRIVER_VERSION to 1
0: INFO: Setting MAYA_VP2_DEVICE_OVERRIDE environment variable to VirtualDeviceDx11 for this session
0: INFO: Setting Process Environment Variable MAYA_VP2_DEVICE_OVERRIDE to VirtualDeviceDx11
0: INFO: Setting MAYA_RENDER_SETUP_INCLUDE_ALL_LIGHTS environment variable to 1 for this session
0: INFO: Setting Process Environment Variable MAYA_RENDER_SETUP_INCLUDE_ALL_LIGHTS to 1
0: INFO: Setting MAYA_ENABLE_LEGACY_RENDER_LAYERS environment variable to 0 for this session
0: INFO: Setting Process Environment Variable MAYA_ENABLE_LEGACY_RENDER_LAYERS to 0
0: INFO: Not enforcing a build of Maya
0: INFO: Starting monitored managed process MayaBatch
0: INFO: Stdout Redirection Enabled: True
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: True
0: INFO: QT Popup Handling Enabled: False
0: INFO: WindowsForms10.Window.8.app. Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: True
0: INFO: Creating New Console: False
0: INFO: Running as user: Administrator
0: INFO: Not enforcing a build of Maya
0: INFO: Executable: “C:\Program Files\Autodesk\Maya2022\bin\MayaBatch.exe”
0: INFO: Argument: -prompt -proj “M:/MK/shot/MK2/MK2_0070/work/lighting/maya”
0: INFO: Full Command: “C:\Program Files\Autodesk\Maya2022\bin\MayaBatch.exe” -prompt -proj “M:/MK/shot/MK2/MK2_0070/work/lighting/maya”
0: INFO: Startup Directory: “C:\Program Files\Autodesk\Maya2022\bin”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: Done executing plugin command of type ‘Start Job’
0: Plugin rendering frame(s): 1010
0: Executing plugin command of type ‘Render Task’
0: INFO: Waiting until maya is ready to go
0: STDOUT: Initialized VP2.0 renderer {
0: STDOUT: Version : 2016.11.62.12. Feature Level 5.
0: STDOUT: Adapter : NVIDIA GeForce RTX 3080 Ti
0: STDOUT: Vendor ID: 4318. Device ID : 8712
0: STDOUT: Driver : C:\Windows\System32\DriverStore\FileRepository\nv_dispsig.inf_amd64_70c1bf3af5e4f6ee\nvldumdx.dll,C:\Windows\System32\DriverSto:31.0.15.2756.
0: STDOUT: API : DirectX V.11.
0: STDOUT: Max texture size : 16384 * 16384.
0: STDOUT: Max texture coords : 32
0: STDOUT: Shader versions supported (Vertex: 5, Geometry: 5, Pixel 5).
0: STDOUT: Active stereo support available : 0
0: STDOUT: GPU Memory Limit : 12288 MB.
0: STDOUT: CPU Memory Limit : 15500.9 MB.
0: STDOUT: }
0: STDOUT: OpenCL evaluator is attempting to initialize OpenCL.
0: STDOUT: Detected 1 OpenCL Platforms:
0: STDOUT: 0: NVIDIA Corporation. NVIDIA CUDA. OpenCL 3.0 CUDA 12.0.94.
0: STDOUT: Supported extensions: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32
0: STDOUT: Selected matching OpenCL Platform: NVIDIA Corporation NVIDIA CUDA OpenCL 3.0 CUDA 12.0.94.
0: STDOUT: OpenCL evaluator choosing OpenCL platform NVIDIA Corporation.
0: STDOUT: Choosing OpenCL Device NVIDIA GeForce RTX 3080 Ti. Device Type: GPU Device is available.
0: STDOUT: Result: untitled
0: STDOUT: mel: READY FOR INPUT
0: INFO: Importing Maya Batch Utils melscript: C:\ProgramData\Thinkbox\Deadline10\workers\pc-04\plugins\646ed134fe614828cca8e430\MayaBatchUtils.mel
0: INFO: Waiting for Maya Batch Utils melscript to finish loading
0: STDOUT: mel: mel: READY FOR INPUT
0: INFO: Importing Maya Batch Functions python script: C:\ProgramData\Thinkbox\Deadline10\workers\pc-04\plugins\646ed134fe614828cca8e430\DeadlineMayaBatchFunctions.py
0: INFO: Waiting for Maya Batch Functions python script to finish importing
0: STDOUT: mel: Result: 0
0: STDOUT: mel: READY FOR INPUT
0: INFO: >This is a Render Job
0: INFO: Rendering with 3delight
0: INFO: Rendering to network drive
0: INFO: Creating melscript to execute render

0: INFO: Adding dirmap command to map “//192.168.1.5/animation/TENH” to “M:/”

0: INFO: Executing script: C:\Users\Administrator\AppData\Local\Temp\tmpEE8.tmp
0: INFO: Waiting for script to finish
0: STDOUT: mel: Loading scene: M:/MK/shot/MK2/MK2_0070/work/lighting/maya/tes.ma
0: STDOUT: File read in 0.034 seconds.
0: WARNING: Strict error checking off, ignoring the following error or warning.
0: STDOUT: Warning: file: C:/ProgramData/Thinkbox/Deadline10/workers/pc-04/plugins/646ed134fe614828cca8e430/MayaBatchUtils.mel line 31: Unknown object type: aiStandIn
0: STDOUT: ------[ XGen path mapping STARTED ]------
0: STDOUT: ------[ XGen path mapping SUCCEEDED ]------
0: WARNING: Strict error checking off, ignoring the following error or warning.
0: STDOUT: Error: file: C:/Users/Administrator/AppData/Local/Temp/tmpEE8.tmp line 6: Cannot find procedure “DRG_batchRenderInit”.
0: WARNING: Strict error checking off, ignoring the following error or warning.
0: STDOUT: Error: file: C:/Users/Administrator/AppData/Local/Temp/tmpEE8.tmp line 67: Render failed.
0: STDOUT: mel: READY FOR INPUT
0: Done executing plugin command of type ‘Render Task’

To see if this is getting caused by the Deadline Worker, or by the scene / render node could you go through the troubleshooting guide to test this render as Deadline would run it but without the added complexity of our application plugins?

I agree that DRG_batchRenderInit is the issue, and that tmpEE8.tmp file referenced is something Deadline builds automatically for rendering with MayaBatch, so the troubleshooting guide will help simplify the setup.

I noticed in Maya’s batch renderer there are 3Delight and _3Delight. when submitting job from monitor the renderer is 3Delight if i send it from Maya the renderer is _3Delight.

so, I try submit from Maya which use _3Delight renderer. there is no DRG_batchRenderInit error

I see this discussion

1 Like

@azura

thanks for sharing the solution, so it is working if you use _3Delight when submitting from within Maya?

Privacy | Site terms | Cookie preferences