Kodi Community Forum

Full Version: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
New LibreELEC.tv Krypton build #0805: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.7.0 #1 Fri Aug 5 21:07:34 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jul 28 2016 12:46:32
Copyright (c) 2012 Broadcom
version e12916091ba9d68ef2780e4e142ade56aa301754 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160805210449-#0805-g7e85b6d [Build #0805]

# vcdbg log msg 2>&1 | grep DTOK
002392.128: Kernel trailer DTOK property says yes

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (7e85b6d9, changelog) and tip of XBMC master (efcc4347, changelog) with the following modifications: Build Highlights:
  1. Remove CONFIG_USB_UAS support (see issue #875, forum post)
Build Details:
  1. LibreELEC.tv:
    • RBP: Add GL symlinks to toolchain (PR:606, 1 commit, 1 file changed)
    • RBP: Use force when creating symbolic links in toolchain (PR:608, 1 commit, 1 file changed)
  2. XBMC:
    • VideoPlayer: fix state of StreamInfo (PR:10229, 3 commits, 7 files changed)
    • inputstream: fix return value of CheckAPIVersion (efcc4347)
  3. newclock5:
    • New commits in this build:
      • RenderSystemGLES: Remove unused abs64 function (f75fd8bb)
    • Commits no longer in build:
      • VideoPlayer: consider clock speed when enabling clockSync (1191d6fc)
      • VideoPlayer: write clockSync state to ProcessInfo (19fab661)
      • render: only call FinishPipeline if clocksync is active (3f5a655f)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:607: linux: disable UAS on pi kernels
    • Added: [env] PR:609: init: Report out of space when unable to extract archive/compressed image
(2016-08-05, 21:56)Milhouse Wrote: [ -> ]@plinkplonky can you describe your hardware in a little more detail, what devices do you have connected to your RPi?

I see the joystick errors in your log, it's probably one for @garbear to explain.

A wireless Xbox 360 game pad. Works fine on my RPI but I want to disable it in Kodi, just like I could in pre-krypton versions. Also has a USB IR remote attached and a Logitech wireless keyboard receiver.
With latest builds some DVD menus are broken. Not sure which build is the last good one. #0725 was definitely good so it was broken somewhere between 0725 and 0802b.

Sample: https://www.dropbox.com/s/iyoflzs467sp3h...S.rar?dl=1
(2016-08-06, 05:39)plinkyplonky Wrote: [ -> ]A wireless Xbox 360 game pad. Works fine on my RPI but I want to disable it in Kodi, just like I could in pre-krypton versions. Also has a USB IR remote attached and a Logitech wireless keyboard receiver.

OK, with the next build I'll stop enabling peripheral.* addons so that you can leave it disabled.
Since the update to busybox 1.25 ( build #721 ), openvpn configured by the VPNManger addon no
longer works correctly. It results in several error messages in '/run/openvpn.log'

Fri Aug 5 19:17:10 2016 us=466581 /sbin/ip link set dev tun0 up mtu 1500
Fri Aug 5 19:17:10 2016 us=471366 /sbin/ip addr add dev tun0 128.127.109.195/26 broadcast 128.127.109.255
Fri Aug 5 19:17:12 2016 us=495765 /sbin/ip route add 213.5.69.130/32 via 192.168.1.1
Fri Aug 5 19:17:12 2016 us=501297 ERROR: Linux route add command failed: external program exited with error status: 2
Fri Aug 5 19:17:12 2016 us=501498 /sbin/ip route add 0.0.0.0/1 via 128.127.109.193
Fri Aug 5 19:17:12 2016 us=506588 ERROR: Linux route add command failed: external program exited with error status: 2
Fri Aug 5 19:17:12 2016 us=506792 /sbin/ip route add 128.0.0.0/1 via 128.127.109.193
Fri Aug 5 19:17:12 2016 us=512275 ERROR: Linux route add command failed: external program exited with error status: 2
Fri Aug 5 19:17:12 2016 us=512475 /sbin/ip route add 0.0.0.0/0 via 128.127.109.193
Fri Aug 5 19:17:12 2016 us=517828 ERROR: Linux route add command failed: external program exited with error status: 2
Fri Aug 5 19:17:12 2016 us=518027 Initialization Sequence Completed

Reverting to a build with busybox 1.24 fixes the problem. Since I'm not an expert in vpn connections and networking stuff
I'm not sure if the problem is to be blamed at an issue with busybox or to a wrong configuration of openvpn itself.

I also saw on the 'LibreELEC Testbuilds for x86_64 (Kodi 17.0)' thread somebody has exactly the same problem

See: 2384361 (post)

Any help would be appreciated.
I'm having regular crashes of kodi, it crashes about 5-6 times, then it's fine for a while. After a reboot or sometimes after stopping a movie / exiting TV it crashes again a few times until it's fine again.


Code:
13:01:43 486.929626 T:1961877504   ERROR: Window Translator: Can't find window librarysettings
13:01:43 487.695801 T:1961877504 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
13:01:43 487.754578 T:1961877504   ERROR: JSONRPC: Unable to parse JSON Schema definition for ""
13:01:43 487.754669 T:1961877504   ERROR: JSONRPC: Invalid JSON Schema definition for method ""
13:01:44 488.227356 T:1873802144   ERROR: GetDirectory - Error getting -

complete crash log is here: http://sprunge.us/YNeD[/code]

PS: Just tested - same with #805

Edit: Okay, I found out, that this only happens, when I enable the second tvheadend server, which worked with kodi 15 just fine. I did that like this:
Code:
kodi-keller:~/.kodi/addons # cp -av /usr/lib/kodi/addons/pvr.hts ./pvr.hts2
'/usr/lib/kodi/addons/pvr.hts/pvr.hts.so.3.4.6' -> './pvr.hts2/pvr.hts.so.3.4.6'
'/usr/lib/kodi/addons/pvr.hts' -> './pvr.hts2'

Code:
kodi-keller:~ # cp -av /usr/share/kodi/addons/pvr.hts/* .kodi/addons/pvr.hts2/
'/usr/share/kodi/addons/pvr.hts/addon.xml' -> '.kodi/addons/pvr.hts2/addon.xml'
'/usr/share/kodi/addons/pvr.hts/changelog.txt' -> '.kodi/addons/pvr.hts2/changelog.txt'
'/usr/share/kodi/addons/pvr.hts/icon.png' -> '.kodi/addons/pvr.hts2/icon.png'
[...]

Then I edited the new ~/.kodi/addons/pvr.hts2/addons.xml and changed the addon id to pvr.hts2 as well as the name so that I would recognize it later as the new one.

I rebooted, found the new entry in PVR Clients and edited the settings. After activating the new client the system crashes and kodi keeps restarting and crashing. After a while it's fine, until the next reboot.

As soon as I delete the addon in SSH it starts up fine again.
(2016-08-06, 09:41)Watercoolertje Wrote: [ -> ]Since the update to busybox 1.25 ( build #721 ), openvpn configured by the VPNManger addon no
longer works correctly. It results in several error messages in '/run/openvpn.log'

Thanks. Yes it's a Busybox issue, more details in this x86 post. There will be a fix in tonight's build.
New LibreELEC.tv Krypton build #0806: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.7.0 #1 Sat Aug 6 21:06:26 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jul 28 2016 12:46:32
Copyright (c) 2012 Broadcom
version e12916091ba9d68ef2780e4e142ade56aa301754 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160806210443-#0806-g7e85b6d [Build #0806]

# vcdbg log msg 2>&1 | grep DTOK
002391.362: Kernel trailer DTOK property says yes

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (7e85b6d9, changelog) and tip of XBMC master (79e2f50c, changelog) with the following modifications: Build Highlights:
  1. Fix "route add" error with OpenVPN
  2. Stop enabling peripheral.* addons at startup
  3. VideoPlayer sync fix
Build Details:
  1. XBMC:
    • [lang] Add "On" back to strings.po (PR:10238, 1 commit, 1 file changed)
    • [xbmc/win32/improvement] Finally get rid of the VS solution! (PR:10232, 1 commit, 25 files changed)
  2. inputstream.mpd:
  3. newclock5:
    • New commits in this build:
      • VideoPlayer: remove some dead code (fb24e79b)
      • AE: change definition of AEStream::GetCacheTime (2d56cfa9)
      • VideoPlayer: fix early stall of audio stream, sync is now in AE (92fd0c79)
    • Commits no longer in build:
      • Adapt build files (TODO: changes for XCode) (ac082929)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] patch: busybox: Default to UNIVERSE scope, fixes 9141
    • Updated: [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
Is anyone using HD Home run pvr with latest build?
(2016-08-06, 23:26)nb2a Wrote: [ -> ]Is anyone using HD Home run pvr with latest build?

If you're having problems post a debug log (debug enabled from boot).
Hi.

Sorry if it has been asked before.
My pi 2 died on me and the pi 3 will be delivered tomorrow.

What are the best overclock settings for hevc and sd card?
The pi3 will play pretty much all 720p and will cope with low and some medium bitrate 1080p hevc videos. It won't manage higher bitrate encodings. The best way to get good hevc performance is bumping up the sdram freq. I have mine at 600mhz but 550 is probably achievable with most rpi3s.

These are the settings im using:

force_turbo=1
core_freq=500
sdram_freq=600
gpu_mem=320
#initial_turbo=0
over_voltage_sdram=5
over_voltage_sdram_p=6
over_voltage_sdram_i=4
over_voltage_sdram_c=4
over_voltage=2
hdmi_ignore_cec_init=0
sdram_schmoo=0x02000020
dtoverlay=sdtweak,overclock_50=100

I doubt these settings are optimal and some may have been superseded but they work for me.
@trixter. Thank you!
No higher settings for the cpu?
sdram_schmoo is the most important parameter when OCing sdram.
over_voltage_sdram doesn't seem to do anything for stability, I think it doesn't even work on RPi3.
Try sdram_freq=550, sdram_schmoo=0x02000020 and if 550 is stable in memtester, try go higher. Mine is stable at 570 with default voltage.
I don't see the point of OCing the sdcard.
(2016-08-07, 17:41)drnjstj Wrote: [ -> ]@trixter. Thank you!
No higher settings for the cpu?

All devices can respond differently to overclock settings. What works for one person (with their device) may not work for you (with your device). That's why there's no guarantees that the more extreme overclock settings will work for you - you have to work it out for yourself, for your specific hardware.

If you want to discuss overclocking please can you do so in a thread dedicated to overclocking - it's OT for this thread. There are several threads in the RPi sub-forum - this one is RPi3 specific. Use memtester to test your RAM.