Order of monitors changes when monitors are turned on
Affected version
- Arch Linux (up to date 2023-08-24).
- Gnome 44.4-1
- NVIDIA GeForce GTX 1060 3GB with 3 1080p monitors
- Issue appears in Xorg
- Happens (with and) without extensions
Bug summary
I have a system with 3 identical monitors: Iiyama ProLite X2283HSU, connected via DVI-D, HDMI and DP. When I switch all of them off, the order/position of the monitors changes if I don't turn on the displayport monitor. The monitors are ordered 3-2-1 (HDMI-DVI-DP). When I switch on only the DVI-D and HDMI monitors the order is 1-2 (DVI-HDMI). Altering the order of the 2 monitors also alters the order when I turn the DP monitor on again.
Steps to reproduce
- I boot the PC and log in to Gnome.
- Turn off the power to all 3 monitors.
- Turn on the monitor connected to HDMI and DVI, leave the monitor connected to DP off.
What happened
The order of the monitors changed.
What did you expect to happen
The order of the monitors should be unchanged and disregard the missing monitors.
Relevant logs, screenshots, screencasts etc.
Before I switch off my monitors:
After I switch off the 3 monitors and switch on the left monitors again I'm left with this configuration. In this screenshot the settings windows is on my right monitor, Firefox on the left:
The order in which I switch off and switch on my monitors is always HDMI, DVI at the same time, then the DP.