RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    KODi Problem under Retropie (Screenshot)

    Scheduled Pinned Locked Moved Help and Support
    kodi
    19 Posts 4 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Turrican2k @windg
      last edited by

      I just reinstalled Retropie, at least the old version had no problems. Should I reinstall Retropie again? I can't imagine that it would be different, but I could try it in the next few days if the error can't be fixed now.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Turrican2k
        last edited by

        @Turrican2k Perhaps looking at the Kodi log file could give a pointer of where the error is ?

        T 1 Reply Last reply Reply Quote 0
        • T
          Turrican2k @mitu
          last edited by Turrican2k

          @mitu
          Here is the last section of the log file, some error messages:

          
          2023-02-16 22:07:43.545 T:1654251712  NOTICE: UDP: Listening on port 9777 (ipv6 : false)
          2023-02-16 22:07:43.568 T:1900291008  NOTICE: VideoPlayer::OpenFile: /var/run/lirc/lircd
          2023-02-16 22:07:43.570 T:1730048192  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
          2023-02-16 22:07:43.584 T:1619181760  NOTICE: Creating InputStream
          2023-02-16 22:07:43.585 T:1619181760   ERROR: CVideoPlayer::OpenInputStream - error opening [/var/run/lirc/lircd]
          2023-02-16 22:07:43.587 T:1619181760  NOTICE: CVideoPlayer::OnExit()
          2023-02-16 22:07:43.719 T:1721655488   ERROR: AddOnLog: Joystick Support: Device "Sony Interactive Entertainment Wireless Controller": can't find <controller> tag
          2023-02-16 22:07:43.945 T:1721655488  NOTICE: Register - new joystick device registered on addon->peripheral.joystick/0: Controller
          2023-02-16 22:07:44.159 T:1900291008  NOTICE: CVideoPlayer::CloseFile()
          2023-02-16 22:07:44.162 T:1900291008  NOTICE: VideoPlayer: waiting for threads to exit
          2023-02-16 22:07:44.162 T:1900291008  NOTICE: VideoPlayer: finished waiting
          2023-02-16 22:07:52.739 T:1900291008  NOTICE: VideoPlayer::OpenFile: /media/usb0/Jurassic World - Dominion 2022.1080p.web.h265.mkv
          2023-02-16 22:07:52.740 T:1551700160  NOTICE: Creating InputStream
          2023-02-16 22:07:52.755 T:1551700160  NOTICE: Creating Demuxer
          2023-02-16 22:07:52.947 T:1551700160  NOTICE: Opening stream: 0 source: 256
          2023-02-16 22:07:52.947 T:1551700160  NOTICE: Creating video codec with codec id: 173
          2023-02-16 22:07:52.951 T:1551700160   ERROR: CMMALVideo::Open : Video codec unknown: ad
          2023-02-16 22:07:52.951 T:1551700160  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: hevc_rpi
          2023-02-16 22:07:53.012 T:1551700160  NOTICE: Creating video thread
          2023-02-16 22:07:53.012 T:1688084672  NOTICE: running thread: video_thread
          2023-02-16 22:07:53.012 T:1551700160  NOTICE: Opening stream: 1 source: 256
          2023-02-16 22:07:53.012 T:1551700160  NOTICE: Finding audio codec for: 86056
          2023-02-16 22:07:53.013 T:1551700160  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder eac3
          2023-02-16 22:07:53.013 T:1551700160  NOTICE: Creating audio threa
          2023-02-16 22:07:53.013 T:1416175808  NOTICE: running thread: CVideoPlayerAudio::Process()
          2023-02-16 22:07:53.013 T:1551700160  NOTICE: Opening stream: 3 source: 256
          2023-02-16 22:07:53.015 T:1688084672  NOTICE: CDecoder::Open - fmt:183
          2023-02-16 22:07:53.056 T:1416175808  NOTICE: Creating audio stream (codec id: 86056, channels: 6, sample rate: 48000, no pass-through)
          2023-02-16 22:07:53.293 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84e0a0 timeout:500
          2023-02-16 22:07:53.310 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.352 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84e278 timeout:500
          2023-02-16 22:07:53.352 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.354 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84e450 timeout:500
          2023-02-16 22:07:53.354 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.355 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84e628 timeout:500
          2023-02-16 22:07:53.355 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.361 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84e800 timeout:500
          2023-02-16 22:07:53.361 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.363 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84e9d8 timeout:500
          2023-02-16 22:07:53.363 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.367 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84ebb0 timeout:500
          2023-02-16 22:07:53.367 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.481 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84ed88 timeout:500
          2023-02-16 22:07:53.482 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.482 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84ef60 timeout:500
          2023-02-16 22:07:53.482 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.483 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84f138 timeout:500
          2023-02-16 22:07:53.483 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.483 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84f310 timeout:500
          2023-02-16 22:07:53.483 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.484 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84f4e8 timeout:500
          2023-02-16 22:07:53.484 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.484 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84f6c0 timeout:500
          2023-02-16 22:07:53.484 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.485 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84f898 timeout:500
          2023-02-16 22:07:53.485 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.485 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84fa70 timeout:500
          2023-02-16 22:07:53.485 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.485 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84fc48 timeout:500
          2023-02-16 22:07:53.485 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.486 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84fe20 timeout:500
          2023-02-16 22:07:53.486 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:53.486 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:0x6a84fff8 timeout:500
          2023-02-16 22:07:53.486 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:54.097 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:54.097 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:54.598 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:54.598 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:55.098 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:55.099 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:55.599 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:55.599 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:56.100 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:56.100 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:56.601 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:56.601 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:57.102 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:57.102 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:57.602 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:57.602 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:58.103 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:58.103 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:58.604 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:58.604 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:59.105 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:59.105 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:07:59.606 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:07:59.606 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:00.106 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:00.106 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:00.607 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:00.607 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:01.108 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:01.108 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:01.612 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:01.612 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:02.113 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:02.113 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:02.614 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:02.614 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:03.114 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:03.115 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time
          2023-02-16 22:08:03.172 T:1416175808  NOTICE: CVideoPlayerAudio::Process - stream stalled
          2023-02-16 22:08:03.621 T:1688084672   ERROR: CMMALPool::GetBuffer - failed pool:0x6a81cbb0 omvb:(nil) mmal:(nil) timeout:500
          2023-02-16 22:08:03.621 T:1688084672   ERROR: CDecoder::FFGetBuffer Failed to allocated buffer in time~~
          
          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            Please use pastebin.com for the entire log.

            T 1 Reply Last reply Reply Quote 0
            • T
              Turrican2k @mitu
              last edited by

              @mitu
              https://pastebin.com/aN6Zxa9D

              1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator
                last edited by

                The error is from trying to open an MPEG5 (h256) stream, which is not supported by the HW decoder on the RPI. Do you get a similar problem when playing an MPEG4 file ?

                T 1 Reply Last reply Reply Quote 0
                • T
                  Turrican2k @mitu
                  last edited by Turrican2k

                  @mitu I downloaded and tried one such MP4 video for testing; it ran without any problems.

                  I also played a new retropie system on another memory card and just installed KODi directly, the error was still there with said video.

                  As I said, this video runs on an old Retropie system with Kodi 18.2 without any problems. If necessary, is it somehow possible to install an old version of KODi and remove the current 18.7?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Turrican2k
                    last edited by

                    @Turrican2k said in KODi Problem under Retropie (Screenshot):

                    As I said, this video runs on an old Retropie system with Kodi 18.2 without any problems. If necessary, is it somehow possible to install an old version of KODi and remove the current 18.7?

                    No, I don't think so.

                    AshpoolA 1 Reply Last reply Reply Quote 1
                    • AshpoolA
                      Ashpool @mitu
                      last edited by Ashpool

                      @mitu Not sure... I kept my old OSMC (latest) image (fresh install, setup and backuped) including OMX player for my Pi3s for future use, I am not sure what repos for Kodi/arm are available/kept, but for me (and no, I am not able to do it) it sounds like a <core_of_choice_state/year_of_legacy> option..?.. And maybe, if there are people able and willing to setup such a pi3/retropie-legacy fork, it could be possible after all ?

                      @Turrican2k best option, if you really want to use HEVC Videos with a Pi3 in Kodi/Retropie, is to find the people which are able to create such an install/fork.

                      P.S.: ... For me I never understood why Retropie included Kodi, or my Kodi based OS of choice (OSMC) included emulators (mixing purpose and context).
                      P.P.S.: But that is just me and I never was a fan of "suits" and always prefered single solution/context apps/programms (Edit: bloody me, why am I using retropie/libretro at all on the pi? dough? Sigh...).

                      Edit: Ok, forget about that thought -> as I had forgotten that HEVC decoding on the Pi3 is due to OMX Player, and as that one (sadly as it is) is decapricated under bullseye (and AFAIK only works under fkms, not kms), such a repo would just be another dead-end :/

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @Ashpool
                        last edited by

                        @Ashpool said in KODi Problem under Retropie (Screenshot):

                        Edit: Ok, forget about that thought -> as I had forgotten that HEVC decoding on the Pi3 is due to OMX Player, and as that one (sadly as it is) is decapricated under bullseye (and AFAIK only works under fkms, not kms), such a repo would just be another dead-end :/

                        You're confusing HEVC with MPEG. The Pi3 doesn't have any HEVC (MPEG5) HW decoding/encoding capabilities, this was added on the Pi4 hardware. The Pi4 also doesn't have HW MPEG decoding, which is largely unnecessary on the PI4's CPU.

                        AshpoolA 1 Reply Last reply Reply Quote 0
                        • AshpoolA
                          Ashpool @mitu
                          last edited by Ashpool

                          @mitu Nope ;), even if the Pi3 had no HW Decoding for HEVC, MMAL/OMX somehow utilized parts of the existing HW-Decoding capabilities for h265 Playback. With Leia I have no playback issues for 720p/1080p HEVC content (most encoded via x265 with preset medium/crf 16) on my OSMC install (Pi3B+), with later versions that is a nogo.

                          Edit: In the time of the introduction of Matrix, posts like this one from pi3 users where emergent.
                          Edit2: Ok, and maybe my memory served me wrong and it wasn't due to MMAL/OMX but a modified ffmpeg-version applying the magic (together with MMAL?).

                          T 1 Reply Last reply Reply Quote 0
                          • T
                            Turrican2k @Ashpool
                            last edited by

                            As I said, in an old version, videos are displayed smoothly on the RPI3, which no longer works in the new version. Does anyone know where exactly KODi is installed under Retropie? Then I could copy KODi from my old Retropie version to a stick and overwrite it on my new Retropie version (?).

                            windgW 1 Reply Last reply Reply Quote 0
                            • windgW
                              windg @Turrican2k
                              last edited by windg

                              i think the path for kodi is this /opt/retropie/ports

                              My English isn't at a good level.

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post

                              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.