OpenELEC/OpenELEC.tv — Issue #214: Another sound problem : "Failed to initialize your audio device" when A/V sync is enabled
Author: eesprit
Created: 2012-02-19 15:52:31+00:00
State: open

Hi,

Since some (devel) releases, some users (http://openelec.tv/forum/47-development-builds/23442-re-r9573-sound-no-longer-works) have a problem with sound when playing movies and when A/V sync is enabled.

Not sure if the problem is related to the other sound problems (issues #201, #153), perhaps it's a recent change in the linux kernel or alsa modules... or not.
I am creating a new issue report and not using #153 because it seems there are two differents problems :
1) sound not working at all, or randomly
2) no sound in video when A/V sync is enabled <= this is this one I am reporting here

Sounds in xbmc menu are working, playing audio files is working too, but when launching a movie, the message "Failed to initialize your audio device. Check your audiosettings" pops-up, and then there is no sound anymore (even in the menu after stopping the video player).
Disabling the A/V sync in video settings make the problem go away (but that is not a good solution).

r9455 was working nice (perhaps other newer versions were working Ok too, but I can't say, I moved from r9455 to r9735, then r9792, r9798... perhaps we need to do some bisection tests to find since when the problem is here).

Most users who have problem seems to have ION based hardware.
In my case, a Zotac HD-ND22 (ION + Celeron CPU)

xbmc.log (in debug mode) : http://pastebin.com/raw.php?i=Giu6dn5R
dmesg + aplay -l + lspci + lsmod : http://pastebin.com/raw.php?i=6W1dGCPH
I don't have a customized asound.conf (if that matters).

I can provide any other information needed.
I can also help in bisecting the differents releases to find when (since what change) this problem is present (I just need to know how to checkout a specific release with git...).

Thanks for your help.