Multiple display configuration not retaining after reboot

I think this might be more of a general OS X issue, but I’m wondering if anyone here has encountered it as I can’t find a decent answer elsewhere. I’m using VDMX for an installation using a recent model Mac Mini running Mojave outputting to 3 displays in an irregular configuration (it’s a 5760 x 2160 canvas mapped across a 4K display on the left side and 2 1080 displays stacked on top of each other on the right).

The problem is, inconsistently this display configuration will reset in OS X upon reboot to either having all displays mirrored, or sometimes flipping the positions of the vertically stacked displays. And sometimes it works fine… it just does not do the same thing consistently. I would like to be able to just boot the computer and have it run with no user interaction (auto-login and VDMX starts automatically) but it just will not retain the display configuration. Have tried resetting the PRAM several times, but no luck.

Has anyone dealt with this issue?

I’m not sure if it will help with your specific case, but perhaps check out SwitchResX…
http://www.madrau.com/

The OS shouldn’t be switching displays state of mirrored mode on reboot, and that definitely isn’t something we have any control over from the VDMX side of things.

It doesn’t help completely, but you can use Command-F1 in macOS Mojave to turn display mirroring on and off.

Thanks, maybe I will take a look at SwitchResX see if it does a better job. Right now I’m experimenting with this https://github.com/jakehilborn/displayplacer, which I can combine with automator to set the displays on login. It comes close to working, setting things correctly several reboots in a row, but then will flip these 2 Samsung TVs that I’m using, just reversing their identities (same thing that would often happen just with OS X display preferences). Not sure what exactly what would cause that confusion.