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-04-15, 21:44)popcornmix Wrote: [ -> ]
(2015-04-15, 21:03)Patrics83 Wrote: [ -> ]I gave #0414 a try but the problem persist... If you need more details just let me know.

From the build you idenified, this is most likely:
[mmalcodec] Remove the decoder queue and use gpu timestamps

I've just tried a DVD ISO (Grand Budapest Hotel) and it's playing smoothly.
Could you provide a sample file? E.g. create a few minute long sample using a DVD ISO editing tool.

Ok, thanks I will try to produce a sample tomorrow.
Running 0414, also seeing this in dmesg:

[ 273.707978] WARNING: CPU: 3 PID: 584 at drivers/misc/vc04_services/interface/vchiq_arm/vchiq_arm.c:2481 vchiq_release_internal+0xb4/0x24c()
[ 273.707990] Modules linked in: ir_lirc_codec ir_xmp_decoder lirc_dev ir_mce_kbd_decoder ir_sanyo_decoder ir_jvc_decoder ir_sharp_decoder ir_sony_decoder ir_rc5_decoder ir_rc6_decoder ir_nec_decoder rc_rc6_mce mceusb rc_core bcm2708_rng
[ 273.708080] CPU: 3 PID: 584 Comm: HTV Notify Not tainted 4.0.0 #1
[ 273.708090] Hardware name: BCM2709
[ 273.708099] Backtrace:
[ 273.708133] [<80011984>] (dump_backtrace) from [<80011ba4>] (show_stack+0x18/0x1c)
[ 273.708145] r6:803065f4 r5:80893594 r4:00000000 r3:00000000
[ 273.708184] [<80011b8c>] (show_stack) from [<804ef068>] (dump_stack+0x90/0xa0)
[ 273.708206] [<804eefd8>] (dump_stack) from [<8001e30c>] (warn_slowpath_common+0x8c/0xbc)
[ 273.708217] r5:00000009 r4:00000000
[ 273.708243] [<8001e280>] (warn_slowpath_common) from [<8001e3e0>] (warn_slowpath_null+0x24/0x2c)
[ 273.708253] r8:808db344 r7:ffffffff r6:ad5f3b08 r5:808985f4 r4:adedc444
[ 273.708294] [<8001e3bc>] (warn_slowpath_null) from [<803065f4>] (vchiq_release_internal+0xb4/0x24c)
[ 273.708317] [<80306540>] (vchiq_release_internal) from [<80307280>] (vchiq_ioctl+0x7e0/0x1860)
[ 273.708327] r9:adedc400 r8:0001000d r7:ad793a00 r6:0000c40d r5:808985f4 r4:0000c40c
[ 273.708370] [<80306aa0>] (vchiq_ioctl) from [<800d9b8c>] (do_vfs_ioctl+0x41c/0x60c)
[ 273.708380] r10:00000000 r9:ad312000 r8:0000000a r7:0000c40d r6:ad082cc0 r5:0001000d
[ 273.708410] r4:ad60f340
[ 273.708430] [<800d9770>] (do_vfs_ioctl) from [<800d9db8>] (SyS_ioctl+0x3c/0x64)
[ 273.708440] r9:ad312000 r8:0000000a r7:0000c40d r6:ad082cc0 r5:0001000d r4:ad082cc1
[ 273.708484] [<800d9d7c>] (SyS_ioctl) from [<8000e980>] (ret_fast_syscall+0x0/0x34)
[ 273.708494] r8:8000eb24 r7:00000036 r6:00000001 r5:00000000 r4:7574a3cc r3:000000a4

I do have the following USB IR receiver:

Bus 001 Device 005: ID 147a:e03e Formosa Industrial Computing, Inc. Infrared Receiver [IR605A/Q]
New OpenELEC Isengard build #0415: RPi / RPi2
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 4.0.0 #1 Wed Apr 15 21:02:23 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-20150415210127-#0415-gacf36ec [Build #0415]

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

# Kernel device tree status: Enabled

Based on tip of OpenELEC master (acf36ec4, changelog) and tip of XBMC master (649eb4d0, changelog) with the following modifications: Build Highlights:
  1. Fix splash
  2. GlobalSearch EPG support
Build Details:
  1. OpenELEC:
    • Revert "plymouth-lite: link with math library" (acf36ec4)
  2. XBMC:
    • android: Fix the readme to reflect the changes to bump SDK to 17 (PR:6952, 1 commit, 2 files changed)
    • [davfile] use PROPFIND for Stat() and Exists() (PR:6939, 1 commit, 2 files changed)
    • [Confluence] GlobalSearch: add EPG search support (82e26067)
  3. newclock4:
    • Commits no longer in build:
      • [omxplayer] Only enable audio clock master when A/V sync method is set to audio clock (e097d8d2)
      • temp: Some hacks to help profiling (4da82388)
      • dvdplayer: cosmetics (4299cd1a)
      • Revert "[omxplayer] Only enable audio clock master when A/V sync method is set to audio clock" (4f8a102e)
      • squash: add timeout to vc_dispmanx_vsync_callback (3bb80143)
      • [mmalcodec] Use dedicated thread for releasing mmal buffers (5b122ba1)
      • [mmalrenderer] Avoid double rate deinterlace when not fullscreen or with OSD (92f17ba6)
(2015-04-15, 17:06)popcornmix Wrote: [ -> ]
(2015-04-15, 04:27)parcel Wrote: [ -> ]build 0414 video codec looks ok but not audio. cannot hear audio oftenly.
build 0412(not 0212, sorry) works ok with same streaming source.

source raise heavy buffering. playing after fill buffer, audio is gone.

kodi0414.7z - 628 KB

