What does HackerNews think of displayplacer?

macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS.

Language: C

Self-plug of displayplacer[0] for changing screen resolutions/rotations/etc via the command line.

[0] https://github.com/jakehilborn/displayplacer

I had a similar problem with identical monitors that I used something called displayplacer

https://github.com/jakehilborn/displayplacer

Later I chained the displays differently and moved the adapters around so it stopped being an issue.

Record your preferred screen config using displayplacer [1] and then run that via a shortcut.

[1]: https://github.com/jakehilborn/displayplacer

I strongly suspect that this is not the full picture.

I had this exact same issue, two displays, always connected to the same TB3 Dock, and they would randomly get re-assigned after wake-up. Which in my case was doubly irritating, since one of those is in portrait mode, so "fixing it" required tilting my head to be able to navigate the mouse correctly.

There's a small CLI utility called `displayplacer`[1], that basically fixed this for me. I don't... really know what exact EDID fields or whatever metadata it's reading, but after I used it once to "save" the correct orientation/placement, I could reset it to the "correct" one every time after that. Highly recommended if that's something you're struggling with.

[1]: https://github.com/jakehilborn/displayplacer

I'm using the command:

displayplacer "id:8B1B0572-EEDF-1A21-596C-DD3D9EE1AEB2 res:3008x1692 hz:60 color_depth:8 scaling:on origin:(0,0) degree:0" "id:FFD872A9-4636-D17D-303C-CEECD89D6403 res:3008x1692 hz:60 color_depth:8 scaling:on origin:(3008,-32) degree:0"

to force my 2020 13" core i5 MBP to set the screen correctly. I have to use it every time I unplug my OWC thunderbolt3 hub plugged with two Viewsonic 4k 27" (same model, it seems to be confusing to OsX)

check https://github.com/jakehilborn/displayplacer Beside that I'm almost good, without any artifacts you mentioned

https://github.com/jakehilborn/displayplacer made this much better for me. I arranged my monitors once, saved a script with displayplacer, and if they mess up again, I just run the script.
Try using displayplacer. It supports hz and I added color_depth to it a while back. I don't remember HDR being in the APIs used either but that may address it.

https://github.com/jakehilborn/displayplacer

You might want to check out https://github.com/jakehilborn/displayplacer which is really nice for changing resolutions beyond what macOS lets you do using the GUI
Nice to see this wrapped up as an app. If all you need is a cli, then https://github.com/jakehilborn/displayplacer works great too.
Might be partly due to plugging into different ports as somebody mentioned, but it does seem to happen randomly for me too. But I found this tool yesterday that makes it a lot simpler to solve https://github.com/jakehilborn/displayplacer - annoying that it doesn't work properly out of the box, of course