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



RE: OpenELEC Testbuilds for RaspberryPi - Milhouse - 2012-10-24

Would it help if I provided an archive (~180MB) of my Movies folder - just the nfo, fanart-jpg and tbn files? Then if you (Popcornmix, Gimli) create dummy mkv's for each tbn,you'll have pretty much what I have (in terms of imagery for a media library).


RE: OpenELEC Testbuilds for RaspberryPi - Milhouse - 2012-10-25

(2012-10-24, 22:43)gimli Wrote: No, i ment delete you local database and thumbnails and re-scrap them. Somewhere old sized images are used. So redo it from scratch.

A full re-scan works fine, I left the Pi (settings fanart=256, imageres=128, 128MB GPU) to complete a media library scan totally from scratch (I dropped the db's on the MySQL server, removed any Thumbnails and associated databases from the Pi) and then once it had finished, I browsed Movies and the images displayed normally and without errors.

However, I then cleared the cache (rm -fr ~/.xbmc/userdata/Database/Textures13.db ~/.xbmc/userdata/Thumbnails, restarted XBMC) and OMX errors ensued (insufficient resources etc.)

So it seems that the problem is the combination of re-caching images while concurrently displaying those images. If you can't reproduce this problem, I can supply you with the contents of my media library (sans movies, obviously).


RE: OpenELEC Testbuilds for RaspberryPi - sraue - 2012-10-26

Hi,

OpenELEC Development build (r12268):
http://sources.openelec.tv/tmp/image/OpenELEC-RPi.arm-devel-20121025233849-r12268.tar.bz2

to update a older build without reinstalling see:
http://wiki.openelec.tv/index.php?title=Updating_OpenELEC#Manually_Updating_OpenELEC

Please also read http://sources.openelec.tv/tmp/image/openelec-rpi/READ_FIRST.txt for general notes about our development builds.

This are the changes:
  • updated XBMC to the last and greatest XBMC master checkout, including the latest changes from Gimli, many thanks! :-)
    This includes the fixes from the disussion and posts above, also disabled DDS fanart and changes in advancedsettings.xml. Please remove and recreate your Thumbnails directory manually.
  • updated firmware, kernel patches and BCM librarys *
  • fixed Wifi which was broken in the last versions
  • a kernel update to Kernel 3.6.3 - this is a big change and must be tested, please report any problems. If there are bigger problems, we will downgrade back, even if this fixes any issues. Also this includes more and updated DVB and Wlan drivers. Please test. Thanks to Dom for the work on this!
  • various other improvenments, fixes and package updates.

With one of the last builds we have update the latest bootloaderfiles to support 512MB RPi's (see: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=20255&start=25#p198079 and http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=20255&start=25#p198247. This also also includes the following changes:
  • on creating a fresh SD-Card a default config.txt will be installed which allocates 128MB GPU memory on 256MB and 512MB Raspberry's
  • on updating there will be checked if a config.txt exist, if not the default config.txt will be installed
  • if a config.txt with a uncommented variable 'gpu_mem' variable already exist nothing will be changed
  • if a config.txt without a 'gpu_mem' variable exist our default config.txt will be installed and will be enhanced with your old config.txt. your old config.txt will be backed up to config.txt.bk.

Please backup your old config.txt in the case you dont find your license codes anymore before you install this update

After the update please check your /flash/config.txt byself and report back any issues. Please report back if this update work like excepted on 256MB and 512MB Raspberry's

