2014-12-07, 13:50
(2014-12-06, 21:25)Solo0815 Wrote: KODI-Folder:
here is the .kodi folder: https://dl.dropboxusercontent.com/u/3675...5-kodi.zip
1. replace your .kodi-folder with this one
2. select: Programs > AdvancedLauncher > Default > SNES > Super Bomberman 3
3. you'll get a black screen. The game starts, if you change OE with any build lower than #1202
I hope this helps
Thx for looking into it
I've reproduced and it's not kodi.bin hanging. The problem seems to be that when retroarch calls the "systemctl stop kodi" command in retroach.start, it basically commits suicide as all processes within the kodi.service CGroup are terminated, including retroarch.start.
I added a 10 second delay in retroarch.start before the call to "systemctl stop kodi" and this is the status of the kodi.service at that point:
Code:
OpenELEC:~ # systemctl status kodi
● kodi.service - Kodi Media Center
Loaded: loaded (/usr/lib/systemd/system/kodi.service; disabled)
Active: active (running) since Sun 2014-12-07 11:27:44 GMT; 1min 40s ago
Process: 890 ExecStartPre=/usr/lib/kodi/kodi-config (code=exited, status=0/SUCCESS)
Main PID: 892 (kodi.sh)
CGroup: /system.slice/kodi.service
├─892 /bin/sh /usr/lib/kodi/kodi.sh --standalone -fs --lircdev /run/lirc/lircd
├─896 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
├─957 /bin/sh /storage/.kodi/addons/emulator.tools.retroarch/bin/retroarch.start pocketsnes /storage/.kodi/Super Bomberman 3.zip
└─965 sleep 10
Dec 07 11:27:52 OpenELEC kodi.sh[892]: hwclock: can't open '/dev/misc/rtc': No such file or directory
Dec 07 11:29:23 OpenELEC root[956]: '/storage/.kodi/addons/emulator.tools.retroarch/bin/retroarch.sh' started: parameters: pocketsnes /storage/.kodi/Super Bomberman 3.zip
Dec 07 11:29:23 OpenELEC root[964]: '/storage/.kodi/addons/emulator.tools.retroarch/bin/retroarch.start' before stopping kodi
Hint: Some lines were ellipsized, use -l to show in full.
When using the "old" kodi.service the CGroup appears identical, so the differen introduced by kodi.sh is very subtle:
Code:
OpenELEC:~ # systemctl status kodi
● kodi.service - Kodi Media Center
Loaded: loaded (/storage/.config/system.d/kodi.service; disabled)
Active: active (running) since Sun 2014-12-07 11:40:40 GMT; 30s ago
Process: 1167 ExecStartPre=/usr/lib/kodi/kodi-config (code=exited, status=0/SUCCESS)
Main PID: 1169 (kodi.bin)
CGroup: /system.slice/kodi.service
├─1169 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
├─1229 /bin/sh /storage/.kodi/addons/emulator.tools.retroarch/bin/retroarch.start pocketsnes /storage/.kodi/Super Bomberman 3.zip
└─1237 sleep 10
I'll post this information to github to see if there is a possible fix.
In the meantime, if you want to revert to the old behaviour:
Code:
systemctl stop kodi
wget http://sprunge.us/PVbI -O /storage/.config/system.d/kodi.service
systemctl daemon-reload
systemctl start kodi
Hopefully there will be a solution that you can test in due course.