[pulseaudio-discuss] [PATCH 0/3] Fix infinite loop with Intel HDMI LPE driver (plus logging improvements)
Georg Chini
georg at chini.tk
Sun Dec 31 14:06:29 UTC 2017
On 28.12.2017 11:09, Tanu Kaskinen wrote:
> Despite previous attempts to fix the problem, the Intel HDMI LPE driver
> is still causing PulseAudio to sometimes get killed due to an infinite
> loop. These patches should finally fix the infinite loop.
>
> Further fixing is still needed after these patches to really make the
> HDMI LPE driver work well with PulseAudio: module-switch-on-available
> needs to be changed so that it will change the HDMI card profile to
> "off" when nothing is plugged in. These patches only fix the infinite
> loop when unplugging the HDMI cable, but PulseAudio doesn't
> automatically move streams away from the HDMI sink. This is actually not
> specific to the HDMI LPE driver, the problem exists for any card that
> can end up in a situation where all of its ports become unavailable.
>
> Tanu Kaskinen (3):
> alsa: fix infinite loop with Intel HDMI LPE
> sink, source: improve state change logging
> sink, source: improve suspend cause logging
>
> src/modules/alsa/alsa-mixer.h | 1 +
> src/modules/alsa/alsa-sink.c | 22 +++++++++++++++
> src/modules/alsa/module-alsa-card.c | 34 +++++++++++++++++++++++
> src/pulsecore/cli-text.c | 54 ++++++-------------------------------
> src/pulsecore/core.c | 41 ++++++++++++++++++++++++++++
> src/pulsecore/core.h | 13 ++++++++-
> src/pulsecore/sink.c | 27 +++++++++++++++++--
> src/pulsecore/sink.h | 2 ++
> src/pulsecore/source.c | 27 +++++++++++++++++--
> src/pulsecore/source.h | 2 ++
> 10 files changed, 172 insertions(+), 51 deletions(-)
>
All three look good to me.
More information about the pulseaudio-discuss
mailing list