[mythtv-users] Video is behind audio, dropping frames to catch up (VDPAU, HD content)

Thomas Börkel thomas at boerkel.de
Tue Mar 12 21:04:27 UTC 2013


HI!

On 12.03.2013 21:07, Richard wrote:

> I'm no audio expert but maybe the audio buffers were set too low on the
> PCI card?
> 
> Do you see anything like the following in your frontend logs?
> 
> ALSA: Try to manually increase audio buffer with...

2013-03-12 21:13:36.313758 E  ALSA: Requested 500000us got 170666 buffer
time
2013-03-12 21:13:36.313838 E  ALSA: Try to manually increase audio
buffer with: echo 192 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc

This message I get since switching to onboard audio. Should I do this?

> Interestingly, if I select 'ALSA:default', I don't see that message but
> if the buffers are set too low, playback stutters terribly and I see the
> same error message you originally reported.

Hmm, maybe that would have fixed it.

> If I select something else like 'ALSA:dmix:CARD=PCH,DEV=0', I get the
> 'Try to manually increase...' message but playback seems fine regardless
> of what size I set the buffers to.
> 
> Both settings select the same (and only) sound card so I don't know
> exactly what's going on but maybe you have a similar issue.

Could be, although I did not get the hiccup that often. Mostly it played
fine.


Thomas


More information about the mythtv-users mailing list