Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 7 Vote(s) - 4.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3031
(2017-08-23 01:39)hawkeyexp Wrote:  Hi Milhouse,

in my case with build 0822 playing streams with amazon plugin from sandmann79 pi3 is freezing. Switching back to 0821 fixes freeze.

I use Prime Instant and that seems to be crashing now with #0822+. Reported to the inputstream.adaptive developer.

Edit: Should be fixed in tonight's #0823 build (not yet uploaded)

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.
(This post was last modified: 2017-08-23 23:32 by Milhouse.)
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,925
Joined: Feb 2011
Reputation: 331
Post: #3032
(2017-08-23 19:55)jjslegacy Wrote:  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

Do you see any warning (temperature/voltage) symbols on screen when playing netflix?
Can you report a specific instance of this occurring (e.g. at 4m30s into S01E01 of DareDevil)?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3033
New LibreELEC.tv Leia build #0823: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.7 #1 Wed Aug 23 22:36:30 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-20170823223434-#0823-g077ed6e [Build #0823]

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

Based on tip of LibreELEC.tv master (077ed6ec, changelog) and tip of XBMC master (98065a3b, 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 (8fe001ec, ahead +6)
  • 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 (299d9d37, +51), inputstream.rtmp (e094fa38, +1), peripheral.joystick (cc14287c, +3), pvr.argustv (310737e2), pvr.demo (f07d898c, +1), pvr.dvblink (0b66c640, +4), pvr.dvbviewer (313339bf, +8), pvr.filmon (1c9d2ebe), pvr.hdhomerun (b89c2be4, +9), pvr.hts (a1de6329, +1), pvr.iptvsimple (260434e4, +5), pvr.mediaportal.tvserver (f5ee2000, +5), pvr.mythtv (a17a3a4f, +1), pvr.nextpvr (03a3b714), pvr.njoy (79e8e653), pvr.octonet (a77cf111), pvr.pctv (00b76689), pvr.stalker (df492d27, +1), pvr.vbox (44f3d04e), pvr.vdr.vnsi (07172ed0, +1), pvr.vuplus (921b14f6, +5), pvr.wmc (1d655540)
  • Include [env] compare: kodi: updates for September
  • Include [env] compare: brcmfmac_sdio-firmware-rpi: set BT MAC as new firmware uses a fixed MAC
  • Include [env] compare: linux: update to linux-4.12.7
  • Include [env] patch: libcec: don't link non-existant libtinfo
  • Include [env] patch: rev hack for kodi
  • Include [env] patch: tvheadend42: fixup ffmpeg patch
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
  • Include [env] patch: Add kodi binary addons (pvr, adsp, inputstream, vfs, other)
  • Include [env] patch: pvr addons: disable broken addons
  • 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:1791: nss/nspr: include in main image [rfc]
  • Include [env] PR:1835: add support for optional kernel modules in image and from addons
  • Include [env] PR:1915: xf86-video-nvidia: update to xf86-video-nvidia-384.69
  • Include [env] PR:1917: linux: enable ftrace
  • 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
Build Highlights:
  1. Fix BT MAC after recent BT/WiFi firmware update (may explain why paired devices became unpaired)
  2. Fix inputstream.adaptive crash with Amazon
  3. linux: enable ftrace
Build Details:
  1. LibreELEC.tv:
    • service.slice: fix rew not playing (PR:1916, 1 commit, 3 files changed)
    • tvheadend42: update to 4.2.3-20 (PR:1899, 1 commit, 2 files changed)
  2. XBMC:
    • [PVR] Fix jumping timeline while switching channel groups in Guide window (PR:12707, 1 commit, 3 files changed)
  3. inputstream.adaptive:
    • [DASH] Update manifest for live streams (bbf23345)
    • Version bump 2.0.11 (15d3cba0)
    • Add manifest_update_parameter (4373699c)
    • [DASH] wait until running out of segments / implement SegmentList::Initialization + URLSegments (264c53b8)
    • compilefix (missing threads include) (9bb3dc2d)
    • fix devision / zero | Version bump 2.0.12 (299d9d37)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] compare: brcmfmac_sdio-firmware-rpi: set BT MAC as new firmware uses a fixed MAC
    • Added: [env] PR:1917: linux: enable ftrace

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: #3034
(2017-08-23 23:06)Milhouse Wrote:  
(2017-08-23 01:39)hawkeyexp Wrote:  Hi Milhouse,

in my case with build 0822 playing streams with amazon plugin from sandmann79 pi3 is freezing. Switching back to 0821 fixes freeze.

I use Prime Instant and that seems to be crashing now with #0822+. Reported to the inputstream.adaptive developer.

Edit: Should be fixed in tonight's #0823 build (not yet uploaded)

