Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: TangibleVisual on 2020-03-16, 17:10:40

Title: Corona DR looping on one slave
Post by: TangibleVisual on 2020-03-16, 17:10:40
Hi I have a problem with one of my slaves starting DR, it downloads the scene, starts to parse then drops it and restarts.

Has anyone else experienced this?

"C:\Program Files\Autodesk\3ds Max 2020\3dsmaxcmd.exe" "C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\corona_dr.max"  -continueOnError -gammaCorrection:1 -rfw:1 -sf -v:5  -postRenderScript:"C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\post.ms"
2020-03-16 14:53:36   Started loopback connection with 3ds max
2020-03-16 14:53:37   Cannot contact 3ds Max, trying again ...
2020-03-16 14:53:37   3dsMax started successfully
2020-03-16 14:53:37   Accepted remote connection from 192.168.1.104
2020-03-16 14:53:37   Started connection #23
2020-03-16 14:53:37   Handshake: <root><DataType>0</DataType><Handshake>init</Handshake><FrameName>0</FrameName><HostVersion>Max2020</HostVersion><CameraName>Plot3 Outside looking backin</CameraName><Region>0 0 0 0</Region><ImageSize>3000 2250</ImageSize><MD5>564aef5eafc2709c6b24892821ff4eaa</MD5><CoreVersion>5</CoreVersion><IpAddress>192.168.1.104</IpAddress></root>
2020-03-16 14:53:37   Saving incoming scene to C:/Users/Dan/AppData/Local/CoronaRenderer/DrData/received_scene_2182396679.max
2020-03-16 14:53:59   Downloaded scene: 1,043 M bytes in 21 s
2020-03-16 14:54:01   Received sampling focus mask (region 0 0 3000 2250)
2020-03-16 14:54:01   Render for connection #23 started
2020-03-16 14:54:19   Closing loopback manager
2020-03-16 14:54:20   DR is finished
2020-03-16 14:54:20   Ready for new connection
2020-03-16 14:54:20   Running command:
"C:\Program Files\Autodesk\3ds Max 2020\3dsmaxcmd.exe" "C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\corona_dr.max"  -continueOnError -gammaCorrection:1 -rfw:1 -sf -v:5  -postRenderScript:"C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\post.ms"
2020-03-16 14:54:22   Started loopback connection with 3ds max
2020-03-16 14:54:23   Cannot contact 3ds Max, trying again ...
2020-03-16 14:54:23   3dsMax started successfully
2020-03-16 14:54:23   Accepted remote connection from 192.168.1.104
2020-03-16 14:54:23   Started connection #24
2020-03-16 14:54:23   Handshake: <root><DataType>0</DataType><Handshake>init</Handshake><FrameName>0</FrameName><HostVersion>Max2020</HostVersion><CameraName>Plot3 Outside looking backin</CameraName><Region>0 0 0 0</Region><ImageSize>3000 2250</ImageSize><MD5>564aef5eafc2709c6b24892821ff4eaa</MD5><CoreVersion>5</CoreVersion><IpAddress>192.168.1.104</IpAddress></root>
2020-03-16 14:54:23   Saving incoming scene to C:/Users/Dan/AppData/Local/CoronaRenderer/DrData/received_scene_1184421837.max
2020-03-16 14:54:44   Downloaded scene: 1,043 M bytes in 20 s
2020-03-16 14:54:46   Render for connection #24 started
2020-03-16 14:54:46   Received sampling focus mask (region 0 0 3000 2250)
2020-03-16 14:55:08   Closing loopback manager
2020-03-16 14:55:09   DR is finished
2020-03-16 14:55:09   Ready for new connection
2020-03-16 14:55:09   Running command:
"C:\Program Files\Autodesk\3ds Max 2020\3dsmaxcmd.exe" "C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\corona_dr.max"  -continueOnError -gammaCorrection:1 -rfw:1 -sf -v:5  -postRenderScript:"C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\post.ms"
2020-03-16 14:55:11   Started loopback connection with 3ds max
2020-03-16 14:55:12   Cannot contact 3ds Max, trying again ...
2020-03-16 14:55:12   3dsMax started successfully
2020-03-16 14:55:12   Accepted remote connection from 192.168.1.104
2020-03-16 14:55:12   Started connection #25
2020-03-16 14:55:12   Handshake: <root><DataType>0</DataType><Handshake>init</Handshake><FrameName>0</FrameName><HostVersion>Max2020</HostVersion><CameraName>Plot3 Outside looking backin</CameraName><Region>0 0 0 0</Region><ImageSize>3000 2250</ImageSize><MD5>564aef5eafc2709c6b24892821ff4eaa</MD5><CoreVersion>5</CoreVersion><IpAddress>192.168.1.104</IpAddress></root>
2020-03-16 14:55:12   Saving incoming scene to C:/Users/Dan/AppData/Local/CoronaRenderer/DrData/received_scene_2632257550.max
2020-03-16 14:55:33   Downloaded scene: 1,043 M bytes in 20 s
2020-03-16 14:55:35   Received sampling focus mask (region 0 0 3000 2250)
2020-03-16 14:55:36   Render for connection #25 started
2020-03-16 14:55:59   Closing loopback manager
2020-03-16 14:55:59   DR is finished
2020-03-16 14:55:59   Ready for new connection
2020-03-16 14:55:59   Running command:
"C:\Program Files\Autodesk\3ds Max 2020\3dsmaxcmd.exe" "C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\corona_dr.max"  -continueOnError -gammaCorrection:1 -rfw:1 -sf -v:5  -postRenderScript:"C:\Users\Dan\AppData\Local\CoronaRenderer\DrData\post.ms"
2020-03-16 14:56:01   Started loopback connection with 3ds max
2020-03-16 14:56:02   Cannot contact 3ds Max, trying again ...
2020-03-16 14:56:02   3dsMax started successfully
2020-03-16 14:56:03   Accepted remote connection from 192.168.1.104
2020-03-16 14:56:03   Started connection #26
2020-03-16 14:56:03   Handshake: <root><DataType>0</DataType><Handshake>init</Handshake><FrameName>0</FrameName><HostVersion>Max2020</HostVersion><CameraName>Plot3 Outside looking backin</CameraName><Region>0 0 0 0</Region><ImageSize>3000 2250</ImageSize><MD5>564aef5eafc2709c6b24892821ff4eaa</MD5><CoreVersion>5</CoreVersion><IpAddress>192.168.1.104</IpAddress></root>
2020-03-16 14:56:03   Saving incoming scene to C:/Users/Dan/AppData/Local/CoronaRenderer/DrData/received_scene_3480964891.max
2020-03-16 14:56:25   Downloaded scene: 1,043 M bytes in 21 s
2020-03-16 14:56:27   Received sampling focus mask (region 0 0 3000 2250)
2020-03-16 14:56:28   Render for connection #26 started
2020-03-16 14:56:46   Closing loopback manager
2020-03-16 14:56:46   DR is finished
2020-03-16 14:56:46   Ready for new connection
Title: Re: Corona DR looping on one slave
Post by: Juraj on 2020-03-16, 18:01:51
I have this randomly for the past 4 years :- ). It happens to random node, on random scene, on random occasion.

