Some Maya 2012 renders come out squeezed;wrong camera/aspect

Hi!

Didn’t find anything on the forums about squeezed frames. This problem is really starting to get annoying. I have 4 render nodes on 4 linux machines, one of them is also the license server. Windows 64-bit workstation. Deadline version 5.0.

The license server-nodes renders are always correct but many times one node of the other 3 renders has all its frames rendered out in “horizontal squeeze”. As if it’s aspect ratio would’ve changed to 1:2. Everything seems basically squeezed multiplied by 2.

Has anyone ever ran into anything similar on Maya? Any ideas what causes this?
How would I go about hunting down the problem? I checked the deadline_slave log and it just shows the normal maya-info.

Thanks a million!

Oh, here’s some examples.


Are you rendering with a renderer/plugin that limits resolution when it can’t get a license? If so, I would expect Maya to log something to the render log if there is a license problem. If that’s the case, we should be able to detect that line and fail the render, which is better than getting bad frames.

Can you post 2 render logs: one from a good render and one from a squeezed render? You can find the logs by right-clicking on the job and selecting Job Reports -> View Log Reports. We’ll take a close look to see if anything stands out between the two.

Thanks!

  • Ryan

Thanks for a quick answer, Ryan!

  • I’m using just Maya software for rendering. I haven’t had enough experience with this glitch but I believe it might not happen if I use Mental Ray.

Here’s a Log report from a correct node (merry) :

[code]=======================================================
Log Message

0: Task timeout is disabled.
0: Plugin rendering frame(s): 19
0: INFO: Waiting until maya is ready to go
0: STDOUT: READY FOR INPUT
0: INFO: Rendering with mayasoftware
0: INFO: CheckPathMapping: Swapped “Z:/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01” with “/mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01”
0: INFO: Rendering to network drive
0: INFO: Creating melscript to execute
0: INFO: Script contents:
0: INFO:
////////////////////////////////////////////////////////////////////////////
// Starting Mel program

proc renderIt(string $name) {

string $opt = “”; string $rl=""; string $rp=""; float $resize=-1.; select defaultRenderGlobals; setAttr .renderAll 1;
removeRenderLayerAdjustmentAndUnlock .animation; setAttr .animation 1; removeRenderLayerAdjustmentAndUnlock .startFrame; setAttr .startFrame 19;
removeRenderLayerAdjustmentAndUnlock .animation; setAttr .animation 1; removeRenderLayerAdjustmentAndUnlock .endFrame; setAttr .endFrame 19;
removeRenderLayerAdjustmentAndUnlock .byFrameStep; catch(setAttr .byFrameStep 1);

removeRenderLayerAdjustmentAndUnlock .imageFilePrefix; catch(setAttr -type "string" .imageFilePrefix "submarine_animTest_v01");
workspace -rt “images” “/mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01”; workspace -rt “depth” “/mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01”;

removeRenderLayerAdjustmentAndUnlock defaultResolution.width; catch(setAttr defaultResolution.width 1280);
removeRenderLayerAdjustmentAndUnlock defaultResolution.height; catch(setAttr defaultResolution.height 720);

removeRenderLayerAdjustmentAndUnlock defaultResolution.lockDeviceAspectRatio; setAttr defaultResolution.lockDeviceAspectRatio 1; removeRenderLayerAdjustmentAndUnlock defaultResolution.deviceAspectRatio; setAttr defaultResolution.deviceAspectRatio 1.77699995;
removeRenderLayerAdjustmentAndUnlock defaultRenderQuality.edgeAntiAliasing; catch(setAttr defaultRenderQuality.edgeAntiAliasing 3);

setAttr .numCpusToUse 0; if(!about -mac) { threadCount -n 0; };

setMayaSoftwareLayers($rl, $rp); setImageSizePercent($resize); mayaBatchRenderProcedure(0, “”, “”, “mayaSoftware”, $opt);

}

//
// Main part
//

