VRay Standalone errors when render on the AWS Cloud


#1

Hi All! I use Deadline for rendering on the AWS Cloud. I use integrated 3ds max submitter to submit scene to render. But when spot fleet successfuly created (VRay Standalone EC2 spot instance), it can’t render my job and each EC2 spot instance in the fleet throws following error:
" =======================================================

Error

=======================================================

[2019/Feb/7|23:31:17] error: Error in GUI

at Deadline.Plugins.PluginWrapper.RenderTasks (System.String taskId, System.Int32 startFrame, System.Int32 endFrame, System.String& outMessage, FranticX.Processes.ManagedProcess+AbortLevel& abortLevel) [0x002ea] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0

=======================================================

Type

=======================================================

RenderPluginException

=======================================================

Stack Trace

=======================================================

at Deadline.Plugins.SandboxedPlugin.d (Deadline.Net.DeadlineMessage aka) [0x00242] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0

at Deadline.Plugins.SandboxedPlugin.RenderTask (System.String taskId, System.Int32 startFrame, System.Int32 endFrame) [0x000df] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0

at Deadline.Slaves.SlaveRenderThread.c (Deadline.IO.TaskLogWriter aal) [0x0073e] in <2f52419e7ab64ba795b96de3fbc5b1a9>:100:"

Full log:
"

Log

=======================================================

2019-02-07 23:30:47: 0: Loading Job’s Plugin timeout is Disabled

2019-02-07 23:30:49: 0: Executing plugin command of type ‘Sync Files for Job’

2019-02-07 23:30:49: 0: All job files are already synchronized

2019-02-07 23:30:49: 0: Plugin Vray was already synchronized.

2019-02-07 23:30:49: 0: Done executing plugin command of type ‘Sync Files for Job’

2019-02-07 23:30:49: 0: Executing plugin command of type ‘Initialize Plugin’

2019-02-07 23:30:50: 0: INFO: Executing plugin script ‘/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-23-78/plugins/5c5cbd77af8e337c48371c9c/Vray.py’

2019-02-07 23:30:50: 0: INFO: About: V-Ray Standalone Plugin for Deadline

2019-02-07 23:30:50: 0: INFO: Render Job As User disabled, running as current user ‘ec2-user’

2019-02-07 23:30:50: 0: INFO: The job’s environment will be merged with the current environment before rendering

2019-02-07 23:30:50: 0: Done executing plugin command of type ‘Initialize Plugin’

2019-02-07 23:30:50: 0: Start Job timeout is disabled.

2019-02-07 23:30:50: 0: Task timeout is disabled.

2019-02-07 23:30:50: 0: Loaded job: PerevalDyatlova03RT [VRAY SA] (5c5cbd77af8e337c48371c9c)

2019-02-07 23:30:50: 0: Executing plugin command of type ‘Start Job’

2019-02-07 23:30:50: 0: INFO: Executing global asset transfer preload script ‘/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-23-78/plugins/5c5cbd77af8e337c48371c9c/GlobalAssetTransferPreLoad.py’

2019-02-07 23:30:50: 0: INFO: Looking for AWS Portal File Transfer…

2019-02-07 23:30:50: 0: INFO: Looking for File Transfer controller in /opt/Thinkbox/S3BackedCache/bin/task.py…

2019-02-07 23:30:50: 0: INFO: Found AWS Portal File Transfer.

2019-02-07 23:30:50: 0: INFO: AWS Portal File Transfer is installed on the system. Adding file sync callbacks.

2019-02-07 23:30:50: 0: INFO: Adding callbacks for Simple plugin.

2019-02-07 23:30:50: 0: Done executing plugin command of type ‘Start Job’

2019-02-07 23:30:50: 0: Plugin rendering frame(s): 10

2019-02-07 23:30:51: 0: Executing plugin command of type ‘Render Task’

2019-02-07 23:30:51: 0: INFO: Notifying AWS Portal File Transfer about task start.

2019-02-07 23:30:51: 0: INFO: AWS Portal File Transfer start…

2019-02-07 23:30:51: 0: INFO: AWS Portal File Transfer - add global upload whitelists …

