<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unable to disable and enable outputs on the same command line with xrandr"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91446">91446</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to disable and enable outputs on the same command line with xrandr
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Intel
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>bernat@luffy.cx
          </td>
        </tr>

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

        <tr>
          <th>CC</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=117333" name="attach_117333" title="xrandr --verbose output">attachment 117333</a> <a href="attachment.cgi?id=117333&action=edit" title="xrandr --verbose output">[details]</a></span>
xrandr --verbose output

Hey!

When I dock my laptop, I would like to switch to the external screens with the
following command:

xrandr --output eDP1 --off --output DP2-1 --auto --primary \
       --output DP2-2 --auto --right-of DP2-1 --dpi 96

Unfortunately, I get:

xrandr: Configure crtc 1 failed

There is no problem if I use two steps:

xrandr --output eDP1 --off --output DP2-1 --auto --primary
xrandr --output DP2-2 --auto --right-of DP2-1 --dpi 96

But it sometimes confuse my window manager (two reconfigure events in a very
short time).

Another oddity is that I have enough CRTC to get the three screens running.
When not turning off eDP1, everything works as expected.

X.org 7.7 from Debian Sid.
Intel driver 2.99.917.

The laptop is a Lenovo Carbon X1 and the external screens are plugged through a
dock using MST.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>