[mythtv-users] Playback issues after 12.04 > 14.04 upgrade

Martin Moores moores.martin at gmail.com
Sun Feb 8 10:51:12 UTC 2015


Hi all,

Been battling this one for a few weeks now and no joy fixing it.

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.

It does however work after a reboot, but then trying again in a few hours,
it will hang again.

I first thought it must be video drivers, so reinstalled Intel stuff, tried
turning VAAPI off (normal playback profile), but no joy.

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.

There is some stuff mentioned in the logs:

mythfrontend -v playback,audio (starting frontend and attempting playback
of recording, waiting for playback to eventually start):
http://pastebin.com/ywLKNSyA

snippit:

2015-02-08 07:30:31.878384 E  Pulse: Context not ready after 1000ms

snippit:

2015-02-08 07:34:47.788265 E  ALSA: Requested 500000us got 341333 buffer
time
2015-02-08 07:34:47.788349 I  ALSA: Hardware audio buffer cur: 64 need: 128
max
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**
2015-02-08 07:34:47.788382 I  ALSA: Buffer time = 341333 us
2015-02-08 07:34:47.788444 I  ALSA: Period time = 4 periods
2015-02-08 07:35:11.926637 I  ALSA: Buffer size = 16384 | Period size = 4096
2015-02-08 07:35:19.959787 E  ALSA: no playback control PCM found on mixer
device default
2015-02-08 07:35:19.959799 E  ALSA: Unable to open audio mixer. Volume
control disabled

mythfrontend -v playback,audio (starting frontend and attempting playback
of recording, killing frontend after a few minutes):
http://pastebin.com/ubZFTr6r

snippit:

015-02-07 14:32:28.690716 I  Pulse: Callback: State changed
Unconnected->Connecting
2015-02-07 14:32:28.690840 I  Pulse: Callback: State changed
Connecting->Failed
2015-02-07 14:32:28.690850 E  Pulse: Context not ready after 1000ms
2015-02-07 14:32:28.696849 I  ALSA: OpenDevice plughw:CARD=HDMI,DEV=7
2015-02-07 14:32:28.697311 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"):
Device or resource busy

snippit:

2015-02-07 14:32:28.717383 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"):
Device or resource busy
2015-02-07 14:32:28.717392 E  AudioOutput Error: Aborting reconfigure

mythfrontend -v playback,audio (entering audio menu):
http://pastebin.com/1bAa64kd

snippit:

2015-02-07 14:32:28.690850 E  Pulse: Context not ready after 1000ms
2015-02-07 14:32:28.696849 I  ALSA: OpenDevice plughw:CARD=HDMI,DEV=7
2015-02-07 14:32:28.697311 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"):
Device or resource busy

snippit:

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
2015-02-07 14:32:28.717290 I  ALSA: OpenDevice plughw:CARD=HDMI,DEV=7
2015-02-07 14:32:28.717383 E  ALSA: snd_pcm_open("plughw:CARD=HDMI,DEV=7"):
Device or resource busy
2015-02-07 14:32:28.717392 E  AudioOutput Error: Aborting reconfigure
2015-02-07 14:32:28.717398 N  AudioPlayer: Disabling Audio, reason is:
Aborting reconfigure

I have tried reinstalling bits of ALSA and Pulse, removed asoundrc config
files from etc and home dir.

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.

Also tried the different audio devices, hw, hdmi, dmix and plughw

Any pointers appreciated!

Cheers

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20150208/2b79efa8/attachment.html>


More information about the mythtv-users mailing list