• 1
  • 97
  • 98
  • 99(current)
  • 100
  • 101
  • 218
v17 LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
thank you
Hello!

This is my first time here, so please be patient. Wink

First of all thank you for your great work! I made a clean install of LibreElec on a RPi3 and updated to build #0719.
Everythings works fine for me, except one thing.

My TV seems to send an 'I am going to standby' signal over HDMI when it's turned off, causing Kodi to go to sleep mode (kodi.log says OnSleep: Running sleep jobs). I have no mouse or keyboard connected to the RPi, so i cannot wake it up again. It doesn't wake up itself when the TV is turned on again, so i get a no signal message on the TV.

So i wrote a sh-script, which is started by cron daemon every 5 minutes, grepping the OnSleep message from kodi.log and then restarting kodi. Next problem is, that restarting kodi causes my TV to turn itself on again. hdmi_ignore_cec_init is set to 1 in config.txt, but with no effect.

So, how do i prevent kodi from going to sleep mode when I turn off my TV? I'd like to have kodi running 24/7, because having to pull the plug on the RPi or logging into it by ssh to restart kodi isn't really wife compatible.

I've been searching the net for a solution for two days now, but didn't find anything. There are some comments about GUI settings for HDMI/CEC in OpenELEC, but these settings don't exist in LibreELEC.

As a workaround I extended my sh-script to check the power status of the TV with cec-utils every 10 seconds, and restart kodi when the TV is turned on. But IMHO that's not the way it should be.

Any suggestions?

debug.log: http://sprunge.us/VjPY
(2016-07-22, 17:19)AngusG Wrote: So, how do i prevent kodi from going to sleep mode when I turn off my TV?

It's probably CEC. Go to interface settings->control->peripherals->CEC adaptor and make sure
"when TV is switched off" is set to "ignore"
(2016-07-22, 17:26)popcornmix Wrote:
(2016-07-22, 17:19)AngusG Wrote: So, how do i prevent kodi from going to sleep mode when I turn off my TV?

It's probably CEC. Go to interface settings->control->peripherals->CEC adaptor and make sure
"when TV is switched off" is set to "ignore"

OMFG, that's it! I thought I checked all settings, but didn't see this one.
Maybe the german translation is a little misleading or I'm just getting too old for this stuff. Smile

Thank's a lot!
(2016-07-22, 17:26)popcornmix Wrote:
(2016-07-22, 17:19)AngusG Wrote: So, how do i prevent kodi from going to sleep mode when I turn off my TV?

It's probably CEC. Go to interface settings->control->peripherals->CEC adaptor and make sure
"when TV is switched off" is set to "ignore"

