Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 6 Vote(s) - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
J_E_F_F Offline
Senior Member
Posts: 214
Joined: Sep 2013
Reputation: 2
Post: #1171
Updated from 0301 to 0312 and the lightning bolt icon appeared, solid lightning bolt from initial boot time, at idle, playing a video whenever, solid lightning bolt..
I have a 2.5 amp power supply and tried a second one just to be sure.

You can see 2 other users and I talking about this issue from post 1114 here http://forum.kodi.tv/showthread.php?tid=298461&page=75
Their issues started with build 0302, mine started earlier but either build 0301 or bumping the CPU voltage temporarily fixed my issue, which has now returned in subsequent builds.

Rolled back to 0301 and no lightning bolt.

Tried a few others ( I still find the nightly build host extremely slow, taking between 5 and 8 min to download 150mb, so what should be a quick process was not)

0312 Lightning bolt (tested again x2)
0310 Lightning bolt
0305 Lightning bolt
0303 Lightning bolt
0302 Lightning bolt (debug log) http://sprunge.us/QYFW
0301 No Lightning bolt (tested x3 (debug log)) http://sprunge.us/JNhi

Like I said, I did see this on and off prior to 0301, but that is a build that works every time and from 0302 forward, I see the lightning bolt, so that is hopefully a good starting point with the debug logs posted above.

Oddly the lightning bolt when displayed is from the instant of the reboot, well before Kodi is actually loaded.
(This post was last modified: 2017-03-13 20:03 by J_E_F_F.)
find quote
Xeno Offline
Junior Member
Posts: 9
Joined: Nov 2016
Reputation: 0
Post: #1172
Maybe heavy CPU usage?
find quote
dantist Offline
Junior Member
Posts: 33
Joined: Nov 2013
Reputation: 0
Post: #1173
Today the LibreELEC interface froze and I restarted the system via console. Now it's stuck in a "logo loop" and keeps switching between the LibreELEC and Kodi-logo.

I'm still able to ssh to my RPi 2, but I don't see any errors in the kodi.log:

Code:
22:29:14.682 T:1961951232  NOTICE: Default Video Player: VideoPlayer
22:29:14.682 T:1961951232  NOTICE: Default Audio Player: paplayer
22:29:14.682 T:1961951232  NOTICE: Disabled debug logging due to GUI setting. Level 0.
22:29:14.682 T:1961951232  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
22:29:14.682 T:1961951232  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
22:29:14.683 T:1961951232  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
22:29:14.685 T:1961951232  NOTICE: Loaded playercorefactory configuration
22:29:14.685 T:1961951232  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
22:29:14.686 T:1961951232  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
22:29:14.737 T:1961951232  NOTICE: Running database version Addons27
22:29:15.080 T:1961951232  NOTICE: ADDONS: Using repository repository.kodi.game
22:29:15.080 T:1961951232  NOTICE: ADDONS: Using repository repository.libreelec.tv
22:29:15.080 T:1961951232  NOTICE: ADDONS: Using repository repository.xbmc.org
22:29:15.080 T:1961951232  NOTICE: ADDONS: Using repository repository.sandmann79.plugins
22:29:15.080 T:1961951232  NOTICE: ADDONS: Using repository repository.sd-xbmc.org
22:29:15.080 T:1961951232  NOTICE: ADDONS: Using repository repository.retroplayer.libreelec.tv

I've installed the latest version via the .update folder, but it didn't help. Any idea how to fix this?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1174
(2017-03-13 23:33)dantist Wrote:  I've installed the latest version via the .update folder, but it didn't help. Any idea how to fix this?

You should have a crash log, can you upload it?
Code:
cat /storage/.kodi/temp/kodi_crash.log | pastebinit
and paste the link.

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.
find quote
Aux_ Offline
Senior Member
Posts: 155
Joined: May 2016
Reputation: 1
Post: #1175
I come from the work, tv switched on and kodi two times crashed befor the console was loaded properly

#0212

http://pastebin.com/jA2ZpwCS
http://pastebin.com/k670FFaW

