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

    Can't get Kodi to run with Retropie 3.7

    Scheduled Pinned Locked Moved Help and Support
    31 Posts 8 Posters 25.9k 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.
    • B
      Boomer543
      last edited by

      Fresh install of Retropie 3.7 on a Pi3.

      Tried to install Kodi from the ports and it would not launch. Followed the installation instructions in the Wiki to install Kodi as an emulator and also not working.

      Any help would be greatly appreciated. Thanks in advance!

      Here's the error log (I guess I tried it a few times....):

      permitted by applicable law.
      Last login: Mon Apr 18 01:42:43 2016

      .. .. Monday, 18 April 2016, 7:11:43 pm UTC
      '. \ ' ' / .' Linux 4.1.19-v7+ armv7l GNU/Linux
      .~ .~~~..~.
      : .~.'~'.~. : Filesystem Size Used Avail Use% Mounted on
      ~ ( ) ( ) ~ /dev/root 15G 5.9G 8.1G 42% /
      ( : '~'.~.'~' : ) Uptime.............: 0 days, 00h02m48s
      ~ .~ ~. ~ Memory.............: 595156kB (Free) / 753132kB (Total)
      ( | | ) Running Processes..: 113
      '~ ~' IP Address.........: 192.168.1.37
      --~-~-- Temperature........: CPU: 45°C/113°F GPU: 46°C/114°F
      The RetroPie Project, http://www.petrockblock.com

      pi@retropie:~ $ sudo cp /etc/emulationstation/es_systems.cfg /home/pi/.emulationstation/es_systems.cfg
      pi@retropie:~ $ sudo nano /home/pi/.emulationstation/es_systems.cfg
      pi@retropie:~ $ mkdir /home/pi/RetroPie/roms/kodi
      pi@retropie:~ $ sudo nano /home/pi/RetroPie/roms/kodi/kodi.sh
      pi@retropie:~ $ sudo chmod +x /home/pi/RetroPie/roms/kodi/kodi.sh
      pi@retropie:~ $ emulationstation

      fbi: no process found
      Failed to stop cec.service: Unit cec.service not loaded.
      Segmentation fault
      Crash report available at /home/pi/kodi_crashlog-20160418_191526.log
      Couldn't get a file descriptor referring to the console
      fbi: no process found
      Failed to start cec.service: Unit cec.service failed to load: No such file or directory.
      Failed to stop cec.service: Unit cec.service not loaded.
      Segmentation fault
      Crash report available at /home/pi/kodi_crashlog-20160418_191531.log
      Couldn't get a file descriptor referring to the console
      fbi: no process found
      Failed to start cec.service: Unit cec.service failed to load: No such file or directory.
      Failed to stop cec.service: Unit cec.service not loaded.
      *** Error in `/usr/lib/kodi/kodi.bin': free(): invalid pointer: 0x04c25880 ***
      Aborted
      Crash report available at /home/pi/kodi_crashlog-20160418_191534.log
      Couldn't get a file descriptor referring to the console
      /usr/bin/kodi --standalone has exited in an unclean state 3 times in the last 13 seconds.
      Something is probably wrong
      Couldn't get a file descriptor referring to the console
      Failed to start cec.service: Unit cec.service failed to load: No such file or directory.
      pi@retropie:~ $ cd /home/pi/kodi_crashlog-201600418_191534.log
      -bash: cd: /home/pi/kodi_crashlog-201600418_191534.log: No such file or directory
      pi@retropie:~ $ ls
      kodi_crashlog-20160417_150649.log kodi_crashlog-20160418_194826.log
      kodi_crashlog-20160417_150653.log kodi_crashlog-20160418_194830.log
      kodi_crashlog-20160417_150659.log kodi_crashlog-20160418_194833.log
      kodi_crashlog-20160417_150714.log kodi_crashlog-20160418_194842.log
      kodi_crashlog-20160417_150718.log kodi_crashlog-20160418_194846.log
      kodi_crashlog-20160417_150722.log kodi_crashlog-20160418_194851.log
      kodi_crashlog-20160418_003313.log kodi_crashlog-20160418_194906.log
      kodi_crashlog-20160418_003319.log kodi_crashlog-20160418_194910.log
      kodi_crashlog-20160418_003324.log kodi_crashlog-20160418_194912.log
      kodi_crashlog-20160418_191526.log kodi_crashlog-20160418_194919.log
      kodi_crashlog-20160418_191531.log kodi_crashlog-20160418_194923.log
      kodi_crashlog-20160418_191534.log kodi_crashlog-20160418_194925.log
      kodi_crashlog-20160418_191624.log RetroPie
      kodi_crashlog-20160418_191627.log RetroPie-Setup
      kodi_crashlog-20160418_191631.log
      pi@retropie:~ $ sudo nano kodi_crashlog-20160418_191631.log

      GNU nano 2.2.6 File: kodi_crashlog-20160418_191631.log

      19:16:30 455.063568 T:1944908352 NOTICE: Running database version MyVideos99
      19:16:30 455.067474 T:1944908352 NOTICE: Running database version TV29
      19:16:30 455.070221 T:1944908352 NOTICE: Running database version Epg11
      19:16:30 455.072968 T:1944908352 NOTICE: start dvd mediatype detection
      19:16:30 455.139496 T:1944908352 WARNING: CSkinInfo: failed to load skin settin$
      19:16:31 456.037903 T:1944908352 WARNING: Previous line repeats 1 times.
      19:16:31 456.038055 T:1944908352 WARNING: JSONRPC: Could not parse type "Settin$
      19:16:31 456.186096 T:1944908352 NOTICE: ActiveAE DSP - starting
      19:16:31 456.198853 T:1944908352 NOTICE: initialize done
      19:16:31 456.365112 T:1944908352 NOTICE: Enabled Joystick: Sony PLAYSTATION(R)$
      19:16:31 456.365326 T:1944908352 NOTICE: Details: Total Axis: 4 Total Hats: 0 $

      ############### END LOG FILE ################

      ############ END Kodi CRASH LOG #############

      1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators
        last edited by

        This has already been posted:

        https://retropie.org.uk/forum/topic/3/read-this-first

        https://retropie.org.uk/forum/topic/259/retroppie-3-7-cec-kodi-and-gba-freezing/2

        Also use pastebin for logs

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • B
          Boomer543
          last edited by

          Thanks for the response and sorry about the long error log. I had read the post you cited before posting mine. With all due respect, the post doesn't provide a solution to the problem. As with the case of the original post, I am using a PS3 controller connected via USB. I am already well aware of the Bluetooth problem with the Pi3. However, unlike the original poster, I started with a clean install of Retropie 3.7. So the original post doesn't really help me. This the reason for my post.

          RascasR 1 Reply Last reply Reply Quote 0
          • RascasR
            Rascas @Boomer543
            last edited by Rascas

            @Boomer543 I cannot replicate the issue on a clean Retropie 3.7 image install + Kodi from experimental (not changed es_systems.cfg). Also without bluetooth controllers.
            Please reinstall Kodi again, and try again from Ports, without changing es_systems.cfg. If the error persists, put the full log on pastebin, and indicate every device model connected to the RPi including the Amperes of the PSU.

            B 1 Reply Last reply Reply Quote 0
            • H
              Hellcube
              last edited by

              This post is deleted!
              RascasR 1 Reply Last reply Reply Quote 0
              • RascasR
                Rascas @Hellcube
                last edited by

                @Hellcube That is offtopic.

                Create a new topic with a title like "How to autostart Kodi in RetroPie, and add a shortcut to ES" or something like that.

                Has you may know, both Kodi and ES don't support X server on the Raspberry Pi, you cannot open ES without closing Kodi first.

                1 Reply Last reply Reply Quote 0
                • B
                  Boomer543 @Rascas
                  last edited by

                  @Rascas

                  Tried it again and it still crashes. Here's the link to the crash log: <script src="//pastebin.com/embed_js/2mRyWAvT"></script>

                  Using a Pi3 with a fresh installation of RetroPie 3.7. Using the recommended 5v 2.5A power supply referenced in the wiki. Have a PS3 controller attached with a USB cable. Have a Logitech K260 keyboard and mouse connected via a USB dongle. Using the overclock settings suggested by the Wiki.

                  If it's not a simple correction, it's no big deal. I have Kodi running on other systems.

                  Thanks!

                  RascasR 1 Reply Last reply Reply Quote 0
                  • RascasR
                    Rascas @Boomer543
                    last edited by Rascas

                    @Boomer543
                    So you are using overclocking ? Than most probably thats the problem. Disable overclock and try again.
                    You should have said that in the beginning, to not waste our time.
                    If you posted the full log that would be visible also, so next time post full logs.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      Boomer543 @Rascas
                      last edited by Boomer543

                      @Rascas I don't believe that I had overclocked when I first posted my error issue. If Kodi doesn't work with overclocking, maybe it would avoid wasting people's time in the future to make that clear somewhere. Thanks for letting me know.

                      I tried to post the complete error log, but didn't realize I couldn't copy and paste the whole thing from a terminal window. Looking for the proper solution for that problem in case I need it some other time.

                      Sorry for wasting your time.

                      RascasR 1 Reply Last reply Reply Quote 0
                      • RascasR
                        Rascas @Boomer543
                        last edited by Rascas

                        @Boomer543 Kodi works with overcloking, it depends on how much you overclock, the settings etc. Not all the boards are the same also, so the amount that you can overclock one Pi can be different from another. Also some SD cards dont't get well with overclock. It also can depend on the PSU.
                        So like you can see there are many factors that you to consider when making overcloking.

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jona1975
                          last edited by Jona1975

                          HI, I'm facing the exact same issue described here in the first post, same HW/SW config, no overclocking. Any news about a possible solution?

                          RascasR 1 Reply Last reply Reply Quote 0
                          • RascasR
                            Rascas @Jona1975
                            last edited by Rascas

                            @Jona1975 Post your Kodi log.
                            https://retropie.org.uk/forum/topic/3/read-this-first
                            Also, remove your .kodi folder (/home/pi/.kodi) and try again. This will reset your Kodi settings!

                            1 Reply Last reply Reply Quote 0
                            • J
                              Jona1975
                              last edited by

                              Couldn't collect the logs because now I'm facing ssh issues.. but meantime I've installed the just-released Kodi 16.1 and it works! :)

                              1 Reply Last reply Reply Quote 0
                              • J
                                jmebd
                                last edited by

                                I recently did a full install from downloaded image and had just about everything setup that I wanted on a 128GB stick and went to check on Kodi today and it just kicks me back to the Ports menu? That kinda what you've experienced? I tried the refresh script and exited, reloaded then reinstalled Kodi again and still same kickback to ports menu.

                                SOOO...I guess I'll try removing the .kodi folder and see if I can reinstall again thru the experimental menu to see if that fixes my problem. I've only ever used an xbox 360 controller upon first boot of emulation station....never did the keyboard configuration but when I did configure it (everything but the analog sticks) whenever I went into Kodi it stuck all the way to the left on Weather. You could hold down the key and it would try going to the right but kept repeating like a key was stuck to the left. Even tried different keyboards (one wireless one wired) so dunno what's up with that. Anyone had any problems with a multiple controls setup like that screwing things up (keyboard and xbox 360)?

                                RascasR 1 Reply Last reply Reply Quote 0
                                • xFleskX
                                  xFlesk
                                  last edited by

                                  same problem here. after update kodi (via experimental packages) from version 15.2 to 16.1 app keeps kicking me out to ports menu. i removed kodi (also manually all other kodi folders) and try to install it again. i get the same kickback problem.
                                  im using pi3 with rpi3.7 and ps3 controller (usb connected).
                                  someone ex[erienced the same problem ? any ideas what is possibly wrong ? kodi is my must have on retropie :/
                                  cheers

                                  1 Reply Last reply Reply Quote 0
                                  • RascasR
                                    Rascas @jmebd
                                    last edited by Rascas

                                    One thing that I remembered now is that unofficial addons and specially skins (unless the default one) can make Kodi stop working after upgrades. Some addons and skins needs changes to work in newer versions of Kodi.
                                    If you move/remove the /home/pi/.kodi folder, to force a Kodi settings reset, it will most likely work.

                                    This should be known by old Kodi users.
                                    That is why it is recommend to backup your settings before upgrading.

                                    If something like this happens, another solution is to downgrade Kodi version.
                                    If the skin is the problem, you can edit /home/pi/.kodi/userdata/guisettings.xml and change the skin line to Kodi's default:

                                    <skin default="true">skin.confluence</skin>
                                    

                                    You have been warned, so think twice before rushing to update Kodi when a new Kodi version is available.

                                    1 Reply Last reply Reply Quote 0
                                    • RascasR
                                      Rascas
                                      last edited by

                                      The configuration of controllers in ES, are independent of Kodi, so it doesn't affect Kodi.

                                      Reletevely to Keyboards and Joysticks in Kodi, I also never experienced any problem, besides the one here https://retropie.org.uk/forum/topic/453/kodi-16-1-is-out/3 which is fixed in Kodi 16.1.

                                      I only used a XBOX 360 controller, but without the xboxdrv, and it worked fine in Kodi. With the xboxdrv I don't know, it was fixed in the Kodi source code, not by me.

                                      herb_fargusH 1 Reply Last reply Reply Quote 0
                                      • herb_fargusH
                                        herb_fargus administrators @Rascas
                                        last edited by herb_fargus

                                        @Rascas I submitted a PR for the Xboxdrv name but for some reason it was reverted (perhaps due to being superceded by the new joypad support in kodi 17- idk)

                                        https://github.com/xbmc/xbmc/commit/377fbb08d3adf85d753e752745069435d24b0845

                                        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                        RascasR 1 Reply Last reply Reply Quote 0
                                        • RascasR
                                          Rascas @herb_fargus
                                          last edited by Rascas

                                          @herb_fargus Yeah I noticed that. It is strange that it was reverted back with the reason "superceded" because it will only be superceded in Kodi 17, but that is like every other joystick keymaps currently present. In Kodi 17, there is/will be a specific addon to handle joysticks.
                                          Can you test the XBOX 360 controller with xboxdrv in Kodi to see if there is any problem ?

                                          herb_fargusH 2 Replies Last reply Reply Quote 0
                                          • herb_fargusH
                                            herb_fargus administrators @Rascas
                                            last edited by

                                            @Rascas hmm... It seems to cause issues. I guess I can see why they reverted it. Perhaps it didn't like the parentheses or something in the master keymap. I'll post the crashlog

                                            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                            1 Reply Last reply Reply Quote 0
                                            • 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.