Comment 2 for bug 1216748

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Still happening in vivid. X thinks the displays are side by side, but XMir keeps them overlapping (like clone mode):

$ env DISPLAY=:0 xrandr
Screen 0: minimum 320 x 320, current 3840 x 1200, maximum 32767 x 32767
VGA-0 disconnected (normal left inverted right x axis y axis)
DP-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 520mm x 330mm
   1920x1200 59.9*+
   1600x1200 59.9
   1680x1050 59.9
   1280x1024 74.9 59.9
   1152x864 74.8
   1024x768 74.9 59.9
   800x600 74.9 60.3
   640x480 74.8 59.4
   720x400 69.8
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected 1920x1200+1920+0 (normal left inverted right x axis y axis) 520mm x 320mm
                                        ^------------- X applies correct setting
   1920x1200 59.9*+
   1600x1200 59.9
   1680x1050 59.9
   1280x1024 59.9
   1440x900 59.7
   1280x960 59.9
   1280x720 59.9
   1024x768 59.9
   800x600 60.3
   640x480 59.4

$ mirout /run/mir_socket
Connected to server: /run/mir_socket
Card 0: Max 3 simultaneous outputs
Output 18: Card 0, VGA, disconnected
Output 21: Card 0, DisplayPort, disconnected
Output 27: Card 0, HDMI-A, connected, 1920x1200+0+0, used, on, 520mm x 330mm (24.2"), normal
    1920x1200 59.95*+
    1600x1200 60.00
    1680x1050 59.88
    1280x1024 75.02 60.01
    1152x864 75.00
    1024x768 75.07 60.00
     800x600 75.00 60.31
     640x480 75.00 60.00
     720x400 70.08
Output 30: Card 0, DisplayPort, disconnected
Output 34: Card 0, HDMI-A, connected, 1920x1200+0+0, used, on, 520mm x 320mm (24.0"), normal
                                                                               ^------------- Mir still has wrong setting
    1920x1200 59.95*+
    1600x1200 60.00
    1680x1050 59.88
    1280x1024 60.01
    1440x900 59.90
    1280x960 60.00
    1280x720 59.96
    1024x768 60.00
     800x600 60.31
     640x480 60.00

At least one display should say: 1920x1200+1920+0