<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 - HDMI audio is unavailable with amdgpu on R9 270"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111492">111492</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>HDMI audio is unavailable with amdgpu on R9 270
          </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>not set
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>not set
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>marti@juffo.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Video card: ASUS Radeon R9 270
Kernel: 5.2.9-arch1-1-ARCH

I recently had some issues with the "radeon" driver and discovered that the
"amdgpu" driver now has support for Southern Islands (SI) GPUs using the
amdgpu.si_support=1 boot flag.

Graphics stuff works great with amdgpu so far, however, all HDMI audio outputs
are marked as "(unplugged) (unavailable)" in the pavuctl utility.

Someone else's screenshot with similar issue: <a href="https://i.imgur.com/67HYPG3.png">https://i.imgur.com/67HYPG3.png</a>
Initially this issue seemed related to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - DisplayPort audio stopped working in a kernel upgrade"
   href="show_bug.cgi?id=107835">bug 107835</a>, but Alex Deucher said that's
not the case.

alsa-info.sh debug dump uploaded to:
<a href="http://alsa-project.org/db/?f=bd09f9bd5cdadc129852d2f4487aec9f22d9b915">http://alsa-project.org/db/?f=bd09f9bd5cdadc129852d2f4487aec9f22d9b915</a>



There is nothing in kernel logs to indicate issues. Grepping for relevant
keywords in dmesg gives this:

[    0.145413] Kernel command line: initrd=\initramfs-linux.img
root=UUID=93067a3f-2c68-4e1a-9f3a-96cdc0221771 rw acpi_enforce_resources=lax
iommu=pt radeon.si_support=0 amdgpu.si_support=1 amdgpu.dc=1 radeon.audio=1
...
[    3.910423] input: HDA ATI HDMI HDMI/DP,pcm=3 as
/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input4
[    3.910454] input: HDA ATI HDMI HDMI/DP,pcm=7 as
/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input5
[    3.910480] input: HDA ATI HDMI HDMI/DP,pcm=8 as
/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input6
[    3.910513] input: HDA ATI HDMI HDMI/DP,pcm=9 as
/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input7
[    3.910547] input: HDA ATI HDMI HDMI/DP,pcm=10 as
/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input8
[    3.910579] input: HDA ATI HDMI HDMI/DP,pcm=11 as
/devices/pci0000:00/0000:00:03.1/0000:09:00.1/sound/card0/input9
...
[    4.110170] [drm] amdgpu kernel modesetting enabled.
[    4.110310] amdgpu 0000:09:00.0: remove_conflicting_pci_framebuffers: bar 0:
0xe0000000 -> 0xefffffff
[    4.110312] amdgpu 0000:09:00.0: remove_conflicting_pci_framebuffers: bar 2:
0xfcf00000 -> 0xfcf3ffff
[    4.110313] amdgpu 0000:09:00.0: vgaarb: deactivate vga console
[    4.110485] amdgpu 0000:09:00.0: kfd not supported on this ASIC
[    4.120150] amdgpu 0000:09:00.0: No more image in the PCI ROM
[    4.121491] amdgpu 0000:09:00.0: VRAM: 2048M 0x000000F400000000 -
0x000000F47FFFFFFF (2048M used)
[    4.121492] amdgpu 0000:09:00.0: GART: 1024M 0x000000FF00000000 -
0x000000FF3FFFFFFF
[    4.121557] [drm] amdgpu: 2048M of VRAM memory ready
[    4.121560] [drm] amdgpu: 3072M of GTT memory ready.
[    4.123745] amdgpu 0000:09:00.0: PCIE GART of 1024M enabled (table at
0x000000F400300000).
[    4.124929] [drm] amdgpu: dpm initialized
[    4.125034] [drm] AMDGPU Display Connectors
[    4.502455] fbcon: amdgpudrmfb (fb0) is primary device
[    4.779046] amdgpu 0000:09:00.0: fb0: amdgpudrmfb frame buffer device
[    5.237526] [drm] Initialized amdgpu 3.32.0 20150101 for 0000:09:00.0 on
minor 0</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>