Audio out on DisplayPort but not HDMI, on AMD Ryzen APU/Vega
Damjan Georgievski
gdamjan at gmail.com
Fri Jul 9 16:40:18 CEST 2021
> > Should this hardware be supported with the
> > sound/soc/amd/renoir/rn-pci-acp3x.c driver (instead of snd_hda_intel)?
> > … since it is a Renoir desktop APU.
> >
> > > Please give alsa-info.sh output for more detailed analysis.
> >
> > http://alsa-project.org/db/?f=00b31f3f0e6c58b56c73f98aec7c6b5ccaff700e
>
> The codec proc output there shows that only one pin is enabled for
> HDMI/DP output, and that's the reason why the driver created only one
> stream. It's basically a BIOS setup.
>
> The patch below should enable all pins forcibly and this should give
> more streams. Give it a try.
>
>
> Takashi
>
> --- a/sound/pci/hda/patch_hdmi.c
> +++ b/sound/pci/hda/patch_hdmi.c
> @@ -1940,6 +1940,7 @@ static int hdmi_add_cvt(struct hda_codec *codec, hda_nid_t cvt_nid)
> static const struct snd_pci_quirk force_connect_list[] = {
> SND_PCI_QUIRK(0x103c, 0x870f, "HP", 1),
> SND_PCI_QUIRK(0x103c, 0x871a, "HP", 1),
> + SND_PCI_QUIRK(0x1462, 0xec94, "MS-7C94", 1),
> {}
> };
>
This somewhat improved the situation. I get multiple HDMI devices on
the card now, and the
default seems to be the actual HDMI port (as opposed to the DisplayPort).
But I can't manually control where the audio goes, and at one point (I
think when the TV was off),
it automatically switched to the DisplayPort.
http://alsa-project.org/db/?f=eb8da3434b011820de868451e55ae4f22fbb350c
--
damjan
More information about the Alsa-devel
mailing list