Well it didn’t work because my gamepad isn’t supported. I opened a separate topic.
(Editing my post because of discourse limitiation)
So now I have a working gamepad, but Retropie doesn’t start anymore. It looks like Kodi has trouble stopping:
2025-12-04 13:20:49.718 T:3002 info <general>: Application stopped
2025-12-04 13:20:49.986 T:3002 info <general>: Loading special://xbmc/system/keymaps/appcommand.xml
2025-12-04 13:20:49.987 T:3002 info <general>: Loading special://xbmc/system/keymaps/customcontroller.AppleRemote.xml
2025-12-04 13:20:49.988 T:3002 info <general>: Loading special://xbmc/system/keymaps/customcontroller.Harmony.xml
2025-12-04 13:20:49.991 T:3002 info <general>: Loading special://xbmc/system/keymaps/customcontroller.SiriRemote.xml
2025-12-04 13:20:49.992 T:3002 info <general>: Loading special://xbmc/system/keymaps/gamepad.xml
2025-12-04 13:20:49.994 T:3002 info <general>: Loading special://xbmc/system/keymaps/hama_mce.xml
2025-12-04 13:20:49.994 T:3002 info <general>: Loading special://xbmc/system/keymaps/joystick.xml
2025-12-04 13:20:49.997 T:3002 info <general>: Loading special://xbmc/system/keymaps/keyboard.xml
2025-12-04 13:20:50.004 T:3002 info <general>: Loading special://xbmc/system/keymaps/mouse.xml
2025-12-04 13:20:50.004 T:3002 info <general>: Loading special://xbmc/system/keymaps/osmc_classic.xml
2025-12-04 13:20:50.005 T:3002 info <general>: Loading special://xbmc/system/keymaps/remote.xml
2025-12-04 13:20:50.010 T:3002 info <general>: Loading special://xbmc/system/keymaps/touchscreen.xml
2025-12-04 13:20:50.595 T:3002 info <general>: AddOnLog: peripheral.joystick: Disabling joystick interface "linux"
2025-12-04 13:20:50.596 T:3002 info <general>: ADDON: Dll Destroyed - Joystick Support
2025-12-04 13:20:50.596 T:3002 info <general>: unload skin
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture lists/focus.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture dialogs/separator-grey.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.services/resources/lib/osmcservices/osmc/FX_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.logging/resources/lib/osmclogging/osmc/FX_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.updates/resources/lib/osmcupdates/osmc/FX_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture OSMC_icon_white.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.networking/resources/lib/osmcnetworking/osmc/FX_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.apfstore/resources/lib/apfstore/osmc/FX_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.remotes/resources/lib/osmcremotes/osmc/FX_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture /usr/share/kodi/addons/script.module.osmcsetting.logging/resources/lib/osmclogging/osmc/FO_Icon.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture OSMC_icon_line.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture white.png
2025-12-04 13:20:50.667 T:3002 warning <general>: Cleanup: Having to cleanup texture logo.png
2025-12-04 13:20:50.746 T:3002 info <general>: Unloaded skin
2025-12-04 13:20:52.941 T:3071 error <general>: Exception ignored in:
2025-12-04 13:20:52.941 T:3071 error <general>: <module 'threading' from '/usr/lib/python3.9/threading.py'>
2025-12-04 13:20:52.942 T:3071 error <general>:
2025-12-04 13:20:52.942 T:3071 error <general>: Traceback (most recent call last):
2025-12-04 13:20:52.942 T:3071 error <general>: File "/usr/lib/python3.9/threading.py", line 1388, in _shutdown
2025-12-04 13:20:52.945 T:3071 error <general>:
2025-12-04 13:20:52.945 T:3071 error <general>: def _shutdown():
2025-12-04 13:20:52.945 T:3071 error <general>:
2025-12-04 13:20:52.945 T:3071 error <general>: SystemExit
2025-12-04 13:20:52.945 T:3071 error <general>: :
2025-12-04 13:20:52.945 T:3071 error <general>:
2025-12-04 13:20:52.945 T:3071 error <general>:
2025-12-04 13:20:53.100 T:3002 info <general>: unload sections
2025-12-04 13:20:53.129 T:3002 info <general>: CWSDiscoveryListenerUDP::Stop - Stopped
2025-12-04 13:20:54.035 T:3002 info <general>: Exiting the application...
Full logs: https://paste.osmc.tv/axefezeged
@hissingshark any hint ?