Failsafe Output
Hi- Truly amazing program! Thank you.
It seems that the failsafe mode of a process engine does not hold the correct output. It will go into failsafe mode and output the correct values (hold last, full-on, scene et cetera) but will then transition to sending all zeros about 750-800 ms later. Also, it does not appear to wait for the 2.5 seconds sACN timeout before transitioning to failsafe status.
Using DMXRouter v1.11.0 on Windows 11 with sACN input and output.
-Haich
Hi Haich, thanks for the kind words and the detailed report.
Before digging in, a quick question that will change which fix applies: what sACN sender are you using, and is it being shut down deliberately (closing the project, disabling the patch, quitting the app) or is it just disappearing from the network (cable pulled, console crash, IP change)?
The reason it matters: per E1.31 §6.2.6, when a sender closes its stream deliberately it sets the "Stream Terminated" option bit on its final packets. The spec then lets the receiver release the universe immediately rather than waiting the 2.5 s source-loss timeout — the timeout is for unexpected loss, the terminated bit is for intentional loss. So if your sender is sending stream-terminated packets on the way out, DMXRouter going to failsafe before 2.5 s is actually correct behaviour: from its point of view the source said "I'm leaving", not "I might be back".
That said, your second observation — failsafe applying the correct values and then flipping to zeros ~800 ms later — does look like a real bug regardless of which path you're on, and I have a working hypothesis. Most consoles emit several stream-terminated packets spaced a few hundred ms apart (typical for ETC Eos, grandMA, Hog), and on the later packets the engine briefly re-emits a zero frame before settling back. If you can confirm the sender, I can either repro it here or ask you for a quick packet capture if it turns out to be something we don't have on hand.
Thanks again for taking the time to write it up.
Thanks for the explanation. I am using sACNView v3.0.0 as the sender, and you are correct that I was shutting the stream down deliberately. That is the situation where I see the Process Engine go into failsafe immediately, output the correct failsafe values and then switch to zeros after ~800ms. If I pull the cable instead of shutdown the stream, the process engine does wait the 2.5seconds and output the correct failsafe values indefinitely.
I did the same test using GrandMA3 onPC v2.3.2.0 outputting sACN and the failsafe behavior appears to be correct both when stopping the stream manually and also when pulling the cable. So it does appear to be related to the sender.
Happy to test other configurations if that helps.
Thanks, -H
Hi Haich,
v1.11.1 is out with the fix. The hypothesis was right — sACNView v3.0.0 transmits at 1.18 Hz, which spaces its three stream-terminated packets about 848 ms apart. That's outside the 100 ms window where faster senders (your grandMA3 onPC at 44 Hz, every other console I tested) coalesce them into a single transition, so each subsequent terminated packet was overwriting the held failsafe frame with zeros. The merge logic now treats repeated "no live source" ticks as no-ops once data loss has been declared, so the chosen failsafe content survives all three terminated packets.
Details in the v1.11.1 release notes under Bug fixes. Build is on the Releases page. If you get a chance to verify Hold / Output Full / Output Scene / Output Zeros against sACNView I'd appreciate the confirmation.
Thanks again for the report.
Hi Joaquín- I checked all failsafe modes (Hold, Blackout, Full On, Playback Scene and Stop Output) with sACNView 3.0.0 and everything is working as expected. I checked both by intentionally stopping the stream at sACNView and also by pulling the cable.
Thanks so much! -Haich
Thanks for testing all five modes against both shutdown paths, Haich — that's exactly the coverage I was hoping someone would do. Closing the issue as fixed.
If you bump into anything else as you keep using DMXRouter, don't hesitate to open another issue.