Kodi 18 - LibreELEC Testbuilds for RaspberryPi (Kodi 18.0)

  Thread Rating:
  • 6 Vote(s) - 4.83 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
bleep42 Offline
Junior Member
Posts: 43
Joined: Oct 2013
Reputation: 2
Post: #1051
(2017-02-21 16:03)popcornmix Wrote:  gpu_freq isn't a specific clock but is a shorthand for setting core_freq, v3d_freq, h264_freq and isp_freq (if otherwise not set).
These days there are separate PLLs for core_freq and the other 3. So core_freq can be set arbitrarily compared to v3d_freq/h264_freq/isp_freq.
v3d_freq/h264_freq/isp_freq need to all be integer divisors of the PLL. The simplest option is to set them all the same.

For HEVC, the sdram, arm, core and v3d are the important clocks (roughly in that order, but they are all significant).

In Milhouse's config.txt the core_freq line is redundant (it defaults to gpu_freq if otherwise unspecified).
But it would work perfectly fine with, say core_freq=513, as core_freq has its own PLL.

However:
gpu_freq=500
v3d_freq=513

wouldn't be satisfied exactly as v3d shares a PLL with h264/isp. I think you would get 513 for all 3 clocks.

Thanks Popcornmix, some very useful info there. I didn't know that it was now possible to set core & gpu independently :-( is that true for all pies, so a software change, or only pi2 or pi3? I've tried Google but couldn't find any definite answer.
Thanks again Kevin.
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,865
Joined: Feb 2011
Reputation: 326
Post: #1052
(2017-02-21 23:45)bleep42 Wrote:  Thanks Popcornmix, some very useful info there. I didn't know that it was now possible to set core & gpu independently :-( is that true for all pies, so a software change, or only pi2 or pi3? I've tried

True for all Pi's. Was a firmware change quite some time ago (over a year). We were able to free up the PLL used by analogue audio for the core.
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,883
Joined: Jan 2011
Reputation: 643
Post: #1053
New LibreELEC.tv Leia build #0221: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.0 #1 Tue Feb 21 21:18:21 GMT 2017 armv6l GNU/Linux

# vcgencmd version
Feb 17 2017 20:41:51
Copyright (c) 2012 Broadcom
version 88b8ca93c6eb22e38531075a6d7e4f25f900af43 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170221211717-#0221-ga1d6251 [Build #0221]

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

Based on tip of LibreELEC.tv master (a1d6251d, changelog) and tip of XBMC master (755d7db3, 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.10.y
  • Includes latest bcm2835-driver next (1a717bb3, ahead +659)
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (0a97062d, ahead +22)
  • Includes latest libnfs master (2e0a67fc, ahead +49)
  • Includes latest p8-platform master (2d90f986, ahead +9)
  • Includes latest addons: inputstream.adaptive (a347296e), inputstream.rtmp (df64b9b2, +6), peripheral.joystick (69c9e5fe, +1), pvr.argustv (5a36c586), pvr.demo (8243935f), pvr.dvblink (0015079e), pvr.dvbviewer (9fb34b3c), pvr.filmon (315e5034), pvr.hdhomerun (98cb8d40), pvr.hts (1caa390d, +1), pvr.iptvsimple (53d63cce), pvr.mediaportal.tvserver (019c7e99), pvr.mythtv (18fe56e4, +11), pvr.nextpvr (cb1b5415), pvr.njoy (080cd321), pvr.octonet (8549a31c), pvr.pctv (e67e9695), pvr.stalker (a609149c), pvr.vbox (dea8335a), pvr.vdr.vnsi (7033621d), pvr.vuplus (6ff2eb28), pvr.wmc (5f1db43f)
  • Exclude [env] kodi-999.99-PR11662.patch: kodi: merged upstream
  • Include [env] afbd134f: linux: Enable Fair Queue packet scheduling (TEST)
  • Include [env] e533a8be: linux: Default to CONFIG_TCP_CONG_BBR (TEST)
  • Include [env] patch: ffmpeg: add extra RPi lib required when building ffmpeg command line with gpu service hevc patches
  • Include [env] patch: repository.retroplayer.libreelec.addons: add temp repo for testing
  • Include [env] patch: Don't build ADSP addons
  • Include [env] patch: iwlwifi-firmware: update to iwlwifi-firmware-ba301aa
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: linux: enable in-tree rtl8192cu for RPi/RPi2
  • Include [env] patch: Add kodi binary addons (pvr, adsp, other)
  • 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] PR:1121: linux: update to linux-4.10.0
  • Include [env] PR:1287: virtio-gpu support (qemu/kvm)
  • Include [env] PR:1326: Build system scripts cleanup
  • Include [env] PR:1329: imagedecoder.raw: add add-on
  • Include [env] PR:1355: xorg-server: clean package when nvidia drivers are bumped
  • Include [env] PR:1365: build system: switch to absolute paths
  • Include [env] PR:1379: projectM: remove glew [LE9]
  • Include [pkg] patch: alsa-lib: conf: Add card config for Intel HDMI/DP LPE audio (alsa-lib)
  • Include [pkg] PR:56: bluetooth: add missing 'Connect' option when device is Trusted (service.libreelec.settings)
  • Include [pkg] PR:11668: FFmpegImage: Document and change alignment
  • Include [pkg] PR:11702: [Fix] Songs smart playlists 3 x slower than similar library node
Build Highlights:
  1. Search backwards for keyframe when resuming playback
Build Details:
  1. XBMC:
    • [addons] update Chorus (PR:11717, 1 commit, 16 files changed)
    • Search backwards for keyframe when resuming playback (PR:11713, 1 commit, 1 file changed)

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: 12,883
Joined: Jan 2011
Reputation: 643
Post: #1054
New LibreELEC.tv Leia build #0222: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.0 #1 Wed Feb 22 21:58:57 GMT 2017 armv6l GNU/Linux

# vcgencmd version
Feb 17 2017 20:41:51
Copyright (c) 2012 Broadcom
version 88b8ca93c6eb22e38531075a6d7e4f25f900af43 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170222215751-#0222-ga1d6251 [Build #0222]

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

Based on tip of LibreELEC.tv master (a1d6251d, changelog) and tip of XBMC master (e94a5d90, 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.10.y
  • Includes latest bcm2835-driver next (1a717bb3, ahead +659)
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (0a97062d, ahead +22)
  • Includes latest libnfs master (2e0a67fc, ahead +49)
  • Includes latest p8-platform master (2d90f986, ahead +9)
  • Includes latest addons: inputstream.adaptive (a347296e), inputstream.rtmp (df64b9b2, +6), peripheral.joystick (69c9e5fe, +1), pvr.argustv (5a36c586), pvr.demo (8243935f), pvr.dvblink (0015079e), pvr.dvbviewer (9fb34b3c), pvr.filmon (315e5034), pvr.hdhomerun (98cb8d40), pvr.hts (1caa390d, +1), pvr.iptvsimple (53d63cce), pvr.mediaportal.tvserver (019c7e99), pvr.mythtv (18fe56e4, +11), pvr.nextpvr (cb1b5415), pvr.njoy (080cd321), pvr.octonet (8549a31c), pvr.pctv (e67e9695), pvr.stalker (a609149c), pvr.vbox (dea8335a), pvr.vdr.vnsi (7033621d), pvr.vuplus (6ff2eb28), pvr.wmc (5f1db43f)
  • Exclude [env] kodi-999.99-PR11662.patch: kodi: merged upstream
  • Include [env] afbd134f: linux: Enable Fair Queue packet scheduling (TEST)
  • Include [env] e533a8be: linux: Default to CONFIG_TCP_CONG_BBR (TEST)
  • Include [env] patch: ffmpeg: add extra RPi lib required when building ffmpeg command line with gpu service hevc patches
  • Include [env] patch: repository.retroplayer.libreelec.addons: add temp repo for testing
  • Include [env] patch: Don't build ADSP addons
  • Include [env] patch: iwlwifi-firmware: update to iwlwifi-firmware-ba301aa
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: linux: enable in-tree rtl8192cu for RPi/RPi2
  • Include [env] patch: Add kodi binary addons (pvr, adsp, other)
  • 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] PR:1121: linux: update to linux-4.10.0
  • Include [env] PR:1287: virtio-gpu support (qemu/kvm)
  • Include [env] PR:1326: Build system scripts cleanup
  • Include [env] PR:1329: imagedecoder.raw: add add-on
  • Include [env] PR:1355: xorg-server: clean package when nvidia drivers are bumped
  • Include [env] PR:1365: build system: switch to absolute paths
  • Include [env] PR:1379: projectM: remove glew [LE9]
  • Include [pkg] patch: alsa-lib: conf: Add card config for Intel HDMI/DP LPE audio (alsa-lib)
  • Include [pkg] PR:56: bluetooth: add missing 'Connect' option when device is Trusted (service.libreelec.settings)
  • Include [pkg] PR:11668: FFmpegImage: Document and change alignment
