OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)
(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.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.


Messages In This Thread
Re: RE: - by Mafarricos - 2014-06-04, 20:21
Live tv issues again - by pootler - 2014-06-04, 23:29
RE: OpenELEC Testbuilds for RaspberryPi Part 3, - by removed151214 - 2014-08-04, 23:38
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-08-19, 00:11
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-08-21, 20:42
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:20
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:34
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-22, 22:44
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-23, 01:12
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-23, 23:24
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-09-25, 01:38
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-01, 18:12
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-01, 18:26
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-05, 01:07
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 03:48
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 04:06
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by removed151214 - 2014-10-11, 11:29
RE: OpenELEC Testbuilds for RaspberryPi Part 3 - by Milhouse - 2014-12-07, 13:50
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 3 (Kodi 14.0)8