string $sceneName = “/root/Deadline/slave/jobsData/submarine_animTest_v01.mb”;

string $checkScene = file -q -sn;
if ($checkScene=="") {
error (“Cannot load scene. Please check the scene name.\n”);
} else if (catch(renderIt($sceneName))) {
error (“Render failed.\n”);
} else {
print (“Render completed.\n”);
}

// Ending Mel program

0: INFO: Executing script: /tmp/tmp8cb9f12.tmp
0: INFO: Waiting for script to finish
0: STDOUT: Total Elapsed Time Since Start Of Maya (hh:mm:ss): 00:00:35
0: STDOUT: ====================================
0: STDOUT: Resource Usage At Start Of Rendering
0: STDOUT: ====================================
0: STDOUT: 123.146 Mb Peak total size(Estimated)
0: STDOUT: 15.938 Mb Peak arena size
0: STDOUT: ====================================
0: STDOUT: 41.147 Mb Heap
0: STDOUT: 7.023 Mb Render Cache
0: STDOUT: 7.812 Mb MEL
0: STDOUT: 0.250 Mb Transforms
0: STDOUT: 0.664 Mb Data Blocks
0: STDOUT: 0.062 Mb Arrays
0: STDOUT: 0.002 Mb arguments
0: STDOUT: 0.125 Mb Keys
0: STDOUT: ====================================
0: STDOUT: Rendering using 6 render processes.
0: STDOUT: Automatic near/far clipping values: 0.1, 1.01e+06.
0: STDOUT: Starting Rendering /mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01/submarine_animTest_v01.19.png.
0: STDOUT: Constructing shading groups
0: STDOUT: Rendering current frame.
0: STDOUT: Frame triangle count: 8316
0: STDOUT: ====================================
0: STDOUT: Resource Usage At End Of Frame
0: STDOUT: ====================================
0: STDOUT: 132.130 Mb Peak total size(Estimated)
0: STDOUT: 26.449 Mb Peak arena size
0: STDOUT: ====================================
0: STDOUT: 56.252 Mb Heap
0: STDOUT: 17.535 Mb Render Cache
0: STDOUT: 7.812 Mb MEL
0: STDOUT: 0.034 Mb Render Geometry Arena
0: STDOUT: 0.250 Mb Transforms
0: STDOUT: 0.664 Mb Data Blocks
0: STDOUT: 0.062 Mb Arrays
0: STDOUT: 0.002 Mb arguments
0: STDOUT: 0.125 Mb Keys
0: STDOUT: ====================================
0: STDOUT: Postprocessing rendering result.
0: STDOUT: Time For Tessellation (hh:mm:ss): 00:00:00
0: STDOUT: Time For Shadow Map (hh:mm:ss): 00:00:00
0: STDOUT: Time For Post Process (hh:mm:ss): 00:00:00
0: STDOUT: Time For Frame Render (hh:mm:ss): 00:00:01
0: STDOUT: Finished Rendering /mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01/submarine_animTest_v01.19.png.
0: STDOUT: ------------------------------------------------------------
0: STDOUT: ====================================
0: STDOUT: Resource Usage At End Of Rendering
0: STDOUT: ====================================
0: STDOUT: 132.130 Mb Peak total size(Estimated)
0: STDOUT: 26.449 Mb Peak arena size
0: STDOUT: ====================================
0: STDOUT: 41.148 Mb Heap
0: STDOUT: 7.812 Mb MEL
0: STDOUT: 0.250 Mb Transforms
0: STDOUT: 0.664 Mb Data Blocks
0: STDOUT: 0.062 Mb Arrays
0: STDOUT: 0.002 Mb arguments
0: STDOUT: 0.125 Mb Keys
0: STDOUT: 7.023 Mb Render Cache
0: STDOUT: ====================================
0: STDOUT: Total Time For Render (hh:mm:ss): 00:00:01
0: STDOUT: Total Elapsed Time For Maya (hh:mm:ss): 00:00:36
0: STDOUT: Render completed.
0: STDOUT: READY FOR INPUT