Build Highlights:
  1. Temporarily drop media_build package (remote control issues)
Build Details:
  1. XBMC:
    • [Fix] Songs smart playlists 3 x slower than similar library node (PR:11702, 1 commit, 1 file changed)
    • [EPG] Trac 17323: Guide window fixes (PR:11705, 2 commits, 4 files changed)
    • [estouchy] player process info (PR:11718, 1 commit, 4 files changed)
    • [cleanup] remove some old xbox references (PR:11711, 1 commit, 3 files changed)
    • [Fix]REMIXER tag as alternative to MIXARTIST for FLAC and APE tags (PR:11725, 1 commit, 1 file changed)
    • [Darwin] Separate Apple Remote settings into new group (PR:11692, 1 commit, 4 files changed)
    • Input improvements (PR:11688, 6 commits, 11 files changed)

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
tjost Offline
Senior Member
Posts: 171
Joined: Feb 2008
Reputation: 2
Post: #1055
LOG


Hello again. The Picture quality get worse.
Do you have a solution by now?

Please Help.

Thank you for your great work!
find quote
popcornmix Offline
Team-Kodi Member
Posts: 7,865
Joined: Feb 2011
Reputation: 326
Post: #1056
(2017-02-19 14:15)tjost Wrote:  OK, i have a Raspberry Pi3 with a TV Stick. Most of the Channels work fine but some channels, TS Streams, have distortions.
Example I recorded a Channel and instead 3 Hours it show 16 hours of recording.
A lot of distortions in the picture.
Try to play the recording on my Mac. The same, even worse. On VLC on Quicktime. Final Cut or Premiere.

BUT: after plug in the HDD on my Samsung TV the recording is PERFECT! 3 Hours of recording no hick ups in the Picture.
video

VLC, mplayer, Kodi on linux, Kodi on Pi all play the sample with distortions.
I find it hard to imagine how the Samsung TV can display it perfectly.
find quote
tjost Offline
Senior Member
Posts: 171
Joined: Feb 2008
Reputation: 2
Post: #1057
So,

it not far from perfect. but here is a better example I made with the build from yesterday.

Original From Kodi

Played from TV recordes with iPhone

You will recognize the dramatic improvement.

the fully LOG

And on LiveTV the AC3 Audio is not synchron with the Picture.

Thank you for your Help.
(This post was last modified: 2017-02-23 16:27 by tjost.)
find quote
Milhouse Offline
Team-Kodi Member
Posts: 12,883
Joined: Jan 2011
Reputation: 643
Post: #1058
@tjost the link to your iphone video isn't working.

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
tjost Offline
Senior Member
Posts: 171
Joined: Feb 2008
Reputation: 2
Post: #1059
(2017-02-23 15:34)Milhouse Wrote:  @tjost the link to your iphone video isn't working.

sorry, now it is working Smile
find quote
Aux_ Offline
Senior Member
Posts: 155
Joined: May 2016
Reputation: 1
Post: #1060
(2017-02-23 13:47)popcornmix Wrote:  
(2017-02-19 14:15)tjost Wrote:  OK, i have a Raspberry Pi3 with a TV Stick. Most of the Channels work fine but some channels, TS Streams, have distortions.
Example I recorded a Channel and instead 3 Hours it show 16 hours of recording.
A lot of distortions in the picture.
Try to play the recording on my Mac. The same, even worse. On VLC on Quicktime. Final Cut or Premiere.

