ERROR: CMMALPool::GetBuffer

  • Raspi 4B with Libreelec 9.2.6, no banned repositories. Sometimes it just hangs. In this case N-TV which is only a STDV station.

    Using tvheadend.

    After this, Kodi does not act on the remote control anymore - I can however still ssh to it.

    Happens rarely, maybe once or twice per week.

    And - can somebody please explain why this forum censors the word "w e i g h t"?

    2021-02-09 15:52:46.311 T:3011150432 NOTICE: Whitelist search for: width: 720, height: 576, fps: 50.000, 3D: false
    2021-02-09 15:52:46.311 T:3011150432 NOTICE: Display resolution ADJUST : 1920x1080 @ 60.000000 Hz (24) (xxxxxx: 0.000)
    2021-02-09 15:52:47.043 T:1626039152 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
    2021-02-09 15:52:47.966 T:1626039152 WARNING: Previous line repeats 1 times.
    2021-02-09 15:52:47.966 T:1626039152 NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 40000
    2021-02-09 15:52:58.689 T:2988114800 WARNING: ActiveAE - large audio sync error: -89411.174979
    2021-02-09 17:01:11.726 T:1626039152 ERROR: CMMALPool::GetBuffer - failed pool:0x7fa77240 omvb:(nil) mmal:(nil) timeout:500
    2021-02-09 17:01:11.726 T:1626039152 ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
    2021-02-09 17:01:12.227 T:1626039152 ERROR: CMMALPool::GetBuffer - failed pool:0x7fa77240 omvb:(nil) mmal:(nil) timeout:500
    2021-02-09 17:01:12.227 T:1626039152 ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
    ...
    2021-02-09 17:01:38.292 T:1626039152 ERROR: CMMALPool::GetBuffer - failed pool:0x7fa77240 omvb:(nil) mmal:(nil) timeout:500
    2021-02-09 17:01:38.292 T:1626039152 ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
    2021-02-09 17:01:38.502 T:3011150432 NOTICE: CVideoPlayer::CloseFile()
    2021-02-09 17:01:38.508 T:1784648560 NOTICE: CVideoPlayer::OnExit()
    2021-02-09 17:01:38.508 T:1784648560 NOTICE: Closing stream player 1
    2021-02-09 17:01:38.508 T:1784648560 NOTICE: Waiting for audio thread to exit
    2021-02-09 17:01:38.508 T:1835004784 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true

  • Since this happens only rarely, I rather do not want to disable de-interlacing, it is important to me.


    Is there some debug setting that would deliver more specific info next time?

  • There are log levels available at advancedsettings.xml, but I don't think you will get more info by increasing the log level.

    If you want to find out the reason of the issue, deactivate de-interlacing just for testing. Logging doesn't tells the whole story.

    Try the latest LE nightly build, which has some improvements: Click! Put the img.gz file into the /storage/.update folder and reboot.

  • See if the currently RPi4 nightly images improve things for you. There will be no further development on MMAL support in Kodi (we removed it) or the LE 9.2 codebase (no further releases). At least if you see issues with the nightly images it's something that can be worked on.