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



AW: RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Heiko123 - 2015-05-05

(2015-05-05, 18:32)Milhouse Wrote:
(2015-05-05, 14:58)PhilE Wrote: @Heiko123 amd @rbej both reported instability with the new driver, which is why I was hoping for more information.

Yes, you're right I'd forgotten those reports. Smile

Although looking at them again, with @rbej it's really not clear what is causing the freezes (lack of information), and after reviewing @Heiko123's logs it seems to be more network related (MySQL errors, smb errors) - there was a request to check dmesg, but no further feedback on that issue. There's a crashlog, but too little information to know the cause - if @Heiko123 continues to experience crashes I can upload a debug enabled build. Although if reverting back to non-sdhost fixes all of these issues then I guess it's fair to say it's SD driver related.

Sorry for my absence, but after the next version, all is fine.
So I thought my problem is solved.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - doug - 2015-05-06

Some positive feedback for #0504. I've had success with:
-1080p mkv @ 23.97 (h.264 + 5.1 DTS-MA/7.1 DTS-MA, TrueHD, DTS)
-DVD rips to mkv
-various rips of my DVDs to MP4
-1080i mpeg2 ATSC live tv using tvheadend
-720p mpeg2 ATSC live tv using tvheadend
-Pictures from various cameras (Nikon, Canon, Fuji, Olympus, mobile phones)
-Music in VBR MP3 and lossless flac

All my content is playing nicely.

Kudos to all contributing to the Pi, Kodi and the various other places Kodi draws from!


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Milhouse - 2015-05-06

New OpenELEC Isengard build #0505: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.0.1 #1 Wed May 6 02:36:56 BST 2015 armv6l GNU/Linux

