Kodi Community Forum

Full Version: LibreELEC Testbuilds for RaspberryPi (Kodi 17.0)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Somehow CPU usage has increased:
#0606: 11,5%
#0605: 11,5%
#0604: 11,5%
#0604: 11,3%
#0603: 11,3%
#0602: 8,5%
#0601: 8,2%
#0525: 6,9%

top over ssh, RPI3 idle and suspended

Surprising that Kodi needs 11,5% CPU usage for kodi.bin, supended and idle
(2016-06-07, 21:30)ElectricPim Wrote: [ -> ]Somehow CPU usage has increased:

Do you see a similar increase when kodi is running? (e.g. in GUI on a static page?)
Do you see a similar increase when kodi is stopped? (e.g. after systemctl stop kodi)
New LibreELEC.tv Krypton build #0607: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.6.1 #1 Tue Jun 7 21:16:21 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jun  2 2016 16:05:45
Copyright (c) 2012 Broadcom
version d3cabccc990645d482e723b2c65e3b4b1481afac (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160607211513-#0607-gf59ff67 [Build #0607]

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

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (f59ff67c, changelog) and tip of XBMC master (d1a52d1e, 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 (70143fe9)
  • Includes latest kodi-platform master (c8188d82, ahead +4)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (cdd1643c, ahead +28)
  • 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 (fb24eda2, +13), 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: mesa: update to 12.0.0-rc1
  • Include [env] patch: Bump libbluray - include MVC support
  • 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: Enable pvr addons, disable pvr updates
  • Include [env] patch: Enable other binary addons
  • Include [env] PR:408: Fix digital audio crackling when playing music on non Kodi based setups.
  • Include [env] PR:412: splash: Stop blanking splash too early in RPi boot sequence
  • Include [env] PR:417: linux: Atom Baytrail and CherryTrail audio HDMI support
  • 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: 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. VideoPlayer: switch back to Kodi method of counting CPUs
  2. VideoPlayer: keep value of m_vSyncAdjust on Discontinuity
Build Details:
  1. XBMC:
    • Default Scale for HQ scaling above (PR:9915, 2 commits, 2 files changed)
    • [skin.estouchy] update (PR:9928, 1 commit, 239 files changed)
  2. newclock5:
    • New commits in this build:
      • VideoPlayer: keep value of m_vSyncAdjust on Discontinuity (539ae074)
      • Revert "VideoPlayer: remove now unused header from ffmepg" (6068843d)
      • VideoPlayer: switch back to Kodi method of counting CPUs (13928a48)
      • VideoPlayer: drop useless ifdef (d445f3d7)
      • fixup! rbp: Support zero copy interface with hevc acceleration (07a5228d)
Is it possible with Kodi 17 (LibreELEC, Milhouse build) that i connect a usb bluetooth 4.0 dongle, and stream the audio to my bluetooth speakers?
If yes, how? What do i need? (I have Pi2 B)
thanks!
(2016-06-07, 22:38)popcornmix Wrote: [ -> ]
(2016-06-07, 21:30)ElectricPim Wrote: [ -> ]Somehow CPU usage has increased:

Do you see a similar increase when kodi is running? (e.g. in GUI on a static page?)
Do you see a similar increase when kodi is stopped? (e.g. after systemctl stop kodi)
Percentages are cpu usage in top for kodi process:
Code:
/usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
So no, not when kodi is stopped. I presume suspend on a RPI is just
Code:
vcgencmd display_power 0
, kodi still running.

I came to the issue, because I tested my RPI1 with Kodi 6.0.3 and hifiberry, that I use mostly for playing music with mpd plugin, dropping 50% cpu usage (48%->22%) with hdmi disabled by screensaver (thx for the tip), and still playing music over hifiberry.
Code:
vcgencmd display_power 0
.
I always wondered why Kodi takes so much CPU being idle.

Will test a bit more,when I have time.
(2016-06-08, 07:56)relaxpi Wrote: [ -> ]Is it possible with Kodi 17 (LibreELEC, Milhouse build) that i connect a usb bluetooth 4.0 dongle, and stream the audio to my bluetooth speakers?
If yes, how? What do i need? (I have Pi2 B)
thanks!

Ok, i got luck with a new usb BT4 adapter.
Libreelec can use it, and i can select under system/audio out: PULSE Audio, Default Bluetooth Smile
It works. However my 60fps mp4 files stutters often. Why? CPU usage is still between 10-20%
If i set back audio out to HDMI, video playback is smooth.
If i disable MMAL hw. accelerated playback, video is smooth, but bluetooth audio not working, it goes back to hdmi.

What's going on here? What settings do i need for smooth playback +BT audio?

thanks in advance!
Thanks for the DVD iso playback support again... It works fine here :-)
Hello everybody!

I' am missing the "video calibration" feature under Settings --> Display (former Video).

Anyone having the same issue?

Greez
(2016-06-08, 17:50)max32 Wrote: [ -> ]I' am missing the "video calibration" feature under Settings --> Display (former Video).

There for me. It's in system/display in settings and you need settings level set to Expert.
Thanx a lot popcornmix.

You saved my day! Smile
Hello again after a long time ;-)

