<p dir="ltr"><br>
On 30 Aug 2012 22:12, "Richard" <<a href="mailto:peper03@yahoo.com">peper03@yahoo.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> Is anyone else having getting the error message 'Failed to get A/V sync' when trying to play back a recording? I don't get it all the time but it's often enough that it's irritating. It doesn't seem to matter whether I select HD or SD material.<br>
><br>
> I'm running Mythbuntu 12.04 as a combined BE/FE with Myth v0.25.2-16-gd519276. The graphics card is an NVidia GeForce 8400 GS using the 295.40 drivers.<br>
><br>
> Here's an excerpt from the frontend log:<br>
><br>
> Aug 30 21:19:57 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:987 (TV) TV: Creating TV object<br>
> Aug 30 21:19:57 dvr mythfrontend[2139]: N CoreContext mythmainwindow.cpp:2591 (PauseIdleTimer) Resuming idle timer<br>
> Aug 30 21:19:57 dvr mythfrontend[2139]: N CoreContext mythmainwindow.cpp:2586 (PauseIdleTimer) Suspending idle timer<br>
> Aug 30 21:19:57 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:1206 (Init) TV: Created TvPlayWindow.<br>
> Aug 30 21:19:57 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from None to WatchingPreRecorded<br>
> Aug 30 21:19:57 dvr mythfrontend[2139]: N CoreContext audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext avformatdecoder.cpp:2102 (ScanStreams) AFD: Opened codec 0x19d7b70, id(H264) type(Video)<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext avformatdecoder.cpp:1960 (ScanStreams) AFD: codec MP2 has 2 channels<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext avformatdecoder.cpp:2102 (ScanStreams) AFD: Opened codec 0x34bf430, id(MP2) type(Audio)<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext avformatdecoder.cpp:2102 (ScanStreams) AFD: Opened codec 0x7fb7840, id(DVB_SUBTITLE) type(Subtitle)<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext avformatdecoder.cpp:1960 (ScanStreams) AFD: codec AC3 has 6 channels<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext avformatdecoder.cpp:2102 (ScanStreams) AFD: Opened codec 0x50ca800, id(AC3) type(Audio)<br>
> Aug 30 21:19:58 dvr mythfrontend[2139]: I CoreContext audio/audiooutputbase.cpp:791 (Reconfigure) AO: Opening audio device 'iec958:CARD=Intel,DEV=0' ch 2(6) sr 48000 sf signed 16 bit reenc 1<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext mythrender_vdpau.cpp:1675 (CreatePresentationSurfaces) VDPAU: Created 2 output surfaces.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext mythrender_vdpau.cpp:401 (Create) VDPAU: Created VDPAU render device 1920x1080<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: N CoreContext mythplayer.cpp:506 (CheckExtraAudioDecode) Player(4): Forcing decode extra audio option on (Video method requires it).<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext mythplayer.cpp:1737 (InitAVSync) Player(4): Video timing method: USleep with busy wait<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:5169 (StartPlayer) TV: Created player.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:2360 (HandleStateChange) TV: Changing from None to WatchingPreRecorded<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:2451 (HandleStateChange) TV: Main UI disabled.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:378 (StartTV) TV: Entering main playback loop.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I Decoder videoout_vdpau.cpp:627 (DrawSlice) VidOutVDPAU: Added 2 new buffers. New buffer size 16 (4 decode and 12 process)<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: E Decoder mythrender_vdpau.cpp:734 (CreateDecoder) VDPAU: Error at mythrender_vdpau.cpp:734 (#23, The system does not have enough resources to complete the requested operation at this time.)<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: E Decoder videoout_vdpau.cpp:670 (DrawSlice) VidOutVDPAU: Failed to create decoder.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: E Decoder videoout_vdpau.cpp:560 (DrawSlice) VidOutVDPAU: IsErrored() in DrawSlice<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: E CoreContext videoout_vdpau.cpp:384 (ProcessFrame) VidOutVDPAU: IsErrored() in ProcessFrame<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: E CoreContext mythplayer.cpp:1782 (AVSync) Player(4): AVSync: Unknown error in videoOutput, aborting playback.<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from WatchingPreRecorded to None<br>
> Aug 30 21:19:59 dvr mythfrontend[2139]: W CoreContext mythplayer.cpp:2958 (PauseDecoder) Player(4): Waited 100ms for decoder to pause<br>
> Aug 30 21:20:09 mythfrontend[2139]: last message repeated 99 times<br>
> Aug 30 21:20:09 dvr mythfrontend[2139]: I CoreContext mythpainter_vdpau.cpp:111 (ClearCache) VDPAU Painter: Clearing VDPAU painter cache.<br>
> Aug 30 21:20:09 dvr mythfrontend[2139]: I CoreContext tv_play.cpp:2360 (HandleStateChange) TV: Changing from WatchingPreRecorded to None<br>
><br>
><br>
> The line that strikes me is:<br>
><br>
> The system does not have enough resources to complete the requested operation at this time.)<br>
><br>
> from the driver. I would say 75-80% of the time everything works fine, so the card is perfectly capable of handling playback.<br>
><br>
> It usually gets cleared up if I exit MythFrontend and start it again. Sometimes that's not enough and I have to kill MythWelcome as well.<br>
><br>
> Is it possible that some VDPAU resources are sometimes not being cleaned up properly?<br>
><br>
> In this particular case, we had been watching a recording and wanted to watch another. The first recording had not been a problem. After it finished, I moved around the menus a bit and then got this error when I tried to start the next recording.<br>
><br>
> Occasionally, the popup 'Failed to get A/V sync' appears and MythFrontend locks up completely. I have to kill the process to continue. The only thing that seems to be different in this case is that a tiny square appears in the top left corner of the popup, in case that gives anyone a clue as to what may be going wrong.<br>
><br>
> If other traces are required I'll do my best to get them. I haven't worked out yet exactly what causes this but it shouldn't take too long before it re-occurs.<br>
><br>
> Any help/tips would be gratefully received!<br>
><br>
> Richard.</p>
<p dir="ltr">Nothing very useful to add other than yes I see that too. Though I'm on ubuntu 12.04 and 0.26. I've not had a chance to investigate very far. </p>
<p dir="ltr">Stephen<br>
</p>