# vcgencmd version
May  1 2015 18:56:06
Copyright (c) 2012 Broadcom
version f5f5ba5f2423c3dff6ccd4ca4b832264cd33f12a (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20150506023602-#0505-g1092c6e [Build #0505]

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

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (1092c6e5, changelog) and tip of XBMC master (b374e399, changelog) with the following modifications: Build Highlights:
  1. Move to libCEC 3.0.0 - drop libCEC 2.x button repeat commits from newclock4 (these may return in future if they still make sense)
  2. Update all PVR addons to use new kodi-platform (054a42f) and platform (v1.0.5) packages
  3. Fix for cachemembuffersize when using multiple profiles (see link)
Build Details:
  1. OpenELEC:
    • New Project - Nvidia-Legacy (PR:4075, 4 commits, 7 files changed)
    • Update Package - xf86-video-nvidia 346.59 (PR:3969, 1 commit, 3 files changed)
    • [libinput] update to 0.15.0 (PR:4127, 1 commit, 1 file changed)
    • projects/Nvidia-Legacy: strip unneded GPU drivers from config and kernel... (PR:4128, 1 commit, 2 files changed)
    • linux: TechnoTrend S2-4600 patch improvements (PR:4129, 1 commit, 1 file changed)
    • linux: add patch to support Hauppauge HVR-955Q ATSC USB receiver (PR:4130, 2 commits, 5 files changed)
    • Replace b43 with bcm_sta (PR:4078, 3 commits, 21 files changed)
    • config/addon: add dummy template (a64fa138)
    • new addon: script.config.vdr (21ade480)
    • script.config.vdr: forgot to remove toolchain from build deps (5b0ca543)
    • projects/Nvidia-Legacy: rename to 'Nvidia_Legacy' to follow our name scheme for projects (no dashes within the project name) (1092c6e5)
  2. XBMC:
    • [cmake] - only evaluate the sudo check on linux. On darwin with cmake 2.... (PR:7057, 1 commit, 1 file changed)
    • FIX: [gles;font] do not clip rotated text (PR:7052, 1 commit, 2 files changed)
    • [messenger] fix wrong parameter usage for TMSG_GUI_WINDOW_CLOSE (PR:7068, 1 commit, 1 file changed)
    • [addons] fix launch addon from within CGUIDialogAddonInfo (PR:7067, 1 commit, 1 file changed)
    • [Confluence] fix misaligned date label (e8f32954)
    • Revert "[davfile] use PROPFIND for Stat() and Exists()". Proper fix will follow later. (b374e399)
  3. libcec:
    • libCEC 2.3 (PR:65, 72 commits, 213 files changed)
    • Add the Google CEC Vendor ID (PR:73, 4 commits, 3 files changed)
    • atoi() is declared in stdlib.h (PR:79, 1 commit, 1 file changed)
    • better formatting of the scan command in CecSharpClient (db098de0)
    • reconnect to the adapter after resuming from standby (7c8b9fe5)
    • check if the port or device actually changed in CCECClient::SetHDMIPort() (d9a41315)
    • send key presses to the active window when none of the predefined (wmc/kodi) ones are active (7c8d21eb)
    • added runtime libCEC loading for C. updated the C interface to include new features and no longer use a global library instance (b8bca7bc)
    • fixed: potential buffer overflow (11e943bd)
    • added cecc-client (testclient for the C api) (fe219b7d)
    • added cecc-client (testclient for the C api) (926b7d16)
    • fixed setting the physical address at startup when using default settings (be0ede50)
    • implement 'scan' and 'as' commands in cecc-client for testing purposes (1d2a3f7e)
    • don't include CheckCXXCompilerFlag in a C project (cbef1c56)
    • added swig wrapper, currently building a python wrapper, but swig will allow us to generate wrappers for a number of languages (6ec3a50a)
    • fixed clean compilation (bec97d5f)
    • fixed: windows compiler doesn't like enum values with a value defined in a macro (704d8c60)
    • export the C++ API instead of the C one to python (eb386ee1)
    • accidentally remove the typemap for callbacks (70da49b9)
    • got rid of the global used for python callbacks. added some more test code for python. fixed uint64_t <-> python mapping (f0cb7cfd)
    • fixed: crash when callbacks are called. don't call callbacks directly in libCEC, but queue them and process from a worker thread. clean up code (41abbff8)
    • wrap creating and deleting callbacks in the ctor and dtors (82cb9a07)
    • fix python adapter detection. removed unneeded bits from the python api (0d187f04)
    • fixed: python does a #define PLATFORM, which causes a collision with our PLATFORM namespace. don't try to link libCEC symbols twice. fixes windows compilation (312b27ce)
    • fixed: all python API calls need to be within the GIL, not just the callback (2aff3a4b)
    • fix missing ToString() methods in the python api (c40b5fdd)
    • missing copyright in pyCecClient.py (48a08959)
    • fixed GetDeviceOSDName() in the python API (057daac8)
    • added CommandFromString() to the API, to simplify creating commands (850f8b90)
    • prevent trying to send empty commands (889a52d1)
    • add pyCecClient to the debian package (7ce680e6)
    • add xrandr to build depends (5cae8c18)
    • added parameter to visual-studio.cmd to create release mode project files (c16521b4)
    • added: initial eventghost plugin (a9010fd1)
    • added eventghost plugin to the installer (8583eb33)
    • added: PrintVersion() and use this in LibCecSharp's VersionToString(). fixes crash in CecTray because the string somehow goes out of scope, even though it's a copy (ede93d00)
    • updated installer to include the EventGhost plugin and Visual C++ 2013 redistributable (4dc4d10b)
    • fixed: typo (4f71842d)
    • fix EventGhost plugin installation and removal (da78b375)
    • added demo configuration for EventGhost. fix uninstall of the software (4858fec1)
    • updated copyright year (4b13454f)
    • updated README and convert to Github markdown (3c518946)
    • fixed new vcredist check and README.md installation (22ae6245)
    • fixed: only install the eventghost plugin when EventGhost is found (59f01052)
    • fixed key combinations with the windows key (d16b98c6)
    • added libplatform dependency to the README.md file and debian/control (a9c3ab7e)
    • bump to 3.0.0 because of the breaking API changes. dropped Debian Hardy control file (717305bf)
    • fixed: moved some last hardcoded version numbers out of cectypes.h (0e61692c)
    • fixed: debian cec-client installation (48eee784)
    • fix python check when the version number couldn't be found. defaulting to 2.7 (7de715ff)
    • updated debian/control to include the new deps and build with gcc-4.8 (86cd77f1)
    • fix rt linkage (c25c0cf8)
    • fixed dl linkage (af8122ec)
    • add libncurses5-dev dep (7584aec4)
    • add missing cmake to debian/control (c93f0513)
    • fix up debian/control to conflict with libcec2 (4319ba1b)
    • only use gcc-4.8 overrides for precise (1e08e483)
    • added cmake command line option to skip generating the python wrapper (de05384d)
    • add missing stdlib include (1fac6cc8)
    • fixed: rpi compilation (810b4533)
    • fix linkage on OS X. thanks @Memphiz (7e3c9871)
    • fixed: use the proper cmake command for -fPIC (e39ec0fc)
  4. pvr.argustv:
    • Switch to libplatform (PR:8, 1 commit, 20 files changed)
  5. pvr.demo:
    • Switch to libplatform (PR:6, 1 commit, 5 files changed)
  6. pvr.dvblink:
    • Switch to libplatform (PR:9, 1 commit, 8 files changed)
  7. pvr.dvbviewer:
    • Switch to libplatform (PR:4, 1 commit, 12 files changed)
  8. pvr.filmon:
    • Switch to libplatform (PR:8, 1 commit, 7 files changed)
  9. pvr.hts:
    • Fix addon requiring restart no matter what settings are changed (PR:21, 2 commits, 2 files changed)
    • add support for reapeating timers, aka time schedules (PR:22, 1 commit, 3 files changed)
    • updated to use libplatform (PR:24, 1 commit, 12 files changed)
    • Improve the file management in generated solutions (PR:25, 2 commits, 1 file changed)
    • Add support for epg subtitle (episode name). (PR:26, 2 commits, 4 files changed)
  10. pvr.iptvsimple:
    • Switch to libplatform (PR:14, 1 commit, 7 files changed)
  11. pvr.mediaportal.tvserver:
    • Switch to libplatform (PR:5, 1 commit, 19 files changed)
  12. pvr.mythtv:
    • Switch to libplatform (PR:7, 1 commit, 12 files changed)
  13. pvr.nextpvr:
    • Switch to libplatform (PR:6, 1 commit, 12 files changed)
  14. pvr.njoy:
    • Switch to libplatform (PR:4, 1 commit, 6 files changed)
  15. pvr.pctv:
    • Switch to libplatform (PR:8, 1 commit, 7 files changed)
  16. pvr.stalker:
    • Switch to libplatform (PR:4, 1 commit, 8 files changed)
  17. pvr.vbox:
    • Switch to libplatform (PR:39, 1 commit, 6 files changed)
  18. pvr.vdr.vnsi:
    • adapt to move of platform sources (PR:6, 2 commits, 8 files changed)
  19. pvr.vuplus:
    • Switch to libplatform (PR:4, 1 commit, 5 files changed)
  20. pvr.wmc:
    • Switch to libplatform (PR:5, 1 commit, 10 files changed)
  21. newclock4:
    • New commits in this build:
      • add libplatform to kodi-platform depends (285d3332)
      • Revert "[cec] Temp - more logging" (90e2a644)
      • Revert "[cec] Don't discard buttons when repeat mode is enabled" (0fc1c68f)
      • Revert "[cec] Add settings for configuring button repeats" (b5ca9aaa)
      • renderer: Allow an opaque pointer to be passed from renderer to codec (440534c7)
      • [screensavers] Add new gles screensavers (6e783f22)
      • omxplayer: testing give preference to dts timestamp (37384746)
      • fixup! [players] Add settings option to enable MVC support (b7429503)
      • [RBP] Fix for cachemembuffersize initialisation and multiple profiles (ca4be501)
      • build: Allow installed links to be overwritten (044ef39f)
      • [mmalrenderer] Remove release thread - shouldn't be required (ac55fd07)
      • [screensaver] Leave GUI contents available for screensaver (f2fb657d)
    • Commits no longer in build:
      • [libcec] Add repeating keypress patch from popcornmix' repo (f8e1110e)
      • experiment: how to add a new screensaver (7d394ff0)
      • experimental: Add new warp screensaver (7f939f70)
      • squash: MMAL: Fix a deadlock provoked by dvd menus (22794dc8)
      • fixup: leave lock (94910035)
      • squash: warp: less wild zooming (c3b00142)
      • squash: Make screensavers use a generic framework. Add a couple more (38380759)
      • fixup! squash: Make screensavers use a generic framework. Add a couple more (e832d3f2)
      • dvdplayer: use time of frame on screen for displayed time (d49dfa61)
      • dvdplayer: make sure not to display frames with pts > pts at screen when rw (ed3a3292)
      • dvdplayer: make sure not to block more than 50ms in renderer when ff/rw (52af5611)
  22. kernel 4.0.y:
    • New commits in this build:
      • bcm2835-mmc/sdhost: of_dma_request_slave_channel isn't exported... (503ce7c5)
      • squash: bcm2709: Allow to build without SMP (a80e690c)
      • squash: entry_macro: Allow to build without SMP (12149d45)
      • squash: dwc_otg: Allow to build without SMP (ef265947)
      • squash: bcm2709: Fix build with SYSTEM_TIMER defined (121d87c8)
      • dmaengine: increment privatecnt when using dma_get_any_slave_channel (cb9d41ec)
      • 8192cu: CONFIG_AP_MODE hardcoded in autoconf.h (cb97407b)
      • Revert "bcm2835-mmc: Add locks when accessing sdhost registers" (a7865cec)
      • Revert "bcm2835-mmc: warn on accesses without spinlock" (73f24007)
      • Revert "bcm2835-mmc: Add option to disable delays on some writeb calls" (95ae72d6)
      • Revert "bcm2835-mmc: Add option to disable some delays" (a52246c7)
      • Revert "bcm2835-mmc: Default to disabling MMC_QUIRK_BLK_NO_CMD23" (3fefacdc)
      • Revert "bcm2835-mmc: Add option to disable MMC_QUIRK_BLK_NO_CMD23" (4c0553ea)
      • Revert "bcm2835-mmc: Add range of debug options for slowing things down" (b8a19a3a)
  23. Additional commits/pull requests/changes not yet merged upstream:
    • Added: master...stefansaraev:0ead3dff: Add platform package, libCEC 3.0.0 support
    • Added: PR:7061: addons: pvr and audiodecoder are optional addons, disable by default
    • Added: PR:7065: [pvr] Bump pvr.hts to version 2.1.8
    • Added: PR:7072: [pvr] bumps addons to use libplatform



RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - slack3r - 2015-05-06

(2015-05-06, 04:26)Milhouse Wrote: drop libCEC 2.x button repeat commits from newclock4 (these may return in future if they still make sense)

Why?


Re: RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Milhouse - 2015-05-06

(2015-05-06, 07:49)slack3r Wrote: Why?

The old libCEC code doesn't exist any more, meaning the current patches can't be used and it's going to take @popcornmix a little while to work out how to reimplement the feature (assuming it's still required at all in 3.0.0 - maybe the problem is already fixed?)

