<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [KBL] Could not switch the monitor configuration"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101463#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - [KBL] Could not switch the monitor configuration"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101463">bug 101463</a>
              from <span class="vcard"><a class="email" href="mailto:dhinakaran.pandiyan@intel.com" title="Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>"> <span class="fn">Dhinakaran Pandiyan</span></a>
</span></b>
        <pre>(In reply to Ethan Hsieh from <a href="show_bug.cgi?id=101463#c0">comment #0</a>)
<span class="quote">> 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)</span >

Hi Ethan,

I see that both kernel logs you have attached are for 

kernel: [    0.000000] Linux version 4.10.0-21-generic 
kernel: [    0.000000] Linux version 4.10.0-21-generic 

Please retest with Ubuntu 17.04 and latest drm-tip.

-DK</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>
      </ul>
    </body>
</html>