I have the same problem and it's unique to Windows 10 and Windows 11, but not unique to any specific item of hardware. That is to say, it's not a single bad video cable or a single bad video card. On the same hardware with the same monitor, computer, cables and video card, but without windows (using linux) the problem is gone.
The factors at play seem to be:
- It's not the monitor (I have tried four different ones).
- It's not the cables (I keep buying new ones just in case, up to 10 cables now, no difference).
- It's not the video card.
- It's not the computer.
- It's either windows 11 and the video card maker's drivers or management software hating each other and fighting each other or it's a bug in video card drivers or a bug in windows 11.
There may be a configuration solution but it probably comes down to nVidia engineers and Microsoft engineers getting together to make their stuff work together.
Windows 11 has a new multi-monitor auto-desktop-re-arrangement system (I don't know the official name of the feature) and it is triggered off the DPMI signals coming in from monitors when video cards are plugged into HDMI and DP equipped ports.
If you are having this problem on Windows 10, my best advise is to change your refresh rate down as low as you can live with, perhaps 30 hz.