https://bugs.freedesktop.org/show_bug.cgi?id=104391
Bug ID: 104391 Summary: DC R9 285 HDMI audio regression since drm/amd/display: try to find matching audio inst for enc inst first Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: adf.lists@gmail.com
R9 285 Tonga with DC (only DC ever worked for HDMI audio with this card/TV combo)
Haven't tested any other use cases other than mine =
HDMI TV is off DVI-D monitor is on with X running, Turn on TV, do xrandr --output HDMI-A-0 --auto && xrandr --output HDMI-A-0 --below DVI-D-0
Since this commit I get no sound.
commit cfb071f7a9673109415d097125b3c12c16836acc Author: Charlene Liu charlene.liu@amd.com Date: Wed Nov 15 18:55:57 2017 -0500
drm/amd/display: try to find matching audio inst for enc inst first
[Description] in eDP+ HDMI/DP clone or extended configuration, audio inst changed from inst 1 to inst0. No failure related this though, just playback device endpoint inst changed. Also remove one addition register read.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #1 from Andy Furniss adf.lists@gmail.com --- Bump!
Still broken on latest drm-next-4.17-wip. Tried booting with both screens on, no better.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
Charlene charlene.liu@amd.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #2 from Charlene charlene.liu@amd.com --- This issue is related to AFMT_CNTL's AFMT_AUDIO_CLOCK_EN. sequence issue. fixed.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #3 from Andy Furniss adf.lists@gmail.com --- Thanks, I'll close when the fix makes it into something public.
Current agd5f drm-next-4.18-wip still has the issue.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #4 from Andy Furniss adf.lists@gmail.com --- What is the fix?
I see drm/amd/display: HDMI has no sound after Panel power off/on
just went in agd5f drm-next-4.17
But this does not fix this issue.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #5 from Andy Furniss adf.lists@gmail.com --- Created attachment 138816 --> https://bugs.freedesktop.org/attachment.cgi?id=138816&action=edit dmesg with hdmi warnings
Hmm, maybe something else is going wrong.
I am getting hdmi warnings in dmesg (attached) when enabling the TV - I haven't seen these before when testing this issue.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #6 from Andy Furniss adf.lists@gmail.com --- It seems that
HDMI has no sound after Panel power off/on
is the cause of the warnings.
I tested 4.18-wip, no sound of course but nothing in dmesg.
I then applied "HDMI has no sound after Panel power off/on" as a patch and get no sound + the warnings in dmesg on enabling the TV.
Remove the patch, then
git revert cfb071f7a9673109415d097125b3c12c16836acc
= working sound.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
Roman Li roman.li@amd.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roman.li@amd.com
--- Comment #7 from Roman Li roman.li@amd.com --- There were a couple of fixes wrt HDMI audio in DC v3.1.47. They've been merged today to https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #8 from Andy Furniss adf.lists@gmail.com --- I tried agd5f drm-next-4.19-wip, which reports [drm] Display Core initialized with v3.1.47
but still no sound.
The warning/bt in dmesg is not there any more.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--- Comment #9 from Andy Furniss adf.lists@gmail.com --- I have a new TV now and can't get hdmi audio working at all.
Maybe my use/setup of alsa doesn't help, but IIRC I did try and fail with a fedora live USB as well.
It works perfectly if I boot into Windows 7, so I know this TV/card combo is OK.
https://bugs.freedesktop.org/show_bug.cgi?id=104391
Martin Peres martin.peres@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|ASSIGNED |RESOLVED
--- Comment #10 from Martin Peres martin.peres@free.fr --- -- 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/281.
dri-devel@lists.freedesktop.org