You are not logged in.

#1 2019-01-05 13:17:42

fatino
Member
Registered: 2012-04-07
Posts: 11

HDMI Audio doesn't work with RX 470.

Hi,
I switched from r7 240 to Sapphire Radeon RX 470 NITRO+ OC 8GB. I have 2 monitors, both are capable of outputting audio. One has audio jack that I used before on r7 240 to output audio, and another has speakers. Both worked on R7 240, one through DVI cable and another HDMI to DVI adapter.
lspci -v shows:

07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev cf) (prog-if 00 [VGA controller])
        Subsystem: PC Partner Limited / Sapphire Technology Radeon RX 470/480
        Flags: bus master, fast devsel, latency 0, IRQ 39
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=2M]
        I/O ports at e000 [size=256]
        Memory at fe900000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at fe940000 [disabled] [size=128K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [200] Resizable BAR <?>
        Capabilities: [270] Secondary PCI Express <?>
        Capabilities: [2b0] Address Translation Service (ATS)
        Capabilities: [2c0] Page Request Interface (PRI)
        Capabilities: [2d0] Process Address Space ID (PASID)
        Capabilities: [320] Latency Tolerance Reporting
        Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
        Capabilities: [370] L1 PM Substates
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 580]
        Subsystem: PC Partner Limited / Sapphire Technology Ellesmere [Radeon RX 580]
        Flags: bus master, fast devsel, latency 0, IRQ 51
        Memory at fe960000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [48] Vendor Specific Information: Len=08 <?>
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Legacy Endpoint, MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [150] Advanced Error Reporting
        Capabilities: [328] Alternative Routing-ID Interpretation (ARI)
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

aplay -l shows:

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC887-VD Analog [ALC887-VD Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC887-VD Digital [ALC887-VD Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Xorg conf:

Section "Device"
     Identifier "AMD"
     Driver "amdgpu"
     Option "TearFree" "true"
     Option "DRI" "3"
 EndSection

modinfo amdgpu | grep dc

parm:           dc:Display Core driver (1 = enable, 0 = disable, -1 = auto (default)) (int)
parm:           dcfeaturemask:all stable DC features enabled (default)) (uint)

I'm on latest updates as of date with:

Linux greyhill 4.20.0-arch1-1-ARCH #1 SMP PREEMPT Mon Dec 24 03:00:40 UTC 2018 x86_64 GNU/Linux

I tried all the HDMI outputs with aplay and also in pavucontrol: https://imgur.com/nPzaTtr it basically says disconnected and unavailble.
I also tried adding HDMI audio options to Xorg config, it didn't work but even if I would like to use Wayland someday.
In alsamixer it shows 6 devices, all are unmuted but have no volume control and are described as S/PDIF.
I'm basically out of ideas.

EDIT: I tried all combinations of ports. With one monitor:
DP Adapter to hdmi - works
Hdmi to hdmi - works
DVI to DVI - doesnt work (same cable as with R7 240 that worked)
HDMI to DVI - doesnt work

Only configuration that works with two monitors is HDMI to HDMI one monitor and DVI to HDMI second monitor.
I guess it comes down to amdgpu dc compatibility with adapters? Or is there something that can be done?

Last edited by fatino (2019-01-05 13:56:45)

Offline

Board footer

Powered by FluxBB