well, reinstate DVD support works now, but DTS and DD5.1 Audio don't work @ #605 /606 with all tested DVD.
(only on my Pi2 ?)
DTS-audio-CD in wave works fine - also Videos in h264 or m2ts stream (BD50).

I take a fresh installation from libreelec homepage on a new formated SD-card with updates from here.

...now i switch back to OpenELEC-RPi2.arm-6.0-Milhouse-20151001210244-#1001-gcd25a32 and all DTS/DD5.1 on DVD files works.

TinaTurner - Live from Holland, Alan Parsons (all known tricky files from the past) plays only in Stereo, although the info about DTS or DD5.1 is shown in the file-info.


Thanks for all
Harald
I Dont remember which build it was still able to do this but i think it was below #600
whe i stand on a directory i could choose Watch all or watch none. But now i dont see that option anymore. i didnt change any setting only just updated the build.
i have directories sometimes with 500+ files if i have to manual click watch all or unwatch all. it takes a LOT of times.

Unless it was a addon that added that but i cant remember that i removed one.
New LibreELEC.tv Krypton build #0608: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.6.2 #1 Wed Jun 8 22:33:03 BST 2016 armv6l GNU/Linux

# vcgencmd version
Jun  8 2016 16:12:00
Copyright (c) 2012 Broadcom
version 1c8638223821fe0ed16e20bd8e948b6cc037fa4a (clean) (release)

# lsb_release
LibreELEC (Milhouse) - Version: devel-20160608222301-#0608-g2f965b3 [Build #0608]

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

# Kernel device tree status: Enabled

Based on tip of LibreELEC.tv master (2f965b37, changelog) and tip of XBMC master (d432df0b, 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 (9cd62e61)
  • Includes latest kodi-platform master (c8188d82, ahead +4)
  • Includes latest libcec master (6d68d212)
  • Includes latest libnfs master (cdd1643c, ahead +28)
  • 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 (fb24eda2, +13), 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: mesa: update to 12.0.0-rc1
  • Include [env] patch: Bump libbluray - include MVC support
  • 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: Enable pvr addons, disable pvr updates
  • Include [env] patch: Enable other binary addons
  • Include [env] PR:408: Fix digital audio crackling when playing music on non Kodi based setups.
  • Include [env] PR:412: splash: Stop blanking splash too early in RPi boot sequence
  • Include [env] PR:417: linux: Atom Baytrail and CherryTrail audio HDMI support
  • Include [env] PR:431: Revert "Merge pull request #136 from lrusak/modesetting"
  • Include [env] PR:434: linux: Update to 4.6.2
  • 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: 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. New firmware
  2. New 4.6.2 kernel
Build Details:
  1. Firmware (Jun 8):
    • firmware: Tuner: Disable unused ACLS tuner, and improve logging
    • firmware: imx219: Remove static variable
    • firmware: ISP Tuners: Make DPF parsing thread safe
    • firmware: audioplus: Allow passthrough dma priority to be overridden in same way as pcm
    • firmware: di_adv: Remove delay uniform
    • firmeare: di_adv: Enable limiter and tweak axi priorities
  2. LibreELEC.tv:
    • docker: update to 1.11.2 (PR:429, 1 commit, 4 files changed)
  3. XBMC:
    • VideoPlayer: switch back to Kodi method of counting CPUs (PR:9931, 3 commits, 1 file changed)
    • VideoPlayer: keep value of m_vSyncAdjust on Discontinuity (PR:9932, 1 commit, 2 files changed)
  4. newclock5:
    • New commits in this build:
      • omxvideo: Remove call to AutoInterlaceMethod. Treat auto as advanced (a73a431e)
      • mmalcodec: Treat corrupt frames as dropped (5ae49559)
    • Commits no longer in build:
      • VideoPlayer: keep value of m_vSyncAdjust on Discontinuity (539ae074)
      • Revert "VideoPlayer: remove now unused header from ffmepg" (6068843d)
      • VideoPlayer: switch back to Kodi method of counting CPUs (13928a48)
      • VideoPlayer: drop useless ifdef (d445f3d7)
      • fixup! rbp: Support zero copy interface with hevc acceleration (07a5228d)
  5. Additional commits/pull requests/changes not yet merged upstream:
    • Added: [env] PR:431: Revert "Merge pull request #136 from lrusak/modesetting"
    • Added: [env] PR:434: linux: Update to 4.6.2
Hey guys sorry if this has been asked

Is there an updated for libreElec like the openelec DEVupdater from leopard?
(2016-06-09, 00:41)Alex_rpi Wrote: [ -> ]Hey guys sorry if this has been asked

Is there an updated for libreElec like the openelec DEVupdater from leopard?

http://forum.kodi.tv/showthread.php?tid=...pid2344896