Given the size of the change, testing the basics of libCEC 3.0.0 is considered more important than delaying for a single feature which may or may not be needed now.

If better button repeat is still needed in 3.0.0, then let us know.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - slack3r - 2015-05-06

(2015-05-06, 08:00)Milhouse Wrote:
(2015-05-06, 07:49)slack3r Wrote: Why?

The old libCEC code doesn't exist any more, meaning the current patches can't be used and it's going to take @popcornmix a little while to work out how to reimplement the feature (assuming it's still required at all in 3.0.0 - maybe the problem is already fixed?)

Given the size of the change, testing the basics of libCEC 3.0.0 is considered more important than delaying for a single feature which may or may not be needed now.

Ok, thanks for the explanation.

Quote:If better button repeat is still needed in 3.0.0, then let us know.

Yes it's still needed, otherwise browsing results too slow.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Caramba69 - 2015-05-06

Sorry to ask again. But I haven't got an answer. Can we still expect 3D Iso support?


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - FabianE - 2015-05-06

As of #0505 my Pi2 is completely borked...

Whenever I try to enable the VU+/Enigma2 PVR add-on, KODI gets into a continuous loop.
I had to re-image my sd-card.

I tried the following path:
Freshly installed OpenElec 5.0.8
Milhouse #0505 update
enable VU+ addon
*BOING*

