-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Adaptor freezes on launching 3ds Max #39
Comments
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. |
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 |
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. |
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. |
Deadline: 0.48.8 |
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:
The render is still frozen, but it looks like it got a touch further |
Thanks @yuanmich2 - we will investigate and work to resolve this bug. |
Update: I get slightly further if I add
|
I got a successful render. Steps I took:
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 |
Requesting that we update the documentation to not say python 3.9+ works as I believe this error was caused by mismatched python installations. |
Thanks for the update @yuanmich2, and for figuring this out. I'll update the documentation accordingly. |
Fixed by this PR. |
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.
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
The text was updated successfully, but these errors were encountered: