Kodi Community Forum
OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 1 - 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: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 1 (/showthread.php?tid=211501)



RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - gendo - 2015-01-01

(2015-01-01, 13:19)Milhouse Wrote: @gendo: debug log (wiki)?

here is debug log
https://dl.dropboxusercontent.com/u/5174353/kodi.log
basically on resume it becomes like uber slow.. here channel sort of started playing had some audio here and there.. i went back as far as 1st december and issue is there.. will try going further back..

top shows around 90% idle.

OpenELEC-RPi.arm-Milhouse-20141127230836-r19703-gf0b95eb seems to be the last version that functions fine..

Think it is related to https://github.com/xbmc/xbmc/pull/5824 and subsequently https://github.com/xbmc/xbmc/pull/5853 they don't seem to play well with virtual suspend. If i disable livetv, all versions work fine with virtual suspend..


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - Milhouse - 2015-01-02

New OpenELEC I****** build: #0101
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.18.1 #1 PREEMPT Thu Jan 1 22:08:58 GMT 2015 armv6l GNU/Linux

# vcgencmd version
Dec 29 2014 14:23:10
Copyright (c) 2012 Broadcom
version d3c15a3b57203798ff811c40ea65174834267d48 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20150101220747-r19882-gbc70c88 [Build #0101]

Based on tip of OpenELEC master (bc70c886, changelog) and tip of XBMC master (66237cdf, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.18.y
  • Excludes the OpenELEC kodi-001-helix_rpb_backports patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (9c1d3848)
  • Includes latest libcec master (9f000e43)
  • Includes latest xbmc-pvr-addons master (78397afa)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes animated splash support (patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Exclude kodi-999.99-fix-3692.patch: Superseded by PR6005
  • Exclude lirc_rpi.conf: No longer required, let Device Tree handle lirc_rpi (add "dtoverlay=lirc-rpi" to config.txt)
  • Include patch: Enable kernel device-tree support (details)
  • Include patch: Add device tree kernel trailer
  • Include patch: Update to Linux 3.18.1
  • Include patch: Add Linux 3.18.y options
  • Include patch: Add Linux 3.18.y compatible cfg80211_rx_mgmt
  • Include patch: Add *.dtb files to firmware
  • Include PR:3657: [rfc] kodi crashlogs
  • Include PR:5430: [URIUtils] Fix IsSmb, IsFTP, IsAfp, IsDAV and IsNfs.
  • Include PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Include PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Include PR:5958: Fix state not saved after #5842 if playing from "Recently added".
Build Highlights:
  1. (Happy) New year, new build code (brevity is more important than clarity, and the risk of confusion is low)
  2. Various fixes
Build Details:
  1. OpenELEC:
    • add vdr-plugin-epgfixer (PR:3723, 1 commit, 8 files changed)
    • libva / libva-driver-intel: Bump to 1.5.0 - all patches now upstream (PR:3735, 1 commit, 3 files changed)
    • vdr-plugin-epgfixer: change PKG_URL. cosmetics (1de341b0)
  2. XBMC:
    • configure.in: Fix final_message without PulseAudio (PR:6068, 1 commit, 1 file changed)
    • [osx/ios] - enable gnutls (PR:6084, 3 commits, 5 files changed)
    • FIX: [aml] only use screen size if ppscaler is disabled (PR:6060, 1 commit, 1 file changed)
    • dvdplayer: CID 1261373 (#1 of 1): Resource leak (RESOURCE_LEAK) (PR:6081, 1 commit, 1 file changed)
    • wasapi: fix incorrect error log (PR:6078, 1 commit, 1 file changed)
    • dvdplayer: fix for closed captions (PR:6076, 1 commit, 1 file changed)
    • AE: make stream more robust against frequent calls to flush (PR:6083, 1 commit, 2 files changed)
  3. newclock4:
    • New commits in this build:



RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - popcornmix - 2015-01-02

(2015-01-01, 20:34)gendo Wrote: Think it is related to https://github.com/xbmc/xbmc/pull/5824 and subsequently https://github.com/xbmc/xbmc/pull/5853 they don't seem to play well with virtual suspend. If i disable livetv, all versions work fine with virtual suspend..

Do you get this issue with official OE 5? (that doesn't have virtual suspend).


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - gendo - 2015-01-02

(2015-01-02, 17:38)popcornmix Wrote:
(2015-01-01, 20:34)gendo Wrote: Think it is related to https://github.com/xbmc/xbmc/pull/5824 and subsequently https://github.com/xbmc/xbmc/pull/5853 they don't seem to play well with virtual suspend. If i disable livetv, all versions work fine with virtual suspend..

Do you get this issue with official OE 5? (that doesn't have virtual suspend).

yes i do if i suspend using milhouse texturecache.py

Did some further tests and it seems related / caused bysetting folder with channel icons from pvr settings

1) cleared iconpath (folder with channel icons) from guisettings.. issue does not repeat (i have 1000s of icons in set)

1) reduced icons to 20 and issue does not occur though there is a bit of a slowdown..

probably code to access icons is not optimal (on pi when i set folder from gui, gui freezes for around 30 seconds..)


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - allan87 - 2015-01-02

(2015-01-01, 13:41)popcornmix Wrote:
(2015-01-01, 03:40)Milhouse Wrote: New OpenELEC Helix build: #1231
(Supercedes previous build)

Can anyone using PVR and recordings test this build. It includes an optimisation identified by metaron that may make opening large lists of recordings much faster. Even if you notice no difference, it would be useful if you can report there are no regressions with this patch (I can't test it).
I had recently noticed a long delay after exiting playback, before user control was restored. Under this build, Kodi responds to user input immediately after exiting playback.

Possible regression: While playing videos (not only recordings from PVR but also Movies from the Video directory) the system spontaneously displays the media directory while the video continues to play in the background. To continue watching, you have to pull out the drawer (blade) from the left side of the screen and select full screen).


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - popcornmix - 2015-01-02

(2015-01-02, 18:14)allan87 Wrote: Possible regression: While playing videos (not only recordings from PVR but also Movies from the Video directory) the system spontaneously displays the media directory while the video continues to play in the background. To continue watching, you have to pull out the drawer (blade) from the left side of the screen and select full screen).

Doesn't sound like the PVR optimisation could have caused this.
Can you revert to previous build and confirm if this is a new issue with this build?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - allan87 - 2015-01-02

OK. I will test 1230. It is intermittent, so testing may not be 100% reliable, but it seems to happen once or twice during a feature length film.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - popcornmix - 2015-01-02

(2015-01-02, 18:54)allan87 Wrote: OK. I will test 1230. It is intermittent, so testing may not be 100% reliable, but it seems to happen once or twice during a feature length film.

A debug enabled log may be illuminating. I wonder if you getting a spurious button press from somewhere?
Do you have a mouse, or other input devices connected?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - Milhouse - 2015-01-02

New OpenELEC I****** build: #0102
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.18.1 #1 PREEMPT Fri Jan 2 21:01:49 GMT 2015 armv6l GNU/Linux

# vcgencmd version
Dec 29 2014 14:23:10
Copyright (c) 2012 Broadcom
version d3c15a3b57203798ff811c40ea65174834267d48 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20150102210038-r19885-geab1154 [Build #0102]

Based on tip of OpenELEC master (eab11545, changelog) and tip of XBMC master (239f6689, changelog) with the following modifications:
  • Includes newclock4 patches
  • Excludes the OpenELEC fernetmenta patches due to conflicts with newclock4
  • Excludes the OpenELEC linux-01-RPi_support patch in favour of sourcing these and possibly more recent patches directly from kernel branch rpi-3.18.y
  • Excludes the OpenELEC kodi-001-helix_rpb_backports patch in favour of sourcing these and possibly more recent patches directly from newclock4 branch
  • Default setting for "Show RSS Feed" changed to disabled (new installs only) [patch details]
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • Adapted service.openelec.settings to take advantage of PR:5217 [patch details]
  • Includes latest libnfs master (9c1d3848)
  • Includes latest libcec master (9f000e43)
  • Includes latest xbmc-pvr-addons master (78397afa)
  • Includes latest xbmc-addon-xvdr master (328fa653)
  • Includes additional ffmpeg codecs/muxers enabled for testing/benchmarking purposes (see patch)
  • Includes animated splash support (patch)
  • Includes commits from libcec-2.2.0 (popcornmix)
  • Exclude kodi-999.99-fix-3692.patch: Superseded by PR6005
  • Exclude lirc_rpi.conf: No longer required, let Device Tree handle lirc_rpi (add "dtoverlay=lirc-rpi" to config.txt)
  • Include patch: Enable kernel device-tree support (details)
  • Include patch: Add device tree kernel trailer
  • Include patch: Update to Linux 3.18.1
  • Include patch: Add Linux 3.18.y options
  • Include patch: Add Linux 3.18.y compatible cfg80211_rx_mgmt
  • Include patch: Add *.dtb files to firmware
  • Include PR:3657: [rfc] kodi crashlogs
  • Include PR:5430: [URIUtils] Fix IsSmb, IsFTP, IsAfp, IsDAV and IsNfs.
  • Include PR:5747: [database] - add setting for hiding watched movies/episodes in recently added lists
  • Include PR:5752: [jsonrpc] Allow retrieving empty TV shows via VideoLibrary.GetTVShows.
  • Include PR:5958: Fix state not saved after #5842 if playing from "Recently added".
Build Highlights:
  1. Updated PR:3657 due to XDG changes in PR:5895
  2. Enable dirty regions for full screen video
Build Details:
  1. OpenELEC:
    • vdr-satip: update to vdr-satip-1.0.0 (PR:3739, 1 commit, 1 file changed)
    • vdr-addon: empty channels.conf is enough (eab11545)
  2. XBMC:
    • [Confluence] - some code improvements for VideoOSD (PR:6088, 1 commit, 1 file changed)
    • [fixed] DXVA flickering on AMD (PR:6069, 1 commit, 1 file changed)
    • Moved userdata to XDG_DATA_HOME (PR:5895, 4 commits, 3 files changed)
    • Fix bashisms in shell scripts (PR:5903, 1 commit, 1 file changed)
    • dvdplayer: do not wait for buffers when closing subs or teletext in Open... (PR:6087, 1 commit, 1 file changed)
    • [CONFLUENCE] fix spacer image width in VideoOSD (PR:6095, 1 commit, 1 file changed)
    • [pvr] fix switching to the previous channel group (fixes #15661) (PR:6094, 1 commit, 1 file changed)
  3. newclock4:
    • New commits in this build:
      • enable dirty regions for full screen video (cd93dac6)
      • renderer: drop old tempfix firstflippage, did not work anyway because RendererHandlesPresent returned always true (2fe1a4ee)
      • squash me (d586c345)
      • squash me sdf (438b0c9a)
      • next squash (56ee3b96)
      • [PVR] Fix for slow metadata updates of recordings (1b80ec8c)
    • Commits no longer in build:
      • [PVR] Fix for slow metadata updates from metaron (7db79de4)
  4. kernel 3.18.y:
    • New commits in this build:
      • BCM2708: armctrl: add space to allocate irq descriptors (971f7fcd)
      • BCM2708: use pinctrl-bcm2835 (bc89775c)
      • pinctrl: remove bcm2708 driver (efafe265)
      • BCM2708: armctrl: remove irq bank 3 (4532c633)
      • Merge pull request #748 from notro/pinctrl (992fda19)
      • bcm2708-gpio: Revert the use of pinctrl_request_gpio (18b06d2d)



RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - allan87 - 2015-01-03

(2015-01-02, 19:16)popcornmix Wrote:
(2015-01-02, 18:54)allan87 Wrote: OK. I will test 1230. It is intermittent, so testing may not be 100% reliable, but it seems to happen once or twice during a feature length film.

A debug enabled log may be illuminating. I wonder if you getting a spurious button press from somewhere?
Do you have a mouse, or other input devices connected?
If the 1230 test is uneventful, I will update to a current build and run a movie with debug on.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - menakite - 2015-01-03

The PVR metadata commit is interesting.
I'm wondering if CVideoInfoScanner may have any benefit from the same optimization.
It seems that on a source with 39 subdirectories (TV shows) CVideoDatabase::Open is called 120 times*. This equates to ~3 calls per directory just to determine that there's no new content. If it really takes 45 ms (I'm testing on OS X, where it only takes 0 to 5 msecs) that's 5.4 seconds in total - the Pi takes about 8 seconds to scan that source.

@popcornmix do you see any down side (before I risk wasting some hours as CVideoInfoScanner is quite messed up)?

* actual number of calls could be slightly less as I've only tracked calls via CLog::LogF in Open().

Edit: Okay, doesn't look like all these Opens come from CVideoInfoScanner itself - in fact it doesn't continuously open and close the DB.

Side note: I've been testing this for a few days and it seems to behave as expected (re: http://forum.kodi.tv/showthread.php?tid=211501&pid=1867793#pid1867793).


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - thent - 2015-01-03

The BCM2708 commits seem to have broken hifiberry support with build #0102. With #0101 it's working fine here.
Happy new year by the way! And thanks a lot for your outstanding work and support!
Thomas


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - popcornmix - 2015-01-03

(2015-01-03, 00:28)menakite Wrote: The PVR metadata commit is interesting.
Yes, it's worth keeping an eye out for frequent database opens/closes. There may well be other cases similar to the PVR recordings case that could result in a big performance improvement.

(2015-01-03, 00:28)menakite Wrote: Side note: I've been testing this for a few days and it seems to behave as expected (re: http://forum.kodi.tv/showthread.php?tid=211501&pid=1867793#pid1867793).
Thanks. Added to newclock4 for further testing.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - PhilE - 2015-01-03

Thomas, can you tell us which HifiBerry you have, and in what way it is broken? Also, are you running with device tree enabled or disabled? Any dmesg entries or other error messages would be helpful.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) - Milhouse - 2015-01-03

Looks like the base dtbs were updated, will include the latest files in tonight's build which may restore Hifiberry functionality.