Freshly installed OpenElec 5.0.8
Milhouse #0504 (working)
enable VU+ addon (working)
Milhouse #0505 update
enable VU+ addon
*BOING*

Also, the repeated keypress will be missed. Browsing became slow again, it felt like the original OE 5.0.8
Finally, I think the new SD card driver has some hickups. The system just randomly stalls for about 10 seconds and then continues...
I did not notice this behaviour using the old driver.

#0504 is nearly perfect for me, using the old driver and a slight overclock. I'll stick to this version for a while.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Milhouse - 2015-05-06

(2015-05-06, 11:34)FabianE Wrote: As of #0505 my Pi2 is completely borked...

Whenever I try to enable the VU+/Enigma2 PVR add-on, KODI gets into a continuous loop.
I had to re-image my sd-card.

If Kodi is stuck in a restart loop, ssh in and execute "systemctl stop kodi" then downgrade by copying a working tar file into the Update (Windows)/.update (ssh) folder. There's absolutely no need to re-image anything when it's just kodi.bin restarting.

(2015-05-06, 11:34)FabianE Wrote: I tried the following path:
Freshly installed OpenElec 5.0.8
Milhouse #0505 update
enable VU+ addon
*BOING*

Please upload your crashlog from when #0505 went "*BOING*".

(2015-05-06, 11:34)FabianE Wrote: Finally, I think the new SD card driver has some hickups. The system just randomly stalls for about 10 seconds and then continues...
I did not notice this behaviour using the old driver.

