Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 7 Vote(s) - 4.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
SlawekC Offline
Junior Member
Posts: 3
Joined: Aug 2017
Reputation: 0
Post: #3016
Hi,

for test of the Netflix plugin I made the upgrade to fresh Kodi 18.0 alpha (LibreELEC-RPi2.arm-9.0-Milhouse-20170821233203-#0821-g2b32b50).
On my both RPi 2 and 3 Netflix is working fine but on RPi2 there is some lagging problem. On RPi 3 Netflix is smooth enough for my needs and expectations.

The only problem is - that I lost my Lirc. I'm sure that is related with last lirc upgrade. But I can't find information what should I change in my configuration.

After downgrade to LibreELEC 8.1.0 Kodi 17.4 my remote is working back.

I will be very grateful for any help.
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,925
Joined: Feb 2011
Reputation: 331
Post: #3017
(2017-08-22 21:18)SlawekC Wrote:  for test of the Netflix plugin I made the upgrade to fresh Kodi 18.0 alpha (LibreELEC-RPi2.arm-9.0-Milhouse-20170821233203-#0821-g2b32b50).
On my both RPi 2 and 3 Netflix is working fine but on RPi2 there is some lagging problem. On RPi 3 Netflix is smooth enough for my needs and expectations.

Pi2 is not powerful enough for 720p widevine decode (it is a software decoder).
You should be able to reduce the resolution in inputstream.adaptive settings to make it play smoothly.
Pi3 is fine for 720p.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3018
New LibreELEC.tv Leia build #0822: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.7 #1 Tue Aug 22 21:04:11 BST 2017 armv6l GNU/Linux

# vcgencmd version
Aug 22 2017 14:20:40
Copyright (c) 2012 Broadcom
version eb51b8b84ec11d98562dfbb7be53cdd216c0ea4c (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20170822210301-#0822-g2b32b50 [Build #0822]

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

Based on tip of LibreELEC.tv master (2b32b50d, changelog) and tip of XBMC master (c5601a85, changelog) with the following modifications: Build Highlights:
  1. New firmware
  2. inputstream.adaptive manifest updates
Build Details:
  1. Firmware (Aug 22):
    • firmware: vcsm: Add new clean/invalidate command for 2D blocks
    • firmware: gpuserver: Switch to using custom queue
    • firmware: gpuserver: Add priority to queue
  2. XBMC:
    • [cmake] FindCdio: also search for libiso9660 (PR:12706, 1 commit, 1 file changed)
    • [depends] bump fontconfig to 2.12.4 (PR:12636, 1 commit, 2 files changed)
  3. inputstream.adaptive:
    • [DASH] YT manifest adaptions (tbc) (701f5906)
    • [DASH] More rework to support manifest live updates (fd51d29e)
    • [HLS] StartStreaming after audio track switch (7a36f046)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1915: xf86-video-nvidia: update to xf86-video-nvidia-384.69

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
Cosmicbase Offline
Member
Posts: 50
Joined: Jul 2017
Reputation: 1
Location: Regensburg
Post: #3019
(2017-08-13 22:48)Milhouse Wrote:  New LibreELEC.tv Leia build #0813: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.7 #1 Sun Aug 13 21:04:35 BST 2017 armv6l GNU/Linux

# vcgencmd version
Aug  8 2017 12:05:45
Copyright (c) 2012 Broadcom
version 196063438d7bb0769861c86f948ae653727adb7e (clean) (release)

# lsb_release
LibreELEC (Milhouse): devel-20170813210328-#0813-gfb748cf [Build #0813]

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

Based on tip of LibreELEC.tv master (fb748cf4, changelog) and tip of XBMC master (36b44e45, 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.12.y
  • Includes latest bcm2835-driver master (e7ba7ab1, ahead +3)
  • Includes latest kodi-platform master (36fb4937)
  • Includes latest libcec master (8adc786b, ahead +26)
  • Includes latest libnfs master (df94ae93, ahead +56)
  • Includes latest p8-platform master (a822e196)
  • Includes latest addons: inputstream.adaptive (d0d24a5c, +26), inputstream.rtmp (476bde07), peripheral.joystick (1815c0fb), pvr.argustv (310737e2), pvr.demo (9d0aa8fb), pvr.dvblink (7d9c181f, +1), pvr.dvbviewer (9faf2413), pvr.filmon (1c9d2ebe), pvr.hdhomerun (bf23dbc0, +6), pvr.hts (1ceadf1b), pvr.iptvsimple (0b7b308c, +4), pvr.mediaportal.tvserver (d7a9acdb), pvr.mythtv (d1f3ce50), pvr.nextpvr (03a3b714), pvr.njoy (79e8e653), pvr.octonet (a77cf111), pvr.pctv (00b76689), pvr.stalker (9e28f125), pvr.vbox (44f3d04e), pvr.vdr.vnsi (6e332b0b), pvr.vuplus (c5265ae5, +3), pvr.wmc (1d655540)
  • Include [env] compare: linux: update to linux-4.12.7
  • Include [env] patch: nss/nspr: include in main image [rfc][gcc7]
  • Include [env] patch: rev hack for kodi
  • Include [env] patch: tvheadend42: fixup ffmpeg patch
  • Include [env] patch: Bump included addon versions to prevent online updates
  • 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: pvr addons: disable broken addons
  • Include [env] patch: Add kodi binary addons (pvr, adsp, inputstream, vfs, other)
  • Include [env] PR:1664: buildsystem: update to gcc7
  • Include [env] PR:1726: [WIP] lirc: update to 0.10.0
  • Include [env] PR:1773: init: make break after behaviour really break after
  • Include [env] PR:1776: Don't cause system to hang on halt/reboot when net-booting
  • Include [env] PR:1835: add support for optional kernel modules in image and from addons
  • Include [env] PR:1862: busybox: revert dd fsync change which makes no sense
  • Include [env] PR:1871: buildsystem: enable custom colours (or none at all)
  • Include [pkg] patch: Pre-release RPi0W/RPi3 Bluetooth firmware (details) (brcmfmac_sdio-firmware-rpi)
  • Include [pkg] patch: Pre-release RPi0W/RPi3 WiFi firmware (details) (kernel-firmware)
  • Include [pkg] patch: Pre-release RPi0W/RPi3 WiFi firmware (details) (wlan-firmware)
  • Include [pkg] patch: skin.estuary: reduce system info font size (kodi)
  • Include [pkg] PR:12311: FIX: ensure real filename from videodb in playlists
  • Include [pkg] PR:12659: [addons] log version of installed addons
Build Highlights:
  1. New 4.12.7 kernel
  2. CEC labels fixed (thanks @ksooo)
  3. inputstream.adaptive updates
  4. newclock5: ffmpeg/hevc update
Build Details:
  1. XBMC:
    • Various Android improvments (PR:12662, 4 commits, 27 files changed)
    • [XCode] - removed xcconfig files. (PR:12669, 1 commit, 6 files changed)
    • VideoPlayer (vpv): do not process decoder output if we can not delive (PR:12667, 1 commit, 1 file changed)
    • [settings] Fix missing CEC settings dialog labels. (PR:12668, 1 commit, 1 file changed)
    • [AML/MediaCodec] release Outputbuffers in case no RenderBuffer is ava (PR:12666, 1 commit, 4 files changed)
  2. inputstream.adaptive:
    • thread skeleton (a50d2b99)
    • MT step (82d1d108)
    • StreamOn/Off after ProgramChange (596fa05a)
    • Reset SegmentData in Demux Thread (157e1cec)
    • [HLS] Implement block decryption (546b7f21)
    • Implement SPS Frame parser to get fps before first packet is send (a98e8777)
    • Make TimeSeek multithread safe / Fix segfault when AP4_Sample's seek fails (double free) (0e6bb853)
    • [Live] Disallow seek to expired segments / fix presentationTimeOffset / compile issue fixed (25b96fa2)
    • Sync segment downloader thread startup (61c233f6)
    • Version bump 2.0.8 (7e569b29)
    • [HLS] implement key rotation / classify MediaSequence:0 as VOD (d0d24a5c)
  3. pvr.iptvsimple:
    • Fix links in the README (PR:150, 1 commit, 1 file changed)
  4. newclock5:
    • New commits in this build:
      • ffmpeg: hevc: update to latest (fc3469d0)

Hello Milhouse, is there a way to integrate CEC labels fixed (thanks @ ksooo) in ---> #0722?

I use at moment #0722, because there is no buffering with vu+/enigma2 client PVR. The Timeline also works correctly and the end of TV shows is displayed correctly.
(This post was last modified: 2017-08-23 00:27 by Cosmicbase.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3020
No. Have you opened an issue on the vuplus github, or trac.kodi.tv? Is this the first time you've mentioned the timeline/end of tv show issues? Is probably best to contact your PVR add-on maintainer for advice on how best to proceed with these issues.

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
hawkeyexp Offline
Member
Posts: 65
Joined: Mar 2016
Reputation: 0
Post: #3021
Hi Milhouse,

in my case with build 0822 playing streams with amazon plugin from sandmann79 pi3 is freezing. Switching back to 0821 fixes freeze.
find quote
SlawekC Offline
Junior Member
Posts: 3
Joined: Aug 2017
Reputation: 0
Post: #3022
(2017-08-22 22:15)popcornmix Wrote:  Pi2 is not powerful enough for 720p widevine decode (it is a software decoder).
You should be able to reduce the resolution in inputstream.adaptive settings to make it play smoothly.
Pi3 is fine for 720p.

Thanks @popcornmix, yes I know that. I have weak internet connection at my home, so 720p is maximum what I expected. Also my projector is only HD-Ready ;-)

But my problem is how to setup my IR Remote / Lirc configuration. Or maybe I just should reinstall everything (Lirc config) from scratch ?
find quote
HiassofT Offline
Senior Member
Posts: 122
Joined: Mar 2014
Reputation: 6
Location: Salzburg, Austria
Post: #3023
(2017-08-23 09:43)SlawekC Wrote:  But my problem is how to setup my IR Remote / Lirc configuration. Or maybe I just should reinstall everything (Lirc config) from scratch ?
Use dtoverlay=gpio-ir, lirc-rpi is no longer supported in these builds.

so long,

Hias
find quote
SlawekC Offline
Junior Member
Posts: 3
Joined: Aug 2017
Reputation: 0
Post: #3024
Thanks @HiassofT,

Maybe you know how to specify the gpio_in_pin ?
I have receiver on pin 26 and the old lirc-rpi syntax (dtoverlay=lirc-rpi,gpio_in_pin=26 =>> dtoverlay=lgpio-ir,gpio_in_pin=26) doesn't work for me.

EDIT: Never mind I got it. dtoverlay=gpio-ir,gpio_pin=26 - my remote is working back.
(This post was last modified: 2017-08-23 13:47 by SlawekC.)
find quote
knlgdgl Offline
Junior Member
Posts: 2
Joined: Aug 2017
Reputation: 0
Post: #3025
I am trying to use the Netflix addon on a Raspberry Pi Model B. When I try to play any video in the Netflix addon, the Pi reboots. Here are the logs :

Crash log : http://sprunge.us/LDgi
Debug log : http://sprunge.us/PbSb

Please help.Thanks.
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,925
Joined: Feb 2011
Reputation: 331
Post: #3026
(2017-08-23 16:41)knlgdgl Wrote:  I am trying to use the Netflix addon on a Raspberry Pi Model B. When I try to play any video in the Netflix addon, the Pi reboots. Here are the logs :

Crash log : http://sprunge.us/LDgi
Debug log : http://sprunge.us/PbSb

Please help.Thanks.

Netflix/amazon will never work on a Pi0/Pi1 - the widevine dll is only available for armv7 (pi2/pi3), not armv6.
find quote
Cosmicbase Offline
Member
Posts: 50
Joined: Jul 2017
Reputation: 1
Location: Regensburg
Post: #3027
(2017-08-23 00:34)Milhouse Wrote:  No. Have you opened an issue on the vuplus github, or trac.kodi.tv? Is this the first time you've mentioned the timeline/end of tv show issues? Is probably best to contact your PVR add-on maintainer for advice on how best to proceed with these issues.

OK thx, I opened two issues at VUPlus github.
find quote
dascoco Offline
Junior Member
Posts: 13
Joined: Aug 2017
Reputation: 0
Post: #3028
(2017-08-20 21:37)dascoco Wrote:  
(2017-08-17 21:59)HiassofT Wrote:  
(2017-08-17 21:27)dascoco Wrote:  It also doesn't work.

http://sprunge.us/ZSYN
http://sprunge.us/ZVjB

Some more things to try:

Boot with hdd disconnected, then run this and post the output
Code:
modprobe fuse
lsmod | paste
Now connect the hdd. Did it mount in kodi?
Also please post the output of
Code:
journalctl -a | paste
after running the steps above.

so long,

Hias

Now it is working, till next reboot. Thank you so far.

http://sprunge.us/ffDM

http://sprunge.us/bYJj

Is there already something new?
find quote
jjslegacy Offline
Senior Member
Posts: 156
Joined: Mar 2013
Reputation: 0
Post: #3029
(2017-08-22 22:15)popcornmix Wrote:  
(2017-08-22 21:18)SlawekC Wrote:  for test of the Netflix plugin I made the upgrade to fresh Kodi 18.0 alpha (LibreELEC-RPi2.arm-9.0-Milhouse-20170821233203-#0821-g2b32b50).
On my both RPi 2 and 3 Netflix is working fine but on RPi2 there is some lagging problem. On RPi 3 Netflix is smooth enough for my needs and expectations.

Pi2 is not powerful enough for 720p widevine decode (it is a software decoder).
You should be able to reduce the resolution in inputstream.adaptive settings to make it play smoothly.
Pi3 is fine for 720p.


Interesting you saw that. I have had to drop below 720p on my pi3 to make Netflix watchable. The audio gets out of sync and the video gets quite choppy often. Will have to look into it more as it sounds like it "should" work
find quote
HiassofT Offline
Senior Member
Posts: 122
Joined: Mar 2014
Reputation: 6
Location: Salzburg, Austria
Post: #3030
(2017-08-23 19:02)dascoco Wrote:  Is there already something new?
Not yet, the last few days I have been busy finding out why the tests I had planned you to run did crash the RPi2: https://github.com/raspberrypi/linux/issues/2166

Fortunately the underlying issue has just been resolved and I've PRed the changes that'll allow you to run the next tests. PR1917 should be included in the next milhouse build, if it is please do the following steps:

Add the following to the end of /flash/cmdline.txt:
Code:
trace_event=module:* ftrace=function ftrace_filter=__request_module

Your cmdline.txt should then look like this (everything must be in a single line):
Code:
boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet trace_event=module:* ftrace=function ftrace_filter=__request_module

Now power off the RPi, connect the HDD, power it up, then ssh in and post the outputs of these 2 commands:
Code:
dmesg | paste
cat /sys/kernel/debug/tracing/trace | paste

This should hopefully give us some more clues what's happening on your system.

so long,

Hias
find quote
Post Reply