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.7k 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.
    • 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
              • herb_fargusH
                herb_fargus administrators @Rascas
                last edited by herb_fargus

                @Rascas Here are the crash logs:

                http://pastebin.com/f0z6UCBq

                http://pastebin.com/hgqauKPy

                I have disabled CEC through my boot config.txt so I wonder if that also may be affecting it.

                It seems to try and start up two kodis or at least was glitching a bit while it tried and failed to initialise the xboxuserpace driver. it eventually did load and the buttons worked but the directions with the analog and dpad did not work at all. I'll try re-enabling my cec utils and see if that helps

                EDIT cec changes did nothing, same issue.

                The only way I could get it to go left or right was to press the analog stick buttons and move it around but it definitely wasnt usable. Perhaps it is still best to leave joypad support to be done manually for now (at least for the userspace driver) my logitech f310 on the otherhand works great.

                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
                • W
                  wetriner
                  last edited by

                  I noticed a few problems with using the xboxdrv with the builtin kodi xml as well, so I mapped out a simple one that works for me. I think the issue was that xboxdrv uses buttons for L2 and R2, so the axis and buttons get shifted.

                  Here's my xboxdrv joystick.xml

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

                    @herb_fargus CEC is working fine, there is an error related to it in your log but that is normal because you have disabled it config.txt while it is still enabled in Kodi.
                    There is no problems with joysticks in general also, I have tested PS3 controllers, one Logitech and homemade joysticks in an Arcade Bartop, with DragonRise controllers.

                    But the change to XBOX 360 keymap to add the xboxdrv may cause problems to everybody who is using a XBOX 360 controller with the xboxdrv, not only in RetroPie, but in any other Linux system including normal PCs. It is very likely that xboxdrv uses different keycodes than the normal driver and it causes the problem. It was a bummer that they only reverted that upstream after the Kodi 16.1 release...

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

                      @Rascas yeah also a bummer I didn't test It thoroughly enough- it works fine as a manual keymap xml though. I apologise I broke it. All the same it's a simple enough fix if it really causes problems.

                      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 Ok, no problem, I will revert it. Is this keymap working fine ? I generally don't touch the default keymaps but I can add it and the others in your repo if you like.

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

                          @Rascas

                          For anyone who wants to know how to remove it manually:

                          In /usr/share/kodi/system/keymaps/joystick.Microsoft.Xbox.360.Controller.xml

                          remove

                          <name>Xbox Gamepad (userspace driver)</name>

                          you may also need to remove the one in /home/pi/.kodi/userdata/keymaps before adding one to this folder manually.

                          but yes @rascas I just tested the xbox360 controller on my repo and it works fine with kodi 16.1 so feel free to include it as I'm willing to bet the majority of retropie with xbox controllers will be using xboxdrv.

                          many people use the ibuffalo controller as well- so include whatever you think would be helpful

                          I'm really just hoping all this keymap stuff is obsolete with kodi 17 so that it will be simpler for people to generate keymaps themselves so that they can tailor it to their own controllers and preferences.

                          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

                            @herb_fargus Updated with additional keymaps ;)

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

                              @Rascas I can confirm that xboxdrv works out of the box now :) thank you

                              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
                              • J
                                jmebd
                                last edited by

                                I ended up ssh'ing into mine and "sudo apt-get remove kodi" then "sudo apt-get update", "sudo apt-get upgrade" then finally "sudo apt-get install kodi" and it finally let me boot to kodi but had that move to the left ordeal going on still with the kodi dashboard and freaking out acting like it exited out of kodi and reloaded it. Played wack-a-mole with a keyboard holding down the right cursor until I could get it timed right to push cursor down and was able to get into settings, input, and disabling the "joystick and gamepad" entry in kodi and now it's acting fine....just not with the 360 controller......BUT....I never did any manual keymapping (editing anything to set what keys did what because I didn't understand all of that yet).

                                So, the stuff above able to actually let me and others use the 360 controllers without any crazyness going on now?

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

                                  And are you guys saying that we can just put that keymap that @Rascas has posted just above here somewhere that will rectify this problem?

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

                                    @jmebd said in Can't get Kodi to run with Retropie 3.7:

                                    I ended up ssh'ing into mine and "sudo apt-get remove kodi" then "sudo apt-get update", "sudo apt-get upgrade" then finally "sudo apt-get install kodi" and it finally let me boot to kodi but had that move to the left ordeal going on still with the kodi dashboard and freaking out acting like it exited out of kodi and reloaded it. Played wack-a-mole with a keyboard holding down the right cursor until I could get it timed right to push cursor down and was able to get into settings, input, and disabling the "joystick and gamepad" entry in kodi and now it's acting fine....just not with the 360 controller......BUT....I never did any manual keymapping (editing anything to set what keys did what because I didn't understand all of that yet).

                                    So, the stuff above able to actually let me and others use the 360 controllers without any crazyness going on now?

                                    Move your /home/pi/.kodi folder to "start fresh" and see if it isn't any problem with your current settings.

                                    Also the problem with XBOX 360 controllers was already fixed. You just need to reinstall Kodi via the Experimental Menu.

                                    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.