<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 - Could not switch the monitor configuration"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101463">101463</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Could not switch the monitor configuration
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </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>ethan.hsieh@canonical.com
          </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=131995" name="attach_131995" title="kernel log and Xorg.0.log">attachment 131995</a> <a href="attachment.cgi?id=131995&action=edit" title="kernel log and Xorg.0.log">[details]</a></span>
kernel log and Xorg.0.log

Could not switch the monitor configuration

Reproduction steps:
1. Two external monitors with DP/mDP cable connected to Dell Dock.
All three displays: Built-in LCD, DP and mDP monitor
2. Boot to Ubuntu Desktop
3. See three displays (extend mode)
4. Unplug the DP cable from dock
5. Go to [Ubuntu] => [All Settings] => [Displays],
Press "Detect Displays" every second until [Displays] shows correct amount of
Display
6. Unplug the mDP cable from dock
7. do 5 again
8. Plug the mDP cable back into dock
9. do 5 again
10. Plug the DP cable back into dock
11. do 5 again
12. Got to 4.

Additional information:
1. Kernel: 4.10.0-21 x86_64
   Kernel: 4.12.0-994-generic x86_64
2. Linux distribution: Ubuntu 16.04.2 LTS
3. Laptop: Dell Precision 5520
4. Dell Business Thunderbolt Dock - TB16
<a href="https://goo.gl/vFDjpi">https://goo.gl/vFDjpi</a>
5. X.0.org:
a) log/1/Xorg.0.log: (drm.debug=0xe and xserver-xorg-video-intel
--enable-debug=full)
[126.895]KMSG: [drm:drm_atomic_helper_check_modeset [drm_kms_helper]] No
suitable encoder found for [CONNECTOR:74:DP-5]
[126.896](EE) intel(0): failed to set mode: Bad file descriptor [9]
b) log/2/Xorg.0.log (drm.debug=0xe)
[730.060] (EE) intel(0): failed to set mode: Invalid argument [22]

How to recover:
Press the "Close" button in the pop-up window "Could not switch the monitor
configuration".
PS: It's not easy to press the button because all windows have wrong
proportion. (log/The_pop-up_window_and_wrong_proportion.png)</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>