Kodi Community Forum

Full Version: OpenELEC Testbuilds for RaspberryPi (Kodi 15.0) Part 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hey there. the hifiberry commit in #0417 works fine and solves the problem with my old yamaha receiver. im very happy. thanks alot!

so what i have to do, that this commit/patch to be integrated in "stable/major" releases?
(2015-04-17, 12:50)popcornmix Wrote: [ -> ]
(2015-04-16, 22:13)fab67 Wrote: [ -> ]For info, I build libvpx and enable it in ffmpeg ( --disable-decoder=vp9 --enable-libvpx ) instead of built-in vp9 decoder, it's a little faster but not enough to play vp9 files at 720p or 1080p. Sad

Does it make use of all cores?
Any view on how much faster it is? E.g. if you play an SD file what is the percentage CPU with default ffmpeg and libvpx?

I made some benchmark with ffmpeg : http://pastebin.com/6rUdkuJ3
with 4 threads libvpx-vp9 should be ~2 times faster (22 fps) than ffmpeg-vp9 (12 fps) (libvpx-vp9 with 1 thread -> 10fps )

And for 720p : libvpx-vp9 : 37 fps and ffmpeg-vp9 : 17 fps

But I think the problem is that the players in kodi doesn't enable/use 4 threads with libvpx-vp9 because 720p doesn't play smooth.
Hello - here i am with my Audio DTS 5.1 CD Problem.

On builds between #402 - #404 this feature works on Easter - after setup #417 ther's only pink noise.

