Hi,
Recently installed Libreelec with Kodi 18 (from popcornmix (or something like that
) source) as I needed a few features from kodi 18.
I'm having problems playing video files. I'm using audio passthrough through HDMI (PCM output does not work as the CPU is too slow) and access the files via NFS.
The audio does not start to stutter until a few seconds in (like, 10?), but that's what I get in the debug log when the audio starts to stutter:
20:05:20.403 T:1385194352 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
20:05:20.425 T:1938939920 DEBUG: CMMALRenderer::RenderUpdate - vsync 5645 (+4)
20:05:20.525 T:1385194352 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
20:05:20.720 T:1938939920 WARNING: Previous line repeats 1 times.
20:05:20.720 T:1938939920 DEBUG: CRBP::WaitVsync no vsync 5663/5664 display:10000030(10000030) delay:0
20:05:20.720 T:1938939920 DEBUG: CMMALRenderer::RenderUpdate - vsync 5664 (+-1)
20:05:20.752 T:1385194352 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
20:05:20.756 T:1938939920 DEBUG: CMMALRenderer::RenderUpdate - vsync 5664 (+4)
20:05:20.761 T:1572406128 DEBUG: CVideoPlayer::OMXDoProcessing Pause 3.00,0.08 (A:01 V:10) EOF:0 FULL:0 T:0.40
20:05:20.761 T:1572406128 DEBUG: OMXClock::OMXSetSpeed(0.000) pause_resume:1
20:05:20.770 T:1572406128 DEBUG: CVideoPlayer::OMXDoProcessing Resume 3.03,0.07 (A:01 V:10) EOF:0 FULL:1 T:0.40
20:05:20.770 T:1572406128 DEBUG: OMXClock::OMXSetSpeed(1.000) pause_resume:1
20:05:20.778 T:1938939920 DEBUG: CMMALRenderer::RenderUpdate - vsync 5669 (+1)
20:05:20.875 T:1385194352 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
20:05:20.999 T:1572406128 WARNING: Previous line repeats 1 times.
20:05:21.000 T:1572406128 DEBUG: CVideoPlayer::OMXDoProcessing Pause 3.06,-0.07 (A:01 V:10) EOF:0 FULL:0 T:0.80
20:05:21.000 T:1572406128 DEBUG: OMXClock::OMXSetSpeed(0.000) pause_resume:1
20:05:21.024 T:1572406128 DEBUG: CVideoPlayer::OMXDoProcessing Resume 3.06,-0.07 (A:01 V:10) EOF:0 FULL:1 T:0.80
20:05:21.024 T:1572406128 DEBUG: OMXClock::OMXSetSpeed(1.000) pause_resume:1
20:05:21.108 T:1385194352 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
20:05:21.224 T:1572406128 WARNING: Previous line repeats 1 times.
Display More
The file is an .mkv file with Dolby Digital, although the same happens for DTS tracks.
Does not matter if the movie is Full HD or HD, also, CPU usage is around 60% when playing the file, so it's not that either.
Found this thread of an OMSC image, which sounds kinda similar (not sure if related though): Playback Video - sound stuttering after March 5th Update - Raspberry Pi - OSMC Forums
Also played around with the cache settings in advancedsettings.xml, but could not produce different results with different buffermodes.
Any help appreciated