Confirmed - works again with 0823 :-) Thx!
find quote
jjslegacy Offline
Senior Member
Posts: 156
Joined: Mar 2013
Reputation: 0
Post: #3035
(2017-08-23 23:45)popcornmix Wrote:  
(2017-08-23 19:55)jjslegacy Wrote:  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

Do you see any warning (temperature/voltage) symbols on screen when playing netflix?
Can you report a specific instance of this occurring (e.g. at 4m30s into S01E01 of DareDevil)?


The first few days I noticed the problem (new to netflix addon) I didn't see it but last night I did see the temperature icon for the first time ever. I will have to see what show my wife was watching and see what info I can get.

*I remember the show name finally - Ozark - just have to see which episode/time if she can remember. I think it happens at least some in every episode she has seen so far
(This post was last modified: 2017-08-24 04:46 by jjslegacy.)
find quote
knlgdgl Offline
Junior Member
Posts: 2
Joined: Aug 2017
Reputation: 0
Post: #3036
(2017-08-23 17:44)popcornmix Wrote:  
(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.

Oh OK. Thanks.
find quote
HiassofT Offline
Senior Member
Posts: 122
Joined: Mar 2014
Reputation: 6
Location: Salzburg, Austria
Post: #3037
(2017-08-23 20:55)HiassofT Wrote:  
(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

Milhouse build 0823 contains the PR needed to run these tests. Can you give it a try?

It would also be good to know if you added some custom configuration (modprobe, systemd, udev etc). Please also post the output of the following command:
Code:
ls -lR /storage/.config /storage/.cache | paste

so long,

Hias
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,925
Joined: Feb 2011
Reputation: 331
Post: #3038
(2017-08-24 04:42)jjslegacy Wrote:  The first few days I noticed the problem (new to netflix addon) I didn't see it but last night I did see the temperature icon for the first time ever. I will have to see what show my wife was watching and see what info I can get.

If your are seeing temperature warning then arm frequency will drop from 1200Mhz to 600MHz, so lagging would be expected.
Best to try to find a solution to the temperature.
A flirc case (including the kodi rebranded version) would solve it.
A small fan would work.
A heatsink may help (but a small heatsink in a case with little ventilation has limited benefit).
find quote
SpokV Offline
Member
Posts: 50
Joined: Mar 2016
Reputation: 0
Post: #3039
Hi. I'm using netflix addon and for a minute or two it seems ok.but after that I'm experiencing buffering alot.
Is there any special configuration to the inputstream or anything else?
Thanks
find quote
dascoco Offline
Junior Member
Posts: 13
Joined: Aug 2017
Reputation: 0
Post: #3040
(2017-08-24 09:32)HiassofT Wrote:  
(2017-08-23 20:55)HiassofT Wrote:  
(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

Milhouse build 0823 contains the PR needed to run these tests. Can you give it a try?

It would also be good to know if you added some custom configuration (modprobe, systemd, udev etc). Please also post the output of the following command:
Code:
ls -lR /storage/.config /storage/.cache | paste

so long,

Hias


# dmesg | paste
http://sprunge.us/cRHj
# cat /sys/kernel/debug/tracing/trace | paste
http://sprunge.us/fcdg
# ls -lR /storage/.config /storage/.cache | paste
http://sprunge.us/KFdO
find quote
HiassofT Offline
Senior Member
Posts: 122
Joined: Mar 2014
Reputation: 6
Location: Salzburg, Austria
Post: #3041
(2017-08-24 18:05)dascoco Wrote:  
(2017-08-24 09:32)HiassofT Wrote:  
(2017-08-23 20:55)HiassofT Wrote:  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

Milhouse build 0823 contains the PR needed to run these tests. Can you give it a try?

It would also be good to know if you added some custom configuration (modprobe, systemd, udev etc). Please also post the output of the following command:
Code:
ls -lR /storage/.config /storage/.cache | paste

so long,

Hias


# dmesg | paste
http://sprunge.us/cRHj
# cat /sys/kernel/debug/tracing/trace | paste
http://sprunge.us/fcdg
# ls -lR /storage/.config /storage/.cache | paste
http://sprunge.us/KFdO

ftrace=function and ftrace_filter=__request_module are missing from your kernel command line:
Code:
[    0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1440 bcm2708_fb.fbheight=900 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  boot=/dev/mmcblk0p1 disk=/dev/mmcblk0p2 quiet trace_event=module:* root=/dev/ram0 rdinit=/init BOOT_IMAGE=/kernel.img usbcore.autosuspend=-1

Could you setup cmdline.txt as described above and rerun the test?

so long,

Hias
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3042
New LibreELEC.tv Leia build #0824: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.8 #1 Thu Aug 24 21:58:07 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-20170824215656-#0824-gab9d8bf [Build #0824]

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

Based on tip of LibreELEC.tv master (ab9d8bf1, changelog) and tip of XBMC master (beb29133, 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 (8fe001ec, ahead +6)
  • 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 (be77f9f8, +55), inputstream.rtmp (e094fa38, +1), peripheral.joystick (cc14287c, +3), pvr.argustv (310737e2), pvr.demo (f07d898c, +1), pvr.dvblink (0b66c640, +4), pvr.dvbviewer (313339bf, +8), pvr.filmon (1c9d2ebe), pvr.hdhomerun (b89c2be4, +9), pvr.hts (a1de6329, +1), pvr.iptvsimple (260434e4, +5), pvr.mediaportal.tvserver (f5ee2000, +5), pvr.mythtv (a17a3a4f, +1), pvr.nextpvr (03a3b714), pvr.njoy (79e8e653), pvr.octonet (a77cf111), pvr.pctv (00b76689), pvr.stalker (df492d27, +1), pvr.vbox (44f3d04e), pvr.vdr.vnsi (07172ed0, +1), pvr.vuplus (921b14f6, +5), pvr.wmc (1d655540)
  • Include [env] compare: kodi: updates for September
  • Include [env] compare: brcmfmac_sdio-firmware-rpi: set BT MAC as new firmware uses a fixed MAC
  • Include [env] patch: libcec: don't link non-existant libtinfo
  • Include [env] patch: rev hack for kodi
  • Include [env] patch: tvheadend42: fixup ffmpeg patch
  • Include [env] patch: tvheadend42: add bzip dependency when transcoding
  • Include [env] patch: inputstream.adaptive: don't build it twice...
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.* and os.*
  • Include [env] patch: Add kodi binary addons (pvr, adsp, inputstream, vfs, other)
  • Include [env] patch: pvr addons: disable broken addons
  • 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:1791: nss/nspr: include in main image [rfc]
  • Include [env] PR:1835: add support for optional kernel modules in image and from addons
  • Include [env] PR:1876: linux: update to linux-4.12.8
  • Include [env] PR:1915: xf86-video-nvidia: update to xf86-video-nvidia-384.69
  • Include [env] PR:1917: linux: enable ftrace
  • Include [env] PR:1918: Package Updates: intel-vaapi-driver, libva and libva-utils to 1.8.3
  • 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:12710: [DemuxClient] transport flags
Build Highlights:
  1. New 4.12.8 kernel
  2. inputstream.adaptive: add search list for libssd_wv.so
  3. inputstream.adaptive: sort impaired (audio description) streams last (ping @Pienoet)
  4. inputstream.adaptive: build improvements
Build Details:
  1. LibreELEC.tv:
    • oscam: update to 11391 (PR:1912, 1 commit, 2 files changed)
  2. XBMC:
    • [depends] bump libcdio-gplv3 to 0.94 (PR:12709, 1 commit, 2 files changed)
  3. inputstream.adaptive:
    • Change search path logiv for decrypter (b856defb)
    • Change search path logiv for decrypter (2) (5adc0312)
    • [DASH] Support SegmentList in AdaptationSets (fd103b8c)
    • New adaptationset sorting order (impaired last) (be77f9f8)
  4. kernel 4.12.y:
    • Commits no longer in build:
      • mm: Remove the PFN busy warning (857b93a8)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] patch: tvheadend42: add bzip dependency when transcoding
    • Added: [env] patch: inputstream.adaptive: don't build it twice...
    • Added: [env] PR:1876: linux: update to linux-4.12.8
    • Added: [env] PR:1918: Package Updates: intel-vaapi-driver, libva and libva-utils to 1.8.3
    • Added: [pkg] PR:12710: [DemuxClient] transport flags

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
Pienoet Offline
Senior Member
Posts: 229
Joined: Dec 2012
Reputation: 1
Post: #3043
(2017-08-24 23:34)Milhouse Wrote:  Build Highlights:
  1. New 4.12.8 kernel
  2. inputstream.adaptive: add search list for libssd_wv.so
  3. inputstream.adaptive: sort impaired (audio description) streams last (ping @Pienoet)
  4. inputstream.adaptive: build improvements

Thank you Milhouse,

Installed #824 and the issue with the Audio Description in the netflix addon is fixed!Wink

Thanks for pinging me!

rpi3 | LE9 Leia | Milhouse Testbuilds
2x odroid C2 | LE8.xx Krypton | LE9 Leia | Raybuntu's Community Build.
odroid XU4 | ubuntu-16.04.2-minimal-odroid-xu4
odroid XU4Q | ubuntu-16.04.0-minimal-odroid-xu4 | TVheadendserver
(This post was last modified: 2017-08-25 00:19 by Pienoet.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3044
Weekly Linux 4.13-rc6 build #0824x: RPi / RPi2

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
HiassofT Offline
Senior Member
Posts: 122
Joined: Mar 2014
Reputation: 6
Location: Salzburg, Austria
Post: #3045
@dascoco I found out why exfat didn't work, a fix for that should be in tonight's build. No need for any more logs, but please report back when the issue is fixed.

so long,

Hias
find quote
Post Reply