Can't get Kodi to run with Retropie 3.7
-
@Rascas Here are the crash logs:
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.
-
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.
-
@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...
-
@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.
-
@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.
-
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.
-
@herb_fargus Updated with additional keymaps ;)
-
@Rascas I can confirm that xboxdrv works out of the box now :) thank you
-
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?
-
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?
-
@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.
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.