Launching a default pd patch in headless mode

Thanks so much, this is such a cool system you guys have built!

The sudo shutdown -h now --> [shell] works, and I was able to setup the autoloading as well. Unfortunately, now I’m running into another problem…

When I try to load my patch, it seems to work about 1/3 of the time, regardless of if I autoload it via the module, open pd manually and open it, or load it directly from the command line as pd Pd/main.pd.

When I try and load it manually, the terminal repeatedly says watchdog: signaling pd.... I assume that the same thing is happening when I autoload, but that it is just failing silently.

I’m trying your logging suggestion from this post, and I’ll add anything that seems strange when I have a bit more time to test. But in the meantime, I’ve tried adding delays before starting my dac and loading all the audio files into the soundfiler, but that hasn’t helped…

Any suggestions would be greatly appreciated, thanks!