<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 - DP/MST audio not working with Haswell / 4.11-rc1"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=100169">100169</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>DP/MST audio not working with Haswell / 4.11-rc1
          </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>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>noodles@earth.li
          </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=130176" name="attach_130176" title="drm.debug=14 debug log">attachment 130176</a> <a href="attachment.cgi?id=130176&action=edit" title="drm.debug=14 debug log">[details]</a></span>
drm.debug=14 debug log

I've recently obtained a DisplayPort monitor with audio (LG 34UM88) which I'm
driving from a Dell E7240 (i5-4300U/Haswell) in a Dell E-Dock. Under Windows
the audio output via the dock DisplayPort connector to the monitor works fine.
Under Linux 4.10 there is no sign of the monitor existing as an audio device.
Reading <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [HSW] HDMI/DP audio doesn't work with DP MST"
   href="show_bug.cgi?id=89895">Bug#89895</a> suggests this support should be present in 4.11-rc1 so I
upgraded to that to test. This is better, in that the DisplayPort audio device
appears (all the way up to GNOME Sound settings offering me a "HDMI/DisplayPort
2" option), but at most I hear a brief piece of static when I first try to
access the device and then nothing at any point afterwards.

I'm not quite sure what information is relevant to provide in this report; I
see mentions of trying drm-tip and/or booting with drm.debug=14. There don't
appear to be any audio related changed in drm-tip post -rc1 but I've attached
the debug log - 361.002037 is about the time after boot when I tried audio
output via the DisplayPort device.

Distro, if it makes a difference, is Debian/Stretch. libdrm 2.4.74, xorg 7.7
using the modesetting driver.

# uname -a
Linux mixian 4.11.0-rc1 #3 SMP Sun Mar 12 17:44:13 GMT 2017 x86_64 GNU/Linux

# ls -1 /proc/asound/card0
codec#0
eld#0.0
eld#0.1
eld#0.2
eld#0.3
eld#0.4
eld#0.5
eld#0.6
eld#0.7
eld#0.8
id
pcm10p
pcm3p
pcm7p
pcm8p
pcm9p

# grep "" /proc/asound/card0/eld#0.*
/proc/asound/card0/eld#0.0:monitor_present              0
/proc/asound/card0/eld#0.0:eld_valid            0
/proc/asound/card0/eld#0.1:monitor_present              0
/proc/asound/card0/eld#0.1:eld_valid            0
/proc/asound/card0/eld#0.2:monitor_present              0
/proc/asound/card0/eld#0.2:eld_valid            0
/proc/asound/card0/eld#0.3:monitor_present              1
/proc/asound/card0/eld#0.3:eld_valid            1
/proc/asound/card0/eld#0.3:monitor_name         LG ULTRAWIDE
/proc/asound/card0/eld#0.3:connection_type              DisplayPort
/proc/asound/card0/eld#0.3:eld_version          [0x2] CEA-861D or below
/proc/asound/card0/eld#0.3:edid_version         [0x3] CEA-861-B, C or D
/proc/asound/card0/eld#0.3:manufacture_id               0x6d1e
/proc/asound/card0/eld#0.3:product_id           0x76e4
/proc/asound/card0/eld#0.3:port_id                      0x0
/proc/asound/card0/eld#0.3:support_hdcp         0
/proc/asound/card0/eld#0.3:support_ai           0
/proc/asound/card0/eld#0.3:audio_sync_delay     0
/proc/asound/card0/eld#0.3:speakers             [0x1] FL/FR
/proc/asound/card0/eld#0.3:sad_count            1
/proc/asound/card0/eld#0.3:sad0_coding_type     [0x1] LPCM
/proc/asound/card0/eld#0.3:sad0_channels                2
/proc/asound/card0/eld#0.3:sad0_rates           [0xc0] 44100 48000
/proc/asound/card0/eld#0.3:sad0_bits            [0xe0000] 16 20 24
/proc/asound/card0/eld#0.4:monitor_present              0
/proc/asound/card0/eld#0.4:eld_valid            0
/proc/asound/card0/eld#0.5:monitor_present              0
/proc/asound/card0/eld#0.5:eld_valid            0
/proc/asound/card0/eld#0.6:monitor_present              0
/proc/asound/card0/eld#0.6:eld_valid            0
/proc/asound/card0/eld#0.7:monitor_present              0
/proc/asound/card0/eld#0.7:eld_valid            0
/proc/asound/card0/eld#0.8:monitor_present              0
/proc/asound/card0/eld#0.8:eld_valid            0</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>