<div dir="ltr">Hi all,<div><br></div><div>Been battling this one for a few weeks now and no joy fixing it.</div><div><br></div><div>Upgraded from 12.04 > 14.04 and all seemed fine.  But I now find when trying to start any playback, mythfrontend just hangs on "please wait".  This happens on recordings and mythvideo.  The video does start playing after 7/8 minutes if left on the "please wait" screen, but audio is either choppy (and video skips/fast forwards randomly) or the audio doesn't play but video displays fine, which seems to be happening on the last few tests.</div><div><br></div><div>It does however work after a reboot, but then trying again in a few hours, it will hang again.</div><div><br></div><div>I first thought it must be video drivers, so reinstalled Intel stuff, tried turning VAAPI off (normal playback profile), but no joy.</div><div><br></div><div>Seem to have tracked it down to an audio issue due to other things.  For example, if I navigate to the audio menu in the frontend, this also crashes mythfrontend.</div><div><br></div><div>There is some stuff mentioned in the logs:</div><div><br></div><div>mythfrontend -v playback,audio (starting frontend and attempting playback of recording, waiting for playback to eventually start):</div><div><a href="http://pastebin.com/ywLKNSyA">http://pastebin.com/ywLKNSyA</a><br></div><div><br></div><div>snippit:</div><div><br></div><div><div>2015-02-08 07:30:31.878384 E  Pulse: Context not ready after 1000ms<br></div></div><div><br></div><div>snippit:</div><div><br></div><div><div>2015-02-08 07:34:47.788265 E  ALSA: Requested 500000us got 341333 buffer time</div><div>2015-02-08 07:34:47.788349 I  ALSA: Hardware audio buffer cur: 64 need: 128 max</div><div>2015-02-08 07:34:47.788373 E  ALSA: Try to manually increase audio buffer with: echo 128 | sudo tee /proc/asound/card0/pcm7p/sub0/prealloc **tried this, no difference**</div><div>2015-02-08 07:34:47.788382 I  ALSA: Buffer time = 341333 us</div><div>2015-02-08 07:34:47.788444 I  ALSA: Period time = 4 periods</div><div>2015-02-08 07:35:11.926637 I  ALSA: Buffer size = 16384 | Period size = 4096</div><div>2015-02-08 07:35:19.959787 E  ALSA: no playback control PCM found on mixer device default</div><div>2015-02-08 07:35:19.959799 E  ALSA: Unable to open audio mixer. Volume control disabled</div></div><div><br></div><div>mythfrontend -v playback,audio (starting frontend and attempting playback of recording, killing frontend after a few minutes):<br></div><div><a href="http://pastebin.com/ubZFTr6r">http://pastebin.com/ubZFTr6r</a><br></div><div><br></div><div>snippit:<br></div><div><br></div><div><div>015-02-07 14:32:28.690716 I  Pulse: Callback: State changed Unconnected->Connecting</div><div>2015-02-07 14:32:28.690840 I  Pulse: Callback: State changed Connecting->Failed</div><div>2015-02-07 14:32:28.690850 E  Pulse: Context not ready after 1000ms</div><div>2015-02-07 14:32:28.696849 I  ALSA: OpenDevice plughw:CARD=HDMI,DEV=7</div><div>2015-02-07 14:32:28.697311 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"): Device or resource busy</div></div><div><br></div><div>snippit:<br></div><div><br></div><div><div>2015-02-07 14:32:28.717383 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"): Device or resource busy</div><div>2015-02-07 14:32:28.717392 E  AudioOutput Error: Aborting reconfigure</div></div><div><br></div><div>mythfrontend -v playback,audio (entering audio menu):<br></div><div><a href="http://pastebin.com/1bAa64kd" target="_blank">http://pastebin.com/1bAa64kd</a><br></div><div><br></div><div>snippit:<br></div><div><br></div><div><div>2015-02-07 14:32:28.690850 E  Pulse: Context not ready after 1000ms</div><div>2015-02-07 14:32:28.696849 I  ALSA: OpenDevice plughw:CARD=HDMI,DEV=7</div><div>2015-02-07 14:32:28.697311 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"): Device or resource busy</div></div><div><br></div><div>snippit:<br></div><div><br></div><div><div>2015-02-07 14:32:28.717287 I  AOBase: Opening audio device 'plughw:CARD=HDMI,DEV=7' ch 2(2) sr 48000 sf signed 16 bit reenc 0</div><div>2015-02-07 14:32:28.717290 I  ALSA: OpenDevice plughw:CARD=HDMI,DEV=7</div><div>2015-02-07 14:32:28.717383 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"): Device or resource busy</div><div>2015-02-07 14:32:28.717392 E  AudioOutput Error: Aborting reconfigure</div><div>2015-02-07 14:32:28.717398 N  AudioPlayer: Disabling Audio, reason is: Aborting reconfigure</div></div><div><br></div><div>I have tried reinstalling bits of ALSA and Pulse, removed asoundrc config files from etc and home dir.</div><div><br></div><div>I did wonder if this is some sort of HDMI sleep issue, have seen many posts about this happening when PCs resume from sleep, which is not the case here, but did try a different HDMI cable and port in my TV, with no change.</div><div><br></div><div>Also tried the different audio devices, hw, hdmi, dmix and plughw</div><div><br></div><div>Any pointers appreciated!</div><div><br></div><div>Cheers</div><div><br></div><div>Martin</div></div>