Comment 27 for bug 1888598

Revision history for this message
Hui Wang (hui.wang) wrote : Re: pulseaudio has is buggy with hdmi audio and sleep/wake

According to the log of #18, looks like after resuming, the pulseaudio tried to set the pcm to 5.1 channels on the hdmi-surround-extra1, but failed:

D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_channels(6) failed: Invalid argument
D: [pulseaudio] alsa-util.c: Trying hdmi:2,1 without SND_PCM_NO_AUTO_FORMAT ...
D: [pulseaudio] alsa-util.c: Managed to open hdmi:2,1
I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
D: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_channels(6) failed: Invalid argument
D: [pulseaudio] alsa-util.c: Trying plug:hdmi:2,1 with SND_PCM_NO_AUTO_FORMAT ...

could you upload the output of 'cat /proc/asound/$(nvhdmi sound card)/eld*' before and after suspend/resume.

And could you redo the test of #12 and find if there is the error of "snd_pcm_hw_params_set_channels(6) failed" in it?