Hi,
thx for the new plugin, but it seems it reacts like the old one
when I resume the job
- the mxi files restart from 0kb
- in the slave log, the resume start from sampling level 1
-SeB-
Hi,
thx for the new plugin, but it seems it reacts like the old one
when I resume the job
-SeB-
Weird. Can you send us the two logs from the job? The first would be from the original render, and the second would be from when it tried to resume the render.
To get the logs, right-click on the job and select Job Reports -> View Log Reports.
Thanks!
first render log
0: Task timeout is disabled.
0: Loaded job: Untitled (999_050_999_768524da)
0: INFO: StartJob: initializing script plugin Maxwell
0: INFO: Any stdout that matches the regular expression “.Error:.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “desired rendering time : ([0-9]+.?[0-9])" will be handled as appropriate
0: INFO: Any stdout that matches the regular expression "desired sampling level : ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)h([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)d([0-9]+)h([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: About: Maxwell Plugin for Deadline
0: Plugin rendering frame(s): 2
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: True
0: INFO: Render Executable: “C:\Program Files\Next Limit\Maxwell 2\maxwell.exe”
0: INFO: Saving output for this job to M:\jobs\images\test\testMaxweel.jpg
0: INFO: Not resuming render from MXI file because it doesn’t exist yet
0: INFO: A new MXI file will be created instead
0: INFO: Render Argument: -mxs:“M:\jobs\images\test\testMaxweel.0001.mxs” -nowait -hide -animation:2-2 -threads:0 -node -verbose:4 -output:“M:\jobs\images\test\testMaxweel.jpg” -mxi:“M:\jobs\images\test\testMaxweel.mxi”
0: INFO: Startup Directory: “C:\Program Files\Next Limit\Maxwell 2”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] MAXWELL RENDER (M~R). Engine version 2.5.1.0
0: STDOUT: maxwell:[INFO] © 2004-2010. Licensed to Next Limit Technologies
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] C:\Program Files\Next Limit\Maxwell 2\maxwell.exe -mxs:M:\jobs\images\test\testMaxweel.0001.mxs -nowait -hide -animation:2-2 -threads:0 -node -verbose:4 -output:M:\jobs\images\test\testMaxweel.jpg -mxi:M:\jobs\images\test\testMaxweel.mxi
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Num processors: ( logical: 8, physical: 8 )
0: STDOUT: maxwell:[INFO] Maxwell Root folder:C:\Program Files\Next Limit\Maxwell 2
0: STDOUT: maxwell:[INFO] License found in: C:\Documents and Settings\render\My Documents\Maxwell\license.txt
0: STDOUT: maxwell:[INFO] Low Priority Enabled
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Reading MXS:M:\jobs\images\test\testMaxweel.0002.mxs
0: STDOUT: maxwell:[INFO] MXS file read successfully
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Rendering animation. Loading frame:2.
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Reading MXS:M:\jobs\images\test\testMaxweel.0002.mxs
0: STDOUT: maxwell:[INFO] CPU ID used: 13364
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Checking scene dependencies…
0: STDOUT: maxwell:[INFO] Checking Data
0: STDOUT: maxwell:[INFO] Loading Bitmaps & Preprocessing Data
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Scene Info:
0: STDOUT: maxwell:[INFO] Frame: 2
0: STDOUT: maxwell:[INFO] Image output: M:\jobs\images\test\testMaxweel.0002.jpg
0: STDOUT: maxwell:[INFO] MXI output: M:\jobs\images\test\testMaxweel.0002.mxi
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Geometry:
0: STDOUT: maxwell:[INFO] - Num Meshes: 2
0: STDOUT: maxwell:[INFO] - Num Triangles: 212
0: STDOUT: maxwell:[INFO] - Num Vertexes: 129
0: STDOUT: maxwell:[INFO] - Num Normals: 12
0: STDOUT: maxwell:[INFO] - Num Materials: 2
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Camera: persp
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Render settings:
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] - Render version : 2.5.1.0
0: STDOUT: maxwell:[INFO] - desired rendering time : 30
0: STDOUT: maxwell:[INFO] - desired sampling level : 12.000000
0: STDOUT: maxwell:[INFO] - using 0 threads
0: STDOUT: maxwell:[INFO] - using RS1 engine
0: STDOUT: maxwell:[INFO] - illumination layers:
0: STDOUT: maxwell:[INFO] . . direct layer: true
0: STDOUT: maxwell:[INFO] . . indirect layer: true
0: STDOUT: maxwell:[INFO] . . direct caustic reflection layer: true
0: STDOUT: maxwell:[INFO] . . direct caustic refraction layer: true
0: STDOUT: maxwell:[INFO] . . indirect caustic reflection layer: true
0: STDOUT: maxwell:[INFO] . . indirect caustic refraction layer: true
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Start Voxelization
0: STDOUT: maxwell:[INFO] End Voxelization
0: STDOUT: maxwell:[INFO] Start Rendering
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 614.400. Time: (null). SL of 1.00
0: STDOUT: maxwell:[INFO] Time left: 16s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 512.000. Time: 1s. SL of 2.00
0: STDOUT: maxwell:[INFO] Time left: 17s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 972.800. Time: 1s. SL of 3.00
0: STDOUT: maxwell:[INFO] Time left: 17s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 998.400. Time: 2s. SL of 4.00
0: STDOUT: maxwell:[INFO] Time left: 16s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1157.486. Time: 3s. SL of 5.00
0: STDOUT: maxwell:[INFO] Time left: 16s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1418.667. Time: 4s. SL of 6.00
0: STDOUT: maxwell:[INFO] Time left: 15s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1796.945. Time: 5s. SL of 7.00
0: STDOUT: maxwell:[INFO] Time left: 19s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 2328.000. Time: 6s. SL of 8.00
0: STDOUT: maxwell:[INFO] Time left: 14s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 2421.600. Time: 9s. SL of 9.00
0: STDOUT: maxwell:[INFO] Time left: 12s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 2785.248. Time: 12s. SL of 10.00
0: STDOUT: maxwell:[INFO] Time left: 11s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 3183.636. Time: 16s. SL of 11.00
0: STDOUT: maxwell:[INFO] Time left: 7s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 3515.680. Time: 22s. SL of 12.00
0: STDOUT: maxwell:[INFO] Time left:
0: STDOUT: maxwell:[INFO] End render process…
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Render finished successfully
0: STDOUT: maxwell:[INFO] Ending Session…
0: INFO: Process exit code: 0
Log Date/Time = Jun 27/11 16:38:35
Frames = 2-2
Slave Machine = Render-07
Slave Version = v5.0.0.44528 R
Plugin Name = Maxwell
[/code]
resume render log
0: Task timeout is disabled.
0: Loaded job: Untitled (999_050_999_768524da)
0: INFO: StartJob: initializing script plugin Maxwell
0: INFO: Any stdout that matches the regular expression “.Error:.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “desired rendering time : ([0-9]+.?[0-9])" will be handled as appropriate
0: INFO: Any stdout that matches the regular expression "desired sampling level : ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)h([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)d([0-9]+)h([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: About: Maxwell Plugin for Deadline
0: Plugin rendering frame(s): 3
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: True
0: INFO: Render Executable: “C:\Program Files\Next Limit\Maxwell 2\maxwell.exe”
0: INFO: Saving output for this job to M:\jobs\images\test\testMaxweel.jpg
0: INFO: Not resuming render from MXI file because it doesn’t exist yet
0: INFO: A new MXI file will be created instead
0: INFO: Render Argument: -mxs:“M:\jobs\images\test\testMaxweel.0001.mxs” -nowait -hide -animation:3-3 -threads:0 -sampling:12 -node -verbose:4 -output:“M:\jobs\images\test\testMaxweel.jpg” -mxi:“M:\jobs\images\test\testMaxweel.mxi”
0: INFO: Startup Directory: “C:\Program Files\Next Limit\Maxwell 2”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] MAXWELL RENDER (M~R). Engine version 2.5.1.0
0: STDOUT: maxwell:[INFO] © 2004-2010. Licensed to Next Limit Technologies
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] C:\Program Files\Next Limit\Maxwell 2\maxwell.exe -mxs:M:\jobs\images\test\testMaxweel.0001.mxs -nowait -hide -animation:3-3 -threads:0 -sampling:12 -node -verbose:4 -output:M:\job\images\test\testMaxweel.jpg -mxi:M:\jobs\images\test\testMaxweel.mxi
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Num processors: ( logical: 8, physical: 8 )
0: STDOUT: maxwell:[INFO] Maxwell Root folder:C:\Program Files\Next Limit\Maxwell 2
0: STDOUT: maxwell:[INFO] License found in: C:\Documents and Settings\render\My Documents\Maxwell\license.txt
0: STDOUT: maxwell:[INFO] Low Priority Enabled
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Reading MXS:M:\jobs\images\test\testMaxweel.0003.mxs
0: STDOUT: maxwell:[INFO] MXS file read successfully
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Rendering animation. Loading frame:3.
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Reading MXS:M:\jobs\images\test\testMaxweel.0003.mxs
0: STDOUT: maxwell:[INFO] CPU ID used: 11442
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Checking scene dependencies…
0: STDOUT: maxwell:[INFO] Checking Data
0: STDOUT: maxwell:[INFO] Loading Bitmaps & Preprocessing Data
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Scene Info:
0: STDOUT: maxwell:[INFO] Frame: 3
0: STDOUT: maxwell:[INFO] Image output: M:\jobs\images\test\testMaxweel.0003.jpg
0: STDOUT: maxwell:[INFO] MXI output: M:\jobs\images\test\testMaxweel.0003.mxi
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Geometry:
0: STDOUT: maxwell:[INFO] - Num Meshes: 2
0: STDOUT: maxwell:[INFO] - Num Triangles: 212
0: STDOUT: maxwell:[INFO] - Num Vertexes: 129
0: STDOUT: maxwell:[INFO] - Num Normals: 12
0: STDOUT: maxwell:[INFO] - Num Materials: 2
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Camera: persp
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Render settings:
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] - Render version : 2.5.1.0
0: STDOUT: maxwell:[INFO] - desired rendering time : 30
0: STDOUT: maxwell:[INFO] - desired sampling level : 12.000000
0: STDOUT: maxwell:[INFO] - using 0 threads
0: STDOUT: maxwell:[INFO] - using RS1 engine
0: STDOUT: maxwell:[INFO] - illumination layers:
0: STDOUT: maxwell:[INFO] . . direct layer: true
0: STDOUT: maxwell:[INFO] . . indirect layer: true
0: STDOUT: maxwell:[INFO] . . direct caustic reflection layer: true
0: STDOUT: maxwell:[INFO] . . direct caustic refraction layer: true
0: STDOUT: maxwell:[INFO] . . indirect caustic reflection layer: true
0: STDOUT: maxwell:[INFO] . . indirect caustic refraction layer: true
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Start Voxelization
0: STDOUT: maxwell:[INFO] End Voxelization
0: STDOUT: maxwell:[INFO] Start Rendering
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 614.400. Time: (null). SL of 1.00
0: STDOUT: maxwell:[INFO] Time left: 18s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1536.000. Time: (null). SL of 2.00
0: STDOUT: maxwell:[INFO] Time left: 17s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 972.800. Time: 1s. SL of 3.00
0: STDOUT: maxwell:[INFO] Time left: 17s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 998.400. Time: 2s. SL of 4.00
0: STDOUT: maxwell:[INFO] Time left: 17s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1157.486. Time: 3s. SL of 5.00
0: STDOUT: maxwell:[INFO] Time left: 16s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1824.000. Time: 3s. SL of 6.00
0: STDOUT: maxwell:[INFO] Time left: 15s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 1796.945. Time: 5s. SL of 7.00
0: STDOUT: maxwell:[INFO] Time left: 18s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 2328.000. Time: 6s. SL of 8.00
0: STDOUT: maxwell:[INFO] Time left: 14s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 2706.494. Time: 8s. SL of 9.00
0: STDOUT: maxwell:[INFO] Time left: 12s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 3027.443. Time: 11s. SL of 10.00
0: STDOUT: maxwell:[INFO] Time left: 11s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 3183.636. Time: 16s. SL of 11.00
0: STDOUT: maxwell:[INFO] Time left: 7s
0: STDOUT: maxwell:[INFO] Start writing MXI file…
0: STDOUT: maxwell:[INFO] End writing MXI file…
0: STDOUT: maxwell:[INFO] Benchmark of 3515.680. Time: 22s. SL of 12.00
0: STDOUT: maxwell:[INFO] Time left:
0: STDOUT: maxwell:[INFO] End render process…
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Render finished successfully
0: STDOUT: maxwell:[INFO] Ending Session…
0: INFO: Process exit code: 0
Log Date/Time = Jun 27/11 16:43:08
Frames = 3-3
Slave Machine = Render-07
Slave Version = v5.0.0.44528 R
Plugin Name = Maxwell
[/code]
Thanks! With our tests, were weren’t testing with animation enabled. I’m guessing that when rendering an animation, Maxwell automatically appends the frame padding to the mxi file. We currently aren’t doing this when checking for the file’s existence, which is probably why it starts a new mxi file. We’ll run some more tests here to confirm,
Cheers,
This updated patch should work with single frame jobs and animation jobs. Give it a try and let us know if you continue to have problems.
Maxwell.zip (3.87 KB)
it still doesn’t work
the first rendering works but I have errors on the resume.
here is the error log
Exception during render: An error occurred in RenderTasks(): Error in CheckExitCode(): Renderer returned non-zero error code, 1. Check the log for more information.
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)
0: Task timeout is disabled.
0: Loaded job: Untitled (999_050_999_6ebfcad1)
0: INFO: StartJob: initializing script plugin Maxwell
0: INFO: Any stdout that matches the regular expression “.Error:.” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “desired rendering time : ([0-9]+.?[0-9])" will be handled as appropriate
0: INFO: Any stdout that matches the regular expression "desired sampling level : ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)h([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: Any stdout that matches the regular expression “Time: ([0-9]+)d([0-9]+)h([0-9]+)m([0-9]+)s.SL of ([0-9]+.?[0-9])” will be handled as appropriate
0: INFO: About: Maxwell Plugin for Deadline
0: Plugin rendering frame(s): 5
0: INFO: Stdout Handling Enabled: True
0: INFO: Popup Handling Enabled: False
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: True
0: INFO: Render Executable: “C:\Program Files\Next Limit\Maxwell 2\maxwell.exe”
0: INFO: Saving output for this job to M:\jobs\images\test\testMaxweel.jpg
0: INFO: Option to resume from an existimg MXI file is enabled
0: INFO: Checking existence of MXI file “M:\jobs\images\test\testMaxweel.0005.mxi”
0: INFO: MXI file exists, so render will be resumed
0: INFO: Render Argument: -mxs:“M:\jobs\images\test\testMaxweel.0001.mxs” -nowait -hide -animation:5-5 -threads:0 -sampling:12 -node -verbose:4 -output:“M:\jobs\images\test\testMaxweel.jpg” -resume:“M:\jobs\images\test\testMaxweel.0005.mxi”
0: INFO: Startup Directory: “C:\Program Files\Next Limit\Maxwell 2”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] MAXWELL RENDER (M~R). Engine version 2.5.1.0
0: STDOUT: maxwell:[INFO] © 2004-2010. Licensed to Next Limit Technologies
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] C:\Program Files\Next Limit\Maxwell 2\maxwell.exe -mxs:M:\jobs\images\test\testMaxweel.0001.mxs -nowait -hide -animation:5-5 -threads:0 -sampling:12 -node -verbose:4 -output:M:\jobs\images\test\testMaxweel.jpg -resume:M:\jobs\images\test\testMaxweel.0005.mxi
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Num processors: ( logical: 8, physical: 8 )
0: STDOUT: maxwell:[INFO] Maxwell Root folder:C:\Program Files\Next Limit\Maxwell 2
0: STDOUT: maxwell:[INFO] License found in: C:\Documents and Settings\render\My Documents\Maxwell\license.txt
0: STDOUT: maxwell:[INFO] Low Priority Enabled
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Reading MXS:M:\jobs\images\test\testMaxweel.0005.mxs
0: STDOUT: maxwell:[INFO] MXS file read successfully
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Rendering animation. Loading frame:5.
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Reading MXS:M:\jobs\images\test\testMaxweel.0005.mxs
0: STDOUT: maxwell:[INFO] CPU ID used: 1490
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Checking scene dependencies…
0: STDOUT: maxwell:[INFO] Checking Data
0: STDOUT: maxwell:[INFO] Loading Bitmaps & Preprocessing Data
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Scene Info:
0: STDOUT: maxwell:[INFO] Frame: 5
0: STDOUT: maxwell:[INFO] Image output: M:\jobs\images\test\testMaxweel.0005.jpg
0: STDOUT: maxwell:[INFO] MXI output: M:\jobs\images\testMaxwell.0005.mxi
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Geometry:
0: STDOUT: maxwell:[INFO] - Num Meshes: 2
0: STDOUT: maxwell:[INFO] - Num Triangles: 212
0: STDOUT: maxwell:[INFO] - Num Vertexes: 129
0: STDOUT: maxwell:[INFO] - Num Normals: 12
0: STDOUT: maxwell:[INFO] - Num Materials: 2
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Camera: persp
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Render settings:
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] - Render version : 2.5.1.0
0: STDOUT: maxwell:[INFO] - desired rendering time : 30
0: STDOUT: maxwell:[INFO] - desired sampling level : 12.000000
0: STDOUT: maxwell:[INFO] - using 0 threads
0: STDOUT: maxwell:[INFO] - using RS1 engine
0: STDOUT: maxwell:[INFO] - illumination layers:
0: STDOUT: maxwell:[INFO] . . direct layer: true
0: STDOUT: maxwell:[INFO] . . indirect layer: true
0: STDOUT: maxwell:[INFO] . . direct caustic reflection layer: true
0: STDOUT: maxwell:[INFO] . . direct caustic refraction layer: true
0: STDOUT: maxwell:[INFO] . . indirect caustic reflection layer: true
0: STDOUT: maxwell:[INFO] . . indirect caustic refraction layer: true
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[INFO] Start Voxelization
0: STDOUT: maxwell:[INFO] End Voxelization
0: STDOUT: maxwell:[ERROR] Error resuming: Target SL lower than current SL.
0: STDOUT: maxwell:[INFO] End render process…
0: STDOUT: maxwell:[INFO]
0: STDOUT: maxwell:[ERROR] Render Failed
0: STDOUT: maxwell:[INFO] Ending Session…
0: INFO: Process exit code: 1
RenderPluginException
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)[/code]
-SeB-
We’ve seen this error here too, and we found that if we bumped up the sampling # a bit more, it went away. To me, this seems like a bug in Maxwell, unless I’m misunderstanding something about how the resume feature works. For example, I’ll run the first job with Sampling of 2. Then I’ll bump it up to 4 and get this error. So I bump it up to 7 and it will start rendering and will begin at sampling level 3 like expected.
Cheers,
that’s weird. In maxwell I can Resume a job with only one more level sampling and it works fine.
the only problem with this technique is, if I send a rendering at level 13 and I want a bit more quality and send a resume to 14,
I will have to bump it to 17 to get it work. it’s gonna take 10 hours instead of 1 hour as sampling level is exponential in maxwell.
-SeB-
Yeah, that’s why it totally seems like a Maxwell bug. I went to post a question about this on the forums, but I found out that I can’t because I’m not a Maxwell license holder. Would you be willing to post a question about this? You can see in the logs that we aren’t doing anything fancy with the command line, and we’ve already confirmed here that it happens outside of Deadline.
I wonder if we should just try to script it instead, since you’ve confirmed that works, rather than use the command line method.
Cheers,
ok I’ll check with maxwell about that bug.
-SeB-
Thanks! We were actually able to talk to someone from Next Limit, and we’ve pointed them to this thread. We’ll post an update here when we have more information.
Cheers,
ok I’ll wait for thr patch
do I still have to ask maxwell for this problem ?
-SeB-
No, don’t worry about it. Hopefully we have an update soon.
Cheers,
We were able to get this working properly with Next Limit’s help. A new command line switch was introduced in Maxwell 2.5.1 called “-trytoresume”. The beauty of this option is that we no longer have to choose between the “-mxi” and “-resume” options. This simplifies our plugin in a couple of ways:
Attached is a patch with the necessary changes. Note though that this will only work with Maxwell 2.5.1 and later (we will try to make this obvious in the Maxwell submitter in the next release). We tested this here with the same mxs file we were using before, and we had no problems using a sampling increment of 1.
Cheers,
Thx very much, it works perfectly now.
-SeB-
I have one last request but I don’t know if it possible.
usually,I send my maxwell render through maya, is possible to add the resume option into the maya submitter ?
I have tried with maya submitter but if I right click on properties, there is no option to resume the job.
-SeB-
Great! Thanks for confirming, and for being patient with us while we tried to get it working!
It looks like you can set this up in the Maya Render Settings in the scene file prior to submitting the job to Deadline. We already expose the Sampling Level and Render Time overrides in the Maya job properties, so you can change them and then resume.
Hi,
the resume option seems to doesn’t work for me.
I have tried with and without the additional flags (-trytoresume) and with the specify MXI path.
I can send the maxwell render through maya, there is no problem for this part.
but if I try to resume the job in deadline and bump the sampling level, the render goes back from level 1.
or if I send an other job from maya with higher sampling level, it also goes back to level 1.
maybe it’s because:
what do you think ?
-SeB-
Ah, we figured out what the problem could be. In order to use a node license when rendering maxwell for maya, we pass this argument to Maya:
-cmd "-node"
This overrides any additional flags in the scene file, such as “-trytoresume”. We’ll try to figure something out and get back to you.
Cheers,