[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-06-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #8 from Mikko Autio  ---
(In reply to Harry Wentland from comment #5)
> 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 ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-06-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #7 from Mikko Autio  ---
(In reply to James Le Cuirot from comment #6)
> (In reply to Mikko Autio from comment #4)
> > 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-06-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #6 from James Le Cuirot  ---
(In reply to Mikko Autio from comment #4)
> 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. :(

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-06-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #5 from Harry Wentland  ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-06-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

--- Comment #4 from Mikko Autio  ---
Created attachment 132140
  --> https://bugs.freedesktop.org/attachment.cgi?id=132140=edit
fix

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101222

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 101222] [amd-staging] No HDMI/DP surround sound with DC on RX 480

2017-05-28 Thread bugzilla-daemon
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: dri-devel@lists.freedesktop.org
  Reporter: ch...@gentoo.org

Created attachment 131555
  --> https://bugs.freedesktop.org/attachment.cgi?id=131555=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
b382281b45ec359def715b182322f4fa9566. 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!

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel