deadline-cloud-for-vred 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. deadline_cloud_for_vred-0.1.0/.gitignore +15 -0
  2. deadline_cloud_for_vred-0.1.0/LICENSE +175 -0
  3. deadline_cloud_for_vred-0.1.0/NOTICE +1 -0
  4. deadline_cloud_for_vred-0.1.0/PKG-INFO +391 -0
  5. deadline_cloud_for_vred-0.1.0/README.md +379 -0
  6. deadline_cloud_for_vred-0.1.0/_version.py +21 -0
  7. deadline_cloud_for_vred-0.1.0/hatch.toml +75 -0
  8. deadline_cloud_for_vred-0.1.0/pyproject.toml +160 -0
  9. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/VRED_RenderScript_DeadlineCloud.py +552 -0
  10. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/__init__.py +1 -0
  11. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/_version.py +21 -0
  12. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/assets.py +17 -0
  13. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/constants.py +107 -0
  14. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/data_classes.py +63 -0
  15. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/default_vred_job_template.yaml +688 -0
  16. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/qt_components.py +239 -0
  17. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/qt_utils.py +62 -0
  18. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/scene.py +143 -0
  19. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/ui/__init__.py +1 -0
  20. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/ui/components/__init__.py +1 -0
  21. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/ui/components/constants.py +322 -0
  22. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/ui/components/scene_settings_callbacks.py +720 -0
  23. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/ui/components/scene_settings_populator.py +365 -0
  24. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/ui/components/scene_settings_widget.py +516 -0
  25. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/utils.py +268 -0
  26. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/vred_logger.py +104 -0
  27. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/vred_submitter.py +341 -0
  28. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/vred_submitter_wrapper.py +73 -0
  29. deadline_cloud_for_vred-0.1.0/src/deadline/vred_submitter/vred_utils.py +499 -0
