Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 7 Vote(s) - 4.86 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
popcornmix Offline
Team-Kodi Member
Posts: 7,925
Joined: Feb 2011
Reputation: 331
Post: #3091
(2017-08-29 19:49)amediauser Wrote:  After #0424 the PlayerDebug overlay no longer displays the audio "err" value it is always "0.0ms".

I can reproduce this issue. I have a patch that avoids the issue, but I'm not sure if it is correct.
I'm in discussion with fernetmenta so hopefully we'll get a correct solution.
find quote
nuwonda Offline
Member
Posts: 65
Joined: Oct 2006
Reputation: 1
Post: #3092
KODI still can't be woken once dimmed (latest builds) most of the time despite this issue being marked as fixed?

https://github.com/Pulse-Eight/libcec/issues/342

Anyone else experience this issue still as well?

edit:got the answer.. not tagged for release yet. maybe next week. thanks, cheers!
(This post was last modified: 2017-08-30 18:41 by nuwonda.)
find quote
amediauser Offline
Junior Member
Posts: 23
Joined: Apr 2014
Reputation: 0
Post: #3093
(2017-08-30 14:56)popcornmix Wrote:  
(2017-08-29 19:49)amediauser Wrote:  Player settings > Videos > Adjust display refresh rate > On start / stop
System settings > Audio > Allow passthrough > On
System settings > Audio > - Enable Dolby Digital (AC3) transcoding > On

Tested again with the follwing additional changes.

Player settings > Videos > Sync playback to display > On
System settings > Audio > PLL adjustment to maintain audio/video sync > Low

Can you just clarify with which settings out-of-sync audio occurs?
(i.e. default, with ac3 transcoding enable, and with PLL sync?)

Hi @popcornmix, thank you for taking a look at this.

The out of sync error occurs when using the combination "Allow passthrough", "Dolby Digital (AC3) capable receivers" and "Enable Dolby Digital (AC3) transcoding".

It is a little random, most of the time it will start in sync, but not always. As described previously, skipping around in the sample file will easily trigger it to go out of sync.

Once out of sync not even pausing will correct it.

When playing native AC3 in sync I see this lines like this in the debug log.
DEBUG: ProcessPacket - audio:98 video:99

When playing transcoded DTS in sync I see this in the debug log, there is a larger gap between audio and video.
DEBUG: ProcessPacket - audio:96 video:99

When playing transcoded DTS out of sync I see example such as these this in the debug log.
DEBUG: ProcessPacket - audio:99 video:94 < # Audio packets are ahead of video
DEBUG: ProcessPacket - audio:98 video:98 < # Audio video packets are the same
DEBUG: ProcessPacket - audio:95 video:99 < # Audio packets further behind video

The brief reversion to ffmpeg 3.1 didn't help, so its not down to that version bump.

When playing back stereo, native AC3 or disabling transcoding the sync remains fine.

The PLL option does not have have any effect on the problem, I only enable it as I believe it is now required for passthrough with "Sync playback to display" that I tested.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3094
New LibreELEC.tv Leia build #0830: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.10 #1 Wed Aug 30 23:17:50 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-20170830231416-#0830-gab7496d [Build #0830]

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

Based on tip of LibreELEC.tv master (ab7496d, changelog) and tip of XBMC master (4ce9c26, changelog) with the following modifications: Build Highlights:
  1. New 4.12.10 kernel
  2. Binary addon API update
  3. newclock5: Fix error interval; hevc update
Build Details:
  1. LibreELEC.tv:
    • brcmfmac_sdio-firmware-rpi: Consolidate firmware files (PR:1922, 4 commits, 4 files changed)
  2. XBMC:
    • [addons] cleanup audio engine (PR:12743, 2 commits, 4 files changed)
    • [PVR][settings] Make epg.lingertime an official setting, remove the respective advanced setting. (PR:12740, 2 commits, 13 files changed)
    • [addons] add callback to remove slash at end of path (PR:12438, 1 commit, 1 file changed)
    • [addons] increase binary vfs interface version to 1.0.1 (PR:12749, 1 commit, 1 file changed)
    • [addons] add / fix binary addon gui parts (PR:12744, 6 commits, 12 files changed)
    • [DemuxClient] transport flags (PR:12710, 1 commit, 1 file changed)
    • Implement File::GetProperty to allow (binary) addons access to e.g. reponse headers (#12737) (9c71e17)
  3. inputstream.adaptive:
  4. newclock5:
    • New commits in this build:
      • Revert "AE: improve tempo filter" (72ca8ca3)
      • Revert "Revert "AE: improve tempo filter"" (e3dba69d)
      • ActiveAE: Avoid resetting error interval (ab56ccf9)
      • FFMPEG: Fixes rbpi compilation (9fdc804d)
      • ffmpeg: hevc: update to latest (a5ba0617)
      • ffmpeg: hevc: Fixup x86 build (c6287310)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] compare: linux: update to linux-4.12.10

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 Online
Senior Member
Posts: 219
Joined: Sep 2013
Reputation: 2
Post: #3095
(2017-08-30 17:53)nuwonda Wrote:  KODI still can't be woken once dimmed (latest builds) most of the time despite this issue being marked as fixed?

