<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 - [optimus, reverse PRIME] no HDMI audio"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103896">103896</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[optimus, reverse PRIME] no HDMI audio
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.7 (2012.06)
          </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>Driver/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>post+fdo@ralfj.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have a Lenovo P50 which contains an NVIDIA Quadro M2000M in reverse PRIME
configuration: The HDMI port is connected to the NVidia card.  While getting an
image onto the HDMI port works just fine, there is no audio.

I asked about this on IRC, the logs are at
<<a href="https://people.freedesktop.org/~cbrill/dri-log/index.php?channel=nouveau&highlight_names=&date=2017-11-24#t-2034">https://people.freedesktop.org/~cbrill/dri-log/index.php?channel=nouveau&highlight_names=&date=2017-11-24#t-2034</a>>.
 The summary is that I tried running the following script (after stopping X):

rmmod nouveau
setpci -s 01:00.0 0x488.l=0x2000000:0x2000000
echo 1 > /sys/bus/pci/devices/0000:01:00.0/remove
#echo 1 > /sys/bus/pci/devices/0000:00:01.0/rescan
echo 1 > /sys/bus/pci/rescan
modprobe nouveau

But that did not help.  I then started X again, and lspci still shows only

$ sudo lspci -nn -d 10de:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM107GLM [Quadro
M2000M] [10de:13b0] (rev a2)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>