I Have switch back, but im not able to check this problem - no build works now :-(

DVD sound works all dts (Hardware is ok)
....hmmm, any idea?
Quick question, might not be the right place to ask. I bought a Raspberry PI2, you guys convinced me with this experimental build, due to the amazing support you added for 3D movies and video lossless audio support. I also bought an external USB DAC (iFi Micro iDSD) which doesn't require any drivers and it's being recognized properly . I experienced some cracking sounds while playing FLAC files, but it might have been related to the fact that it was building the audio library from a NAS, will do some more testing.

However , my question is this : what would be the best approach to output the audio from music using the USB DAC and the movies using HDMI ? Going to settings every time and changing from HDMI to USB audio is a bit inconvenient. Maybe dual boot a different openelec instance ?
Hi ktfzone,
on my first Pi2 is an Hifiberry2 DAC+ for exelent analog sound.
...think here is also suport for this: https://www.hifiberry.com/digiplus/
(2015-04-18, 11:39)ktfzone Wrote: [ -> ]However , my question is this : what would be the best approach to output the audio from music using the USB DAC and the movies using HDMI ? Going to settings every time and changing from HDMI to USB audio is a bit inconvenient. Maybe dual boot a different openelec instance ?

While it's not officially supported, if you set audio output device to USB, and enable "omxplayer" and disable "MMAL" in video acceleration settings, then
playing music uses paplayer, which will use the ALSA device. Video will be forced to use omxplayer which doesn't support ALSA, and so falls back to HDMI.
(2015-04-18, 11:39)ktfzone Wrote: [ -> ]Quick question, might not be the right place to ask.

Correct, please start another thread.

Edit: Although hopefully @popcornmix's reply is definitive.
Hi first may i thank you for all your hard work.
I also am struggling with 5.1 sound to av reciever through spdif/optical reciever supports dts re-encode pcm multi channel and pcm build416 worked but would lose sound and slow video and would have to rebuild cache to continue
and build 417 gives a rapid clicking sound as i have had with previous builds.
Could you provide the link for reporting log files back please..
Any suggestions on settings etc welcomed
(2015-04-17, 16:52)popcornmix Wrote: [ -> ]
(2015-04-17, 16:49)Uukrul Wrote: [ -> ]I use the rp1 with LiveTV and HD channels (1080i 50) and the channels mini OSD ('c' key) is painfully slow. It doesn't matter if I change the GUI updates limit to 10, 25 or unlimited.

Can you be clear if this has always been the behaviour, or if this is a regression in a recent build? If it's a regression can you indicate which build?

I couldn't say because last time I used the pi1 was more than a year ago and didn't like it because the lack of a hardware deinterlacer. Now the playback is perfect so I'll try an older version to see if the gui is that slow and report back.
(2015-04-18, 12:15)popcornmix Wrote: [ -> ]While it's not officially supported, if you set audio output device to USB, and enable "omxplayer" and disable "MMAL" in video acceleration settings, then
playing music uses paplayer, which will use the ALSA device. Video will be forced to use omxplayer which doesn't support ALSA, and so falls back to HDMI.

Thank you popcornmix, it worked great !
(2015-04-17, 21:11)popcornmix Wrote: [ -> ]
(2015-04-17, 21:03)doldi Wrote: [ -> ]i am switching now backwards in the builds, because in the time about easter i can play my Audio 5.1 DTS CDs over HDMI convert to opto/spdif (do you remember?)
...well, since that time (i think #402) all new builds would not support this.

If you can identify the build that stopped it working, I can probably fix it.

Hi popcornmix, sorry for my familiarity ;-)

i have indetified the last passable (not perfect) working build with 5.1 DTS-Audio CDs (wave-44.1khz):

#322

Have testet from 310 to #315 with SD Card exitus to #322(ok)
All builds after them (#323 to 417) don't work - alll builds testet :-)
..."no playlist, no sound or pink noise"...

I noticed also that on boot with builds above #4xx the screen starts not on 1080P ( unpack tar-file, Kodi animation) - switch primal on Isengard logo.
Splash Screen is not full 16:9
After Reboot the same.

#322 starts from boot on in the correct resolution 1080p and Format.


Thank You for your Software-Support - it's a hard job ;-)

Harald
(2015-04-18, 19:03)doldi Wrote: [ -> ]i have indetified the last passable (not perfect) working build with 5.1 DTS-Audio CDs (wave-44.1khz):

The most likely commit in that update is PR6782.
I'd rather not revert it for everyone as that may have unwanted effects, but I've hacked an advancedsetting to effictively revert it.
In next build add this advancedsetting:
Code:
<audio>
  <maxplladjust>1</maxplladjust>
</audio>

and report it if helps.
nice touch, popcornmix

We will see :-)
...will copy and paste your code.
->nano advancedsettings.xml

<audio>
<maxplladjust>1</maxplladjust>
</audio>

->STRG+o
->STRG+x

Well now, #417 work - and the dayligth is my best friend
THX
New OpenELEC Isengard build #0418: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.0.0 #1 Sat Apr 18 22:02:03 BST 2015 armv6l GNU/Linux

# vcgencmd version
Apr 11 2015 17:37:07
Copyright (c) 2012 Broadcom
version 311b05fb4e33655a083a6f65b645e6a14e322803 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20150418220107-#0418-g252b7b7 [Build #0418]

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

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (252b7b77, changelog) and tip of XBMC master (6e5a655c, changelog) with the following modifications: Build Highlights:
  1. Update wlan-firmware, add support for mt7601u wireless devices
  2. Addon browser updates
  3. Re-scrape season art for newly added seasons (yay, thanks @mkortstiege!)
  4. mmal/deinterlace updates in newclock4
  5. Theshhold adjustment hack for @doldi
Build Details:
  1. OpenELEC:
    • New Package - mt7601u (PR:4092, 2 commits, 5 files changed)
    • kodi: rebase and rename OE specific patches (5e4673b9)
    • nano: update to nano-2.4.1 (c6d046c2)
    • libevdev: update to libevdev-1.4.1 (f8ccd02a)
    • libnl: update to libnl-3.2.26 (32fcc756)
    • wlan-firmware: update to wlan-firmware-0.0.28 (252b7b77)
  2. XBMC:
    • settings: fix position of musiclibrary.showallitems setting (PR:6968, 1 commit, 1 file changed)
    • [videodatabase] fix 'replace file names with library titles' not working... (PR:6969, 1 commit, 1 file changed)
    • CHG: [droid] let the system handle volume (PR:6889, 2 commits, 13 files changed)
    • addonbrowser: add LastUpdated window property (PR:6964, 1 commit, 2 files changed)
    • UI sounds addons (PR:6557, 7 commits, 32 files changed)
    • [addons] adjustments and fixes to new manager layout (PR:6836, 11 commits, 7 files changed)
    • Prevent mistimed subtitles when using <latency> advanced setting (PR:6976, 1 commit, 1 file changed)
    • [video] no need to re-fetch (and stack) directory in case we already kno... (PR:6975, 1 commit, 1 file changed)
    • [video] re-scrape season art for newly added seasons (PR:6902, 3 commits, 6 files changed)
    • [Confluence] last updated label (fea3e6c0)
  3. dcadec:
    • Check alignment of frame conversion buffers. (a6024bfb)
    • Update frame API documentation. (a6ddf472)
    • Fix parsing little-endian core plus EXSS streams. (b86520e5)
    • Factor out some code into separate function. (15ae8ea2)
    • Use band names instead of magic constants. (47ef1e93)
    • Factor out EXSS info retrieval into separate functions. (b6c07365)
    • Clip after reducing core bit width to source res. (18038c35)
  4. newclock4:
    • New commits in this build:
      • [mmalcodec] Avoid double rate deinterlace when not fullscreen or with OSD (96e585e0)
      • [mmal] Enable zero copy (8e08a311)
      • [mmalcodec] flags debug (32a93cb0)
      • [mmal] Move the image pool from decoder to renderer (4ca5e8ae)
      • [mmalrenderer] Separate mmal and renderer configured flags (730f7984)
      • [mmal] Separate the buffers from the decoder so decoder can be destroyed first (1e4ae4c0)
      • [mmalcodec] Remove DVDVideoCodecMMAL wrapper (a11df547)
      • [mmalcodec] Add shared lock around MMAL operations (008a685b)
      • [mmalrenderer] Add shared lock around MMAL operations (89c8ddb0)
      • [mmalrenderer] Revert "Avoid double rate deinterlace when not fullscreen or with OSD" (29d380c6)
      • hack: Revert dvdplayer: adjust threshold of audio errors to frame duration (25fdc435)
  5. kernel 4.0.y:
    • New commits in this build:
      • vcsm: Use boolean as it cannot be built as module (0e189c13)
      • Merge pull request #935 from pranith/rpi-4.0.y (86662dfe)
      • bcm2708-dmaengine: Add debug options (622cc723)
      • bcm2835-mmc: Add option to disable MMC_QUIRK_BLK_NO_CMD23 (d34769dd)
      • fixup! Add 2709 platform for Raspberry Pi 2 (8a38de5a)
Updated from 0417 to 0418, now liveTV and recorded mpeg2 from MythtTV don't play, I just get audio and it seems to stay on the selection screen. Log at http://sprunge.us/Vjed

Reverted back to 0417 and everything works.