=======================================================
Log Details

Log Date/Time = Jan 31/12 23:01:55
Frames = 19-19

Slave Machine = Merry
Slave Version = v5.0.0.44528 R

Plugin Name = MayaBatch

[/code]

Here’s a BAD one (pippin) :

[code]=======================================================
Log Message

0: Task timeout is disabled.
0: Plugin rendering frame(s): 20
0: INFO: Waiting until maya is ready to go
0: STDOUT: READY FOR INPUT
0: INFO: Rendering with mayasoftware
0: INFO: CheckPathMapping: Swapped “Z:/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01” with “/mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01”
0: INFO: Rendering to network drive
0: INFO: Creating melscript to execute
0: INFO: Script contents:
0: INFO:
////////////////////////////////////////////////////////////////////////////
// Starting Mel program

proc renderIt(string $name) {

string $opt = “”; string $rl=""; string $rp=""; float $resize=-1.; select defaultRenderGlobals; setAttr .renderAll 1;
removeRenderLayerAdjustmentAndUnlock .animation; setAttr .animation 1; removeRenderLayerAdjustmentAndUnlock .startFrame; setAttr .startFrame 20;
removeRenderLayerAdjustmentAndUnlock .animation; setAttr .animation 1; removeRenderLayerAdjustmentAndUnlock .endFrame; setAttr .endFrame 20;
removeRenderLayerAdjustmentAndUnlock .byFrameStep; catch(setAttr .byFrameStep 1);

removeRenderLayerAdjustmentAndUnlock .imageFilePrefix; catch(setAttr -type "string" .imageFilePrefix "submarine_animTest_v01");
workspace -rt “images” “/mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01”; workspace -rt “depth” “/mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01”;

removeRenderLayerAdjustmentAndUnlock defaultResolution.width; catch(setAttr defaultResolution.width 1280);
removeRenderLayerAdjustmentAndUnlock defaultResolution.height; catch(setAttr defaultResolution.height 720);

removeRenderLayerAdjustmentAndUnlock defaultResolution.lockDeviceAspectRatio; setAttr defaultResolution.lockDeviceAspectRatio 1; removeRenderLayerAdjustmentAndUnlock defaultResolution.deviceAspectRatio; setAttr defaultResolution.deviceAspectRatio 1.77699995;
removeRenderLayerAdjustmentAndUnlock defaultRenderQuality.edgeAntiAliasing; catch(setAttr defaultRenderQuality.edgeAntiAliasing 3);

setAttr .numCpusToUse 0; if(!about -mac) { threadCount -n 0; };

setMayaSoftwareLayers($rl, $rp); setImageSizePercent($resize); mayaBatchRenderProcedure(0, “”, “”, “mayaSoftware”, $opt);

}

//
// Main part
//

string $sceneName = “/root/Deadline/slave/jobsData/submarine_animTest_v01.mb”;

string $checkScene = file -q -sn;
if ($checkScene=="") {
error (“Cannot load scene. Please check the scene name.\n”);
} else if (catch(renderIt($sceneName))) {
error (“Render failed.\n”);
} else {
print (“Render completed.\n”);
}

// Ending Mel program

