Page 1 of 1

Maya 2022.3: Redshift 3.0.66 hangs in CMD

Posted: Thu Mar 03, 2022 5:12 pm
by virtualrepublic
Hello,

I have issues with Maya 2022.3 and Redshift 3.0.66. Some clients will render frames and take the next ones. Other clients will render their first frame and get stuck.

In my research, I found out that the issue is caused by the CMD rendering. Redshift will return the license but the command "render.exe" will not quit.

From Maya folder bin I start the following rendering like done in CGRU:
.\render -r file -s 1 -e 1 -b 1 -rd "\dus-pc-0021\fileserver-dus\rendertest\LEGO_Nexo_Knights\images" "\dus-pc-0021\fileserver-dus\rendertest\LEGO_Nexo_Knights\scenes\Nexo_Knight_Macy_v021_CGRU.mb"

On the working clients the rendering will be finished and exit to C:\Program Files\Autodesk\Maya2022\bin>.
On the broken clients, the rendering will be finished without an exit.

I can't find out what is different between the PCs. I also reinstalled everything. Must be a mix between Redshift and Win 10.
The same procedure with Arnold works on all clients.

Conclusion: Looks like a Redshift bug?!

Is there any way to force the exit of the render.exe process by modifying the specific script in CGRU?

Thanks for your help!

Re: Maya 2022.3: Redshift 3.0.66 hangs in CMD

Posted: Thu Mar 03, 2022 8:07 pm
by virtualrepublic
It's confirmed as a bug by the dev team.

Re: Maya 2022.3: Redshift 3.0.66 hangs in CMD

Posted: Fri Mar 04, 2022 10:13 am
by timurhai
Hi!
Parser can force task process to finish with an error or not due output:
https://cgru.readthedocs.io/en/latest/a ... false-true

Re: Maya 2022.3: Redshift 3.0.66 hangs in CMD

Posted: Thu Mar 10, 2022 9:44 pm
by virtualrepublic
I could discover the issue. It's a Maya 2022.3 batch render bug caused by Bifrost plug-ins.

After investigation, I found out that two Bifrost plug-ins in pluginPrefs.mel are responsible:

evalDeferred("autoLoadPlugin("", "bifrostGraph", "bifrostGraph")");
evalDeferred("autoLoadPlugin("", "bifrostvisplugin", "bifrostvisplugin")");

Deleting these lines (or diable with //) will solve the issue.

Filed a Maya bug report.

CGRU is now running with Blender, Maya, and Houdini like a charm.

Thanks a lot!