BUT: after plug in the HDD on my Samsung TV the recording is PERFECT! 3 Hours of recording no hick ups in the Picture.
video

VLC, mplayer, Kodi on linux, Kodi on Pi all play the sample with distortions.
I find it hard to imagine how the Samsung TV can display it perfectly.

I just wanted to say he was talking about recording, not playing.
I also say that with the TV stick is so thing, some builds work better than the others
and the RPi is very vulnerable to various background loads. For example when EPG works or other things.

I believe that better results makes an ODROID-C2, I'll probably test it soon maybe...

Just my 5 cent ;-)

[ 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 ]
(This post was last modified: 2017-02-23 18:21 by Aux_.)
find quote
tjost Offline
Senior Member
Posts: 171
Joined: Feb 2008
Reputation: 2
Post: #1061
Quote:I just wanted to say he was talking about recording, not playing.
I also say that with the TV stick is so thing, some builds work better than the others
and the RPi is very vulnerable to various background loads. For example when EPG works or other things.

I believe that better results makes an ODROID-C2, I'll probably test it soon maybe...

Just my 5 cent ;-)

Waiting for faster hardware is noch the solution I think.

The thing is that 1080p 32b/s HD Movies play fine but Live-TV playback or recordings didn't work well. But playing the .ts recording direct on my Samsung TV the playback is much better nearly perfect.
So the Problem must be in the Build.
find quote
asavah Offline
Senior Member
Posts: 256
Joined: Sep 2014
Reputation: 10
Post: #1062
(2017-02-23 18:10)Aux_ Wrote:  I believe that better results makes an ODROID-C2, I'll probably test it soon maybe...

Sorry for offtopic, but I needed to say this:

No, it does NOT.
As ARM enthusiast and owner of quite a bunch of different "pi class" devboards I can tell you that odroid-c2 while more powerful hardware-wise is much much worse supported, than the pi's (thanks to the @popcornmix's and many others excellent,awesome,outstanding work)
odroid-c2 became usable again with kodi17 and master after a big patch from peak3d (which requires kernel patches which are not yet in hardkernel's repo) has landed.
odroid-c2 kernel from hardkernel is an absolute mess, amcodec libs are pure and utter crap written by drunk monkeys.

IMO the pi3 is the way to go right now.
find quote
Aux_ Offline
Senior Member
Posts: 155
Joined: May 2016
Reputation: 1
Post: #1063
I also apologize for offtopic

thanks for the hint @asavah, will save me the trouble...

summarizing:
better hardware
bad software support

[ 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
Milhouse Offline
Team-Kodi Member
Posts: 12,883
Joined: Jan 2011
Reputation: 643
Post: #1064
New LibreELEC.tv Leia build #0223: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.10.0 #1 Thu Feb 23 22:47:15 GMT 2017 armv6l GNU/Linux

# vcgencmd version
Feb 17 2017 20:41:51
Copyright (c) 2012 Broadcom
version 88b8ca93c6eb22e38531075a6d7e4f25f900af43 (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20170223224610-#0223-g0d24524 [Build #0223]

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

Based on tip of LibreELEC.tv master (0d24524c, changelog) and tip of XBMC master (cecf1791, 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.10.y
  • Includes latest bcm2835-driver next (1a717bb3, ahead +659)
  • Includes latest kodi-platform master (c8188d82)
  • Includes latest libcec master (0a97062d, ahead +22)
  • Includes latest libnfs master (2e0a67fc, ahead +49)
  • Includes latest p8-platform master (2d90f986, ahead +9)
  • Includes latest addons: inputstream.adaptive (a347296e), inputstream.rtmp (df64b9b2, +6), peripheral.joystick (69c9e5fe, +1), pvr.argustv (5a36c586), pvr.demo (8243935f), pvr.dvblink (0015079e), pvr.dvbviewer (9fb34b3c), pvr.filmon (315e5034), pvr.hdhomerun (98cb8d40), pvr.hts (1caa390d, +1), pvr.iptvsimple (53d63cce), pvr.mediaportal.tvserver (019c7e99), pvr.mythtv (18fe56e4, +11), pvr.nextpvr (cb1b5415), pvr.njoy (080cd321), pvr.octonet (8549a31c), pvr.pctv (e67e9695), pvr.stalker (a609149c), pvr.vbox (dea8335a), pvr.vdr.vnsi (7033621d), pvr.vuplus (6ff2eb28), pvr.wmc (5f1db43f)
  • Exclude [env] kodi-999.99-PR11662.patch: kodi: merged upstream
  • Include [env] afbd134f: linux: Enable Fair Queue packet scheduling (TEST)
  • Include [env] e533a8be: linux: Default to CONFIG_TCP_CONG_BBR (TEST)
  • Include [env] patch: ffmpeg: add extra RPi lib required when building ffmpeg command line with gpu service hevc patches
  • Include [env] patch: repository.retroplayer.libreelec.addons: add temp repo for testing
  • Include [env] patch: Don't build ADSP addons
  • Include [env] patch: iwlwifi-firmware: update to iwlwifi-firmware-ba301aa
  • Include [env] patch: Bump included addon versions to prevent online updates
  • Include [env] patch: linux: enable in-tree rtl8192cu for RPi/RPi2
  • Include [env] patch: Add kodi binary addons (pvr, adsp, other)
  • 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] PR:1121: linux: update to linux-4.10.0
  • Include [env] PR:1287: virtio-gpu support (qemu/kvm)
  • Include [env] PR:1326: Build system scripts cleanup
  • Include [env] PR:1329: imagedecoder.raw: add add-on
  • Include [env] PR:1355: xorg-server: clean package when nvidia drivers are bumped
  • Include [env] PR:1379: projectM: remove glew [LE9]
  • Include [env] PR:1387: buildsystem: Create unpack stamps for packages without sources
  • Include [pkg] patch: alsa-lib: conf: Add card config for Intel HDMI/DP LPE audio (alsa-lib)
  • Include [pkg] PR:56: bluetooth: add missing 'Connect' option when device is Trusted (service.libreelec.settings)
  • Include [pkg] PR:11668: FFmpegImage: Document and change alignment
  • Revert [pkg] PR:11732: [xbmc][fix][win32] Add utf8 support to freetype to fix libass font issues (Reason: Not needed, causes conflict with newclock5)
Build Highlights:
  1. Estuary Sync pt1
  2. Reintroduce media_build package (same version as LE8 - 2017-01-22 - now patched for 4.10 kernel)
Build Details:
  1. LibreELEC.tv:
    • imx6: update kodi patch (stop/resume streams on OnLostDisplay/OnReset… (PR:1385, 1 commit, 1 file changed)
    • build system: switch to absolute paths (PR:1365, 6 commits, 138 files changed)
    • imx6: update kodi patch for kodi 18 (PR:1388, 1 commit, 1 file changed)
  2. XBMC:
    • [PVR][guiinfo][Estuary] Recordings window: Introduce a content view filter (PR:11704, 1 commit, 8 files changed)
    • [linux] prevent wasting RAM due to memory fragmentation (PR:11722, 1 commit, 1 file changed)
    • Fix memory and resource leak (PR:11687, 3 commits, 3 files changed)
    • AESinkPULSE: Avoid deadlock (PR:11728, 1 commit, 1 file changed)
    • [estuary] Sync pt1 (PR:11727, 2 commits, 639 files changed)
    • [xbmc][fix][win32] Add utf8 support to freetype to fix libass font issues (PR:11732, 1 commit, 1 file changed)
    • properly exclude musicbrainz timeout for python scrapers (PR:11720, 1 commit, 1 file changed)
  3. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:1387: buildsystem: Create unpack stamps for packages without sources
    • Reverted: [pkg] PR:11732: [xbmc][fix][win32] Add utf8 support to freetype to fix libass font issues (Reason: Not needed, causes conflict with newclock5)

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
3DBuff Offline
Senior Member
Posts: 107
Joined: Mar 2016
Reputation: 2
Post: #1065
Settings are not accessible on my system using today's build #0223.
(This post was last modified: 2017-02-24 14:35 by 3DBuff.)
find quote
Post Reply