0: INFO: Executing script: /tmp/tmp4631c17b.tmp
0: INFO: Waiting for script to finish
0: STDOUT: Total Elapsed Time Since Start Of Maya (hh:mm:ss): 00:00:30
0: STDOUT: ====================================
0: STDOUT: Resource Usage At Start Of Rendering
0: STDOUT: ====================================
0: STDOUT: 117,124 Mb Peak total size(Estimated)
0: STDOUT: 15,156 Mb Peak arena size
0: STDOUT: ====================================
0: STDOUT: 40,887 Mb Heap
0: STDOUT: 0,250 Mb Transforms
0: STDOUT: 0,664 Mb Data Blocks
0: STDOUT: 7,023 Mb Render Cache
0: STDOUT: 0,125 Mb Keys
0: STDOUT: 7,031 Mb MEL
0: STDOUT: 0,002 Mb arguments
0: STDOUT: 0,062 Mb Arrays
0: STDOUT: ====================================
0: STDOUT: Rendering using 6 render processes.
0: STDOUT: Automatic near/far clipping values: 0,1, 1,01e+06.
0: STDOUT: Starting Rendering /mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01/submarine_animTest_v01.20.png.
0: STDOUT: Constructing shading groups
0: STDOUT: Rendering current frame.
0: STDOUT: Frame triangle count: 8316
0: STDOUT: ====================================
0: STDOUT: Resource Usage At End Of Frame
0: STDOUT: ====================================
0: STDOUT: 115,816 Mb Peak total size(Estimated)
0: STDOUT: 25,668 Mb Peak arena size
0: STDOUT: ====================================
0: STDOUT: 40,886 Mb Heap
0: STDOUT: 0,250 Mb Transforms
0: STDOUT: 17,535 Mb Render Cache
0: STDOUT: 0,664 Mb Data Blocks
0: STDOUT: 0,034 Mb Render Geometry Arena
0: STDOUT: 0,125 Mb Keys
0: STDOUT: 7,031 Mb MEL
0: STDOUT: 0,002 Mb arguments
0: STDOUT: 0,062 Mb Arrays
0: STDOUT: ====================================
0: STDOUT: Postprocessing rendering result.
0: STDOUT: Time For Tessellation (hh:mm:ss): 00:00:00
0: STDOUT: Time For Shadow Map (hh:mm:ss): 00:00:00
0: STDOUT: Time For Post Process (hh:mm:ss): 00:00:00
0: STDOUT: Time For Frame Render (hh:mm:ss): 00:00:01
0: STDOUT: Finished Rendering /mnt/nopia/jobs/shows/Toms_Crusade/concepts/Maya/images/submarine_animTest_v01/submarine_animTest_v01.20.png.
0: STDOUT: ------------------------------------------------------------
0: STDOUT: ====================================
0: STDOUT: Resource Usage At End Of Rendering
0: STDOUT: ====================================
0: STDOUT: 205,371 Mb Max resident size
0: STDOUT: 115,816 Mb Peak total size(Estimated)
0: STDOUT: 25,668 Mb Peak arena size
0: STDOUT: ====================================
0: STDOUT: 40,886 Mb Heap
0: STDOUT: 0,250 Mb Transforms
0: STDOUT: 0,664 Mb Data Blocks
0: STDOUT: 7,023 Mb Render Cache
0: STDOUT: 0,125 Mb Keys
0: STDOUT: 7,031 Mb MEL
0: STDOUT: 0,002 Mb arguments
0: STDOUT: 0,062 Mb Arrays
0: STDOUT: ====================================
0: STDOUT: Total Time For Render (hh:mm:ss): 00:00:01
0: STDOUT: Total Elapsed Time For Maya (hh:mm:ss): 00:00:31
0: STDOUT: Render completed.
0: STDOUT: READY FOR INPUT

=======================================================
Log Details

Log Date/Time = Jan 31/12 22:09:25
Frames = 20-20

Slave Machine = Pippin
Slave Version = v5.0.0.44528 R

Plugin Name = MayaBatch

[/code]

Thanks for posting the logs. You’re right - nothing stands out. Also, maya software doesn’t require a license for network rendering, so it likely isn’t licensing-related.

Are you submitting the job from the Monitor or from within Maya? If you’re submitting from the Monitor, do you have the “file” option selected as the Renderer option, or do you have “mayaSoftware” selected? If it’s “file”, try “mayaSoftware” to see if that makes a difference. The “file” option tells Maya to use the renderer defined in the scene file, but we’ve seen occasions where things don’t work as expected with this option.

Cheers,

  • Ryan