https://github.com/Pulse-Eight/libcec/issues/342

Anyone else experience this issue still as well?

edit:got the answer.. not tagged for release yet. maybe next week. thanks, cheers!

no, I don't have this issue, running 0829 and 0825, wakes from dim without a problem.
find quote
Aux_ Offline
Senior Member
Posts: 190
Joined: May 2016
Reputation: 1
Location: Germany / BW
Post: #3096
Hi @Milhouse,

Is there no new service.tvheadend42-9.0.112- # 0830..(..) for the new build?

[ 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
popcornmix Offline
Team-Kodi Member
Posts: 7,925
Joined: Feb 2011
Reputation: 331
Post: #3097
(2017-08-30 23:33)amediauser Wrote:  The out of sync error occurs when using the combination "Allow passthrough", "Dolby Digital (AC3) capable receivers" and "Enable Dolby Digital (AC3) transcoding".

I have reproduced this. I couldn't reproduce with the AC3 version of the file (which will bypass the AC3 transcode), but I could with the DTS version.
"sync playback to display" wasn't required for the issue to occur - just transcoding active.

I've confirmed it occurs with master branch (so isn't a newclock5 specific issue).
Are you able to test this on another platform (e.g. milhouse build on x86)? That would be useful information (I don't have passthrough capability from my laptop).
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3098
(2017-08-31 07:59)Aux_ Wrote:  Hi @Milhouse,

Is there no new service.tvheadend42-9.0.112- # 0830..(..) for the new build?
Ah no, it failed to build and then I fell asleep. I'll try and fix it for tonight.

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: 190
Joined: May 2016
Reputation: 1
Location: Germany / BW
Post: #3099
(2017-08-31 18:07)Milhouse Wrote:  
(2017-08-31 07:59)Aux_ Wrote:  Hi @Milhouse,

Is there no new service.tvheadend42-9.0.112- # 0830..(..) for the new build?
Ah no, it failed to build and then I fell asleep. I'll try and fix it for tonight.

Is not bad, it was just a question.
Thank you very much Smile

[ 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
nuwonda Offline
Member
Posts: 65
Joined: Oct 2006
Reputation: 1
Post: #3100
(2017-08-31 01:38)J_E_F_F Wrote:  
(2017-08-30 17:53)nuwonda Wrote:  KODI still can't be woken once dimmed (latest builds) most of the time despite this issue being marked as fixed?

https://github.com/Pulse-Eight/libcec/issues/342

Anyone else experience this issue still as well?

edit:got the answer.. not tagged for release yet. maybe next week. thanks, cheers!

no, I don't have this issue, running 0829 and 0825, wakes from dim without a problem.

You also have a Panasonic TV? Updating from 827 to 830 right now. Will see if it helps.
find quote
The Masters Offline
Junior Member
Posts: 15
Joined: Mar 2017
Reputation: 0
Post: #3101
(2017-08-30 16:24)polo_joe Wrote:  @Milhouse
tvheadend now should have omx rpi transcoding ability, could you enable transcoding in your builds?

What would we gain if this "would work"?
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3102
(2017-08-31 18:11)Aux_ Wrote:  
(2017-08-31 18:07)Milhouse Wrote:  
(2017-08-31 07:59)Aux_ Wrote:  Hi @Milhouse,

Is there no new service.tvheadend42-9.0.112- # 0830..(..) for the new build?
Ah no, it failed to build and then I fell asleep. I'll try and fix it for tonight.

Is not bad, it was just a question.
Thank you very much Smile

I've had a look into it (and discussed with other team members) and the recent changes are quite significant so it's going to take a few days to work out a solution - until then there'll be no more tvheadend42 updates, just use the last available zip file.

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: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3103
New LibreELEC.tv Leia build #0831: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.12.10 #1 Fri Sep 1 00:00:09 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-20170831235900-#0831-gab7496d [Build #0831]

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

Based on tip of LibreELEC.tv master (ab7496d, changelog) and tip of XBMC master (e22038f, 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 (625e768, ahead +1)
  • Includes latest kodi-platform master (36fb493)
  • Includes latest libcec master (8adc786, ahead +26)
  • Includes latest libnfs master (df94ae9, ahead +56)
  • Includes latest p8-platform master (a822e19)
  • Includes latest addons: inputstream.adaptive (5df3ba1, +67), inputstream.rtmp (e094fa3, +1), peripheral.joystick (cc14287, +3), pvr.argustv (23cc0e8, +1), pvr.demo (122dedd, +3), pvr.dvblink (816f90c, +6), pvr.dvbviewer (8741c8b, +10), pvr.filmon (34dca04, +1), pvr.hdhomerun (ace19fa, +17), pvr.hts (53118d8, +3), pvr.iptvsimple (ac4f4bd, +7), pvr.mediaportal.tvserver (c86ab35, +17), pvr.mythtv (b46e5be, +2), pvr.nextpvr (a855663, +1), pvr.njoy (99874de, +1), pvr.octonet (a77cf11), pvr.pctv (549f690, +1), pvr.stalker (e15edca, +2), pvr.vbox (b5da811, +1), pvr.vdr.vnsi (7e6e385, +2), pvr.vuplus (9bfd868, +7), pvr.wmc (d820bf8, +1)
  • Include [env] compare: kodi: updates for September
  • Include [env] compare: linux: update to linux-4.12.10
  • Include [env] patch: libcec: don't link non-existant libtinfo
  • Include [env] patch: rev hack for kodi
  • Include [env] patch: tvheadend42: add bzip dependency when transcoding
  • Include [env] patch: tvheadend42: fix makefile patch
  • Include [env] patch: tvheadend42: fixup ffmpeg patch
  • 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:1917: linux: enable ftrace
  • Include [env] PR:1918: Package Updates: intel-vaapi-driver, libva and libva-utils to 1.8.3
  • Include [env] PR:1919: samba: don't restart smbd in samba-autoshare
  • Include [env] PR:1923: mesa: update to 17.2.0-rc5
  • Include [env] PR:1936: scripts/unpack: use git apply whenever patch includes a renamed file
  • 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. Minors
Build Details:
  1. XBMC:
    • [depends] bump zlib to 1.2.11 (PR:12751, 1 commit, 3 files changed)
    • GetFileProperty for "old" binary addon interface (PR:12754, 1 commit, 4 files changed)
    • FIX: [addons] clarify repo creation (PR:12723, 2 commits, 2 files changed)
    • [depends] bump alsa-lib to 1.1.4.1 (PR:12752, 2 commits, 6 files changed)
  2. inputstream.adaptive:
    • ETag / Modified conditioned manifest updates (5df3ba1)
  3. pvr.mediaportal.tvserver:
    • OSX compile fixes (PR:77, 3 commits, 3 files changed)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1936: scripts/unpack: use git apply whenever patch includes a renamed file

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-09-01 01:36 by Milhouse.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 13,232
Joined: Jan 2011
Reputation: 671
Post: #3104
There's a new #0831 tvheadend42 zip for RPi1/RPi2, however the Generic (x86) tvheadend42 is quite broken and will take a few days to fix.

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
start78 Offline
Junior Member
Posts: 12
Joined: Jul 2016
Reputation: 0
Post: #3105
(2017-08-31 23:05)The Masters Wrote:  
(2017-08-30 16:24)polo_joe Wrote:  @Milhouse
tvheadend now should have omx rpi transcoding ability, could you enable transcoding in your builds?

What would we gain if this "would work"?

It reduces bandwidth usage when watching tv over wifi from an rpi tvheadend server. I used to use a pc with dvbviewer and always transcoded my streams when i watched tv on my smartphone. As i have many hdv channels in my list, a stable stream over wifi was not always possible over wifi without trsnscoding. With transcoding i could even watch tv over vpn.
find quote
Post Reply