Please use a paste site (like xbmclogs.com). I don't want to have to use a file downloader site, enter captchas and unzip files to see them.
Can you confirm if 0413 is good/bad?

build 0413 also bad. the best is build 0411.

build 0412 shows garbage block or errored blocks on video screen constantly sometimes. it seems to be decoding errors and slow very short a while. it didn't logged warnings or errors.
(2015-04-16, 00:14)parcel Wrote: [ -> ]build 0413 also bad. the best is build 0411.

build 0412 shows garbage block or errored blocks on video screen constantly sometimes. it seems to be decoding errors and slow very short a while. it didn't logged warnings or errors.

Can't see any changes in 0412 that would produce decoder errors. Can you provide sample files that demonstrate the issues?
(2015-04-16, 00:37)popcornmix Wrote: [ -> ]
(2015-04-16, 00:14)parcel Wrote: [ -> ]build 0413 also bad. the best is build 0411.

build 0412 shows garbage block or errored blocks on video screen constantly sometimes. it seems to be decoding errors and slow very short a while. it didn't logged warnings or errors.

Can't see any changes in 0412 that would produce decoder errors. Can you provide sample files that demonstrate the issues?

I saw it in RT news streaming video addon. It's ok in build 0415. It's hard to met again. Smile
It may be network buffering problems.

(edit) Keep on testing 2 hours more, No more problem on build 0415. Thank you Smile
Would it be possible to have this:

https://github.com/xbmc/xbmc/pull/6962

Included in the next build for testing?

Thanks

Mark
[Off topic]

Just a short question.
On my PI2 ram is running at 450Mhz: is it right?

Some info:
Code:
vcgencmd get_config int

arm_control=0xa5800010
arm_freq=900
avoid_fix_ts=1
config_hdmi_boost=2
disable_commandline_tags=2
disable_l2cache=1
disable_splash=1
emmc_pll_core=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_ignore_alpha=1
framebuffer_swap=1
hdmi_force_cec_address=65535
hdmi_force_hotplug=1
hdmi_ignore_cec_init=1
ignore_lcd=1
over_voltage_avs=0x1b774
pause_burst_frames=1
program_serial_random=1
sdram_freq=450
temp_limit=85

Code:
cat /flash/config.txt | grep -v '#'

gpu_mem=128
gpu_mem_256=112
gpu_mem_512=160
gpu_mem_1024=256
force_turbo=0
hdmi_force_hotplug=1
hdmi_ignore_cec_init=1
disable_splash=1

Code:
cat /proc/cmdline

root=/dev/ram0 rdinit=/init BOOT_IMAGE=/kernel.img usbcore.autosuspend=-1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2709.boardrev=0xa01041 bcm2709.serial=0xc8ce1e4 smsc95xx.macaddr=**:**:**:**:**:E4 bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000  boot=LABEL=SYSTEM disk=LABEL=Storage quiet ssh smsc95xx.turbo_mode=N dwc_otg.fiq_fix_enable=0 dwc_otg.fiq_split_enable=0

Thanks in advance.

[/Off topic]
(2015-04-16, 09:01)slack3r Wrote: [ -> ]Just a short question.
On my PI2 ram is running at 450Mhz: is it right?

Yes, that is the default on Pi 2. sdram_freq=450 and arm_freq=900 if otherwise not specified.
(2015-04-16, 12:34)popcornmix Wrote: [ -> ]Yes, that is the default on Pi 2. sdram_freq=450 and arm_freq=900 if otherwise not specified.

Thank you ^^
(2015-04-15, 19:38)popcornmix Wrote: [ -> ]
(2015-04-15, 19:37)Jönke Wrote: [ -> ]Yes i causes a short black screen in live tv when goes from preview to fullscreen and when i open menu in live tv

Can you report output of "tvservice -s" when in preview and when in fullscreen?

Issue seems gone in tonights build. Can set 1920*1080@50 hz again and no more black screen
(2015-04-16, 08:05)mcelliott Wrote: [ -> ]Would it be possible to have this:

https://github.com/xbmc/xbmc/pull/6962

Already merged, so will be in the next build.
Milhouse, with ref previous post of yours with an unsupported update of TVheadened backend service for use with your latest Testbuilds.
I just wanted to say thank you for providing updated version of TVHeadend Backend Service. Here

I have installed on my Pi2 and been running for last couple of weeks on OpenELEC Testbuilds with usb DVB-T tuner and everything appears to be working as expected.
For general info TVheadend version provided by Milhouse once installed on my Pi2 is recorded as "HTS Tvheadend 3.9.2690~g6751ade"
@MikeKL - thanks for the feedback, good to know it's working. Smile
(2015-04-15, 21:56)Patrics83 Wrote: [ -> ]
(2015-04-15, 21:44)popcornmix Wrote: [ -> ]
(2015-04-15, 21:03)Patrics83 Wrote: [ -> ]I gave #0414 a try but the problem persist... If you need more details just let me know.

From the build you idenified, this is most likely:
[mmalcodec] Remove the decoder queue and use gpu timestamps

I've just tried a DVD ISO (Grand Budapest Hotel) and it's playing smoothly.
Could you provide a sample file? E.g. create a few minute long sample using a DVD ISO editing tool.

Ok, thanks I will try to produce a sample tomorrow.

I still haven't done a sample for you but I did some more testing.

If I play a DVD disc (bought from the store) using my usb DVD player it plays perfectly on #0405 but builds from #0406 and up struggles a lot to even keep the pixels in place.

With #0406+ builds I have noticed that the reported FPS in kodi system summary goes down to ~7 when idle and 30-40 when scrolling the menu and while playing a movie it's low again around 1-9fps.
#0405 sits at 30fps when idle and when playing the same movie at 25fps.

What am I doing wrong? Big Grin