Skip to contentSkip to conversation

No HDMI/DP surround sound with DC on RX 480

Bug 101222 [email protected] 1 participant 11 messages May 28, 2017 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101222

Bug ID: 101222
Summary: [amd-staging] No HDMI/DP surround sound with DC on RX
480
Product: DRI
Version: XOrg git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 131555
--> https://bugs.freedesktop.org/attachment.cgi?id=131555&action=edit
/proc/asound/HDMI/codec#0

I've been trying amd-staging on and off for a while in the hope of getting HDMI/DP surround sound working. There seems to be very few people trying amd-staging and even fewer trying surround sound as I haven't seen a single mention of it anywhere. Is it even supposed to work yet?

Stereo output is working but multi-channel LPCM only appears on my receiver as stereo and AC3 pass-through doesn't work at all. I had all this working on the same system with my old HD 4670 and I've made do with S/PDIF from my on-board sound in the meantime. I've tried directly with ALSA and via PulseAudio.

The latest kernel I've tried is 4.11 with b382281b45ec359deeeeef715b182322f4fa9566. I've found alsa-lib and friends can make a difference in the past so I just tried 1.1.4.

I'll attach some details. Note that I have a stereo monitor plugged into the HDMI port and my receiver in the first DisplayPort. I obviously select the right output when testing!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #1 from James Le Cuirot <[email protected]> --- Created attachment 131556
--> https://bugs.freedesktop.org/attachment.cgi?id=131556&action=edit
/proc/asound/HDMI/eld#0.0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #2 from James Le Cuirot <[email protected]> --- Created attachment 131557
--> https://bugs.freedesktop.org/attachment.cgi?id=131557&action=edit
/proc/asound/HDMI/eld#0.1

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #3 from James Le Cuirot <[email protected]> --- Created attachment 131558
--> https://bugs.freedesktop.org/attachment.cgi?id=131558&action=edit
Some interesting dmesg output

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #4 from Mikko Autio <[email protected]> --- Created attachment 132140
--> https://bugs.freedesktop.org/attachment.cgi?id=132140&action=edit
fix

Attached patch fixes multi-channel HDMI audio on my RX 460.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #5 from Harry Wentland <[email protected]> --- Thanks, Mikko. Looks good. Do you want to send a patch to amd-gfx? If not I'll create a patch with description and title for it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #6 from James Le Cuirot <[email protected]> --- (In reply to Mikko Autio from comment #4)

Quoted 1 line

Attached patch fixes multi-channel HDMI audio on my RX 460.

I was about to shower you with praise but sadly that patch made no difference here. :(

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #7 from Mikko Autio <[email protected]> --- (In reply to James Le Cuirot from comment #6)

Quoted 5 lines

(In reply to Mikko Autio from comment #4)

Quoted 1 line

Attached patch fixes multi-channel HDMI audio on my RX 460.

I was about to shower you with praise but sadly that patch made no difference here. :(

Maybe there is something else broken with DisplayPort audio?

I have my receiver plugged into HDMI port of my RX 460 and my TV is plugged into my receiver. Multi-channel audio over HDMI was working fine even without the patch (including AC3/DTS pass-through), but only up to 5.1 channels. Anything over 5.1 channels appeared as stereo on my receiver.

With the patch 7.1 LPCM and DTS-HD/TrueHD pass-through are now working fine.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #8 from Mikko Autio <[email protected]> --- (In reply to Harry Wentland from comment #5)

Quoted 2 lines

Thanks, Mikko. Looks good. Do you want to send a patch to amd-gfx? If not I'll create a patch with description and title for it.

I'll let you think of a description and title for it ;)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

[Bug 101222] [amd-staging] No DisplayPort surround sound with DC on RX 480 (HDMI works)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

James Le Cuirot <[email protected]> changed:

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

            Summary|[amd-staging] No HDMI/DP    |[amd-staging] No
                   |surround sound with DC on   |DisplayPort surround sound
                   |RX 480                      |with DC on RX 480 (HDMI
                   |                            |works)

--- Comment #9 from James Le Cuirot <[email protected]> --- (In reply to Mikko Autio from comment #7)

Quoted 8 lines

(In reply to James Le Cuirot from comment #6)

Quoted 5 lines

(In reply to Mikko Autio from comment #4)

Quoted 1 line

Attached patch fixes multi-channel HDMI audio on my RX 460.

I was about to shower you with praise but sadly that patch made no difference here. :(

Maybe there is something else broken with DisplayPort audio?

Yes! I switched the outputs around (one was just using an adapter) and now it works! I really should have tried that sooner. This arrangement is fine for me as the monitor is just stereo anyway.

LPCM works and so does ALSA pass-through but PulseAudio is refusing to do pass-through for some reason. I've had it working in the past but I can live with that for now.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw

[Bug 101222] [amd-staging] No DisplayPort surround sound with DC on RX 480 (HDMI works)

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101222

Martin Peres <[email protected]> changed:

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

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #10 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/179.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel