Hi there,
We’ve got a v.simple comp that works on a standard command-line using “FusionConsoleNode.exe”.
When the same command-line (generated by the plugin) tries to render on our Windows 7 Deadline 8.1.5.3 node it fails to render due to the Deadline render thread receiving an “exit code -1073741819” signal before it can get to load and process the comp.
For Fusion 7.7 in Deadline 7.2 we had a work around where we told the plugin to ignore that exit code but that doesn’t work here within Deadline 8.2
CORRECTION:
The old work around we use in Deadline 7.2 ‘does’ work in Deadline 8.1 for both Fusion 7.7 and 8.2. We simply re-added in the ignore the exit code that we were advised to use before.
elif exitCode != -1073741819:
into the fusion.py plugin code
def CheckExitCode( self, exitCode ):
if exitCode != 0:
if exitCode == 10:
self.FailRender( "Renderer returned error code 10. There was a problem with rendering the comp (see the render log for details), or the process was interrupted by a CTRL-C signal." )
elif exitCode == 20:
self.FailRender( "Renderer returned error code 20. There was some problem with the startup - DLLs may be missing, or a problem with a plugin was encountered, or there was a problem obtaining a licence. Check the console slave's output." )
elif exitCode != -1073741819:
self.FailRender( "Renderer returned non-zero error code %d. Check the console slave's output." % exitCode )
Cheers
This is the error log from the test farm:
=======================================================
Error
=======================================================
Error: Renderer returned non-zero error code -1073741819. Check the console slave's output.
at Deadline.Plugins.PluginWrapper.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)
=======================================================
Type
=======================================================
RenderPluginException
=======================================================
Stack Trace
=======================================================
at Deadline.Plugins.SandboxedPlugin.a(DeadlineMessage A_0)
at Deadline.Plugins.SandboxedPlugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)
=======================================================
Log
=======================================================
2016-11-03 16:31:57: 0: Loading Job's Plugin timeout is Disabled
2016-11-03 16:31:59: 0: Executing plugin command of type 'Sync Files for Job'
2016-11-03 16:31:59: 0: All job files are already synchronized
2016-11-03 16:31:59: 0: Plugin FusionCmd was already synchronized.
2016-11-03 16:31:59: 0: Done executing plugin command of type 'Sync Files for Job'
2016-11-03 16:31:59: 0: Executing plugin command of type 'Initialize Plugin'
2016-11-03 16:32:00: 0: INFO: Executing plugin script 'C:\Users\renderman\AppData\Local\Thinkbox\Deadline8\slave\QUAD-67\plugins\581b45fa80ef94097047e759\FusionCmd.py'
2016-11-03 16:32:00: 0: INFO: About: Fusion Cmd Plugin for Deadline
2016-11-03 16:32:00: 0: INFO: Render Job As User disabled, running as current user 'renderman'
2016-11-03 16:32:00: 0: INFO: The job's environment will be merged with the current environment before rendering
2016-11-03 16:32:00: 0: Done executing plugin command of type 'Initialize Plugin'
2016-11-03 16:32:00: 0: Start Job timeout is disabled.
2016-11-03 16:32:00: 0: Task timeout is disabled.
2016-11-03 16:32:00: 0: Loaded job: Testing load and saver (581b45fa80ef94097047e759)
2016-11-03 16:32:00: 0: Executing plugin command of type 'Start Job'
2016-11-03 16:32:00: 0: Done executing plugin command of type 'Start Job'
2016-11-03 16:32:00: 0: Plugin rendering frame(s): 1-2
2016-11-03 16:32:00: 0: Executing plugin command of type 'Render Task'
2016-11-03 16:32:00: 0: INFO: Stdout Redirection Enabled: True
2016-11-03 16:32:00: 0: INFO: Stdout Handling Enabled: True
2016-11-03 16:32:00: 0: INFO: Popup Handling Enabled: False
2016-11-03 16:32:00: 0: INFO: Using Process Tree: True
2016-11-03 16:32:00: 0: INFO: Hiding DOS Window: False
2016-11-03 16:32:00: 0: INFO: Creating New Console: False
2016-11-03 16:32:00: 0: INFO: Running as user: renderman
2016-11-03 16:32:00: 0: INFO: Executable: "C:\Program Files\Blackmagic Design\Fusion Render Node 8\FusionConsoleNode.exe"
2016-11-03 16:32:00: 0: INFO: Argument: "P:\A9016_Axis_Pipeline2016\user\Jamie\Fusion\8.2_tests\Simple_comp.comp" /render /start 1 /end 2 /step 1 /verbose /quiet /quietlicense /clean /quit
2016-11-03 16:32:00: 0: INFO: Full Command: "C:\Program Files\Blackmagic Design\Fusion Render Node 8\FusionConsoleNode.exe" "P:\A9016_Axis_Pipeline2016\user\Jamie\Fusion\8.2_tests\Simple_comp.comp" /render /start 1 /end 2 /step 1 /verbose /quiet /quietlicense /clean /quit
2016-11-03 16:32:00: 0: INFO: Startup Directory: "C:\Program Files\Blackmagic Design\Fusion Render Node 8"
2016-11-03 16:32:01: 0: INFO: Process Priority: BelowNormal
2016-11-03 16:32:01: 0: INFO: Process Affinity: default
2016-11-03 16:32:01: 0: INFO: Process is now running
2016-11-03 16:32:04: 0: INFO: Process exit code: -1073741819
2016-11-03 16:32:04: 0: Done executing plugin command of type 'Render Task'
=======================================================
Details
=======================================================
Date: 11/03/2016 16:32:05
Frames: 1-2
Elapsed Time: 00:00:00:09
Job Submit Date: 11/03/2016 14:13:14
Job User: jamiem
Average RAM Usage: 3704573952 (8%)
Peak RAM Usage: 3704573952 (8%)
Average CPU Usage: 2%
Peak CPU Usage: 5%
Used CPU Clocks (x10^6 cycles): 4504
Total CPU Clocks (x10^6 cycles): 225195
=======================================================
Slave Information
=======================================================
Slave Name: QUAD-67
Version: v8.1.5.3 Release (9d1206e01)
Operating System: Windows 7 Professional (SP1)
Running As Service: No
Machine User: renderman
IP Address: 192.168.63.87
MAC Address: 00:25:90:4D:D9:EF
CPU Architecture: x64
CPUs: 24
CPU Usage: 0%
Memory Usage: 3.5 GB / 48.0 GB (7%)
Free Disk Space: 256.610 GB
Video Card: Standard VGA Graphics Adapter
This is the render log from the same machine executing the frame in a commandline.
[code]
Starting Fusion Render Node 8.2 at 03/Nov/16 16:54:24
C:/Program Files/Blackmagic Design/Fusion Render Node 8\FusionConsoleNode.exe
Initialising QuickTime
Checking for licenses…
Loading support DLLs
Loading fusionoperators.dll
Loading fusionformats.dll
Loading Plugins
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/3D.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Alembic.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/CinemaRaw/CinemaRaw.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/DDS.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Dimension.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/DirectShow.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/FBX.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Fuses.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/OMF.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/OpenColorIO.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/OpenEXR.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/OpenFX.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Paint.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Particles.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/QuickTime.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Text.plugin
Loading plugin C:/Program Files/Blackmagic Design/Fusion Render Node 8/Plugins/Blackmagic/Utilities.plugin
Initialising Class Registry
Initialising all geometry caches
Initialising GLTools
ERROR: GLTools failed to initialise!
Initialising Texture Manager
Adding Global App Events
Registering System Sounds
Initialising Scripting Subsystem
Loading Comp at C:\Fusion8.2.0.2_Tests\FusionComp\simple_comp.comp
Rendering Comp, frames 1,2, step 1
Listening for commands…
Render started at Thu 4:54PM (Range: 1.0 to 2.0)
Rendered frame 1 (1 of 2), took 2.68027 secs
Rendered frame 2 (2 of 2), took 2.63304 secs
Render completed successfully at Thu 4:54PM - Total Time: 0h 0m 2.63s, Average: 2.63 seconds/frame
Auto-exiting with errcode 0
Cleanup licenses[/code]