I was never able to find anything that triggers this. Endless loop of dropped DR right after parsing. So I presume something that happens during the parsing..but, no idea.
Title: Re: Corona DR looping on one slave
Post by: maru on 2020-03-16, 18:10:28
Sadly, in such cases, we can only provide random troubleshooting steps based on previous (solved!) cases:
Check out the one with the lock icon in the Render Setup window. It really solves the issues sometimes. I also recall a similar case where it helped.

Please try the following points, which are based on our past user reports. In most cases, they are the easiest way to get the issue resolved.

-Disable any antivirus software you are using on all PCs (including Windows Defender and Firewall) - this is just to check if the issue is related to this software. You can then turn it back on.
-Open your scene, go to Render Setup, deselect the small "lock" icon in the top right corner. Click on any viewport, then click on the viewport you want to render again. Enable the "lock" icon in the top right corner of the Render Setup window again. Resave your scene. Unlocking and locking viewport like this sometimes helps with DR issues.

-Refresh the 3ds Max ENU folder by either renaming or removing it. Note that this will remove all your custom ui settings, keyboard shortcuts, etc, so it is best to leave a backup of the ENU folder.
See: https://knowledge.autodesk.com/support/3ds-max/learn-explore/caas/sfdcarticles/sfdcarticles/Resetting-3ds-Max-3ds-Max-Design.html

If the above 3 points did not help, here are some other ones worth trying:

-Add custom inbound/outbound rules in Windows Firewall.
See: Creating custom inbound and outbound rules for the DR Server application - https://coronarenderer.freshdesk.com/support/solutions/articles/12000050816
- Are you using some VPN software? If so, please stop using it and make sure you are using BB/DR on a "classic" local network.
- Do not mix Corona's DR and Backburner. Use only one or the other.
- Make sure on each computer there is only one instance of: 3ds Max, DR server, Backburner. If there are multiple instances running at the same time (for example two 3dsmax.exe processes), some issues may appear.
- Do not render from perspective view - use some kind of camera, preferably Corona Camera.
- Disable IPv6.
See: https://medium.com/@JockDaRock/disabling-ipv6-on-network-adapter-windows-10-5fad010bca75
- Go to Windows Services list and make sure "Function Discovery Provider Host" and "Function Discovery Resource Publication" are started. Set them to automatic start.
- Make sure you have network discovery enabled.
See: https://www.isunshare.com/windows-10/turn-on-or-off-network-discovery-in-windows-10.html
Title: Re: Corona DR looping on one slave
Post by: Juraj on 2020-03-16, 18:50:56
Quote
Unlocking and locking viewport like this sometimes helps with DR issues.

3dsMax is mysterious software.
Title: Re: Corona DR looping on one slave
Post by: TangibleVisual on 2020-03-18, 13:08:19

Solved.

I ran via backburner to the affected slave and the backburner error log showed it as a missing plugin on the slave.

Thanks for all the tips!

Dan
Title: Re: Corona DR looping on one slave
Post by: maru on 2020-03-18, 16:39:55
Solved.
I ran via backburner to the affected slave and the backburner error log showed it as a missing plugin on the slave.

That's an interesting way of diagnosing issues!
We are aware that error reporting isn't perfect right now (e.g. in case of a missing plugin like here), and I will make sure this is properly reported.
Title: Re: Corona DR looping on one slave
Post by: maru on 2020-03-19, 14:12:50
Update:

(Internal ID=308354901)