Welcome to WSL!

New to the forum? Please read this and this.

Fusion 9 And Deadline - This could be due to a missing or incompatible plugin.

Moderator: SecondMan

FredP
Posts: 15
Joined: Wed Apr 13, 2016 8:02 pm

Fusion 9 And Deadline - This could be due to a missing or incompatible plugin.

#1

Post by FredP »

Hello All.
I am curious if anyone on this list is successfully using Fusion9 with Deadline. Specifically Deadline V9 or v10.
I am having an intermittent crash with Fusion that I can't seem to resolve.
I have tried both 9 and 10 with very poor results, same error message from v9 and v10 of Deadline..

"STDOUT: SCRIPT ERROR: Fusion failed to load the comp '...\F9_BG_Test_v01.comp'. This could be due to a missing or incompatible plugin."
(Full Error Log Below)


To be fair, Fusion 9 will render fine on these systems using the Fusion Render Manager. But integrating Fusion 9 into deadline seems to be having more problems than I have experienced with other software & deadline, including previous builds of fusion.

It seems to be that Fusion is crashing a millisecond after it tries to load the comp. (Comp is a BG tool and a Saver for testing)
As far as I can tell, the fusion preferences are configured correctly, the deadline plugin is configured correctly, fusion is licensed properly, the firewall is configured properly, but still, if I submit a job to a group of nodes in deadline, about ~10 of those nodes load the comp properly and write out frames, and the other nodes crash on loading the comp. The job will finish successfully on some of the nodes, but there can be close to 100 errors during the process. It is not always the same nodes that fail. A single node can fail 7 or 8 times, but on the 9th try, load correctly, and render a frame. :banghead:

This is very intermittant, and hard to track down. I am hoping someone else has seen this before, can anyone offer any suggestions to get past this? I would very much prefer to use Deadline than the Fusion Render Manager.

Thanks
=======================================================
Error
=======================================================
Error: Fusion failed to load the comp '...\F9_BG_Test_v01.comp'.
This could be due to a missing or incompatible plugin.
at Deadline.Plugins.PluginWrapper.StartJob(String& outMessage, AbortLevel& abortLevel)

=======================================================
Type
=======================================================
RenderPluginException

=======================================================
Stack Trace
=======================================================
at Deadline.Plugins.SandboxedPlugin.(DeadlineMessage )
at Deadline.Plugins.SandboxedPlugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.(TaskLogWriter �)

=======================================================
Log
=======================================================
2017-11-17 19:06:59: 0: Loading Job's Plugin timeout is Disabled
2017-11-17 19:07:00: 0: Executing plugin command of type 'Sync Files for Job'
2017-11-17 19:07:00: 0: All job files are already synchronized
2017-11-17 19:07:00: 0: Plugin Fusion was already synchronized.
2017-11-17 19:07:00: 0: Done executing plugin command of type 'Sync Files for Job'
2017-11-17 19:07:00: 0: Executing plugin command of type 'Initialize Plugin'
2017-11-17 19:07:00: 0: INFO: Executing plugin script '….\513e8b6b929\Fusion.py'
2017-11-17 19:07:01: 0: INFO: About: Fusion Plugin for Deadline
2017-11-17 19:07:01: 0: INFO: Render Job As User disabled, running as current user 'Render'
2017-11-17 19:07:01: 0: INFO: The job's environment will be merged with the current environment before rendering
2017-11-17 19:07:01: 0: Done executing plugin command of type 'Initialize Plugin'
2017-11-17 19:07:01: 0: Start Job timeout is disabled.
2017-11-17 19:07:01: 0: Task timeout is disabled.
2017-11-17 19:07:01: 0: Loaded job: F9_BG_Test_v021.comp (5a0fa39bbbde4513e8b6b929)
2017-11-17 19:07:01: 0: Executing plugin command of type 'Start Job'
2017-11-17 19:07:01: 0: INFO: Executing global job preload script '...\6b929\GlobalJobPreLoad.py'
2017-11-17 19:07:01: 0: INFO: Looking for AWS Portal File Transfer...
2017-11-17 19:07:01: 0: INFO: Executing job preload script '….\JobPreLoad.py'
2017-11-17 19:07:01: 0: INFO:
2017-11-17 19:07:01: 0: INFO: >> Deadline JOBPRELOAD.py Starting....
2017-11-17 19:07:01: 0: INFO: >> Fusion Build: 64bit
2017-11-17 19:07:01: 0: INFO: >> Fusion Major: 9
2017-11-17 19:07:01: 0: INFO: >> BlackMagic Design Fusion version 9.0.1
2017-11-17 19:07:01: 0: INFO: >> Deadline JOBPRELOAD.py Done....
2017-11-17 19:07:01: 0: INFO:
2017-11-17 19:07:01: 0: INFO:
2017-11-17 19:07:01: 0: INFO: Starting monitored managed process Fusion
2017-11-17 19:07:01: 0: INFO: Stdout Redirection Enabled: True
2017-11-17 19:07:01: 0: INFO: Stdout Handling Enabled: True
2017-11-17 19:07:01: 0: INFO: Popup Handling Enabled: True
2017-11-17 19:07:01: 0: INFO: QT Popup Handling Enabled: False
2017-11-17 19:07:01: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2017-11-17 19:07:01: 0: INFO: Using Process Tree: True
2017-11-17 19:07:01: 0: INFO: Hiding DOS Window: False
2017-11-17 19:07:01: 0: INFO: Creating New Console: False
2017-11-17 19:07:01: 0: INFO: Running as user: Render
2017-11-17 19:07:01: 0: INFO: Executable: "...\FusionRenderNode.exe"
2017-11-17 19:07:01: 0: INFO: Argument: /quiet /listen /verbose /log "...\fusion.log"
2017-11-17 19:07:01: 0: INFO: Full Command: "...\FusionRenderNode.exe" /quiet /listen /verbose /log "...\fusion.log"
2017-11-17 19:07:01: 0: INFO: Startup Directory: "...\Node_9.01"
2017-11-17 19:07:01: 0: INFO: Process Priority: BelowNormal
2017-11-17 19:07:01: 0: INFO: Process Affinity: default
2017-11-17 19:07:01: 0: INFO: Process is now running
2017-11-17 19:07:01: 0: INFO: Starting monitored managed process StartJob
2017-11-17 19:07:01: 0: INFO: Update timeout has been set to 150 seconds
2017-11-17 19:07:01: 0: INFO: Stdout Redirection Enabled: True
2017-11-17 19:07:01: 0: INFO: Stdout Handling Enabled: True
2017-11-17 19:07:01: 0: INFO: Popup Handling Enabled: True
2017-11-17 19:07:01: 0: INFO: QT Popup Handling Enabled: False
2017-11-17 19:07:01: 0: INFO: WindowsForms10.Window.8.app.* Popup Handling Enabled: False
2017-11-17 19:07:01: 0: INFO: Using Process Tree: True
2017-11-17 19:07:01: 0: INFO: Hiding DOS Window: True
2017-11-17 19:07:01: 0: INFO: Creating New Console: False
2017-11-17 19:07:01: 0: INFO: Running as user: Render
2017-11-17 19:07:01: 0: INFO: Executable: "...\Node_9.01\fuscript.exe"
2017-11-17 19:07:01: 0: INFO: Argument: "...\StartJob.eyeonscript" "...\F9_BG_Test_v01.comp" 30
2017-11-17 19:07:01: 0: INFO: Full Command: "...\Node_9.01\fuscript.exe" "...\StartJob.eyeonscript" "...\F9_BG_Test_v01.comp" 30
2017-11-17 19:07:01: 0: INFO: Startup Directory: "...\Node_9.01"
2017-11-17 19:07:01: 0: INFO: Process Priority: BelowNormal
2017-11-17 19:07:01: 0: INFO: Process Affinity: default
2017-11-17 19:07:01: 0: INFO: Process is now running
2017-11-17 19:07:02: 0: STDOUT: Fusion Script Interpreter
2017-11-17 19:07:02: 0: STDOUT: Copyright (C) 2005 - 2017 Blackmagic Design Pty. Ltd.
2017-11-17 19:07:02: 0: STDOUT: Connecting to Fusion...
2017-11-17 19:07:02: 0: INFO: LOG:
2017-11-17 19:07:02: 0: INFO: LOG: ---------------------------------------------------
2017-11-17 19:07:02: 0: INFO: LOG: Starting Fusion Render Node 9.0.1 at 17/Nov/17 19:07:02
2017-11-17 19:07:02: 0: INFO: LOG: ...\Node_9.01\FusionRenderNode.exe
2017-11-17 19:07:02: 0: INFO: LOG: ---------------------------------------------------
2017-11-17 19:07:02: 0: INFO: LOG: Initialising QuickTime
2017-11-17 19:07:03: 0: STDOUT: Connection timeout in 29 seconds
2017-11-17 19:07:03: 0: INFO: LOG: Checking for licenses...
2017-11-17 19:07:03: 0: INFO: LOG: Loading support DLLs
2017-11-17 19:07:03: 0: INFO: LOG: Loading fusionoperators.dll
2017-11-17 19:07:03: 0: INFO: LOG: Loading fusionformats.dll
2017-11-17 19:07:03: 0: INFO: LOG: Loading Plugins
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/3D.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Alembic.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/CinemaRaw/CinemaRaw.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/DDS.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Dimension.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/DirectShow.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/FBX.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Fuses.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/MXF.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/OpenColorIO.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/OpenEXR.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/OpenFX.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Paint.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Particles.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/QuickTime.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Text.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Loading plugin .../Node_9.01/Plugins/Blackmagic/Utilities.plugin
2017-11-17 19:07:03: 0: INFO: LOG: Initialising Class Registry
2017-11-17 19:07:03: 0: INFO: LOG: Initialising all geometry caches
2017-11-17 19:07:03: 0: INFO: LOG: Initialising GLTools
2017-11-17 19:07:03: 0: INFO: LOG: ERROR: GLTools failed to initialise!
2017-11-17 19:07:03: 0: INFO: LOG: Initialising Texture Manager
2017-11-17 19:07:04: 0: STDOUT: Connection timeout in 28 seconds
2017-11-17 19:07:04: 0: STDOUT: Connected to Fusion
2017-11-17 19:07:04: 0: STDOUT: Getting comp list.
2017-11-17 19:07:04: 0: STDOUT: Loading comp ...\F9_BG_Test_v01.comp
2017-11-17 19:07:04: 0: INFO: LOG: Adding Global App Events
2017-11-17 19:07:04: 0: INFO: LOG: Registering System Sounds
2017-11-17 19:07:04: 0: INFO: LOG: Initialising Scripting Subsystem
2017-11-17 19:07:04: 0: STDOUT: SCRIPT ERROR: Fusion failed to load the comp '...\F9_BG_Test_v01.comp'. This could be due to a missing or incompatible plugin.
2017-11-17 19:07:04: 0: Done executing plugin command of type 'Start Job'

