What does HackerNews think of displayplacer?
macOS command line utility to configure multi-display resolutions and arrangements. Essentially XRandR for macOS.
https://github.com/jakehilborn/displayplacer
Later I chained the displays differently and moved the adapters around so it stopped being an issue.
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.
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