2019-02-07 23:30:51: 0: INFO: Executing file transfer command: python /opt/Thinkbox/S3BackedCache/bin/task.py start 5c5cbd77af8e337c48371c9c --upload_whitelist camera####.png --upload_whitelist_re ^.+.abc$ ^.+.avi$ ^.+.bmp$ ^.+.bw$ ^.+.cin$ ^.+.cjp$ ^.+.cjpg$ ^.+.cxr$ ^.+.dds$ ^.+.dpx$ ^.+.dwf$ ^.+.dwfx$ ^.+.dwg$ ^.+.dxf$ ^.+.dxx$ ^.+.eps$ ^.+.exr$ ^.+.fbx$ ^.+.fxr$ ^.+.hdr$ ^.+.icb$ ^.+.iff$ ^.+.iges$ ^.+.igs$ ^.+.int$ ^.+.inta$ ^.+.iris$ ^.+.jpe$ ^.+.jpeg$ ^.+.jpg$ ^.+.jp2$ ^.+.mcc$ ^.+.mcx$ ^.+.mov$ ^.+.mxi$ ^.+.pdf$ ^.+.pic$ ^.+.png$ ^.+.prt$ ^.+.ps$ ^.+.psd$ ^.+.rgb$ ^.+.rgba$ ^.+.rla$ ^.+.rpf$ ^.+.sat$ ^.+.sgi$ ^.+.stl$ ^.+.sxr$ ^.+.targa$ ^.+.tga$ ^.+.tif$ ^.+.tiff$ ^.+.tim$ ^.+.vda$ ^.+.vrimg$ ^.+.vrmesh$ ^.+.vrsm$ ^.+.vrst$ ^.+.vst$ ^.+.wmf$ ^.+.ass$ ^.+.gz$ ^.+.ifd$ ^.+.mi$ ^.+.mi2$ ^.+.mxi$ ^.+.rib$ ^.+.rs$ ^.+.vrscene$

2019-02-07 23:30:51: 0: INFO: Result: In new task.py 2