because XBMC now supports officially RPi and PVR please use XBMC's Trac (http://trac.xbmc.org/) to report XBMC bugs and OpenELEC's github issue tracker (https://github.com/OpenELEC/OpenELEC.tv/issues) for OS related issues and feature/driver requests.


RE: OpenELEC Testbuilds for RaspberryPi - Milhouse - 2012-10-26

Wow! r12268 is possibly the best yet!

With 128MB GPU I just browsed through my already scanned media library and caching and display performance is excellent, with all images displaying as they should - no insufficient resource errors at all!

Checking vcdbg while browsing, it seems on average there's about 40MB free memory. This is just excellent. And even better, thumbnails have the right proportions again!

I did get three OMX errors while browsing through Movies, that I haven't been able to reproduce:
Code:
01:27:03 T:2978874464  NOTICE: Thread Jobworker start, auto delete: true
01:27:53 T:2945320032  NOTICE: Previous line repeats 3 times.
01:27:53 T:2945320032   ERROR: COMXCoreComponent::SetParameter - OMX.broadcom.resize failed with omx_err(0x80001018)
01:27:53 T:2988438624   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.image_decode - OMX_EventError detected, nData1(0x80001005), port 0
01:27:53 T:2945320032   ERROR: Previous line repeats 1 times.
01:27:53 T:2945320032   ERROR: COMXImage::Decode m_omx_decoder.WaitForEvent result(0x80001005)
01:27:53 T:2988438624   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.image_decode - OMX_EventError detected, nData1(0x80001005), port 0
01:28:39 T:2916205664  NOTICE: Thread Background Loader start, auto delete: false
01:29:01 T:2978874464  NOTICE: Previous line repeats 1 times.
01:29:01 T:2978874464   ERROR: COMXCoreComponent::SetParameter - OMX.broadcom.resize failed with omx_err(0x80001018)
01:29:01 T:2988438624   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.image_decode - OMX_EventError detected, nData1(0x80001005), port 0
01:29:01 T:2978874464   ERROR: COMXImage::Decode m_omx_decoder.WaitForEvent result(0x80001005)
01:29:01 T:2988438624   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.image_decode - OMX_EventError detected, nData1(0x80001005), port 0
01:29:49 T:2926695520   ERROR: COMXCoreComponent::SetParameter - OMX.broadcom.resize failed with omx_err(0x80001018)
01:29:49 T:2988438624   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.image_decode - OMX_EventError detected, nData1(0x80001005), port 0
01:29:49 T:2926695520   ERROR: COMXImage::Decode m_omx_decoder.WaitForEvent result(0x80001005)
01:29:49 T:2988438624   ERROR: COMXCoreComponent::DecoderEventHandler OMX.broadcom.image_decode - OMX_EventError detected, nData1(0x80001005), port 0
01:30:03 T:3043828240   ERROR: Previous line repeats 1 times.
01:30:03 T:3043828240   ERROR: Error: Requested setting (videoscreen.screen) was not found.  It must be case-sensitive
I did think these errors might be due to duff images (progressive etc.) in my library, but I cleared the cache and tried to view the images again but couldn't reproduce the errors. Despite the errors, I don't appear to be missing any thumbnails or fanart.

Thanks so much sraue, popcornmix and gimli...

@sraue: With this build I've now got a bunch of add-ons that need updating, but I'm not sure how to update them all automatically - it seems to be a manual process (Settings -> Add-ons -> Available Updates). I tried updating the The MovieDB addon but it crashes XBMC. Other addons, such as TheTVDB seem to update OK.


RE: OpenELEC Testbuilds for RaspberryPi - Bighampton - 2012-10-26

Wifi still broken for me. I'm using the Edimax EW-7811u (RTL8188cus chipset), RPi Model B 512MB (256/256)

# dmesg

...

[ 56.053858]
[ 56.053858] rfpwrstate_check call ips_leave....
[ 56.053886] ==>ips_leave cnts:2
[ 56.053892] ===> rtw_ips_pwr_up..............
[ 56.053907] ===> ips_netdrv_open.........
[ 56.062839] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC
[ 56.062865] FirmwareDownload92C accquire FW from embedded image
[ 56.062876] fw_ver=v80, fw_subver=0, sig=0x88c0
[ 56.109239] fw download ok!
[ 56.109262] Set RF Chip ID to RF_6052 and RF type to 1T1R.
[ 56.516620] IQK:Start!!!
[ 56.528103] Path A IQK Success!!
[ 56.536364] Path A IQK Success!!
[ 56.541362] IQK: final_candidate is 0
[ 56.541384] IQK: RegE94=101 RegE9C=b RegEA4=ff RegEAC=1 RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0
[ 56.541384] Path A IQ Calibration Success !
[ 56.653385] pdmpriv->TxPowerTrackControl = 1
[ 56.658371] MAC Address from REG_MACID = XX:XX:XX:XX:XX:XX
[ 56.658386] rtl8192cu_hal_init in 600ms
[ 56.658440] <=== rtw_ips_pwr_up.............. in 600ms
[ 56.658633] ==> ips_leave.....LED(0x00028080)...
[ 56.658650] IW_SCAN_THIS_ESSID, ssid=Bighampton, len=10
[ 57.775156] survey done event(13)
[ 57.782454] wpa_set_auth_algs, AUTH_ALG_SHARED_KEY and AUTH_ALG_OPEN_SYSTEM [value:0x3]
[ 57.782484] set_mode = IW_MODE_INFRA
[ 57.783599] =>rtw_wx_set_essid
[ 57.783621] ssid=Bighampton, len=10
[ 57.783639] Set SSID under fw_state=0x00000008
[ 57.783651] desired_encmode: 0, privacy: 0
[ 57.783659] rtw_select_and_join_from_scanned_queue: return _FAIL(candidate == NULL)
[ 57.783683] <=rtw_wx_set_essid, ret 0
[ 57.784205] Set BSSID under fw_state=0x00000808
[ 58.905174] survey done event(d)
[ 58.905210] desired_encmode: 0, privacy: 0
[ 58.905221] rtw_select_and_join_from_scanned_queue: return _FAIL(candidate == NULL)
[ 58.905229] try_to_join, but select scanning queue fail, to_roaming:0
[ 59.779432] ==>pwr_state_check_handler .fw_state(8)
[ 59.779457] ==> rtw_ps_cmd , enqueue CMD
[ 59.779492] ==>rtw_ps_processor .fw_state(8)
[ 59.779502] ==>ips_enter cnts:3
[ 59.779661] ==>power_saving_ctrl_wk_hdl change rf to OFF...LED(0x00028000)....
[ 59.779661]
[ 59.779675] ===> rtw_ips_pwr_down...................
[ 59.780012] ====> rtw_ips_dev_unload...
[ 59.807349] usb_read_port_cancel
[ 59.807461] usb_write_port_cancel
[ 59.807530] ==> rtl8192cu_hal_deinit
[ 59.807538] bkeepfwalive(0)
[ 59.807543] card disble without HWSM...........
[ 59.813399] <=== rtw_ips_pwr_down..................... in 30ms


# ifconfig

eth0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
inet addr:192.168.0.215 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:264 errors:0 dropped:0 overruns:0 frame:0
TX packets:242 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20537 (20.0 KiB) TX bytes:83744 (81.7 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:426 (426.0 B) TX bytes:426 (426.0 B)

wlan0 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)


# lsmod
Module Size Used by
8192cu 525379 0

Looks like no change from 12253.



RE: OpenELEC Testbuilds for RaspberryPi - Milhouse - 2012-10-26

Is it my imagination or is CPU usage during 1080p H264/DTS video playback significantly reduced in this build (as reported by top, and debug overlay)?

Previous builds would peg the CPU at 100% for 1080p H264/DTS, but now it averages around 65-75%, peaking at 100% only rarely... impressive (this is while overclocked at 1000/500/600/force_turbo on a 512MB board with 128MB GPU RAM).

Also, "zooming" of video is fixed - 1080p is displaying at 1080 resolution once more!

So far so good with this build... I'm well chuffed! Smile


RE: OpenELEC Testbuilds for RaspberryPi - mactalla - 2012-10-26

Just upgraded to r12268 from an ancient r11904. Snappier response browsing the media which is great. Unfortunately for me it's not usable as a media player. Low resolution (624x352) xvid files lag the video drastically until ~60s into the video the entire thing freezes (reboot or killall xbmc.bin necessary). The same videos worked pre-upgrade with no overclocking. Re-encoding the video to x264 naturally plays smooth as silk. But if I seek to a position in the video (including "resume from..." when playing the audio completely disappears.

Is anyone else seeing these issues?


RE: OpenELEC Testbuilds for RaspberryPi - Milhouse - 2012-10-26

(2012-10-26, 04:47)mactalla Wrote: Is anyone else seeing these issues?

Confirming. On SD DivX I lose audio after seeking, and video also freezes during the first minute of playback (without seeking).

I also noticed some major audio sync issues on VC1/AC3 - I only have one such video though (Blade Runner Final Cut).

Example SD video with freezing/loss of audio after seek:

Code:
General
Complete name                            : Y:\Video\TV Serials\Connections\Season 1\Connections S01E07 - The Long Chain.avi
Format                                   : AVI
Format/Info                              : Audio Video Interleave
File size                                : 432 MiB
Duration                                 : 49mn 27s
Overall bit rate                         : 1 222 Kbps
Writing application                      : VirtualDubMod 1.5.10.1 (build 2366/release)
Writing library                          : VirtualDubMod build 2366/release

Video
ID                                       : 0
Format                                   : MPEG-4 Visual
Format settings, BVOP                    : 1
Format settings, QPel                    : No
Format settings, GMC                     : No warppoints
Format settings, Matrix                  : Default (H.263)
Muxing mode                              : Packed bitstream
Codec ID                                 : DX50
Codec ID/Hint                            : DivX 5
Duration                                 : 49mn 27s
Bit rate                                 : 1 050 Kbps
Width                                    : 720 pixels
Height                                   : 480 pixels
Display aspect ratio                     : 3:2
Frame rate                               : 29.970 fps
Standard                                 : NTSC
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.101
Stream size                              : 372 MiB (86%)
Writing library                          : DivX 5.2.1 (DrDivX 106) (UTC 2004-09-08)

Audio
ID                                       : 1
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Codec ID                                 : 55
Codec ID/Hint                            : MP3
Duration                                 : 49mn 27s
Bit rate mode                            : Constant
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Delay relative to video                  : 26ms
Stream size                              : 56.6 MiB (13%)
Alignment                                : Split accross interleaves
Interleave, duration                     : 33 ms (1.00 video frame)
Interleave, preload duration             : 500 ms



RE: OpenELEC Testbuilds for RaspberryPi - zanardi - 2012-10-26

I have a keyboard "Logitech Wireless Touch K400" that work with raspberry.

Only one problem: on the top of the keyboard I have some key for regulate the volume level (http://tienda.manchanet.es/productos/Logitech/9922740-3414.jpg).
If I press for increase the level, all ok. But the mute and the decrease of the level don't work.

How can I solve the problem?

Thank you


RE: OpenELEC Testbuilds for RaspberryPi - Goofy2 - 2012-10-26

Just updated from r12220 to r12268. Wifi works fine out of the box (TP-Link TL-WN722N). Picture ratio seems fine again during the slideshow. Random blurry pictures still appear. Blurry pictures = pictures displayed with low resolution, the same picture is displayed correctly. Xbmc freeze after about 10min of picture slideshow, ssh access ok.

xbmc.log - http://sprunge.us/ePWZ
vcdbg reloc - http://sprunge.us/hgFe



RE: OpenELEC Testbuilds for RaspberryPi - gimli - 2012-10-26

(2012-10-26, 14:41)Goofy2 Wrote: Just updated from r12220 to r12268. Wifi works fine out of the box (TP-Link TL-WN722N). Picture ratio seems fine again during the slideshow. Random blurry pictures still appear. Blurry pictures = pictures displayed with low resolution, the same picture is displayed correctly. Xbmc freeze after about 10min of picture slideshow, ssh access ok.

xbmc.log - http://sprunge.us/ePWZ
vcdbg reloc - http://sprunge.us/hgFe

I think the hang is related to a fix a comitted today.


RE: OpenELEC Testbuilds for RaspberryPi - rbej - 2012-10-26

(2012-10-26, 04:47)mactalla Wrote: Just upgraded to r12268 from an ancient r11904. Snappier response browsing the media which is great. Unfortunately for me it's not usable as a media player. Low resolution (624x352) xvid files lag the video drastically until ~60s into the video the entire thing freezes (reboot or killall xbmc.bin necessary). The same videos worked pre-upgrade with no overclocking. Re-encoding the video to x264 naturally plays smooth as silk. But if I seek to a position in the video (including "resume from..." when playing the audio completely disappears.

Is anyone else seeing these issues?

+1

Confirm.

I raported this critical bug.




RE: OpenELEC Testbuilds for RaspberryPi - RiJo - 2012-10-26

(2012-10-26, 09:39)zanardi Wrote: I have a keyboard "Logitech Wireless Touch K400" that work with raspberry.

Only one problem: on the top of the keyboard I have some key for regulate the volume level (http://tienda.manchanet.es/productos/Logitech/9922740-3414.jpg).
If I press for increase the level, all ok. But the mute and the decrease of the level don't work.

How can I solve the problem?

Thank you

For the K400, you need to add this (or create the file if it doesn't exist) to the file ~/.xbmc/userdata/keymaps/keyboard.xml:
Code:
<keymap>
  <global>
    <keyboard>
        <f13>mute</f13>
        <f14>volumedown</f14>
    </keyboard>
  </global>
</keymap>



RE: OpenELEC Testbuilds for RaspberryPi - dijkx - 2012-10-26

pictures are in the right aspect ratio in version r12268. Good work.



RE: OpenELEC Testbuilds for RaspberryPi - hkramski - 2012-10-27

(2012-10-26, 19:31)dijkx Wrote: pictures are in the right aspect ratio in version r12268. Good work.

Confirmed. Great job!


This forum uses Lukasz Tkacz MyBB addons.