[ 2x RPi2, 2x RPi3 ]
[ LE Testbuilds for RaspberryPi (Kodi 18.0) ]
[ Marantz NR1506 ]
[ Panasonic TX-50EXW784 ]
[ NAS @ OMV 3.0.8x (Erasmus) on Banana Pi ]
[ ODROID C2 + wrxtasy's LE 8.0 ]
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1176
New LibreELEC.tv Leia build #0313: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.2 #1 Mon Mar 13 21:32:12 GMT 2017 armv6l GNU/Linux

# vcgencmd version
Mar 13 2017 20:38:22
Copyright (c) 2012 Broadcom
version 9e38ec4b6d95d3a769dc6f8d3d78ee2f9d043850 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170313213105-#0313-g57a6cbd [Build #0313]

# Kodi version
(18.0-ALPHA1 Git:4c792db). Platform: Linux ARM 32-bit

Based on tip of LibreELEC.tv master (57a6cbd4, changelog) and tip of XBMC master (542333b5, changelog) with the following modifications:
  • Includes newclock5 patches
  • Excludes the LibreELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-4.10.y
  • Includes latest bcm2835-driver master (509beaab)
  • Includes latest kodi-platform master (36fb4937, ahead +1)
  • Includes latest libcec master (0a97062d, ahead +22)
  • Includes latest libnfs master (d501dc8a, ahead +55)
  • Includes latest p8-platform master (2d90f986, ahead +9)
  • Includes latest addons: inputstream.adaptive (aa0d5113, +1), inputstream.rtmp (6c1af46a, +7), peripheral.joystick (0c47f0e1, +9), pvr.argustv (5a36c586), pvr.demo (f2075086, +1), pvr.dvblink (4b902cd1, +3), pvr.dvbviewer (9fb34b3c), pvr.filmon (5c6432db, +1), pvr.hdhomerun (98cb8d40), pvr.hts (819129d5, +2), pvr.iptvsimple (53d63cce), pvr.mediaportal.tvserver (76ae28f6, +1), pvr.mythtv (a3e4a500, +12), pvr.nextpvr (cb1b5415), pvr.njoy (3d097117, +1), pvr.octonet (8549a31c), pvr.pctv (e0d9f175, +1), pvr.stalker (ea970851, +1), pvr.vbox (dea8335a), pvr.vdr.vnsi (7033621d), pvr.vuplus (6ff2eb28), pvr.wmc (7bb31db9, +1)
  • Exclude [env] kodi-999.99-PR11662.patch: kodi: merged upstream
  • Include [env] afbd134f: linux: Enable Fair Queue packet scheduling (TEST)
  • Include [env] e533a8be: linux: Default to CONFIG_TCP_CONG_BBR (TEST)
  • Include [env] patch: tvheadend42: fix ffmpeg
  • Include [env] patch: rapidjson: drop yajl, add rapidjson
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: linux: enable in-tree rtl8192cu for RPi/RPi2
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
  • Include [env] patch: Add kodi binary addons (pvr, adsp, other)
  • Include [env] PR:1287: virtio-gpu support (qemu/kvm)
  • Include [env] PR:1347: merge xml files during installation of kodi
  • Include [env] PR:1348: kodi: adjust cputemp/gputemp script
  • Include [env] PR:1404: pycryptodome: add package, remove pycrypto
  • Include [env] PR:1426: libfmt: add package, add as a new kodi dependency
  • Include [env] PR:1431: scripts/mkimage: align partitions to 4MiB
  • Include [env] PR:1433: v4l-utils: properly fix streamzap issues, allow user rc_maps.cfg override
  • Include [env] PR:1438: v4l-utils: cleanup locally added keymaps, remove crime against rc6_mce
  • Include [env] PR:1440: linux: update to linux-4.10.2
  • Include [pkg] PR:56: bluetooth: add missing 'Connect' option when device is Trusted (service.libreelec.settings)
  • Include [pkg] PR:8008: JSON: replace YAJL with RapidJSON
  • Include [pkg] PR:11668: FFmpegImage: Document and change alignment
  • Include [pkg] PR:11849: [PVR] Fix trac17374: Settings deinitialized too early on app exit.
  • Revert [pkg] PR:11072: [cmake] Add support for LCMS2 (Reason: breaks PR8008, and we don't support LCMS2/broken)
Build Highlights:
  1. New firmware
  2. New 4.10.2 kernel (includes fix for RPi2 temperature - @amediauser can you confirm this is fixed?)
  3. [PVR] Fix trac17374: Settings deinitialized too early on app exit.
Build Details:
  1. Firmware (Mar 13):
    • firmware: GPIO expander: rework so the mailbox service reads raw values
    • firmware: arm_loader: Check GPIO direction for low_voltage. See: link
    • firmware: warnings: Fix some mostly spurious warnings
    • firmware: clock: Calculate PLL multipliers with more precision
    • firmware: Set up HDMI VCO same for VEC as for HDMI
    • firmeare: gpu_server: Move detailed logging to LOGGING_VMCS_VERBOSE category
  2. XBMC:
    • [jenkins][windows] don't remove previous compiled version of ffmpeg & libdvd if nothing changed (PR:11835, 1 commit, 5 files changed)
    • [Fix] VideoPlayer: Don't close any subtitle stream when switching audio tracks. (PR:11715, 1 commit, 2 files changed)
    • [pvr] refactor guide osd to be channel guide dialog and use it in guide info (PR:11554, 9 commits, 19 files changed)
    • [cmake] Add support for LCMS2 (PR:11072, 2 commits, 3 files changed)
    • [PVR] Trac 17372: Fix wrong initial channel focus with 'Continue last channel on startup' setting. (PR:11843, 2 commits, 4 files changed)
    • Add some missing Lirc mappings for MCE-Remotes (#11828) (ce8274d4)
  3. inputstream.rtmp:
    • fixed: null session on Open failure (6c1af46a)
  4. kernel 4.10.y:
    • New commits in this build:
      • pinctrl-bcm2835: Fix interrupt handling for GPIOs 28-31 and 46-53 (5c0a8e45)
      • clk: bcm2835: Mark GPIO clocks enabled at boot as critical. (024f4d00)
      • vchiq_arm: Tweak the logging output (82d031f2)
      • clk: bcm2835: Don't rate change PLLs on behalf of DSI PLL dividers. (a62764a5)
      • clk: bcm2835: Register the DSI0/DSI1 pixel clocks. (66bb78ab)
      • clk: bcm2835: Add leaf clock measurement support, disabled by default (37ef7709)
      • drm/panel: Add support for the Raspberry Pi 7" Touchscreen. (9c28d1d1)
      • BCM270X: Add the DSI panel to the defconfig. (4533c117)
      • ARM: bcm2835: dt: Add the DSI module nodes and clocks. (8d1a2f54)
      • BCM270X: Enable the DSI panel node in the VC4 overlay. (1bf6b7e2)
      • drm/vc4: Set up SCALER_DISPCTRL at boot. (d5be75b0)
      • drm/vc4: Add support for feeding DSI encoders from the pixel valve. (378b5301)
      • drm/vc4: Add DSI driver (0014ecdb)
      • ARM: dts: bcm283x: Add VEC node in bcm283x.dtsi (679cddae)
      • ARM: dts: bcm283x: Enable the VEC IP on all RaspberryPi boards (dc4fb883)
      • BCM270X: Disable VEC unless vc4-kms-v3d is present. (23215da2)
      • drm/vc4: Name the primary and cursor planes in fkms. (a0e54c6f)
      • drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms. (65ac2f12)
      • drm/vc4: Fix sending of page flip completion events in FKMS mode. (e99f88ff)
      • drm/vc4: Fulfill user BO creation requests from the kernel BO cache. (95d60d71)
      • drm/vc4: Fix OOPSes from trying to cache a partially constructed BO. (cadd80da)
      • drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary. (8c08bdc4)
      • Add ads1015 driver to config (9408f677)
      • drm/vc4: Don't wait for vblank when updating the cursor (35cbcef5)
      • panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel. (b7c3dc2a)
      • thermal: Compatible strings for bcm2836, bcm2837 (1150241a)
      • Match dwc2 device-tree fifo sizes to the hardware values. (71461d6b)
      • BCM270X_DT: Invert Pi3 power LED to match fw change (1249e0cb)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1440: linux: update to linux-4.10.2
    • Added: [pkg] PR:11849: [PVR] Fix trac17374: Settings deinitialized too early on app exit.
    • Reverted: [pkg] PR:11072: [cmake] Add support for LCMS2 (Reason: breaks PR8008, and we don't support LCMS2/broken)

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.
find quote
dantist Offline
Junior Member
Posts: 33
Joined: Nov 2013
Reputation: 0
Post: #1177
(2017-03-13 23:52)Milhouse Wrote:  
(2017-03-13 23:33)dantist Wrote:  I've installed the latest version via the .update folder, but it didn't help. Any idea how to fix this?

You should have a crash log, can you upload it?
Code:
cat /storage/.kodi/temp/kodi_crash.log | pastebinit
and paste the link.

Sure, here it is: http://sprunge.us/CMiC
find quote
beertank Offline
Junior Member
Posts: 25
Joined: May 2015
Reputation: 0
Post: #1178
I had same RPI2 temperature not displaying correctly issue as @amediauser & can confirm this is fixed on #0313
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1179
(2017-03-13 23:52)Aux_ Wrote:  I come from the work, tv switched on and kodi two times crashed befor the console was loaded properly

#0212

http://pastebin.com/jA2ZpwCS
http://pastebin.com/k670FFaW

The crashes don't appear to be the same - first is crashing in GUI code, the second during a PVR database call - so it's not obvious why it is crashing all of a sudden. However it does appear to be just as the EPG is loaded.

Since you're using a PVR, this is a bit worrying:
Code:
22:38:07.516 T:1961409632   ERROR: Window Translator: Can't find window pvr

What version/build where you using before #0312 (you said #0212, but that's a typo). There's not much that has changed in #0312 (

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.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1180
(2017-03-14 00:22)beertank Wrote:  I had same RPI2 temperature not displaying correctly issue as @amediauser & can confirm this is fixed on #0313

Many thanks!

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.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1181
(2017-03-14 00:19)dantist Wrote:  Sure, here it is: http://sprunge.us/CMiC

rm -fr /storage/.kodi/addons/inputstream.mpd

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.
find quote
J_E_F_F Offline
Senior Member
Posts: 214
Joined: Sep 2013
Reputation: 2
Post: #1182
(2017-03-13 19:53)J_E_F_F Wrote:  Updated from 0301 to 0312 and the lightning bolt icon appeared, solid lightning bolt from initial boot time, at idle, playing a video whenever, solid lightning bolt..
I have a 2.5 amp power supply and tried a second one just to be sure.

You can see 2 other users and I talking about this issue from post 1114 here http://forum.kodi.tv/showthread.php?tid=298461&page=75
Their issues started with build 0302, mine started earlier but either build 0301 or bumping the CPU voltage temporarily fixed my issue, which has now returned in subsequent builds.

Rolled back to 0301 and no lightning bolt.

Tried a few others ( I still find the nightly build host extremely slow, taking between 5 and 8 min to download 150mb, so what should be a quick process was not)

0312 Lightning bolt (tested again x2)
0310 Lightning bolt
0305 Lightning bolt
0303 Lightning bolt
0302 Lightning bolt (debug log) http://sprunge.us/QYFW
0301 No Lightning bolt (tested x3 (debug log)) http://sprunge.us/JNhi

Like I said, I did see this on and off prior to 0301, but that is a build that works every time and from 0302 forward, I see the lightning bolt, so that is hopefully a good starting point with the debug logs posted above.

Oddly the lightning bolt when displayed is from the instant of the reboot, well before Kodi is actually loaded.

So far, no lightning bolt with 0313, perhaps this was a firmware issue that was resolved.
find quote
amediauser Offline
Junior Member
Posts: 21
Joined: Apr 2014
Reputation: 0
Post: #1183
Thank you, the temperature display and bcmstat.sh are fixed in build #0313.

@Milhouse do you have any thoughts on the total_mem option, or is this one for @Popcornmix?

The last reference was #0115
Quote:Build Highlights:
New firmware (default to using total_mem=1023)
But since the firmware update in build #0227 this hasn't worked correctly.

With Build #0226 I was getting Memory: 1023MB (split 703MB ARM, 320MB GPU)

With build #0313

config.txt (#total_mem=1023, gpu_mem_1024=320), I get Memory: 1008MB (split 688MB ARM, 320MB GPU)

vs

config.txt (total_mem=1023, gpu_mem_1024=320), I get Memory: 1008MB (split 752MB ARM, 256MB GPU)

The total memory never goes above 1008MB, but the GPU memory is still affected by the precence or not, of the line in config.txt.
(This post was last modified: 2017-03-14 01:18 by amediauser.)
find quote
Aux_ Offline
Senior Member
Posts: 155
Joined: May 2016
Reputation: 1
Post: #1184
(2017-03-14 00:31)Milhouse Wrote:  
(2017-03-13 23:52)Aux_ Wrote:  I come from the work, tv switched on and kodi two times crashed befor the console was loaded properly

#0212

http://pastebin.com/jA2ZpwCS
http://pastebin.com/k670FFaW

The crashes don't appear to be the same - first is crashing in GUI code, the second during a PVR database call - so it's not obvious why it is crashing all of a sudden. However it does appear to be just as the EPG is loaded.

Since you're using a PVR, this is a bit worrying:
Code:
22:38:07.516 T:1961409632   ERROR: Window Translator: Can't find window pvr

What version/build where you using before #0312 (you said #0212, but that's a typo). There's not much that has changed in #0312 (

Sorry @Milhouse I mean #0312 not #0212, my mistake

[ 2x RPi2, 2x RPi3 ]
[ LE Testbuilds for RaspberryPi (Kodi 18.0) ]
[ Marantz NR1506 ]
[ Panasonic TX-50EXW784 ]
[ NAS @ OMV 3.0.8x (Erasmus) on Banana Pi ]
[ ODROID C2 + wrxtasy's LE 8.0 ]
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,877
Joined: Jan 2011
Reputation: 642
Post: #1185
(2017-03-14 00:59)amediauser Wrote:  @Milhouse do you have any thoughts on the total_mem option, or is this one for @Popcornmix?

Thanks, yes one for popcornmix.

We switched back to the master firmware branch with build #0301 and the extra 15MB (1023MB) fix is not yet in the master branch, so that would explain it not being there for now.

However, I'm able to confirm your observation that the extra 15MB memory is not there starting with #0227, and since this build is based on the next branch it looks like something went wrong with that firmware update.

I believe popcornmix wants to push through another couple of fixes on master before picking the extra memory fix to master (once whatever is wrong with the next branch is resolved, I guess).

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.
find quote
Post Reply