Kodi Community Forum
v17 LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: v17 LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) (/showthread.php?tid=269814)



RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - Milhouse - 2016-06-01

(2016-06-01, 21:04)popel Wrote: LibreELEC:~ # md5sum /storage/.cache/splash.h264 2>/dev/null
629eb3f5a2927cee49893fee8745bb42 /storage/.cache/splash.h264
LibreELEC:~ # time /usr/bin/hello_video.bin /storage/.cache/splash.h264
Command exited with non-zero status 254
real 0m 0.01s
user 0m 0.00s
sys 0m 0.00s

Strange. It's the exact same size as the LE splash video, but it's not the same - your video file is corrupt.

When the video file is downloaded it is written to a temporary file name, then the contents is checked against an md5 hash which should mean it is not possible to download a corrupt video file. The correct hash is:
Code:
rpi22:~ # md5sum /storage/.cache/splash.h264
fad45affade4b2f1eff3080d64f8e75d  /storage/.cache/splash.h264

So I'm not sure where this video file came from, but it's corrupt (or has become corrupt?) in which case delete it and download a new uncorrupted video file:
Code:
rm /storage/.cache/splash.h264
rm -f /storage/.config/splash.disable
systemctl start kodi-splash

Once you see the "Splash video download" successful notification appear in Kodi, reboot to see the splash video on the next boot.

@popcornmix: I've just created a completely bogus video file which seems to "hang" hello_video.bin:
Code:
dd if=/dev/zero of=/storage/corrupt.h264 bs=1M count=1
/usr/bin/hello_video.bin /storage/corrupt.h264
Just an FYI really, as we shouldn't be downloading corrupted video files (in theory), and this is only an experimental feature.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - popcornmix - 2016-06-01

(2016-06-01, 22:04)Milhouse Wrote: @popcornmix: I've just created a completely bogus video file which seems to "hang" hello_video.bin:

There used to be a timeout, but that caused an issue with ntp changing the time during boot so is no longer present.
I suspect there is a "corrupt video" callback which we could act on. I'll look into it at some point.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - Milhouse - 2016-06-01

New LibreELEC.tv Krypton build #0601: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.6.0 #1 Wed Jun 1 21:06:24 BST 2016 armv6l GNU/Linux

