Skip to contentSkip to conversation

New: Polaris HDMI passthrough for TrueHD and DTS-HD does not work without snoop enabled, which leads to clipping

Bug 208269 [email protected] 1 participant 6 messages Jun 21, 2020

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=208269

            Bug ID: 208269
           Summary: Polaris HDMI passthrough for TrueHD and DTS-HD does
                    not work without snoop enabled, which leads to
                    clipping
           Product: Drivers
           Version: 2.5
    Kernel Version: Tested on 5.1.16 and 5.6.18
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Motherboard: Asus P8H61-M LX3 R2.0
CPU: Celeron G1610
RAM: 4GB
GPU: Yeston RX550-4G D5 LP (POLARIS11)
Receiver: Denon x6500h

Tested in Kodi on 5.1.16 (LibreELEC 9.2.3) and on 5.6.18 (Fedora 32 with Pulseaudio disabled)

Out of the box sound is crystal clear but passthrough does not work for TrueHD and DTS-HD, receiver does not show the codec and there is no audio at all with TrueHD and DTS-HD passthrough enabled. Other codecs (AC3, DTS) passthrough fine.

Capabilities seem to be detected correctly (contents of \proc\asound\card0\eld#0.3 attached).

If I set "options snd_hda_intel snoop=1", passthrough for all codecs works as expected, but I get horrible clipping with passthrough audio, and Kodi UI clicks repeat.

alsa-test.sh results with and without snoop enabled are attached.

To note: This hardware combination works as expected in Windows, and with an nVidia GT 1030 this setup does all HDMI passthrough correctly in LibreElec as well, although it does not, of course, allow HEVC hardware decoding in LibreELEC.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 208269] Polaris HDMI passthrough for TrueHD and DTS-HD does not work without snoop enabled, which leads to clipping

https://bugzilla.kernel.org/show_bug.cgi?id=208269

--- Comment #1 from Brady ([email protected]) --- Created attachment 289773
--> https://bugzilla.kernel.org/attachment.cgi?id=289773&action=edit
\proc\asound\card0\eld#0.3

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 208269] Polaris HDMI passthrough for TrueHD and DTS-HD does not work without snoop enabled, which leads to clipping

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208269

--- Comment #2 from Brady ([email protected]) --- Created attachment 289775
--> https://bugzilla.kernel.org/attachment.cgi?id=289775&action=edit
alsa-test.sh results without snoop

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 208269] Polaris HDMI passthrough for TrueHD and DTS-HD does not work without snoop enabled, which leads to clipping

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208269

Brady ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #289775|0                           |1

is obsolete| |

--- Comment #3 from Brady ([email protected]) --- Created attachment 289777
--> https://bugzilla.kernel.org/attachment.cgi?id=289777&action=edit
alsa-info.sh results without snoop

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 208269] Polaris HDMI passthrough for TrueHD and DTS-HD does not work without snoop enabled, which leads to clipping

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208269

--- Comment #4 from Brady ([email protected]) --- Created attachment 289779
--> https://bugzilla.kernel.org/attachment.cgi?id=289779&action=edit
alsa-info.sh results with snoop forced enabled in snd_hda_intel

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 208269] Polaris HDMI passthrough for TrueHD and DTS-HD does not work without snoop enabled, which leads to clipping

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=208269

--- Comment #5 from Brady ([email protected]) --- I should add (headdesk) that the driver in question is amdgpu.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel