GNOME Bugzilla – Bug 772709
X11 and Wayland screen configurations disagree
Last modified: 2016-11-09 18:34:12 UTC
Putting my monitors into the right order on X11 generated the following configuration: <configuration> <clone>no</clone> <output name="HDMI1"> <vendor>GSM</vendor> <product>E2251</product> <serial>112LTEN3A836</serial> <width>1920</width> <height>1080</height> <rate>60</rate> <x>1920</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>yes</primary> <presentation>no</presentation> <underscanning>no</underscanning> </output> <output name="HDMI2"> <vendor>GSM</vendor> <product>E2251</product> <serial>112LTXX39834</serial> <width>1920</width> <height>1080</height> <rate>60</rate> <x>3840</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> <presentation>no</presentation> <underscanning>no</underscanning> </output> <output name="HDMI3"> <vendor>GSM</vendor> <product>E2251</product> <serial>112LTLM3L976</serial> <width>1920</width> <height>1080</height> <rate>60</rate> <x>0</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> <presentation>no</presentation> <underscanning>no</underscanning> </output> </configuration> Moving to a Wayland session then used the default, wrong, configuration again. Fixing it generated this configuration: <configuration> <clone>no</clone> <output name="HDMI-1"> <vendor>GSM</vendor> <product>E2251</product> <serial>112LTEN3A836</serial> <width>1920</width> <height>1080</height> <rate>60.000495910644531</rate> <x>1920</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>yes</primary> <presentation>no</presentation> <underscanning>no</underscanning> </output> <output name="HDMI-2"> <vendor>GSM</vendor> <product>E2251</product> <serial>112LTXX39834</serial> <width>1920</width> <height>1080</height> <rate>60.000495910644531</rate> <x>3840</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> <presentation>no</presentation> <underscanning>no</underscanning> </output> <output name="HDMI-3"> <vendor>GSM</vendor> <product>E2251</product> <serial>112LTLM3L976</serial> <width>1920</width> <height>1080</height> <rate>60.000495910644531</rate> <x>0</x> <y>0</y> <rotation>normal</rotation> <reflect_x>no</reflect_x> <reflect_y>no</reflect_y> <primary>no</primary> <presentation>no</presentation> <underscanning>no</underscanning> </output> </configuration>
This is unfortunately somewhat to be expected: in X11 the output naming is left to the drivers, and different drivers have different convention. The default should be at least consistent with the intel or the modesetting driver, though, and it isn't because of that dash.
The modesetting ddx (as opposed to the intel ddx) uses names with a dash. So this might solve itself eventually, at least for intel graphics.
I had a feeling this was already filed... anyway attached a patch to bug 774135 for this. *** This bug has been marked as a duplicate of bug 774135 ***