From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver Date: Mon, 05 Mar 2018 18:45:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0689914732==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 9D0A46E46C for ; Mon, 5 Mar 2018 18:45:26 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0689914732== Content-Type: multipart/alternative; boundary="15202755261.BD51.864" Content-Transfer-Encoding: 7bit --15202755261.BD51.864 Date: Mon, 5 Mar 2018 18:45:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D101900 --- Comment #32 from Direx --- (In reply to Andrew Nelson from comment #31) > I have been running into the same issue. The problem seems to be that AMD= GPU > is reporting that it supports 7 speakers instead of 8 in the EID. HBR > formats work with 5.1 encoded audio, but not 7.1. For some reason, the > driver is configured to subtract 1 from the channel count before passing = it > into the EID. I have removed this and confirmed that 7.1 HBR audio works. Jackpot, this is it. Just tried your patch and now all audio formats are working. I can confirm that the following formats can now be played back correctly on my RX480: - PCM 2.0 - PCM 5.1 - PCM 7.1 - Dolby Digital@5.1 - DTS@5.1 - Dolby TrueHD@7.1 - DTS HD-MA@7.1 - Dolby Atmos Excellent job. Can we please get this patch into drm-fixes, as it is cleary= a bug fix and not a new feature. --=20 You are receiving this mail because: You are the assignee for the bug.= --15202755261.BD51.864 Date: Mon, 5 Mar 2018 18:45:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 32 on bug 10190= 0 from Direx
(In reply to Andrew Nelson from comment #31)
> I have been running into the same issue. The pro=
blem seems to be that AMDGPU
> is reporting that it supports 7 speakers instead of 8 in the EID. HBR
> formats work with 5.1 encoded audio, but not 7.1. For some reason, the
> driver is configured to subtract 1 from the channel count before passi=
ng it
> into the EID. I have removed this and confirmed that 7.1 HBR audio wor=
ks.

Jackpot, this is it. Just tried your patch and now all audio formats are
working. I can confirm that the following formats can now be played back
correctly on my RX480:

- PCM 2.0
- PCM 5.1
- PCM 7.1
- Dolby Digital@5.1
- DTS@5.1
- Dolby TrueHD@7.1
- DTS HD-MA@7.1
- Dolby Atmos

Excellent job. Can we please get this patch into drm-fixes, as it is cleary=
 a
bug fix and not a new feature.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15202755261.BD51.864-- --===============0689914732== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0689914732==--