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.
(2015-05-29, 16:02)MONSTA Wrote: [ -> ]I found another problem, now with h.264(1080) in avi container. I know it's a crazy combination, but anyway Big Grin
The video does not cause any problem in Kodi under windows.

More details needed. How does it fail? Debug log? Sample file?
Is this a regression? i.e. does it work with an earlier build and if so when did it stop working?
#528 fixes the 3D-black-screen, but 3D MVC stutters heavy. I get a lot of frame-skips. I have setup an advancedsettings.xml with cachmembuffersize but it stutters in the same way, so it seems nothing to do with caching. Reverting to #521 cures that
(2015-05-29, 16:25)MONSTA Wrote: [ -> ]Sample https://drive.google.com/file/d/0B9_XmyO...sp=sharing
OE 5.95 does not plays also

Neither vlc nor mplayer will play the file. You get these errors:
Code:
[h264 @ 0x7f1788c16880] number of reference frames (0+4) exceeds max (2; probably corrupt input), discarding one
[h264 @ 0x7f1788c16880] AVC: nal size -1619490609
[h264 @ 0x7f1788c16880] error while decoding MB 0 0, bytestream (-3)
[h264 @ 0x7f1788c16880] AVC: nal size -1619490609
[h264 @ 0x7f1788c16880] concealing 8160 DC, 8160 AC, 8160 MV errors
[h264 @ 0x7f1788c16ca0] AVC: nal size -1619359537
[h264 @ 0x7f1788c16ca0] error while decoding MB 0 0, bytestream (-3)
[h264 @ 0x7f1788c16ca0] AVC: nal size -1619359537
[h264 @ 0x7f1788c16ca0] concealing 8160 DC, 8160 AC, 8160 MV errors

True, I can play it with Kodi on linux, but I think the file is invalid.
(2015-05-29, 20:25)popcornmix Wrote: [ -> ]but I think the file is invalid.

This file playing Kodi (lost beta, Win10), on old ati hd3200, plays WMP (whole movie, not this piece). Plays even built-in player in the budget TV Thomson. No any problem. Yes, the file is not ideal, but i've got a problem only with RPi.
Starting with 0527 hyperion/lightberry is not working anymore. A downgrade to 0526 fixes the issue. Is there some new config setting?
New OpenELEC Isengard build #0529: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.0.4 #1 Fri May 29 21:02:34 BST 2015 armv6l GNU/Linux

# vcgencmd version
May 23 2015 16:42:55
Copyright (c) 2012 Broadcom
version 29d1114a122b6ef70bdfb7d4db3dd28bdfc38ac2 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20150529210145-#0529-g51a8df1 [Build #0529]

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

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (51a8df12, changelog) and tip of XBMC master (c34fc221, changelog) with the following modifications: Build Highlights:
  1. Fix for subtitle font corruption (seen here)
Build Details:
  1. XBMC:
    • UPnP: fix playcount and watched state of tvshows and seasons (PR:7191, 2 commits, 1 file changed)
  2. dcadec:
    • Refactor EXSS and XLL frame size checks. (4ea14115)
    • Make band assembly loop more readable. (c6880250)
    • Double initial stream parser buffer size. (f4c4a751)
    • Parse WAV container headers for DTS in WAV. (6c491104)
  3. newclock4:
    • New commits in this build:
      • Revert "ADD: [demux] support ssif" (f8236008)
      • Revert "[ffmpeg] Add MVC support from Koying" (01e3ce46)
    • Commits no longer in build:
      • Fix return value handling logic for CEC_TV_PRESENT_CHECK_TIMEOUT dialog. (5931595b)
  4. Additional commits/pull requests/changes not yet merged upstream:
    • Added: PR:7201: Fix for font corruption
    • Added: PR:7202: fix trac 15995: Unsoliticed demuxer seek at the beginning of video playback
(2015-05-29, 22:54)gandharva Wrote: [ -> ]Starting with 0527 hyperion/lightberry is not working anymore. A downgrade to 0526 fixes the issue. Is there some new config setting?
If you hooked up your LED strip via SPI then that could be due to the switch to spi-bcm2835 in the kernel/devicetree. Could you check if adding dtoverlay=spi-bcm2708 to config.txt helps?