2019-02-07 23:30:51: 0: task.py received the following known arguments: Namespace(cmd=u’start’, job_id=‘5c5cbd77af8e337c48371c9c’, upload_whitelist=[u’camera####.png’], upload_whitelist_re=[u’^.+\\.abc$’, u’^.+\\.avi$’, u’^.+\\.bmp$’, u’^.+\\.bw$’, u’^.+\\.cin$’, u’^.+\\.cjp$’, u’^.+\\.cjpg$’, u’^.+\\.cxr$’, u’^.+\\.dds$’, u’^.+\\.dpx$’, u’^.+\\.dwf$’, u’^.+\\.dwfx$’, u’^.+\\.dwg$’, u’^.+\\.dxf$’, u’^.+\\.dxx$’, u’^.+\\.eps$’, u’^.+\\.exr$’, u’^.+\\.fbx$’, u’^.+\\.fxr$’, u’^.+\\.hdr$’, u’^.+\\.icb$’, u’^.+\\.iff$’, u’^.+\\.iges$’, u’^.+\\.igs$’, u’^.+\\.int$’, u’^.+\\.inta$’, u’^.+\\.iris$’, u’^.+\\.jpe$’, u’^.+\\.jpeg$’, u’^.+\\.jpg$’, u’^.+\\.jp2$’, u’^.+\\.mcc$’, u’^.+\\.mcx$’, u’^.+\\.mov$’, u’^.+\\.mxi$’, u’^.+\\.pdf$’, u’^.+\\.pic$’, u’^.+\\.png$’, u’^.+\\.prt$’, u’^.+\\.ps$’, u’^.+\\.psd$’, u’^.+\\.rgb$’, u’^.+\\.rgba$’, u’^.+\\.rla$’, u’^.+\\.rpf$’, u’^.+\\.sat$’, u’^.+\\.sgi$’, u’^.+\\.stl$’, u’^.+\\.sxr$’, u’^.+\\.targa$’, u’^.+\\.tga$’, u’^.+\\.tif$’, u’^.+\\.tiff$’, u’^.+\\.tim$’, u’^.+\\.vda$’, u’^.+\\.vrimg$’, u’^.+\\.vrmesh$’, u’^.+\\.vrsm$’, u’^.+\\.vrst$’, u’^.+\\.vst$’, u’^.+\\.wmf$’, u’^.+\\.ass$’, u’^.+\\.gz$’, u’^.+\\.ifd$’, u’^.+\\.mi$’, u’^.+\\.mi2$’, u’^.+\\.mxi$’, u’^.+\\.rib$’, u’^.+\\.rs$’, u’^.+\\.vrscene$’], url=‘localhost:4002’)

2019-02-07 23:30:51: 0: ----- StartTask -----

2019-02-07 23:30:51: 0: job_id: "5c5cbd77af8e337c48371c9c"

2019-02-07 23:30:51: 0: job_upload_whitelist: "camera####.png"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.abc$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.avi$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.bmp$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.bw$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.cin$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.cjp$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.cjpg$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.cxr$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dds$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dpx$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dwf$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dwfx$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dwg$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dxf$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.dxx$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.eps$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.exr$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.fbx$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.fxr$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.hdr$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.icb$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.iff$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.iges$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.igs$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.int$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.inta$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.iris$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.jpe$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.jpeg$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.jpg$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.jp2$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mcc$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mcx$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mov$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mxi$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.pdf$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.pic$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.png$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.prt$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.ps$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.psd$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.rgb$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.rgba$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.rla$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.rpf$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.sat$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.sgi$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.stl$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.sxr$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.targa$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.tga$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.tif$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.tiff$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.tim$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vda$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vrimg$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vrmesh$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vrsm$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vrst$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vst$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.wmf$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.ass$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.gz$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.ifd$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mi$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mi2$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.mxi$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.rib$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.rs$"

2019-02-07 23:30:51: 0: job_upload_whitelist_re: "^.+\.vrscene$"

2019-02-07 23:30:51: 0: sequence: 5

2019-02-07 23:30:51: 0: EOP

2019-02-07 23:30:51: 0: INFO: Done AWS Portal File Transfer start.

2019-02-07 23:30:51: 0: INFO: Starting V-Ray Task

2019-02-07 23:30:51: 0: CheckPathMapping: Swapped "D:!!!PROJECT\ORT\NSD\2019\02_February\08\Recon_Pereval_Dyatlova\render\02\PerevalDyatlova03.vrscene" with "/mnt/Data/D!!!PROJECT35cfe3bc3a787ebd2105d3531f1c322f/ORT\NSD\2019\02_February\08\Recon_Pereval_Dyatlova\render\02\PerevalDyatlova03.vrscene"

2019-02-07 23:30:51: 0: INFO: Performing path mapping on vrscene file

2019-02-07 23:30:51: 0: INFO: Starting to map /mnt/Data/D!!!PROJECT35cfe3bc3a787ebd2105d3531f1c322f/ORT/NSD/2019/02_February/08/Recon_Pereval_Dyatlova/render/02/PerevalDyatlova03.vrscene

… More Mapping log entries

2019-02-07 23:31:13: 0: " with " img_dir="/mnt/Data/D!!!PROJECT35cfe3bc3a787ebd2105d3531f1c322f/ORT\NSD\2019\02_February\08\Recon_Pereval_Dyatlova\render\02&quot;;

2019-02-07 23:31:13: 0: "

2019-02-07 23:31:17: 0: INFO: Stdout Redirection Enabled: True

2019-02-07 23:31:17: 0: INFO: Asynchronous Stdout Enabled: False

2019-02-07 23:31:17: 0: INFO: Stdout Handling Enabled: True

2019-02-07 23:31:17: 0: INFO: Popup Handling Enabled: False

2019-02-07 23:31:17: 0: INFO: Using Process Tree: True

2019-02-07 23:31:17: 0: INFO: Hiding DOS Window: True

2019-02-07 23:31:17: 0: INFO: Creating New Console: False

2019-02-07 23:31:17: 0: INFO: Running as user: ec2-user

2019-02-07 23:31:17: 0: INFO: Executable: "/usr/autodesk/mayaIO2017/vray/bin/vray"

2019-02-07 23:31:17: 0: CheckPathMapping: Swapped "D:!!!PROJECT\ORT\NSD\2019\02_February\08\Recon_Pereval_Dyatlova\render\02\camera#.png" with "/mnt/Data/D!!!PROJECT35cfe3bc3a787ebd2105d3531f1c322f/ORT\NSD\2019\02_February\08\Recon_Pereval_Dyatlova\render\02\camera#.png"

2019-02-07 23:31:17: 0: INFO: Argument: -scenefile="/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-23-78/jobsData/5c5cbd77af8e337c48371c9c/thread0_tempb7fYy0/PerevalDyatlova03.vrscene" -interactive=0 -autoclose=1 -displaySRGB=1 -rtEngine=0 -frames=10 -imgFile="/mnt/Data/D!!!PROJECT35cfe3bc3a787ebd2105d3531f1c322f/ORT/NSD/2019/02_February/08/Recon_Pereval_Dyatlova/render/02/camera#.png" -numThreads=0

2019-02-07 23:31:17: 0: INFO: Full Command: "/usr/autodesk/mayaIO2017/vray/bin/vray" -scenefile="/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-23-78/jobsData/5c5cbd77af8e337c48371c9c/thread0_tempb7fYy0/PerevalDyatlova03.vrscene" -interactive=0 -autoclose=1 -displaySRGB=1 -rtEngine=0 -frames=10 -imgFile="/mnt/Data/D!!!PROJECT35cfe3bc3a787ebd2105d3531f1c322f/ORT/NSD/2019/02_February/08/Recon_Pereval_Dyatlova/render/02/camera#.png" -numThreads=0

2019-02-07 23:31:17: 0: INFO: Startup Directory: "/usr/autodesk/mayaIO2017/vray/bin"

2019-02-07 23:31:17: 0: INFO: Process Priority: BelowNormal

2019-02-07 23:31:17: 0: INFO: Process Affinity: default

2019-02-07 23:31:17: 0: INFO: Process is now running

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] warning: The parameter ‘interactive’ has been removed and so it has been ignored!

2019-02-07 23:31:17: 0: STDOUT: Error: Failed to open display "".

2019-02-07 23:31:17: 0: STDOUT: Error: wxWidgets could not open display. Exiting.

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Reading configuration from "/usr/autodesk/mayaIO2017/vray/bin//vrayconfig.xml"

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] ===============================================

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] V-Ray Standalone, version 3.60.04 for x64

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Copyright © 2000-2017 Chaos Group Ltd. All rights reserved.

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Use -credits option for additional third-party copyright notices.

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17]

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Build 39f57083 from Mar 20 2018, 19:53:48

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Compiled with GCC-compatible compiler, version 4.4

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Operating system is Linux

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17]

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] V-Ray core version is 3.60.04

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] ===============================================

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17]

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] error: Error in GUI

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Closing log - 1 error(s), 1 warning(s).

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Issues Report:

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Warnings:

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] The parameter ‘interactive’ has been removed and so it has been ignored!

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Errors:

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Error in GUI

2019-02-07 23:31:18: 0: Done executing plugin command of type ‘Render Task’

=======================================================

Details

=======================================================

Date: 02/07/2019 23:31:20

Frames: 10

Elapsed Time: 00:00:00:34

Job Submit Date: 02/07/2019 23:21:27

Job User: user

Average RAM Usage: 664047909 (2%)

Peak RAM Usage: 724754432 (3%)

Average CPU Usage: 7%

Peak CPU Usage: 16%

Used CPU Clocks (x10^6 cycles): 36367

Total CPU Clocks (x10^6 cycles): 519515

=======================================================

Slave Information

=======================================================

Slave Name: ip-10-128-23-78

Version: v10.0.21.4 Release (a433a6103)

Operating System: Linux

Machine User: ec2-user

IP Address: 10.128.23.78

MAC Address: 02:34:2A:41:C4:0E

CPU Architecture: x86_64

CPUs: 8

CPU Usage: 13%

Memory Usage: 676.6 MB / 31.4 GB (2%)

Free Disk Space: 11.787 GB

Video Card: Cirrus Logic GD 5446
"
Can anyone help me with these issues?
Thank you advance


#2

Hey Jane,

The following error seems to indicate that V-Ray is trying to launch a GUI. Since the render nodes are headless, this will definitely fail. My initial thought is that you have the V-Ray Frame Buffer enabled which has caused this GUI error.

2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Errors:
2019-02-07 23:31:17: 0: STDOUT: [2019/Feb/7|23:31:17] Error in GUI

Looking at the command line arguments this arguments seems to be the problem.

-displaySRGB=1

You likely need to disable the Frame Buffer when setting up your V-Ray scene settings.

Regards,

Charles


#3

Hey cmoore,

I added following parameter -display=0.
My steps before EC2 spot instances start render my job:

  1. In the DeadlineMOnitor select job
  2. Right click on the selected job and choose “Modify job properties…” - open pop-up window “Job Properties”
  3. Select Vray Settings
  4. Add to the Command Line->Additional Arguments “-display=0”
  5. Click OK
    It solved my problem.
    I will try your way a little later (hope it solved my problem too).

Regards,
Jane


#4

Hey cmoore,
I faced another problem related with VRay standalone.
My steps:

  1. Create AWS infrastructure in the Deadline Monitor (AWS Region - eu-central-1)
  2. Submit job to the DeadLine from the 3ds max 2018 using integrated submitter in the 3ds max
  3. Create Spot Fleet instances (for example -20)
  4. EC2 instances started rendering my job. First 20 frames rendered successfully.
    But then every EC2 instance from Spot fleet failed to render frames from my job and throw foolowing error:
    =======================================================
    Error
    =======================================================
    [2019/Feb/8|01:47:52] error: Could not obtain a license (-7): The ChaosGroup License Server is denying access. Update the license server and check access filter (if any).
    at Deadline.Plugins.PluginWrapper.RenderTasks (System.String taskId, System.Int32 startFrame, System.Int32 endFrame, System.String& outMessage, FranticX.Processes.ManagedProcess+AbortLevel& abortLevel) [0x002ea] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.SandboxedPlugin.d (Deadline.Net.DeadlineMessage aka) [0x00242] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0
at Deadline.Plugins.SandboxedPlugin.RenderTask (System.String taskId, System.Int32 startFrame, System.Int32 endFrame) [0x000df] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0
at Deadline.Slaves.SlaveRenderThread.c (Deadline.IO.TaskLogWriter aal) [0x0073e] in <2f52419e7ab64ba795b96de3fbc5b1a9>:0

=======================================================
Log

2019-02-08 01:45:35: 0: Loading Job’s Plugin timeout is Disabled
2019-02-08 01:45:37: 0: Executing plugin command of type ‘Sync Files for Job’
2019-02-08 01:45:37: 0: All job files are already synchronized
2019-02-08 01:45:37: 0: Plugin Vray was already synchronized.
2019-02-08 01:45:37: 0: Done executing plugin command of type ‘Sync Files for Job’
2019-02-08 01:45:37: 0: Executing plugin command of type ‘Initialize Plugin’
2019-02-08 01:45:38: 0: INFO: Executing plugin script ‘/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-53-167/plugins/5c5cde13af8e333fdc167b26/Vray.py’
2019-02-08 01:45:38: 0: INFO: About: V-Ray Standalone Plugin for Deadline
2019-02-08 01:45:38: 0: INFO: Render Job As User disabled, running as current user ‘ec2-user’
2019-02-08 01:45:38: 0: INFO: The job’s environment will be merged with the current environment before rendering
2019-02-08 01:45:38: 0: Done executing plugin command of type ‘Initialize Plugin’
2019-02-08 01:45:38: 0: Start Job timeout is disabled.
2019-02-08 01:45:38: 0: Task timeout is disabled.
2019-02-08 01:45:38: 0: Loaded job: perevaldyatlova_camera03_nsd_vray_2 [VRAY SA] (5c5cde13af8e333fdc167b26)
2019-02-08 01:45:38: 0: Executing plugin command of type ‘Start Job’
2019-02-08 01:45:38: 0: INFO: Executing global asset transfer preload script ‘/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-53-167/plugins/5c5cde13af8e333fdc167b26/GlobalAssetTransferPreLoad.py’
2019-02-08 01:45:38: 0: INFO: Looking for AWS Portal File Transfer…
2019-02-08 01:45:38: 0: INFO: Looking for File Transfer controller in /opt/Thinkbox/S3BackedCache/bin/task.py…
2019-02-08 01:45:38: 0: INFO: Found AWS Portal File Transfer.
2019-02-08 01:45:38: 0: INFO: AWS Portal File Transfer is installed on the system. Adding file sync callbacks.
2019-02-08 01:45:38: 0: INFO: Adding callbacks for Simple plugin.
2019-02-08 01:45:38: 0: Done executing plugin command of type ‘Start Job’
2019-02-08 01:45:38: 0: Plugin rendering frame(s): 379
2019-02-08 01:45:39: 0: Executing plugin command of type ‘Render Task’
2019-02-08 01:45:39: 0: INFO: Notifying AWS Portal File Transfer about task start.
2019-02-08 01:45:39: 0: INFO: AWS Portal File Transfer start…
2019-02-08 01:45:39: 0: INFO: AWS Portal File Transfer - add global upload whitelists …
2019-02-08 01:45:39: 0: INFO: Executing file transfer command: python /opt/Thinkbox/S3BackedCache/bin/task.py start 5c5cde13af8e333fdc167b26 --upload_whitelist 3_nsd####.png --upload_whitelist_re ^.+.abc$ ^.+.avi$ ^.+.bmp$ ^.+.bw$ ^.+.cin$ ^.+.cjp$ ^.+.cjpg$ ^.+.cxr$ ^.+.dds$ ^.+.dpx$ ^.+.dwf$ ^.+.dwfx$ ^.+.dwg$ ^.+.dxf$ ^.+.dxx$ ^.+.eps$ ^.+.exr$ ^.+.fbx$ ^.+.fxr$ ^.+.hdr$ ^.+.icb$ ^.+.iff$ ^.+.iges$ ^.+.igs$ ^.+.int$ ^.+.inta$ ^.+.iris$ ^.+.jpe$ ^.+.jpeg$ ^.+.jpg$ ^.+.jp2$ ^.+.mcc$ ^.+.mcx$ ^.+.mov$ ^.+.mxi$ ^.+.pdf$ ^.+.pic$ ^.+.png$ ^.+.prt$ ^.+.ps$ ^.+.psd$ ^.+.rgb$ ^.+.rgba$ ^.+.rla$ ^.+.rpf$ ^.+.sat$ ^.+.sgi$ ^.+.stl$ ^.+.sxr$ ^.+.targa$ ^.+.tga$ ^.+.tif$ ^.+.tiff$ ^.+.tim$ ^.+.vda$ ^.+.vrimg$ ^.+.vrmesh$ ^.+.vrsm$ ^.+.vrst$ ^.+.vst$ ^.+.wmf$ ^.+.ass$ ^.+.gz$ ^.+.ifd$ ^.+.mi$ ^.+.mi2$ ^.+.mxi$ ^.+.rib$ ^.+.rs$ ^.+.vrscene$
2019-02-08 01:45:39: 0: INFO: Result: In new task.py 2
2019-02-08 01:45:39: 0: task.py received the following known arguments: Namespace(cmd=u’start’, job_id=‘5c5cde13af8e333fdc167b26’, upload_whitelist=[u’3_nsd####.png’], upload_whitelist_re=[u’^.+\\.abc$’, u’^.+\\.avi$’, u’^.+\\.bmp$’, u’^.+\\.bw$’, u’^.+\\.cin$’, u’^.+\\.cjp$’, u’^.+\\.cjpg$’, u’^.+\\.cxr$’, u’^.+\\.dds$’, u’^.+\\.dpx$’, u’^.+\\.dwf$’, u’^.+\\.dwfx$’, u’^.+\\.dwg$’, u’^.+\\.dxf$’, u’^.+\\.dxx$’, u’^.+\\.eps$’, u’^.+\\.exr$’, u’^.+\\.fbx$’, u’^.+\\.fxr$’, u’^.+\\.hdr$’, u’^.+\\.icb$’, u’^.+\\.iff$’, u’^.+\\.iges$’, u’^.+\\.igs$’, u’^.+\\.int$’, u’^.+\\.inta$’, u’^.+\\.iris$’, u’^.+\\.jpe$’, u’^.+\\.jpeg$’, u’^.+\\.jpg$’, u’^.+\\.jp2$’, u’^.+\\.mcc$’, u’^.+\\.mcx$’, u’^.+\\.mov$’, u’^.+\\.mxi$’, u’^.+\\.pdf$’, u’^.+\\.pic$’, u’^.+\\.png$’, u’^.+\\.prt$’, u’^.+\\.ps$’, u’^.+\\.psd$’, u’^.+\\.rgb$’, u’^.+\\.rgba$’, u’^.+\\.rla$’, u’^.+\\.rpf$’, u’^.+\\.sat$’, u’^.+\\.sgi$’, u’^.+\\.stl$’, u’^.+\\.sxr$’, u’^.+\\.targa$’, u’^.+\\.tga$’, u’^.+\\.tif$’, u’^.+\\.tiff$’, u’^.+\\.tim$’, u’^.+\\.vda$’, u’^.+\\.vrimg$’, u’^.+\\.vrmesh$’, u’^.+\\.vrsm$’, u’^.+\\.vrst$’, u’^.+\\.vst$’, u’^.+\\.wmf$’, u’^.+\\.ass$’, u’^.+\\.gz$’, u’^.+\\.ifd$’, u’^.+\\.mi$’, u’^.+\\.mi2$’, u’^.+\\.mxi$’, u’^.+\\.rib$’, u’^.+\\.rs$’, u’^.+\\.vrscene$’], url=‘localhost:4002’)
2019-02-08 01:45:39: 0: ----- StartTask -----
2019-02-08 01:45:39: 0: job_id: “5c5cde13af8e333fdc167b26”
2019-02-08 01:45:39: 0: job_upload_whitelist: “3_nsd####.png”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.abc$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.avi$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.bmp$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.bw$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.cin$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.cjp$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.cjpg$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.cxr$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dds$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dpx$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dwf$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dwfx$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dwg$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dxf$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.dxx$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.eps$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.exr$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.fbx$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.fxr$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.hdr$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.icb$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.iff$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.iges$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.igs$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.int$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.inta$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.iris$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.jpe$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.jpeg$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.jpg$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.jp2$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mcc$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mcx$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mov$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mxi$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.pdf$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.pic$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.png$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.prt$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.ps$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.psd$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.rgb$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.rgba$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.rla$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.rpf$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.sat$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.sgi$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.stl$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.sxr$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.targa$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.tga$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.tif$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.tiff$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.tim$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vda$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vrimg$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vrmesh$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vrsm$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vrst$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vst$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.wmf$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.ass$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.gz$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.ifd$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mi$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mi2$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.mxi$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.rib$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.rs$”
2019-02-08 01:45:39: 0: job_upload_whitelist_re: “^.+\.vrscene$”
2019-02-08 01:45:39: 0: sequence: 4
2019-02-08 01:45:39: 0: EOP
2019-02-08 01:45:39: 0: INFO: Done AWS Portal File Transfer start.
2019-02-08 01:45:39: 0: INFO: Starting V-Ray Task
2019-02-08 01:45:39: 0: CheckPathMapping: Swapped
2019-02-08 01:46:21: 0: "
2019-02-08 01:47:42: 0: INFO: Stdout Redirection Enabled: True
2019-02-08 01:47:42: 0: INFO: Asynchronous Stdout Enabled: False
2019-02-08 01:47:42: 0: INFO: Stdout Handling Enabled: True
2019-02-08 01:47:42: 0: INFO: Popup Handling Enabled: False
2019-02-08 01:47:42: 0: INFO: Using Process Tree: True
2019-02-08 01:47:42: 0: INFO: Hiding DOS Window: True
2019-02-08 01:47:42: 0: INFO: Creating New Console: False
2019-02-08 01:47:42: 0: INFO: Running as user: ec2-user
2019-02-08 01:47:42: 0: INFO: Executable: “/usr/autodesk/mayaIO2017/vray/bin/vray”
Recon_Pereval_Dyatlova/render/nsd_3_vray/3_nsd#.png" -numThreads=0 -interactive=1 -display=0
2019-02-08 01:47:42: 0: INFO: Startup Directory: “/usr/autodesk/mayaIO2017/vray/bin”
2019-02-08 01:47:42: 0: INFO: Process Priority: BelowNormal
2019-02-08 01:47:42: 0: INFO: Process Affinity: default
2019-02-08 01:47:42: 0: INFO: Process is now running
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] warning: The parameter ‘interactive’ has been removed and so it has been ignored!
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] warning: The parameter ‘interactive’ has been removed and so it has been ignored!
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] warning: Parameter ‘interactive’ is specified more than once. The value from the last one will be used!
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] Reading configuration from “/usr/autodesk/mayaIO2017/vray/bin//vrayconfig.xml”
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] ===============================================
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] V-Ray Standalone, version 3.60.04 for x64
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] Copyright © 2000-2017 Chaos Group Ltd. All rights reserved.
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] Use -credits option for additional third-party copyright notices.
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42]
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] Build 39f57083 from Mar 20 2018, 19:53:48
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] Compiled with GCC-compatible compiler, version 4.4
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] Operating system is Linux
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42]
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] V-Ray core version is 3.60.04
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42] ===============================================
2019-02-08 01:47:42: 0: STDOUT: [2019/Feb/8|01:47:42]
2019-02-08 01:47:45: 0: STDOUT: [2019/Feb/8|01:47:45] Loading plugins from “/usr/autodesk/mayaIO2017/vray/vrayplugins/libvray_*.so”
2019-02-08 01:47:45: 0: STDOUT: [2019/Feb/8|01:47:45] 77 plugin(s) loaded successfully
2019-02-08 01:47:45: 0: STDOUT: [2019/Feb/8|01:47:45] Finished loading plugins.
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] Reading scene file “/home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-53-167/jobsData/5c5cde13af8e333fdc167b26/thread0_tempOSU0J0/perevaldyatlova_camera03_nsd_vray.vrscene”
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] /home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-53-167/jobsData/5c5cde13af8e333fdc167b26/thread0_tempOSU0J0/perevaldyatlova_camera03_nsd_vray.vrscene: 81.64% [ 0h 0m 0.2s] [ 0h 0m 0.0s est] [0 MB resman] [0 MB texman]
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] /home/ec2-user/Thinkbox/Deadline10/slave/ip-10-128-53-167/jobsData/5c5cde13af8e333fdc167b26/thread0_tempOSU0J0/perevaldyatlova_camera03_nsd_vray.vrscene: done [ 0h 0m 0.2s]
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] Scene file parsed successfully in 0.3 s.
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] Scene created successfully.
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] Objects in scene: 578
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] Starting render sequence.
2019-02-08 01:47:48: 0: STDOUT: [2019/Feb/8|01:47:48] Preparing renderer…
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] error: Could not obtain a license (-7): The ChaosGroup License Server is denying access. Update the license server and check access filter (if any).
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] Closing log - 1 error(s), 3 warning(s).
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] Issues Report:
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] Warnings:
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] The parameter ‘interactive’ has been removed and so it has been ignored!
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] The parameter ‘interactive’ has been removed and so it has been ignored!
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] Parameter ‘interactive’ is specified more than once. The value from the last one will be used!
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] Errors:
2019-02-08 01:47:52: 0: STDOUT: [2019/Feb/8|01:47:52] Could not obtain a license (-7): The ChaosGroup License Server is denying access. Update the license server and check access filter (if any).
2019-02-08 01:47:52: 0: Done executing plugin command of type ‘Render Task’

=======================================================
Details

Date: 02/08/2019 01:47:55
Frames: 379
Elapsed Time: 00:00:02:21
Job Submit Date: 02/08/2019 01:40:35
Job User: user
Average RAM Usage: 833600951 (1%)
Peak RAM Usage: 895729664 (1%)
Average CPU Usage: 5%
Peak CPU Usage: 10%
Used CPU Clocks (x10^6 cycles): 152282
Total CPU Clocks (x10^6 cycles): 3045622

=======================================================
Slave Information

Slave Name: ip-10-128-53-167
Version: v10.0.21.4 Release (a433a6103)
Operating System: Linux
Machine User: ec2-user
IP Address: 10.128.53.167
MAC Address: 0A:61:BA:39:77:24
CPU Architecture: x86_64
CPUs: 16
CPU Usage: 0%
Memory Usage: 854.6 MB / 120.0 GB (0%)
Free Disk Space: 11.745 GB
Video Card: Cirrus Logic GD 5446

I check my licences usage on the https://thinkbox.flexnetoperations.com/. And every license is fine.

How to resolve this error?

In the attachments I added full log from one slave.

Tnank for advance

Best regards,

Jane