<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 --- - [Latitude E7440] Ubuntu 12.05 unable to use external monitor through edock"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=73694">73694</a>
          </td>
        </tr>

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

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

        <tr>
          <th>Summary</th>
          <td>[Latitude E7440] Ubuntu 12.05 unable to use external monitor through edock
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>maks@manichord.com
          </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>DRM/Intel
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=92214" name="attach_92214" title="dmesg dump using custom built 3.13 rc7 kernel">attachment 92214</a> <a href="attachment.cgi?id=92214&action=edit" title="dmesg dump using custom built 3.13 rc7 kernel">[details]</a></span>
dmesg dump using custom built 3.13 rc7 kernel

I'm using ubuntu 12.04.3 on the Haswell i7 Dell laptop with a HD4400 and have
tried not only the std kernel, but also mainline kernels built by ubuntu of
3.12 and my own locally built 3.13 (see below).

Now when I plug the laptop in the Dell eDock docking station, the  external
monitor is detected:

eDP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x
174mm
   1920x1080      60.0*    59.9  
   1680x1050      60.0     59.9  
   1600x1024      60.2  
   1400x1050      60.0  
   1280x1024      60.0  
   1440x900       59.9  
   1280x960       60.0  
   1360x768       59.8     60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x
290mm
   1920x1080      60.0*+
   1680x1050      60.0  
   1280x1024      60.0  
   1280x960       60.0  
   1152x864       60.0  
   1024x768       60.0  
   800x600        60.3  
   640x480        60.0  
HDMI2 disconnected (normal left inverted right x axis y axis)

BUT nothing shows on the monitor (it stays black) and I get both a steady
stream of errors repeating in the kernel log:

[   71.064428] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP,
aborting
[   72.050687] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP,
aborting
[   72.896907] [drm:intel_dp_complete_link_train] *ERROR* failed to train DP,
aborting

with the machine being under enough load to start becoming sluggish to respond
to mouse movement and then usually completely locking up after a few minutes,
not even being able to do alt-ctrl-f1 to switch to another virt console.

Note that while the dock has 2 dvi/displayport outputs and a VGA, it doesnt
seem to matter if I have a dvi or vga cable pluggedin, xrandr always reports
the output is on DP1. The laptop itself only has a HDMI port and I think a mini
display port.

As I said I see this same behaviour all the way upto including running on
locally kernel compiled kernel from
git://people.freedesktop.org/~danvet/drm-intel drm-intel-fixes branch as of
commit 09f2344d0896eb458a639b922224c7a202c11599

This is quite annoying as I can't use the dock at all so I'm happy to help in
any way I can if some one can point me to any potential fixes on other branches
or cherry pickable commits or providing any other info that would be useful.</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>