@Milhouse: haven't checked your latest builds yet but you might need to enable CONFIG_SPI_BCM2835 in the kernel config.

so long,

Hias
Build #529 - RPi2, 3D Television

SSIF files no longer show up in file views. (More than likely this was part of the revert)

Three display options show up in videos:
- DESKTOP
- 1080p Side-By-Side
- 1080p Top-And-Bottom

Choosing Desktop or Side-By-Side:
1. 3D MVC MKV files play just fine, but in 2D
2. 3D SBS/TAB videos play in 2D regardless of what "3D Mode" I set during playback from the 3D menu in the playback GUI

Choosing TAB:
1. TV switches to 3D mode
2. 3D MVC MKV files don't play; They pause upon starting and show nothing but black. Nothing shows unless I call up a GUI element
3. 3D SBS/TAB videos play just fine in 3D
(2015-05-30, 01:24)HiassofT Wrote: [ -> ]@Milhouse: haven't checked your latest builds yet but you might need to enable CONFIG_SPI_BCM2835 in the kernel config.

It's not enabled, but I'll add it in the next test build and we can see if it makes any difference (in which case, this would need to go upstream with an OpenELEC Pull Request etc.) - if there's no difference I'll drop it again (to avoid an unnecessary difference against upstream).

Tip: If anyone needs to check the config.gz in OpenELEC:
Code:
modprobe configs
zcat /proc/config.gz
(2015-05-30, 01:24)HiassofT Wrote: [ -> ]
(2015-05-29, 22:54)gandharva Wrote: [ -> ]Starting with 0527 hyperion/lightberry is not working anymore. A downgrade to 0526 fixes the issue. Is there some new config setting?
If you hooked up your LED strip via SPI then that could be due to the switch to spi-bcm2835 in the kernel/devicetree. Could you check if adding dtoverlay=spi-bcm2708 to config.txt helps?
This did the trick. Thank you!
@gandharva/@HiassofT: I've uploaded test builds with the addition of CONFIG_SPI_BCM2835=y, can you test and confirm if there is any difference (you may need to temporarily undo any spi-bcm2708 change, although Hiassoft may be able to advise as I'm not really familiar with the Hyperio/Lightberry):

#0529b RPi / RPi2
(2015-05-29, 19:40)querty1000 Wrote: [ -> ]#528 fixes the 3D-black-screen, but 3D MVC stutters heavy. I get a lot of frame-skips. I have setup an advancedsettings.xml with cachmembuffersize but it stutters in the same way, so it seems nothing to do with caching. Reverting to #521 cures that

#529 fixes the 3D issue for me.
(2015-05-30, 12:33)Milhouse Wrote: [ -> ]@gandharva/@HiassofT: I've uploaded test builds with the addition of CONFIG_SPI_BCM2835=y, can you test and confirm if there is any difference (you may need to temporarily undo any spi-bcm2708 change, although Hiassoft may be able to advise as I'm not really familiar with the Hyperio/Lightberry):

#0529b RPi / RPi2
CONFIG_SPI_BCM2835=y works. This build restores the old behaviour.

Setting
Code:
dtparam=spi=on
in config.txt now is (again) enough to get hyperion/lightberry working.
(2015-05-30, 12:33)Milhouse Wrote: [ -> ]@gandharva/@HiassofT: I've uploaded test builds with the addition of CONFIG_SPI_BCM2835=y, can you test and confirm if there is any difference (you may need to temporarily undo any spi-bcm2708 change, although Hiassoft may be able to advise as I'm not really familiar with the Hyperio/Lightberry):
I don't have any ambilight hooked up to SPI but can also confirm that with this build the SPI driver loads fine (dtparam=spi=on) and by adding dtoverlay=spi-bcm2708 the old driver gets used.

In my wolfson/cirrus builds (which need SPI to control the card) I currently have both SPI drivers enabled as modules - like in bcmrpi_defconfig - but compiling them into the kernel seems to work fine, too.

My understanding is that the old spi-bcm2708 should eventually go away (and CONFIG_SPI_BCM2708 can be disabled) but I think it's best to have both available for now in case something doesn't work fine with spi-bcm2835.

so long,

Hias