FS#55592 - [alsa-lib] [pulseaudio] linux 4.13.1-1 breaks HDMI audio for Cherry Trail audio
Attached to Project:
Arch Linux
Opened by Gereon Schomber (IncredibleLaser) - Monday, 11 September 2017, 18:47 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 01 June 2021, 12:15 GMT
Opened by Gereon Schomber (IncredibleLaser) - Monday, 11 September 2017, 18:47 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 01 June 2021, 12:15 GMT
|
Details
Description:
After upgrading to linux-4.13.1-1, my Intel Cherry Trail (Intel Atom x5-Z8300) device is no longer able to output audio via HDMI. This is in a pure ALSA setup without Pulseaudio. Rolling back to 4.12.12 fixes the issue. Additional info: * package version(s): linux-4.13.1-1 * config and/or log files etc.: For both 4.13.1, aplay -L gives: $ aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default:CARD=bytchtes8316 bytcht-es8316, Default Audio Device sysdefault:CARD=bytchtes8316 bytcht-es8316, Default Audio Device default:CARD=Audio Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio Default Audio Device sysdefault:CARD=Audio Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio Default Audio Device front:CARD=Audio,DEV=0 Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio Front speakers hdmi:CARD=Audio,DEV=0 Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio HDMI Audio Output For 4.12.12, this was: $ aplay -L null Discard all samples (playback) or generate zero samples (capture) pulse PulseAudio Sound Server default:CARD=bytchtnocodec bytcht-nocodec, Default Audio Device sysdefault:CARD=bytchtnocodec bytcht-nocodec, Default Audio Device default:CARD=Audio Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio Default Audio Device sysdefault:CARD=Audio Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio Default Audio Device front:CARD=Audio,DEV=0 Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio Front speakers hdmi:CARD=Audio,DEV=0 Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audio HDMI Audio Output Testing audio via HDMI: $ speaker-test -D hdmi:CARD=Audio -c 2 On 4.12.12, noise is generated and can be heard. On 4.13.1-1, nothing is played, yet text output is the same as with 4.12.12, indicating a playing sound. Steps to reproduce: - try to play audio via HDMI on an Intel Cherry Trail device with linux 4.13.1-1 |
This task depends upon
Closed by Jan Alexander Steffens (heftig)
Tuesday, 01 June 2021, 12:15 GMT
Reason for closing: Fixed
Additional comments about closing: I guess this has been fixed by now.
Tuesday, 01 June 2021, 12:15 GMT
Reason for closing: Fixed
Additional comments about closing: I guess this has been fixed by now.
If so if you blacklist that module is snd-soc-sst-byt-cht-nocodec used again and does that restore audio over HDMI?
If it can not be fixed by configuration changes then report the issue upstream.
I tracked the bug down to this commit:
ALSA: x86: Register multiple PCM devices for the LPE audio card
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20171013&id=8a2d6ae1f737fd22eaeadd0dc32b85c92f239025
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/patch/?id=8a2d6ae1f737fd22eaeadd0dc32b85c92f239025
If I revert this commit I am able to get sound with v4.14-rc4.
00-00: HdmiLpeAudio : Intel HDMI/DP LPE Audio : playback 1
https://forum.kodi.tv/showthread.php?tid=298462&pid=2656063#pid2656063
Thanks to both for the information and help.
https://bugs.freedesktop.org/show_bug.cgi?id=103299
http://linuxiumcomau.blogspot.com/2017/10/fixing-broken-hdmi-audio.html
(I have not tested this method myself)
edit: Tried it out, and it works for me !
Reassigning...