@@ -0,0 +1,15 @@
1
+ /dist
2
+ *.egg-info/
3
+ __pycache__/
4
+ .coverage
5
+ .DS_Store
6
+ .tox
7
+ .venv
8
+ /htmlcov
9
+ .vscode
10
+ *_version.py
11
+ /dependency_bundle/
12
+ /scripts/dependency_bundle/
13
+ /dev_install/
14
+ /wheels/
15
+ **/otls/backup
@@ -0,0 +1,175 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
@@ -0,0 +1 @@
1
+ Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -0,0 +1,391 @@
1
+ Metadata-Version: 2.4
2
+ Name: deadline-cloud-for-vred
3
+ Version: 0.1.0
4
+ Summary: AWS Deadline Cloud for VRED
5
+ Project-URL: Homepage, https://github.com/aws-deadline/deadline-cloud-for-vred
6
+ Project-URL: Source, https://github.com/aws-deadline/deadline-cloud-for-vred
7
+ License-File: LICENSE
8
+ License-File: NOTICE
9
+ Requires-Python: >=3.11
10
+ Requires-Dist: deadline==0.50.*
11
+ Description-Content-Type: text/markdown
12
+
13
+ # AWS Deadline Cloud for VRED
14
+
15
+ [![pypi](https://img.shields.io/pypi/v/deadline-cloud-for-vred.svg?style=flat)](https://pypi.python.org/pypi/deadline-cloud-for-vred)
16
+ [![python](https://img.shields.io/pypi/pyversions/deadline-cloud-for-vred.svg?style=flat)](https://pypi.python.org/pypi/deadline-cloud-for-vred)
17
+ [![license](https://img.shields.io/pypi/l/deadline-cloud-for-vred.svg?style=flat)](https://github.com/aws-deadline/deadline-cloud-for-vred/blob/mainline/LICENSE)
18
+
19
+ AWS Deadline Cloud for VRED is a Python-based package that supports creating and running Autodesk VRED render jobs within [AWS Deadline Cloud][deadline-cloud]. It provides a user-friendly VRED submitter plug-in for your Windows-based workstation. You can choose from a set of common render options and offload the computation of your rendering workloads to [AWS Deadline Cloud][deadline-cloud] to reduce the load on local compute resources to pursue other tasks.
20
+
21
+ [aws-cli-credentials]: https://docs.aws.amazon.com/cli/v1/userguide/cli-chap-authentication.html
22
+
23
+ [deadline-cloud]: https://docs.aws.amazon.com/deadline-cloud/latest/userguide/what-is-deadline-cloud.html
24
+
25
+ [deadline-cloud-client]: https://github.com/aws-deadline/deadline-cloud
26
+
27
+ [deadline-cloud-monitor-setup]: https://docs.aws.amazon.com/deadline-cloud/latest/userguide/submitter.html#install-deadline-cloud-monitor
28
+
29
+ [deadline-cloud-for-vred]: https://github.com/aws-deadline/deadline-cloud-for-vred
30
+
31
+ [default-queue-environment]: https://docs.aws.amazon.com/deadline-cloud/latest/userguide/create-queue-environment.html#conda-queue-environment
32
+
33
+ [job-bundle]: https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/build-job-bundle.html
34
+
35
+ [job-bundle-templates]: https://github.com/aws-deadline/deadline-cloud-samples/tree/mainline/job_bundles
36
+
37
+ [openjd]: https://github.com/OpenJobDescription/openjd-specifications/wiki
38
+
39
+ [service-managed-fleets]: https://docs.aws.amazon.com/deadline-cloud/latest/userguide/smf-manage.html
40
+
41
+ [vred-requirements]: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/System-requirements-for-Autodesk-VRED-2026-products.html
42
+
43
+ ## Compatibility
44
+
45
+ The AWS Deadline Cloud for VRED package requires:
46
+
47
+ 1. VRED Pro or VRED Core 2025/2026 and its [requirements][vred-requirements]
48
+ - Note: at the time of writing, it is strongly recommended to use NVIDIA GPU driver 553.xx (until future driver levels pass hardware qualifications for VRED.)
49
+ 2. Python 3.11 or higher;
50
+ 3. Operating System support:
51
+ - Windows 10+ (for the in-app VRED Submitter plugin, Worker, Standalone AWS Deadline Cloud client submitter)
52
+ - Linux (for the Worker, Standalone AWS Deadline Cloud client Submitter)
53
+ - macOS (for the Standalone AWS Deadline Cloud client Submitter)
54
+ 4. Optionally: [ImageMagick](https://imagemagick.org/) static binary (to support tile assembly when region rendering with raytracing is applied).
55
+
56
+ **Important**: This integration of AWS Deadline Cloud into VRED requires **bring your own licensing (BYOL)** for VRED. You must have valid VRED licenses available for your render farm fleet.
57
+
58
+ ## Submitter
59
+
60
+ This VRED integration for AWS Deadline Cloud provides an in-app Submitter plug-in. It must be installed on the Windows workstation that you will use to submit render jobs from within VRED Pro.
61
+
62
+ Before submitting any large, complex, or otherwise compute-heavy VRED render jobs to your farm, we strongly recommend that you construct a simple test scene file that can be rendered quickly. You can then submit renders of that scene to your render farm fleet to ensure that its setup is correctly functioning.
63
+
64
+ ### Getting Started
65
+
66
+ If you have installed the submitter using the Deadline Cloud submitter installer you can follow the guide to [Setup Deadline Cloud submitters](https://docs.aws.amazon.com/deadline-cloud/latest/userguide/submitter.html#load-dca-plugin) for the manual steps needed after installation.
67
+
68
+ If you are setting up the submitter for a developer workflow or manual installation you can follow the instructions in the [DEVELOPMENT](DEVELOPMENT.md#manual-installation) file.
69
+
70
+ ### VRED Submitter Plug-in
71
+
72
+ The VRED Submitter plug-in creates a menu (Deadline Cloud) and menu item (Submit to Deadline Cloud) in VRED's menu bar, which can be used to submit render jobs to AWS Deadline Cloud. This menu item launches a Submitter UI to create a job submission for AWS Deadline Cloud using the [AWS Deadline Cloud client library][deadline-cloud-client]. It automatically determines the files required for submission based on the loaded scene file (includes Source/Smart references as dependencies.) Additionally, the Submitter provides basic render options (in the Job-specific settings tab), and builds an [Open Job Description template][openjd] that defines the render pipeline workflow. From there, the Submitter submits the render job to the render farm queue and fleet of your choice.
73
+
74
+ #### Launching the Submitter
75
+
76
+ 1. Open VRED.
77
+ 2. Open a VRED scene file.
78
+ 3. Open the `Deadline Cloud` menu and click the `Submit to Deadline Cloud` menu item to launch the Submitter.
79
+
80
+ **Note**: If you have not already authenticated with Deadline Cloud, then the `Authentication Status` section at the bottom of the Submitter will show `NEEDS_LOGIN`.
81
+
82
+ a) Click the `Login` button. Then, in the web browser window that appears, authenticate using your IAM user credentials.
83
+
84
+ b) Click the `Allow` button (your login will then be authenticated and the `Authentication Status` section will show `AUTHENTICATED`).
85
+
86
+ 4. In the `Submit to AWS Deadline Cloud` dialog, configure appropriate settings (including the render settings that are listed in the `Job-specific settings` tab).
87
+ 5. Click the `Submit` button to submit your render job to AWS Deadline Cloud.
88
+
89
+ ### VRED Software Availability in AWS Deadline Cloud Service Managed Fleets
90
+
91
+ Please ensure that the version of VRED that you want to run is also available on the fleet (worker nodes) when you are using AWS Deadline Cloud's [Service Managed Fleets][service-managed-fleets] to run render jobs; these fleet hosts do not have any rendering applications pre-installed. The standard way of installing applications is described [in the service documentation](https://docs.aws.amazon.com/deadline-cloud/latest/developerguide/provide-applications.html).
92
+
93
+ **Licensing Requirements**: VRED requires valid BYOL licenses on all worker nodes. You must configure your license server to be accessible from your render farm, ensuring that licenses are available for concurrent rendering tasks.
94
+
95
+ ## Submitter Interfaces
96
+
97
+ The VRED Submitter provides multiple interfaces for configuring render jobs. These interfaces will vary slightly since the values for certain settings (including animation clips and viewpoints/cameras) are only known during runtime (within VRED).
98
+
99
+ ### Submitter GUI (within VRED)
100
+
101
+ Settings applied in this interface will persist for the entire duration that a given scene file is open (this includes closing and reopening the Submitter window). Initial settings in the Submitter UI are populated from VRED's general render options (which are saved in the scene file). Saving the scene file won't persist the Submitter UI options, but certain options (including frame range to render) will be repopulated if saved in VRED's general render settings.
102
+
103
+ ![VRED Submitter Dialog](VRED-Submitter-Dialog.png)
104
+
105
+ ### Standalone Submitter (external to VRED)
106
+
107
+ This interface can be accessed via command line and offers most of the options presented in the Submitter GUI.
108
+
109
+ ![VRED Standalone Submitter Dialog](VRED-Standalone-Submitter-Dialog.png)
110
+
111
+ ### Description of Interface Options
112
+
113
+ Below are descriptions of the options available in both of the above interfaces.
114
+
115
+ ### Render Options
116
+
117
+ - **Output Directory (Render Output)**: Directory where rendered images will be saved
118
+ - **Output Filename (Render Output)**: Base name for output files (without filename extension)
119
+ - **Output File Format (Render Output)**: Image format (PNG, EXR, JPEG, TIFF, etc.)
120
+ - **Render Viewpoint/Camera**: Name of the viewpoint or camera from which to render
121
+ - **Image Size Presets**: The available presets for image size and resolution (HD 1080, 4K, etc.)
122
+ - **Image Size**: Width and height in pixels; can be set via Image Size Presets setting (HD 1080, 4K, etc.)
123
+ - **Printing Size**: The printing size in centimeters (width and height), influences image size.
124
+ - **Resolution (DPI)**: Dots-per-inch scaling factor, influences image size.
125
+ - **Render Quality**: Quality level (Analytic Low/High, Realistic Low/High, Raytracing, Non-Photorealistic (NPR))
126
+ - **DLSS Quality**: Deep Learning Super Sampling quality (Off, Performance, Balanced, Quality, Ultra Performance)
127
+ - **SS Quality**: Super Sampling quality (Off, Low, Medium, High, Ultra High); overridden by DLSS quality setting
128
+ - **Use GPU Ray Tracing**: Enable GPU-accelerated raytracing (if hardware supports it)
129
+
130
+ ### Animation Options
131
+
132
+ - **Render Animation**: If checked, allows specifying an animation type (which can also include a specific animation clip), corresponding frame range and frames per task.
133
+ - **Animation Type**: The type of animation (Clip or Timeline).
134
+ - **Animation Clip**: The name of the animation clip to render
135
+ - **Frame Range (Start Frame, End Frame, Frame Step)**: Start and end frames with optional step size. (format: 'a', 'a-b', or 'a-bxn', where 'a' is the start frame, 'b' is the end frame, and 'n' is the frame step). Negative frames are supported.
136
+ - **Frames Per Task**: The number of frames that will be rendered at a time for each task within a render job.
137
+
138
+ ### Tiling Settings
139
+
140
+ - **Enable Region Rendering**: When enabled, the rendered output image will be divided into multiple tiles (subregions) that are first rendered as separate tasks for a given frame. These tiles will then be assembled (combined) into one output image for a given frame (in a separate step).
141
+ - **Tiles in X/Y**: Number of horizontal/vertical tiles to divide the specified rendered output image for a given frame
142
+
143
+ **Important**: Region rendering (tiling) is designed for scene files that have been configured for Raytracing. Raytracing will automatically be enabled when using this setting. Applying region rendering to scene files that aren't configured for Raytracing may result in solid black-rendered output.
144
+
145
+ ### Invoking the Standalone Submitter
146
+
147
+ The standalone submitter is invoked via command line and relies on the following environment variables, which you can substitute with appropriate values:
148
+
149
+ ```bash
150
+ # Windows
151
+ set FARM_ID=farm-<farm-id>
152
+ set QUEUE_ID=queue-<queue-id>
153
+ set FLEET_ID=fleet-<fleet-id>
154
+ deadline bundle gui-submit .
155
+
156
+ # Linux
157
+ export FARM_ID=farm-<farm-id>
158
+ export QUEUE_ID=queue-<queue-id>
159
+ export FLEET_ID=fleet-<fleet-id>
160
+ deadline bundle gui-submit .
161
+ ```
162
+
163
+ ## Viewing/Submitting a Job Bundle
164
+
165
+ Before submitting a render job, the Submitter first generates a [Job Bundle][job-bundle], and then relies on the [AWS Deadline Cloud Client][deadline-cloud-client] package to submit that Job Bundle to a specified render farm. If you would like to examine that job bundle, then you can use the `Export Bundle` button in the Submitter to export the Job Bundle to a location of your choice. If you want to submit the exported Job Bundle manually outside VRED, then you can use the Standalone [AWS Deadline Cloud Client][deadline-cloud-client] to submit that same Job Bundle to your specified render farm in a platform-agnostic manner.
166
+
167
+ Standalone [AWS Deadline Cloud Client][deadline-cloud-client] render jobs should use the appropriate Job Bundle Template obtained through this [link][job-bundle-templates]. There, you will find one Job Bundle Template for supporting tile-based rendering (tile_render_vred/template.yaml) and another Job Bundle Template for non-tile rendering (vred_render/template.yaml). When submitting a render job that doesn't rely on tiling, you can use the standard job.
168
+
169
+ Please also ensure that your Job Bundle directory has a `scripts` subdirectory containing `VRED_RenderScript_DeadlineCloud.py`, which is a required pipeline rendering component for the job bundle. You should also include `parameter_values.yaml` (values for the fields defined in the Job Bundle Template) and `asset_references.yaml` (for defining file dependencies).
170
+
171
+ ## Optional: Worker Setup - Customer Managed Fleet (CMF) (for Windows and Linux only)
172
+
173
+ While using AWS' Service Managed Fleet (SMF) is highly recommended, you can also set up a customer managed fleet (CMF) worker for your own farm using the steps below:
174
+
175
+ 1. Create your own farm in the AWS Console (under the `AWS Deadline Cloud` service). Note the Farm ID, Fleet ID, and
176
+ AWS Region (substituting them in step 3).
177
+
178
+ 2. Install the `AWS Deadline Cloud` worker agent:
179
+ ```
180
+ pip install deadline-cloud-worker-agent
181
+ ```
182
+
183
+ 3. Configure the worker agent in `C:\ProgramData\Amazon\Deadline\Config\worker.toml` or similar (and substitute the
184
+ field values below):
185
+ ```toml
186
+ farm_id = "farm-<farm-id>"
187
+ fleet_id = "fleet-<fleet-id>"
188
+ profile = "<my_aws_profile_name>"
189
+ worker_logs_dir = "c:/users/username/desktop"
190
+
191
+ [capabilities.amounts]
192
+ "amount.attr.worker.gpu" = 1
193
+ ```
194
+
195
+ 4. Switch to the AWS profile (substitute below) that was used to create the farm.
196
+ ```batch
197
+ # on Windows:
198
+ set AWS_PROFILE=my_deadline_profile
199
+ # on Linux:
200
+ export AWS_PROFILE=my_deadline_profile
201
+ ```
202
+
203
+ 5. Create a batch file to continually re-run worker agent:
204
+
205
+ (Windows: create run-worker.bat)
206
+ ```batch
207
+ :do
208
+ python -m deadline_worker_agent --run-jobs-as-agent-user
209
+ goto do
210
+ ```
211
+
212
+ (Linux: create run-worker.sh)
213
+ ```batch
214
+ #!/bin/sh
215
+ while true; do
216
+ python -m deadline_worker_agent --run-jobs-as-agent-user
217
+ done
218
+ ```
219
+
220
+ ```cmd
221
+ chmod +x run-worker.sh
222
+ ```
223
+
224
+ 6. Optional: Follow the instructions in the [ImageMagick Installation](#imagemagick-installation) section (if you would
225
+ like to support region rendering/tiling)
226
+
227
+ 7. Run the worker: `run-worker.bat` (Windows), `./run-worker.sh` (Linux)
228
+
229
+ ## [ImageMagick Installation](#imagemagick-installation)
230
+
231
+ For render jobs using region rendering (tiling), ImageMagick must be installed on the worker nodes:
232
+
233
+ ### Windows
234
+
235
+ 1. Visit the ImageMagick downloads
236
+ page [https://imagemagick.org/script/download.php](https://imagemagick.org/script/download.php)
237
+ 2. Download and install the 64-bit static binary release
238
+ 3. Set the `MAGICK` environment variable as appropriate (depending on installation path/version):
239
+ ```cmd
240
+ setx MAGICK "C:\Program Files\ImageMagick-7.1.1-Q16\magick.exe"
241
+ ```
242
+ 4. Logout, login.
243
+
244
+ ### Linux
245
+
246
+ **Important**: use a static ImageMagick binary to prevent missing file format decoder dependency issues:
247
+
248
+ 1. Apply the commands below, adjusting the `MAGICK` environment variable as appropriate (depending on ImageMagick
249
+ binary path/version):
250
+
251
+ ```
252
+ wget https://imagemagick.org/archive/binaries/magick
253
+ chmod 755 magick
254
+ yum install fontconfig libX11 fribidi # or dnf install fontconfig libX11 fribidi
255
+ export MAGICK=$PWD/magick
256
+ ```
257
+
258
+ You can also add these steps (above) to an existing Conda package (or make another one) and reference that package's name in the render job submission (under the `Conda Packages` setting). At the time of writing, Customer Managed Fleet (CMF) instances only support tiling since there isn't yet an official Conda package that provides a static ImageMagick binary (including dependencies) on Linux. However, it is possible to create that Conda package.
259
+
260
+ **IMPORTANT**: Without ImageMagick, tile assembly will fail and region rendering jobs will not complete successfully.
261
+
262
+ ## Environment Variables
263
+
264
+ The following environment variables can be used to configure the Submitter amd:
265
+
266
+ ### Environment Variables for VRED Submitter
267
+
268
+ ##### Optional
269
+
270
+ - `CONDA_CHANNELS`: Override default conda channels for job environments (example: `s3://conda-bucket/Conda/linux-64`)
271
+ - `CONDA_PACKAGES`: Override default conda packages (example: `vredcore=2026*`)
272
+
273
+ ### Environment Variables for Fleet/Worker Nodes
274
+
275
+ One of these environment variables must be set:
276
+
277
+ - `VREDCORE`: Path (including filename) to VRED Core executable (takes precedence if VREDPRO environment variable is
278
+ also set)
279
+ - `VREDPRO`: Path (including filename) to VRED Pro executable
280
+
281
+ ##### Optional
282
+
283
+ - `VRED_DISABLE_WEBINTERFACE`: Disable VRED web interface (enabled by default)
284
+ - `VRED_IDLE_LICENSE_TIME`: License release timeout in seconds (set to "60" by default)
285
+ - `FLEXLM_DIAGNOSTICS`: FlexLM diagnostic level for licensing (set to "3" by default)
286
+
287
+ ### Environment Variables for Tile Assembly
288
+
289
+ - `MAGICK`: Path to ImageMagick static binary executable (required for region rendering jobs)
290
+
291
+ ## Troubleshooting
292
+
293
+ In general, the AWS Deadline Cloud Monitor provides valuable insights into the activities that occurred while a worker node was processing a VRED scene file. Logs from these activities can be generated and shared with support teams. Depending on the scope/nature of an issue, there may be additional avenues worth investigating. Below are suggestions.
294
+
295
+ ### Common Issues
296
+
297
+ 1. **Worker Reports that VRED Executable is not Found**
298
+ - Verify the setting of the VREDCORE or VREDPRO environment variables
299
+ - Check VRED installation path and permissions
300
+
301
+ 2. **VRED Hangs at Startup or lists "builtins.builtins.exec blocked by python sandbox"**
302
+ - Load VRED using the `-insecure_python` program argument, disable Python Sandbox in VRED's preferences.
303
+ - Alternatively, if you must use VRED's Python Sandbox (against our recommendations), then verify that the Python
304
+ module allowlist (`python-sandbox-module-allowlist.txt`) had its contents entered into VRED's preferences.
305
+ - Verify that your Job Bundle Template is applying the `-insecure_python` program argument
306
+ - On Windows, check VRED logs in `%TEMP%\VREDPro\log`
307
+
308
+ 3. **VRED Submitter Menu is Missing**
309
+ - Ensure that DeadlineCloudForVRED.py is in the correct directory for the version of VRED being used
310
+ - Ensure that DeadlineCloudForVRED.py is listed in VRED's Preferences screen:
311
+ - `Edit menu → Preferences → General Settings → Script`
312
+ - Ensure that AWS Deadline Cloud for VRED was installed correctly
313
+ - Check the VRED Console for any unusual errors
314
+
315
+ 4. **Worker is Producing Unusual Crashes**
316
+ - Ensure that the worker has ample resources (CPU and GPU memory) for processing the scene file in question
317
+ - For SMF workers, define appropriate render farm resource requirements and update your host requirements
318
+ configuration:
319
+ - Target ample resources:
320
+ - GPU: A10G, L4, L40S. 24-48GB of GPU memory
321
+ - CPU RAM: 32GB-64GB
322
+ - Try to leverage G5, G6, and G6e machine instance families.
323
+ - For CMF workers, define similar render farm resource requirements (to those above) and update your host
324
+ requirements configuration.
325
+
326
+ 5. **Tile Assembly Failed**
327
+ - Verify that ImageMagick is installed and that the `MAGICK` environment variable is set on the worker node
328
+ - Check ImageMagick executable permissions
329
+ - Ensure sufficient disk space for tile processing
330
+
331
+ 6. **Rendering Process is Slow**
332
+ - Verify that OpenGL hardware acceleration is enabled and functional
333
+ - Verify that ample hardware resources are allocated
334
+ - Consider tile rendering your scene file
335
+ - Allocate ample worker nodes
336
+ - Disable GPU Raytracing (if not required)
337
+ - Scale down quality level and image resolution
338
+
339
+ 7. **VRED Licensing Issues**
340
+ ```
341
+ License checkout failed
342
+ ```
343
+ - Verify VRED license server accessibility
344
+ - Check available floating licenses
345
+ - Ensure license server can handle concurrent requests from render farm
346
+ - Check diagnostic worker output feedback in Deadline Cloud Monitor
347
+
348
+ ### VRED Rendering Issues (Detailed)
349
+
350
+ 1. **Raytraced Renders Appear Solid Black**
351
+ - Verify that the scene file is configured for Raytracing
352
+ - Region rendering requires Raytracing for proper tile generation
353
+ - Check render quality settings in the scene file
354
+ - Verify that X Server is correctly configured and operational when rendering on Linux
355
+ - **Lighting**: Raytracing requires proper light sources
356
+ - consider increasing light intensity 5-10x or add area lights/HDR environment
357
+ - **Materials**: Verify materials have proper diffuse colors and raytracing-compatible properties
358
+ - **Camera**: Check exposure settings and camera position
359
+ - **Quick fix**: Add area light and verify that materials aren't pure black
360
+
361
+ 2. **Region-based Rendering/Tiling Appears Solid Black**
362
+ - Render regions only work with raytracing enabled in VRED and will be enabled by default (see the above scenario)
363
+
364
+ 3. **Rendered Output Colors Appear Inconsistent on Windows v.s. Linux**
365
+ - Check the tone mapper being applied to the rendered Camera/view.
366
+ - Try changing the tone mapper and all Color Space/Range-related settings to the sRGB/Reinhard/Linear color space.
367
+ - Use a compatible/hardware qualified NVIDIA driver level (553.xx)
368
+ - Consider distributing ICC monitor profile (if necessary) per Autodesk recommendations
369
+
370
+ ## Versioning
371
+
372
+ This package's version follows [Semantic Versioning 2.0](https://semver.org/), but it is still considered to be in its initial development, thus backwards incompatible versions are denoted by minor version bumps. To help illustrate how versions will increment during this initial development stage, they are described below:
373
+
374
+ 1. The MAJOR version is currently 0, indicating initial development.
375
+ 2. The MINOR version is currently incremented when backwards incompatible changes are introduced to the public API.
376
+ 3. The PATCH version is currently incremented when bug fixes or backwards compatible changes are introduced to the
377
+ public API.
378
+
379
+ ## Security
380
+
381
+ We take all security reports seriously. When we receive such reports, we will investigate and subsequently address any
382
+ potential vulnerabilities as quickly as possible. If you discover a potential security issue in this project, please
383
+ notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/) or directly via email to [AWS Security](mailto:aws-security@amazon.com). Please do not create a public GitHub issue in this project.
384
+
385
+ ## Telemetry
386
+
387
+ See [telemetry](docs/telemetry.md) for more information.
388
+
389
+ ## License
390
+
391
+ This project is licensed under the Apache-2.0 License.