<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Error using xrandr to change screen configuration/positions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=70295">70295</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error using xrandr to change screen configuration/positions
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>imirkin@alum.mit.edu
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=87303" name="attach_87303" title="xorg log">attachment 87303</a> <a href="attachment.cgi?id=87303&action=edit" title="xorg log">[details]</a></span>
xorg log

This configuration was working fine on xorg 1.13/xf86-video-intel 2.99.901, but
broke when I upgraded to 1.14.3/2.99.903. If you believe it'd be helpful, I
could easily test other versions of xf86-video-intel, but switching back to
xorg 1.13 may prove tricky.

The issue is that when I start X, I have both LVDS1 and HDMI1 screens mirrored
(as expected). xrandr reports the following:

$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767
LVDS1 connected 1600x900+0+0 (normal left inverted right x axis y axis) 310mm x
174mm
   1600x900       60.0 +
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 519mm
x 324mm
   1920x1200      60.0*+
   1920x1080      60.0  
...

Note that there's no * next to the 1600x900 mode on LVDS1. (It is, however,
displaying everything just fine.)

When I then try to run

xrandr --output HDMI1 --above LVDS1

it fails with a BadMatch (or BadValue) error (don't have the exact error handy,
can provide if necessary). Running xrandr --output LVDS1 --auto restores the *
next to the 1600x900 mode, and allows a subsequent --above command to work as
well.

Attached is my Xorg log. Note the following odd lines on init:

[701508.168] (--) intel(0): Output LVDS1 using initial mode  on pipe 0
[701508.168] (--) intel(0): Output HDMI1 using initial mode 1920x1200 on pipe 1
...
[701508.178] (II) intel(0): switch to mode <a href="mailto:1600x900@60.0">1600x900@60.0</a> on pipe 0 using LVDS1, 
position (0, 0), rotation normal
[701508.199] (II) intel(0): switch to mode <a href="mailto:1920x1200@60.0">1920x1200@60.0</a> on pipe 1 using
HDMI1,
 position (0, 0), rotation normal

I have an essentially empty xorg.conf (nothing specific to intel
display/monitors).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>