Can you test again with dtoverlay=sdhost (ideally #0505, but if that's not possible then #0504), and once you have experienced at least one of these 10 second stalls upload your dmesg ("dmesg | pastebinit") and paste the link.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - FabianE - 2015-05-06

Thanks, I didn't know i could kill the process...Would have saved me a lot of configuring again :-)
I'll try to find another SD card and reproduce the crashlog.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - startv - 2015-05-06

I have the same issues

#0505, Pi2

Whenever I try to enable the DVBViewer PVR add-on, KODI gets into a continuous loop.

The good news : OMXplayer playback MPEG2(1080i) be smooth again(as #0411)


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Milhouse - 2015-05-06

Can't do anything without a crash log.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - charlieroot - 2015-05-06

@anyone:

Playing around with a RPi-B rev.1 (256 MB) running #505 (/storage is on USB stick) I noticed that:
- the swapfile in .cache is not created/used (disabled it completely eventually)
- the noram option in cmdline.txt is ignored? Same amount of free RAM (around the 80 MB mark) althought the new SD driver shaves of a couple of MB's. gpu_mem=112 and cachemembuffers are set to 0.

Boot time is around 18 secs which is pretty decend for a 256 MB Pi, considering I'm using an old "crap" 256 MB SD card to boot. Had hoped that the noram option would give me a bit more RAM so I could bump up the gpu_mem setting or have a bit more MB's to spent on Kodi. But maybe I just misunderstood the noram option......

Overall pretty impressed with Isengard.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Milhouse - 2015-05-06

"noram" is always the case now, as loading SYSTEM into RAM is no longer supported - the benefit is negligible but wastes over 100MB RAM (not that loading into RAM ever worked on a 256MB Pi).

For swap, try ruunning configrpi256.sh to enable swap and increase swappiness.

cachemembuffers sounds like an old/deprecated setting. Try not to include settings in advancedsettings.xml unless you are sure you need them - trust the defaults, as old settings are likely to make performance worse than better.


RE: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2 - Gregoire - 2015-05-06

As a plus; pvr iptv simple works like it's a real tv. Switching is smooth and fast. No trouble with kodi rebooting.