aws-deadline / deadline-cloud-for-3ds-max

AWS Deadline Cloud for 3ds Max
Apache License 2.0
8 stars 8 forks source link

Bug: Adaptor freezes on launching 3ds Max #39

Open yuanmich2 opened 1 month ago

yuanmich2 commented 1 month ago

Expected Behaviour

3ds Max opens

Current Behaviour

The render freezes on the "Launch 3ds Max" step. It prints out the following logs and then never progresses. Even for extremely simple scenes.

2024/09/13 22:01:57+00:00 ADAPTOR_OUTPUT: INFO: Running in background daemon mode.
2024/09/13 22:01:57+00:00 ADAPTOR_OUTPUT: INFO: Creating Named Pipe with name: \\.\pipe\AdaptorNamedPipe_9364
2024/09/13 22:01:57+00:00 ADAPTOR_OUTPUT: INFO: Loading 'init_data' schema from C:\Program Files\Python311\Lib\site-packages\deadline\max_adaptor\MaxAdaptor\schemas\init_data.schema.json
2024/09/13 22:01:57+00:00 ADAPTOR_OUTPUT: INFO: Loading 'run_data' schema from C:\Program Files\Python311\Lib\site-packages\deadline\max_adaptor\MaxAdaptor\schemas\run_data.schema.json
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: start max server thread
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: start max server
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: INFO: Creating Named Pipe with name: \\.\pipe\AdaptorServerNamedPipe_9364
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: ____action made for scene_file_______
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: ____action made for state_set_______
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: ____action made for output_file_path_______
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: ____action made for output_file_format_______
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: DEBUG: ____action made for output_file_name_______
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: INFO: Running command: 3dsmax -U PythonHost "C:\Program Files\Python311\Lib\site-packages\deadline\max_adaptor\MaxClient\max_client.py"
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: STDERR: [OpenColorIO Info]: All parameters could not be used to create the menu: Found no color space using app categories. Categories have been ignored since they matched no color spaces.
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: STDERR: [OpenColorIO Info]: All parameters could not be used to create the menu: Found no color space using app categories. Categories have been ignored since they matched no color spaces.
2024/09/13 22:01:58+00:00 ADAPTOR_OUTPUT: STDERR: [OpenColorIO Info]: All parameters could not be used to create the menu: Found no color space using app categories. Categories have been ignored since they matched no color spaces.

When I RDP into the machine, I can see a 3ds max instance running in task manager.

There is a line that says "Running command: 3dsmax -U PythonHost "C:\Program Files\Python311\Lib\site-packages\deadline\max_adaptor\MaxClient\max_client.py"

Running that command in a terminal through RDP opens a 3ds max window. The command returns instantly with no output.

Reproduction Steps

The issue happens on every job I run. All I did was install the deadline-worker-agent, 3ds max, and Vray onto a machine.

Code Snippet

n/a

maxschramp commented 1 month ago

I'm pretty sure this was what was happening to me when I didn't have this package installed to the 3dsMax distribution. Check out the Deadline Job User Setup section of this gist and see if that works.

yuanmich2 commented 1 month ago

Unfortunately, that did not resolve my issue. I was testing on a single EC2 instance that I was using as the submitting workstation and the worker. To get the submitter to work, I had to install deadline-cloud-for-after-effects to the 3ds Max python distribution.

Thanks for the suggestion though

maxschramp commented 1 month ago

Did you build the wheel for deadline-cloud-for-3ds-max from the latest code in the repository or did you install it from pypi? The latest release (May 2024) doesn't have support for Vray.

leongdl commented 1 month ago

Thank you @yuanmich2 @maxschramp for filing a bug. We appreciate the time take by the community supporting the product.

@yuanmich2 - It seems from this thread your setup is all Customer Managed Fleet (CMF) based setup. Can you please share your job template and software versions for deadline cloud, deadline worker agent and 3dsmax? We will need to reproduce the issue to investigate deeper.

yuanmich2 commented 1 month ago

Deadline: 0.48.8 Agent Version: 0.26.1 deadline-cloud-for-3ds-max: 0.1.1 openjd-adaptor-runtime: 0.7.2 3ds Max: 2024

yuanmich2 commented 1 month ago

As an update. I haven't gotten around to testing max's idea yet, but my scene is set to use the scanline renderer anyway.

I was, however, able to make some progress by logging in as my queue user and opening the 3ds max gui. There were a bunch of popups that I cleared, mostly stuff about the welcome screen. Then when I ran the job next, I got this log:

2024/09/24 17:09:52-07:00 ADAPTOR_OUTPUT: INFO: Running command: 3dsmax -U PythonHost "C:\Program Files\Python311\Lib\site-packages\deadline\max_adaptor\MaxClient\max_client.py"
2024/09/24 17:09:52-07:00 ADAPTOR_OUTPUT: STDERR: [OpenColorIO Info]: All parameters could not be used to create the menu: Found no color space using app categories. Categories have been ignored since they matched no color spaces.
2024/09/24 17:09:52-07:00 ADAPTOR_OUTPUT: STDERR: [OpenColorIO Info]: All parameters could not be used to create the menu: Found no color space using app categories. Categories have been ignored since they matched no color spaces.
2024/09/24 17:09:52-07:00 ADAPTOR_OUTPUT: STDERR: [OpenColorIO Info]: All parameters could not be used to create the menu: Found no color space using app categories. Categories have been ignored since they matched no color spaces.
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.000 INFO: Begin setting up global configuration
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.015 INFO: Begin resolve assembly 'Autodesk.Max.Wrappers.XmlSerializers, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null- 00:10:02.015 INFO: Cannot resolve assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.015 INFO: Begin resolve assembly 'Autodesk.Max.Wrappers.XmlSerializers- 00:10:02.015 INFO: Cannot resolve assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: End setting up global configuration
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: Begin initialize system watcher to detect file changes
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: End initialize system watcher to detect file changes
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: Begin loading assemblies
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\Autodesk.Max.SlateSdkWrapper.dll- 00:10:02.031 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.031 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.047 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.047 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.047 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\Autodesk.Max.StateSets.dll- 00:10:02.047 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.047 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.047 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.094 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.094 INFO: Discovered IPlugin-derived type 'Plugin- 00:10:02.109 INFO: Created instance of type
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.109 INFO: Adding as startup/static plugin
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.109 INFO: Discovered IPlugin-derived type 'Plugin- 00:10:02.109 INFO: Created instance of type
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.109 INFO: Adding as startup/static plugin
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.125 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.125 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.125 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\Autodesk.Max.Wrappers.dll- 00:10:02.125 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.125 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.125 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.156 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\BooleanExplorerView.dll- 00:10:02.187 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\CreaseExplorerView.dll- 00:10:02.187 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\DaylightSimulation.dll- 00:10:02.187 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.187 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\FPMaxWpfContent.dll- 00:10:02.203 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\ManagedBootstrap.dll- 00:10:02.203 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\ManagedNetworkUtilities.dll- 00:10:02.203 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\MaterialExplorerView.dll- 00:10:02.203 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\MaxWpfContent.dll- 00:10:02.203 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.203 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\ProceduralContentActions.dll- 00:10:02.219 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\SceneExplorerView.dll- 00:10:02.219 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2024\bin\assemblies\Sunlight.dll- 00:10:02.219 INFO: Begin loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assembly file
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Retrieved a list of types, processing
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End discovering pluggable types in assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assembly
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: End loading assemblies
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.219 INFO: Begin registering loaded plugins
2024/09/24 17:10:02-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:02.297 INFO: End registering loaded plugins
2024/09/24 17:10:04-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:04.672 INFO: Begin resolve assembly 'ProceduralContentActions.resources, Version=26.2.5.192, Culture=en-US, PublicKeyToken=null- 00:10:04.672 INFO: Cannot resolve assembly
2024/09/24 17:10:04-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:04.672 INFO: Begin resolve assembly 'ProceduralContentActions.resources, Version=26.2.5.192, Culture=en-US, PublicKeyToken=null- 00:10:04.672 INFO: Cannot resolve assembly
2024/09/24 17:10:04-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:04.672 INFO: Begin resolve assembly 'ProceduralContentActions.resources, Version=26.2.5.192, Culture=en, PublicKeyToken=null- 00:10:04.672 INFO: Cannot resolve assembly
2024/09/24 17:10:04-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:04.672 INFO: Begin resolve assembly 'ProceduralContentActions.resources, Version=26.2.5.192, Culture=en, PublicKeyToken=null- 00:10:04.672 INFO: Cannot resolve assembly
2024/09/24 17:10:15-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:15.656 INFO: Begin resolve assembly 'Microsoft.Expression.Interactions, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- 00:10:15.656 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.937 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.937 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.937 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.937 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.937 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.937 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.937 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.937 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.953 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.953 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.969 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.969 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.969 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.969 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.969 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.969 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.969 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.969 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.969 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.969 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.969 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.969 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.984 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.984 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.984 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.984 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.984 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.984 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.984 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.984 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.187 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.Forms.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.187 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.187 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.Forms.resources, Version=29.0.0.0, Culture=en-US, PublicKeyToken=215b0879a7566597- 00:10:18.187 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.187 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.Forms.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.203 INFO: Cannot resolve assembly
2024/09/24 17:10:19-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:18.203 INFO: Begin resolve assembly 'Autodesk.DataManagement.Client.Framework.Vault.Forms.resources, Version=29.0.0.0, Culture=en, PublicKeyToken=215b0879a7566597- 00:10:18.203 INFO: Cannot resolve assembly
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         | log started Wed Sep 25 00:10:19 2024
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         | Arnold 7.2.4.1 [1fee86c4] windows x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/10/17 03:22:02
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         | running on IP-AC1F0281, pid=2140
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         |  1 x Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (4 cores, 8 logical) with 32297MB
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         |  NVIDIA driver version 552.08 (Optix 60806)
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         |  GPU 0: Tesla T4 @ 1590MHz (compute 7.5) with 15359MB (14346MB available) (NVLink:0)
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         |  Windows Server (version 10.0, build 17763)
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         |  soft limit for open files changed from 512 to 2048
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         |  
2024/09/24 17:10:20-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:00   962MB         | Installing system handler with mask 255
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1234MB         | [color_manager_ocio] default ocio.config found in C:\ProgramData\Autodesk\ApplicationPlugins\MAXtoA_2024\bin\../ocio/configs/arnold/config.ocio
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1235MB         | loading plugins from C:\ProgramData\Autodesk\ApplicationPlugins\MAXtoA_2024\bin\..\plugins ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1235MB         |  alembic_proc.dll: alembic uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1235MB         |  cryptomatte.dll: cryptomatte uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1235MB         |  cryptomatte.dll: cryptomatte_filter uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1235MB         |  cryptomatte.dll: cryptomatte_manifest_driver uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1263MB         |  usd_proc.dll: usd uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1263MB         | loaded 5 plugins from 3 lib(s) in 0:00.09
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1266MB         | [color_manager_ocio] default ocio.config found in C:\ProgramData\Autodesk\ApplicationPlugins\MAXtoA_2024\bin\../ocio/configs/arnold/config.ocio
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1267MB         | loading plugins from c:\programdata\autodesk\applicationplugins\maxtoa_2024 ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1267MB         |  MAXtoA_Adapter.dll: Max_Adapter uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1267MB         |  ProceduralOperator.dll: procedural_operator uses Arnold 7.2.4.1
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1267MB         | loaded 2 plugins from 2 lib(s) in 0:00.03
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1267MB         | [metadata] loading metadata file: c:\programdata\autodesk\applicationplugins\maxtoa_2024\en-US\arnold_shaders.mtd
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1270MB         | [metadata] loading metadata file: c:\programdata\autodesk\applicationplugins\maxtoa_2024\en-US\rtt_presets.ass
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1271MB         | [ass] loading c:\programdata\autodesk\applicationplugins\maxtoa_2024\en-US\rtt_presets.ass ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1272MB         | [ass] read 8089 bytes, 50 nodes in 0:00.00
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1272MB         | [metadata] loading metadata file: c:\programdata\autodesk\applicationplugins\maxtoa_2024\en-US\rtt_presets.ass
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1272MB         |  
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1272MB         | releasing resources
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1271MB         |   
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1271MB         |  releasing resources
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1263MB         |   unloading 5 plugins
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1263MB         |    closing alembic_proc.dll ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1263MB         |    closing cryptomatte.dll ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1263MB         |    closing usd_proc.dll ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1257MB         |    closing MAXtoA_Adapter.dll ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1256MB         |    closing ProceduralOperator.dll ...
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1256MB         |   unloading plugins done
2024/09/24 17:10:23-07:00 ADAPTOR_OUTPUT: STDOUT: 00:00:02  1256MB         |  Arnold shutdown
2024/09/24 17:10:26-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:25.719 INFO: Begin resolve assembly 'Autodesk.Max.Wrappers- 00:10:25.719 INFO: Resolving current assembly
2024/09/24 17:10:28-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:27.390 INFO: Begin resolve assembly 'ViperEngine.resources, Version=26.2.5.192, Culture=en-US, PublicKeyToken=null- 00:10:27.390 INFO: Cannot resolve assembly
2024/09/24 17:10:28-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:27.390 INFO: Begin resolve assembly 'ViperEngine.resources, Version=26.2.5.192, Culture=en-US, PublicKeyToken=null- 00:10:27.390 INFO: Cannot resolve assembly
2024/09/24 17:10:28-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:27.390 INFO: Begin resolve assembly 'ViperEngine.resources, Version=26.2.5.192, Culture=en, PublicKeyToken=null- 00:10:27.390 INFO: Cannot resolve assembly
2024/09/24 17:10:28-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:27.390 INFO: Begin resolve assembly 'ViperEngine.resources, Version=26.2.5.192, Culture=en, PublicKeyToken=null- 00:10:27.390 INFO: Cannot resolve assembly
2024/09/24 17:10:29-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:28.640 INFO: Begin resolve assembly 'Viper3dsMaxBridge.resources, Version=26.2.5.192, Culture=en-US, PublicKeyToken=null- 00:10:28.640 INFO: Cannot resolve assembly
2024/09/24 17:10:29-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:28.640 INFO: Begin resolve assembly 'Viper3dsMaxBridge.resources, Version=26.2.5.192, Culture=en-US, PublicKeyToken=null- 00:10:28.640 INFO: Cannot resolve assembly
2024/09/24 17:10:29-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:28.640 INFO: Begin resolve assembly 'Viper3dsMaxBridge.resources, Version=26.2.5.192, Culture=en, PublicKeyToken=null- 00:10:28.640 INFO: Cannot resolve assembly
2024/09/24 17:10:29-07:00 ADAPTOR_OUTPUT: STDERR: - 00:10:28.640 INFO: Begin resolve assembly 'Viper3dsMaxBridge.resources, Version=26.2.5.192, Culture=en, PublicKeyToken=null- 00:10:28.640 INFO: Cannot resolve assembly