=======================================================
Details
=======================================================
Date: 11/17/2017 19:07:05
Frames: 200-249
Elapsed Time: 00:00:00:07
Job Submit Date: 11/17/2017 19:06:03
Average RAM Usage: 5613879296 (9%)
Peak RAM Usage: 5613879296 (9%)
Average CPU Usage: 1%
Peak CPU Usage: 2%
Used CPU Clocks (x10^6 cycles): 3080
Total CPU Clocks (x10^6 cycles): 307959

=======================================================
Slave Information
=======================================================
Slave Name: NODE026
Version: v10.0.7.2 Release (aab6fddb9)
Operating System: Windows 7 Professional (SP1)
Running As Service: No

CPU Architecture: x64
CPUs: 32
CPU Usage: 4%
Memory Usage: 5.2 GB / 64.0 GB (8%)
Free Disk Space: 249.820 GB
Video Card: Standard VGA Graphics Adapter

FredP
Posts: 15
Joined: Wed Apr 13, 2016 8:02 pm

Re: Fusion 9 And Deadline - This could be due to a missing or incompatible plugin.

#2

Post by FredP »

Here is the solution to this problem in the event some other unfortunate soul comes across this failure.

It seems Deadline is not waiting long enough for Fusion to initialize, and this error can be avoided by adding a wait(10) to the StartJob.fuscript (previously called StartJob.eyeonscriptin your deadlineRepo\plugins\Fusion directory.
  1. --------------------------------------------------------------------------------
  2. -- Check proper usage.
  3. ---------------------------------------------------------------------------------
  4. print("A")if( arg[2] == nil ) then
  5.     print( "StartJob.fuscript flowFile timeOut" )
  6.     print( "SCRIPT ERROR: Invalid arguments to StartJob.fuscript" )
  7.     io.flush()
  8.     wait(5)
  9.     do return end
  10. end
  11. wait(10) --     <--- NEW
  12. ---------------------------------------------------------------------------------
  13. -- Connect to Fusion.
  14. ---------------------------------------------------------------------------------
  15.  
  16. ....
This solved the issue at 10 seconds, but I did have success with wait times as low as 2 seconds. Below that and the results varied.

User avatar
nufu
Posts: 18
Joined: Thu Feb 22, 2018 2:04 am

Re: Fusion 9 And Deadline - This could be due to a missing or incompatible plugin.

#3

Post by nufu »

Thanks for posting the solution to this, was getting a ton of slave errors trying to load the fusion comp.

FredP
Posts: 15
Joined: Wed Apr 13, 2016 8:02 pm

Re: Fusion 9 And Deadline - This could be due to a missing or incompatible plugin.

#4

Post by FredP »

Cheers!