# vcgencmd version
May 31 2016 11:48:49
Copyright (c) 2012 Broadcom
version 6faf136a2445687e1bd90c8c763a8796ace73be2 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160601210320-#0601-gb4f3545 [Build #0601]

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

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (b4f3545f, changelog) and tip of XBMC master (97039b48, 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.6.y
  • Includes latest bcm2835-driver master (7fcb39cb, ahead +11)
  • Includes latest kodi-platform master (c8188d82, ahead +4)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (65424347, ahead +21)
  • Includes latest p8-platform master (041a8c6c, ahead +1)
  • Includes latest addons: adsp.basic (2ae604e5, +8), adsp.biquad.filters (01236bbe, +7), adsp.freesurround (34f50406, +7), asplib (da66f517), inputstream.mpd (3ac19c39, +11), inputstream.smoothstream (32275717, +2), peripheral.joystick (2db8029e, +32), pvr.argustv (5f48dcec, +4), pvr.demo (0fa9e1d0, +4), pvr.dvblink (a92f1264, +5), pvr.dvbviewer (3d0bea9a, +4), pvr.filmon (8743511d, +4), pvr.hdhomerun (b5ce9309, +4), pvr.hts (acd1a6ac, +5), pvr.iptvsimple (7a5a43f8, +4), pvr.mediaportal.tvserver (172a273c, +4), pvr.mythtv (e2b60252, +8), pvr.nextpvr (150698b7, +4), pvr.njoy (b5d65655, +4), pvr.pctv (feed5990, +4), pvr.stalker (4244220f, +12), pvr.vbox (c6594819, +4), pvr.vdr.vnsi (5498a8c1, +7), pvr.vuplus (ea3b33f6, +4), pvr.wmc (77af8daf, +4)
  • Exclude [env] kodi-999.10-aarch64-support.patch: Merged upstream
  • Include [env] e7cbe9cb: xf86-video-intel: Explicitely disable TearFree and TripleBuffer
  • Include [env] ed774729: Intel: Implement Passthrough-Range
  • Include [env] 98c65e6a: Kodi: Use Limited Range by default
  • Include [env] patch: xf86-video-intel: bump to 3fafabe
  • Include [env] patch: Fix SIGTERM patch after PR9748
  • Include [env] patch: Fix cmake after PR9750
  • Include [env] patch: Add extra headers needed by 3D BD MVC
  • Include [env] patch: Disable -werror as libnfs won't build 32-bit without it
  • Include [env] patch: mesa: update to 12.0.0-rc1
  • Include [env] patch: Bump libbluray - include MVC support
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.*, os.* and peripheral.*
  • Include [env] patch: Enable pvr addons, disable pvr updates
  • Include [env] patch: Enable other binary addons
  • Include [env] PR:353: plymouth-lite: add bilinear interpolation patch
  • Include [env] PR:405: init: Parse resolution after splash.conf
  • Revert [env] 46b9b7b3: rtmpdump (Reason: use newclock5 bump)
  • Include [pkg] patch: [skin.estuary] Hide watched items on home (kodi-theme-Estuary)
  • Include [pkg] patch: drm/i915: Extend Fake HDMI live status to Valley View (linux)
  • Include [pkg] patch: drm/i915/psr: Try to program link training times correctly (HSW fix) (linux)
  • Include [pkg] patch: Revert "drm/i915: Exit cherryview_irq_handler() after one pass" (BSW fix) (linux)
  • Include [pkg] patch: CSC: Remove average logic when saving NV12 surface on IVB+ (VAAPI fix) (libva-intel-driver)
  • Include [pkg] PR:8645: [video] Add season/TV show artwork to episodes/seasons even if they have their own fanart.
  • Include [pkg] PR:8824: videodb: fix smart playlists not honoring "Show empty TV shows" setting.
  • Include [pkg] PR:8922: [guiinfo] extend ranges for listitem properties
  • Include [pkg] PR:9803: [PeripheralCecAdapter] fix playback stopping on screensaver deactivated
Build Highlights:
  1. NOTE: DVD ISO/disk playback remains temporarily disabled
  2. gcc, python, systemd, mysql updates (clean build)
  3. kernel rpi-4.6.y updates
Build Details:
  1. LibreELEC.tv:
    • gcc: compile with -std=gnu++98 to fix build with gcc6 (PR:384, 1 commit, 1 file changed)
    • Python: don't build curses and readline modules for host (PR:390, 1 commit, 1 file changed)
    • systemd: update to 230 (PR:382, 1 commit, 4 files changed)
    • mysql: update to 5.7.12 (PR:366, 1 commit, 4 files changed)
  2. XBMC:
    • [PVR] Feature: Make instant recording behavior configurable (PR:9847, 4 commits, 12 files changed)
    • Add-on helper: add foreign buildsystem support (PR:9829, 2 commits, 1 file changed)
    • [cmake] Cosmetics: change commands to lowercase (PR:9833, 5 commits, 18 files changed)
    • configure.ac: do not check for libpng (PR:9850, 1 commit, 1 file changed)
    • configure.ac:Changing android ndk directory existence test (PR:9873, 1 commit, 1 file changed)
    • [cmake] get rid of ManageString.cmake (PR:9878, 1 commit, 4 files changed)
    • [texturepacker] Updated texturepacker to vs2015 and all libs with it, remove dependen… (PR:9856, 1 commit, 14 files changed)
    • [cmake] Reuse version.txt and add-on API parsing across buildsystems (PR:9845, 1 commit, 2 files changed)
    • [depends] lzo 2.09 (PR:9789, 1 commit, 2 files changed)
    • [depends] giflib 2.1.4 (PR:9790, 1 commit, 1 file changed)
    • SendClick() should operate on the focused window/dialog (PR:9884, 1 commit, 1 file changed)
    • fix library-music settings label (PR:9890, 1 commit, 1 file changed)
  3. peripheral.joystick:
    • Fix build on windows (099d406e)
    • [buttonmaps] Add missing analog stick directions to linux buttonmaps (2db8029e)
  4. newclock5:
    • New commits in this build:
      • skip existence check for plugin and http urls when cleaning (7127e9e6)
  5. kernel 4.6.y:
    • New commits in this build:
      • rtc: ds1307: ensure that any pending alarm is cleared before a new alarm is enabled (9146ab38)
      • pinctrl-bcm2835: Return pins to inputs when freed (1de80144)
      • mmc: Add MMC_QUIRK_ERASE_BROKEN for some cards (bb918210)
      • BCM270X_DT: Don't generate "linux,phandle" props (f510b3f7)
      • brcmfmac: Plug memory leak in brcmf_fill_bss_param (161e17e9)
      • drm/vc4: Force HDMI to connected. (0428c491)
      • Add Support for BoomBerry Audio boards (26b96431)
      • ARM: bcm2708: Enable building power domain driver. (b1a82a3d)
      • ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver. (bfcf7284)
      • New AudioInjector.net Pi soundcard with low jitter audio in and out. (38a4b26e)
      • drm/panel: simple: Add the 7" DPI panel from Adafruit (910f2cd7)
    • Commits no longer in build:
      • bcm2835-dma: Fix dreq not set for slave transfers (e34f7fca)
      • ASoC: wm8804: Set idle_bias_off to false Idle bias has been change to remove warning on driver startup (6a21383e)
      • scripts: Multi-platform support for mkknlimg and knlinfo (e705f65a)
      • bcm2835-pcm: Numerous enhancements (20868fa3)
      • scripts/knlinfo: Decode DDTK atom (ed5e5e18)
      • DT configfs: Fix build errors on other platforms (71bf638e)
      • config: Enabled IPV6_SUBTREES (30029e1e)
      • [media]: bcm2835-camera: fix compilation error (352d2005)
      • DT configfs: fix build error (4bb1e5d3)
      • vchiq_arm: do not use page_cache_release(page) macro (#1403) (1c49050f)
      • vchiq: Upate to match get_user_pages prototype (ad5bd6c5)
      • vchiq_arm: Add completion records under the mutex (429f93d5)
      • bcm2835-sdhost: Firmware manages the clock divisor (430ecd51)
      • bcm2835-sdhost: Reset the clock in task context (8208ab00)
      • bcm2835_thermal: Don't report unsupported trip type (96b58676)
      • vmcs: Remove unused sm_cache_map_vector definition (#1411) (4eeb7f4f)
      • BCM270X_DT: Add dpi24 overlay (bb6c2027)
      • config: Make IPV6 a module and regenerate with defconfig (d180e4c2)
      • firmware: Add RPI_FIRMWARE_SET_SDHOST_CLOCK (0c1efacc)
      • fbdev: bcm2708_fb: remove unused variable and duplicated comment (#1426) (e8ef35c2)
      • Revert "bcm2835-i2s: Reduce the TX DREQ threshold" (bdccd9ae)
      • Revert "bcm2835-i2s: Enable MMAP support via a DT property" (003fcda6)
      • Revert "bcm2835-i2s: Register PCM device" (5f713f16)
      • Revert "bcm2835-i2s: add 24bit support, update bclk_ratio to more correct values" (82864948)
      • bcm2835-i2s: add 24bit support, update bclk_ratio to more correct values (5e6f096a)
      • bcm2835-i2s: Register PCM device (2306c308)
      • bcm2835-i2s: Enable MMAP support via a DT property (23e6e5b8)
      • bcm2835-i2s: Reduce the TX DREQ threshold (1738972b)
  6. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:405: init: Parse resolution after splash.conf



RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - beertank - 2016-06-01

#0601 dtoverlay=rpi-dac not working for Lucid Labs DAC - no ALSA option for sound output. Works ok on #0531 and earlier.

Only appears to affect dtoverlay=rpi-dac. #0601 dtoverlay=hifiberry-dacplus works fine for hifiberry dacplus.

Report from Moode audio on diyaudio.com suggests may be caused by "rpi-dac overlay not loading pcm1792a driver for Soekris DAC, RPi-DAC"


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - Kiralina - 2016-06-01

HifiBerry Digi + is not affected and works fine.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - popcornmix - 2016-06-02

(2016-06-01, 23:26)beertank Wrote: #0601 dtoverlay=rpi-dac not working for Lucid Labs DAC - no ALSA option for sound output. Works ok on #0531 and earlier.

Can you report output of:
Code:
dmesg
lsmod
aplay -l
vcdbg log msg
from #0531 and #0601. I can't immediately see what would have broken this.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - beertank - 2016-06-02

(2016-06-02, 00:00)popcornmix Wrote:
(2016-06-01, 23:26)beertank Wrote: #0601 dtoverlay=rpi-dac not working for Lucid Labs DAC - no ALSA option for sound output. Works ok on #0531 and earlier.

Can you report output of:
Code:
dmesg
lsmod
aplay -l
vcdbg log msg
from #0531 and #0601. I can't immediately see what would have broken this.

#0601:
dmesg http://sprunge.us/TLIh
lsmod http://sprunge.us/eGIR

Please can you refresh my memory how to paste outputs for aplay-l and vcdbg log msg - | paste addition results in output on screen and empty pastes. I will complete pastes as requested once I know how to do these. Many thanks...


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - Milhouse - 2016-06-02

Code:
aplay -l 2>&1 | pastebinit
vcdbg log msg 2>&1 | pastebinit



RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - beertank - 2016-06-02

(2016-06-02, 01:04)beertank Wrote:
(2016-06-02, 00:00)popcornmix Wrote:
(2016-06-01, 23:26)beertank Wrote: #0601 dtoverlay=rpi-dac not working for Lucid Labs DAC - no ALSA option for sound output. Works ok on #0531 and earlier.

Can you report output of:
Code:
dmesg
lsmod
aplay -l
vcdbg log msg
from #0531 and #0601. I can't immediately see what would have broken this.

#0601:
dmesg http://sprunge.us/TLIh
lsmod http://sprunge.us/eGIR

Please can you refresh my memory how to paste outputs for aplay-l and vcdbg log msg - | paste addition results in output on screen and empty pastes. I will complete pastes as requested once I know how to do these. Many thanks...

Thanks to Millhouse Smile

#0531:
dmesg http://sprunge.us/MHFE
lsmod http://sprunge.us/hTKC
aplay -l http://sprunge.us/fLJJ
vcdbg log msg http://sprunge.us/iKDD

#0601:
dmesg http://sprunge.us/TLIh
lsmod http://sprunge.us/eGIR
aplay -l http://sprunge.us/KFIX
vcdbg log msg http://sprunge.us/jVZa


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - ElectricPim - 2016-06-02

(2016-06-01, 21:38)Milhouse Wrote: In Estuary, the setting is now in Settings > Interface settings > Control > Allow remote control from applications on other systems

Stupid me. Kore can now suspend and wake.

@millhouse, @popcornmix. Thx again for all support and patience.

What still puzzles me (besides the new skin/default/settings), I indeed disabled `Allow remote control from applications on other systems (with EventServer/UDP apparently)` in beginning of May, but Kore app remained working, so I forgot about.

So you can can control Kodi from an app on a remote machine without credentials, when `Allow remote control from applications on other systems` is disabled and when webserverservice (e.g. Allow remote control from applications on other systems with JSON/WS/TCP) is configured with credentials. The webclient doesn't need credentials either. ip:port is enough in a browser. That is weird.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - ElectricPim - 2016-06-02

FYI, to suspend the PI from a remote Linux machine by CLI:
Code:
echo '{"jsonrpc": "2.0", "method": "System.Suspend", "id":1}' > /dev/tcp/libreelec.local/9090
Hail the Unix principle.


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - popcornmix - 2016-06-02

(2016-06-02, 08:28)beertank Wrote: #0531:
dmesg http://sprunge.us/MHFE
lsmod http://sprunge.us/hTKC
aplay -l http://sprunge.us/fLJJ
vcdbg log msg http://sprunge.us/iKDD

#0601:
dmesg http://sprunge.us/TLIh
lsmod http://sprunge.us/eGIR
aplay -l http://sprunge.us/KFIX
vcdbg log msg http://sprunge.us/jVZa

Thanks. Does copying /flash/overlays/rpi-dac.dtbo from #0531 to #0601 make it work?


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - notoriouskp - 2016-06-02

I can't see the tv groups from the channel list, using enigma2 tv plugin - is this a known bug?

running kodi 17 with the latest build 01-06-2016


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - Milhouse - 2016-06-02

@notoriouskp: Not a known issue. Has it ever worked? What is the last working build.

Sent from my Jolla


RE: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0) - xprozacx - 2016-06-02

Do you need more informations about my question from post #732?