The render is still frozen, but it looks like it got a touch further

leongdl commented 1 month ago

Thanks @yuanmich2 - we will investigate and work to resolve this bug.

yuanmich2 commented 2 weeks ago

Update: I get slightly further if I add -silent to the list of arguments passed to 3dsmax right before -U Docs on -silent here: https://help.autodesk.com/view/3DSMAX/2023/ENU/?guid=GUID-1A97CFEC-60A3-4221-B9C3-5C808E2AED35 Line it needs to get added to: https://github.com/aws-deadline/deadline-cloud-for-3ds-max/blob/ed0ee301b188a2c00fe6243309202969db7eb83f/src/deadline/max_adaptor/MaxAdaptor/adaptor.py#L266

yuanmich2 commented 2 weeks ago

I got a successful render.

Steps I took:

  1. Install 3ds Max
  2. Run the following commands:
    "C:\Program Files\Autodesk\3ds Max 2024\Python\python.exe" -m ensurepip
    "C:\Program Files\Autodesk\3ds Max 2024\Python\python.exe" -m pip install deadline-cloud-for-3ds-max
    "C:\Program Files\Autodesk\3ds Max 2024\Python\python.exe" -m pip install deadline-cloud-worker-agent
  3. Add the following paths to the PATH environment variable:
    C:\Program Files\Autodesk\3ds Max 2024\
    C:\Program Files\Autodesk\3ds Max 2024\Python\Scripts
  4. Open a new command prompt and use the install-deadline-worker command to set up my worker agent
  5. Start the worker agent and start rendering

To get to this solution I had to completely start over on a new machine. The machine I had been testing with had both 3ds Max 2024 and 3ds max 2025 as well as python 3.10 and 3.11 and I think that was causing a conflict. I had made sure to install the python libraries using the commands in Step 2 above, but I noticed that the worker agent was still pulling python libraries from python's system-level site-packages folder and it often pulled from the incorrect version of python. Even when using the explicit -t flag to control where libraries were getting installed, it seemed like the adaptor was reading from the wrong place. Which is why I ended up just scrapping the entire machine and start over.

yuanmich2 commented 2 weeks ago

Requesting that we update the documentation to not say python 3.9+ works as I believe this error was caused by mismatched python installations.

jairaws commented 1 week ago

Thanks for the update @yuanmich2, and for figuring this out. I'll update the documentation accordingly.