I had the same problem, only the setting "when TV is switched off" set to "suspend" helped me.
I had not asked here because my English is too poor, I could write in German but I think it is not welcome here Blush
[3x RPi3]#[ AV Receiver - Marantz NR1506 ]#[ TV Panasonic TX-50EXW784 ]#[ NAS - OMV 4.1.xx (Arrakis) @ NanoPI M4 ]#[ Nextcloud 17.0.3 @ ODROID C2 ]
New LibreELEC.tv Krypton build #0722: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.7.0-rc7 #1 Fri Jul 22 21:08:31 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jul 22 2016 20:29:36
Copyright (c) 2012 Broadcom
version 4b80f6dd44e815b5038c0c39802ebfb5db2ed36c (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160722210607-#0722-gb74e416 [Build #0722]

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

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (b74e4164, changelog) and tip of XBMC master (6638834a, 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.7.y
  • Includes latest bcm2835-driver master (b8ef00fa, ahead +9)
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (fac3a954, ahead +34)
  • Includes latest p8-platform master (041a8c6c, ahead +1)
  • Includes latest addons: inputstream.mpd (2316b712, +22), inputstream.rtmp (7bf2298e), inputstream.smoothstream (99e77711, +4), peripheral.joystick (6090a90e, +1), pvr.argustv (e536f32e), pvr.demo (01c68c88), pvr.dvblink (20e1ccb4, +2), pvr.dvbviewer (7a7ead36, +1), pvr.filmon (efd379b8), pvr.hdhomerun (a71e816d), pvr.hts (66dcb89f, +2), pvr.iptvsimple (21e91a5f, +1), pvr.mediaportal.tvserver (72452b9d, +2), pvr.mythtv (a9ea5816, +6), pvr.nextpvr (32b3c2ff, +2), pvr.njoy (b5d65655), pvr.pctv (12d8baf1), pvr.stalker (b6cb9b87, +9), pvr.vbox (f38f82f0, +2), pvr.vdr.vnsi (8515b4bf, +6), pvr.vuplus (4f2ad621, +2), pvr.wmc (979c37db, +2)
  • 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: Add kodi binary addons (pvr, adsp, other)
  • Include [env] patch: Don't build ADSP addons
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: Install libbrcmEGL/libbrcmGLESv2 shared libraries, with sym links for backward compatability
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.*, os.* and peripheral.*
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: ffmpeg: bump 3.1.1
  • Include [env] PR:481: linux: Update to 4.7 (WIP)
  • Include [env] PR:526: Cpu temperature readings for devices with aml_thermal interface
  • Include [env] PR:535: init: Add upgrade check to avoid incompatible upgrades [RFC,WIP]
  • Include [env] PR:555: Package updates
  • Revert [env] 46b9b7b3: rtmpdump (Reason: use newclock5 bump)
  • Include [pkg] patch: drm/i915: Extend Fake HDMI live status to Valley View (linux)
  • Include [pkg] patch: [skin.estuary] Hide watched items on home (kodi-theme-Estuary)
  • 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
  • Include [pkg] PR:10141: set tvshow thumb on *all seasons node
Build Highlights:
  1. New firmware
  2. inputstream.mpd updated
Build Details:
  1. Firmware (Jul 22):
    • firmware: arm_dt: allow audio output without dtparam=audio=on See: link
    • firmware: dt-blob: Add BT_ON and WL_ON pins, and use if present
  2. LibreELEC.tv:
    • connman: bump to 1.33 (PR:548, 1 commit, 1 file changed)
    • eventlircd: Add support for Amazon Fire TV Stick Bluetooth remote (PR:556, 1 commit, 2 files changed)
  3. XBMC:
    • Fix win32 installer and add DLL to gitignore (PR:10152, 2 commits, 2 files changed)
    • GLX: fix vsync for glXSwapIntervalMESA after f0c02bd1adb8be38d8a5ae56… (PR:10150, 1 commit, 1 file changed)
    • [estuary] Show fallback behind thumb in addoninfo preview list (PR:10146, 1 commit, 1 file changed)
    • Remove pointless check in python setUniqueIDs (and fix description) (PR:10148, 1 commit, 2 files changed)
    • CColorManager::Create3dLut: fix return-type (PR:10154, 1 commit, 2 files changed)
  4. inputstream.mpd:
    • initialization of defaultkeyid (2316b712)
  5. newclock5:
    • New commits in this build:
      • VideoPlayer: drop deinterlace mode (4402163b)
      • rbp: drop deinterlace mode (97b4cace)
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.
I'll post more details about this on - most likely, given my upcoming schedule - Wednesday or Thursday. But there's an issue with loading the PRV epg which appears to have been introduced somewhere between builds 0622 and 0626.

This is to say, once the issue (the system will not load the EPG for any channels, with the dialog for the first epg channel remaining on screen) occurs it persists across all build from - at least - v0626 onwards but is fixed with build 0622 or earlier (so the issue is introduced somewhere in between).

I've had time to test that installing build 0622 or earlier fixes this - it's quite possible builds between 0623 and 0625 would fix this also, and I'll test fully when time allows. For the record, until the issue occurs rebooting or restarting (or anything else) the system works correctly in that the epg will then be imported correctly on that particular build - Once this issue occurs, any attempt to reboot/restart Kodi continue to show the same issue (the system continually displays the dialog showing it is importing the epg from the first channel) and the only fix I've found so far it so install a build of 0622 or earlier.

I appreciate you will require a debug log and a log from the PVR backend (for the record I'm using PVR.WMC but, as the only working systems I have are rPi's, whereas I've not seen this issue on my development Mac, I think it is system specific) - I will provide this after Wednesday, but hope that this issue might make sense to those who have made the relevant changes in the interim and possibly you will be able to limit the builds or logging I should be looking at Smile
(2016-07-21, 01:52)popcornmix Wrote:
(2016-07-21, 01:21)zaphod24 Wrote: Analog audio appears to not be working in 0720. Reverted to 0719 and analog audio is working again.

Try adding dtparam=audio=on to config.txt as a temporary workaround.

Thank you for the pointer for 0720 and 0721. I can confirm that as of 0722 adding the dtparam is no longer necessary for analog audio.
(2016-07-23, 03:15)zaphod24 Wrote: Thank you for the pointer for 0720 and 0721. I can confirm that as of 0722 adding the dtparam is no longer necessary for analog audio.

Good to hear.
New LibreELEC.tv Krypton build #0723: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.7.0-rc7 #1 Sat Jul 23 21:39:50 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jul 22 2016 20:29:36
Copyright (c) 2012 Broadcom
version 4b80f6dd44e815b5038c0c39802ebfb5db2ed36c (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160723213738-#0723-g30fe64a [Build #0723]

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

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (30fe64a3, changelog) and tip of XBMC master (b7bc4c0f, 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.7.y
  • Includes latest bcm2835-driver master (b8ef00fa, ahead +9)
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (fac3a954, ahead +34)
  • Includes latest p8-platform master (041a8c6c, ahead +1)
  • Includes latest addons: inputstream.mpd (51271e1a, +23), inputstream.rtmp (7bf2298e), inputstream.smoothstream (99e77711, +4), peripheral.joystick (6090a90e, +1), pvr.argustv (e536f32e), pvr.demo (01c68c88), pvr.dvblink (20e1ccb4, +2), pvr.dvbviewer (7a7ead36, +1), pvr.filmon (efd379b8), pvr.hdhomerun (a71e816d), pvr.hts (66dcb89f, +2), pvr.iptvsimple (21e91a5f, +1), pvr.mediaportal.tvserver (72452b9d, +2), pvr.mythtv (a9ea5816, +6), pvr.nextpvr (32b3c2ff, +2), pvr.njoy (b5d65655), pvr.pctv (12d8baf1), pvr.stalker (b6cb9b87, +9), pvr.vbox (f38f82f0, +2), pvr.vdr.vnsi (8515b4bf, +6), pvr.vuplus (4f2ad621, +2), pvr.wmc (979c37db, +2)
  • 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: Add kodi binary addons (pvr, adsp, other)
  • Include [env] patch: Don't build ADSP addons
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: Install libbrcmEGL/libbrcmGLESv2 shared libraries, with sym links for backward compatability
  • Include [env] patch: HACK: Disable multiple PVR addons during migration. Always enable inputstream.*, os.* and peripheral.*
  • Include [env] patch: Add experimental splash video for RPi
  • Include [env] patch: ffmpeg: bump 3.1.1
  • Include [env] PR:481: linux: Update to 4.7 (WIP)
  • Include [env] PR:526: Cpu temperature readings for devices with aml_thermal interface
  • Include [env] PR:535: init: Add upgrade check to avoid incompatible upgrades [RFC,WIP]
  • Include [env] PR:555: Package updates
  • Revert [env] 46b9b7b3: rtmpdump (Reason: use newclock5 bump)
  • Include [pkg] patch: drm/i915: Extend Fake HDMI live status to Valley View (linux)
  • Include [pkg] patch: [skin.estuary] Hide watched items on home (kodi-theme-Estuary)
  • 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
  • Include [pkg] PR:10141: set tvshow thumb on *all seasons node
  • Include [pkg] PR:10157: [WIP] Double the backslash in mysql in case we're in 'LIKE'
Build Highlights:
  1. PR:10157: [WIP] Double the backslash in mysql in case we're in 'LIKE'
Build Details:
  1. LibreELEC.tv:
    • functions : Make sure sure we also remove lto flags from TARGET_FLAGS. (PR:530, 1 commit, 1 file changed)
    • functions: fix missing ` in the strip_gold function (PR:564, 1 commit, 1 file changed)
  2. XBMC:
    • [xbmc][fix] Fix on demand dll loading to point to the correct files (PR:10155, 1 commit, 5 files changed)
    • Codecinfo, Drain and ResetDisplay fixes (PR:10153, 5 commits, 6 files changed)
  3. inputstream.mpd:
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [pkg] PR:10157: [WIP] Double the backslash in mysql in case we're in 'LIKE'
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.
I might have found a regression concerning the deinterlacing.

I am using a tvheadend server (on my NAS) and a rPI3 with libreelec to watch live tv.
I can watch 720p content just fine until i switch to a 1080i channel. From then on i get massive frame skips on 720p channels. Once i stop playback and restart on a 720p channel everything is fine again until i switch to a 1080i channel again. 1080i is always running smooth.

debug log

I do not know when this started. It is definately present in 0720, 0721 and 0723.

Edit:
0720 definately introduced this. 0719 does not show this behabior.
(2016-07-24, 10:33)niwa2 Wrote: Once i stop playback and restart on a 720p channel everything is fine again until i switch to a 1080i channel again. 1080i is always running smooth.

When the 720p content is skipping, does setting deinterlace method to off avoid the issue?
(2016-07-24, 10:33)niwa2 Wrote: I might have found a regression concerning the deinterlacing.

I am using a tvheadend server (on my NAS) and a rPI3 with libreelec to watch live tv.
I can watch 720p content just fine until i switch to a 1080i channel. From then on i get massive frame skips on 720p channels. Once i stop playback and restart on a 720p channel everything is fine again until i switch to a 1080i channel again. 1080i is always running smooth.

I do not know when this started. It is definately present in 0720, 0721 and 0723.

Edit:
0720 definately introduced this. 0719 does not show this behabior.

I can confirm that

(2016-07-24, 12:01)popcornmix Wrote:
(2016-07-24, 10:33)niwa2 Wrote: Once i stop playback and restart on a 720p channel everything is fine again until i switch to a 1080i channel again. 1080i is always running smooth.

When the 720p content is skipping, does setting deinterlace method to off avoid the issue?

I set deinterlacing to Inactive then no skipping frames.
[3x RPi3]#[ AV Receiver - Marantz NR1506 ]#[ TV Panasonic TX-50EXW784 ]#[ NAS - OMV 4.1.xx (Arrakis) @ NanoPI M4 ]#[ Nextcloud 17.0.3 @ ODROID C2 ]
Yes setting deinterlace to inactive stops the skipping. I can set it back to auto afterwards and it keeps running fine.
It appears as if deinterlacing keeps running when coming from an interlaced channel to a progressive channel.
My first time here. But anyway, just want to confirm the interlace issue. I'm using Rpi3. Additional finding: The issue only appears on my system when "sync playback to display" is disabled. If enabled, no playback skips seen after switching from interlaced to no-interlaced channels.
  • 1
  • 97
  • 98
  • 99(current)
  • 100
  • 101
  • 218

Logout Mark Read Team Forum Stats Members Help
LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)19