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



RE: OpenELEC Testbuilds for RaspberryPi Part 2 - FAMMAR - 2014-04-08

(2014-04-08, 12:06)popcornmix Wrote: [quote='FAMMAR' pid='1676278' dateline='1396947370']
I still got that stutter in video playback streams and can't fins a solution, Like I said before, when I look at a movie/serie and the camera goes from left to right for exampe, I notice a stutter

What is frame rate of movie? (post output of http://mediaarea.net/en/MediaInfo)
Does TV support frame rate of movie? (most are ~24 fps, and TV will need to support 1080p24).
Yes it does

Does TV change mode when playing the video?
Yes it does

What is the frame rate of TV when playing the video (show output of "tvservice -s").


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Paul_dH - 2014-04-08

(2014-04-07, 22:21)MilhouseVH Wrote:
(2014-04-07, 21:57)Paul_dH Wrote: Am I doing something wrong, other than buying the stupid ISW N300 obviously Confused Or is there a way to force a specific USB device to use a driver (RTL8192CU) ?
You should discuss it with the OpenELEC developers. The RTL8192CU driver is supported, and if it's not working with this specific dongle it's either a bug/defect, or more likely a missing vendor/product id which means the driver isn't recognising the hardware. Open an issue on the OpenELEC github and provide the lsusb details, with luck they'll add the necessary support.

Edit: A quick look at RTL8192CU-v4.0.2_9000.20130911/os_dep/linux/usb_intf.c confirms that the combination of vendor id 050d and product id 21f2 is not currently supported by the RTL8192CU driver:
Code:
$ grep -i 050d usb_intf.c
        {USB_DEVICE(0x050D, 0x1102)},/* Belkin - Edimax */ \
        {USB_DEVICE(0x050D, 0x2102)},/* Belkin - Sercomm */ \
        {USB_DEVICE(0x050D, 0x2103)},/* Belkin - Edimax */ \
        {USB_DEVICE(0x050D, 0x1004)}, /* Belkin - Edimax */ \
        {USB_DEVICE(0x050D, 0x110A)}, /* Belkin - Edimax */ \
        {USB_DEVICE(0x050D, 0x1105)}, /* Belkin - Edimax */ \
        {USB_DEVICE(0x050D, 0x120A)}, /* Belkin - Edimax */ \
$ grep -i 21f2 usb_intf.c
$

Assuming this is definitely the correct driver for your hardware, then you should try and get the correct vendorid/productid added in OpenELEC as a temporary measure, and preferably upstream in Linux itself.

It may be possible to add a udev rule to load this driver for this device. OpenELEC developers can probably advise.

Hi Milhouse and Sraue,

I will test the commands Sraue posted and post my results in a couple of hours when I return from work. If it fails I will create a request at the Openelec Git Smile

Thanks for the thoughts!


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - host505 - 2014-04-08

(2014-04-08, 10:56)FAMMAR Wrote: I still got that stutter in video playback streams and can't fins a solution, Like I said before, when I look at a movie/serie and the camera goes from left to right for exampe, I notice a stutter

Some shitty sites such as simplymovies upload their illegal stuff to 25 fps (while the original source is usually 23,976 or 24). I'm sure that the streams you see stuttering show 25 fps on the codecinfo osd.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - da-anda - 2014-04-08

@popcornmix @Milhouse
my freezes during library import seem to be related to the SD card. I just inserted the SD card from my 256MB model B, updated to latest Milhouse build, flushed library and textures cache and did a clean import. Everything was fine there.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - FAMMAR - 2014-04-08

(2014-04-08, 15:25)host505 Wrote:
(2014-04-08, 10:56)FAMMAR Wrote: I still got that stutter in video playback streams and can't fins a solution, Like I said before, when I look at a movie/serie and the camera goes from left to right for exampe, I notice a stutter

Some shitty sites such as simplymovies upload their illegal stuff to 25 fps (while the original source is usually 23,976 or 24). I'm sure that the streams you see stuttering show 25 fps on the codecinfo osd.

No, it's not about shitty sites, it's in common


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Paul_dH - 2014-04-08

(2014-04-07, 23:35)sraue Wrote: please try:

Code:
modprobe 8192cu
echo "050d 21f2" > /sys/bus/usb/drivers/rtl8192cu/new_id

and paste dmesg, lsmod output and test if the stick will be shown in our connection manager

I've tried the both commands and the wifi adapter gets listed in Openelec settings. When I try to connect it to my WLAN Openelec hangs and I had to hard reset my Pi to boot up again. After the reboot the wifi connection in the settings is gone but this is probably related to the fact that it is a image that was started.

I've searched the logfiles for clues and the only thing I could find are the lines:
Code:
[   11.973803] lirc_rpi: driver registered!
[   11.978703] systemd[1]: Started Load Kernel Modules.
[   11.979681] systemd[1]: Mounted FUSE Control File System.
[   11.986899] systemd[1]: Mounted Configuration File System.
[   12.025937] systemd[1]: Started Restoring Backup.
[   12.073777] systemd[1]: Started Create Static Device Nodes in /dev.
[   12.140692] systemd[1]: Starting Local File Systems (Pre).
[   12.140954] systemd[1]: Reached target Local File Systems (Pre).
[   12.141176] systemd[1]: Starting Local File Systems.
[   12.141359] systemd[1]: Reached target Local File Systems.
[   12.141752] systemd[1]: Starting Setup Hostname...
[   12.145310] systemd[1]: Starting Setup machine-id...
[   12.160953] systemd[1]: Starting Create Volatile Files and Directories...
[   12.212153] systemd[1]: Started Setup Hostname.
[   12.305902] systemd[1]: Started Setup machine-id.
[   12.365892] systemd[1]: Started Create Volatile Files and Directories.
[   12.405122] systemd[1]: Starting Update hwdb.bin...
[   12.413373] systemd[1]: Started Debug /var/log relink.
[   12.413785] systemd[1]: Starting Journal Service...
[   12.421446] systemd[1]: Started Journal Service.
[   12.845347] systemd-udevd[202]: starting version 212
[   13.329078] Console: switching to colour dummy device 80x30
[   14.137312] systemd-journald[198]: Received request to flush runtime journal from PID 1
[   14.641574] pcm512x 1-004c: Failed to reset device: -5
[   14.641733] pcm512x: probe of 1-004c failed with error -5
[   14.662687] bcm2708-i2s bcm2708-i2s.0: Failed to create debugfs directory
[   17.387138] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[   17.388340] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.833358] input: lircd as /devices/virtual/input/input3
[   18.910085] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
[   18.940583] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Is there another location where I can find what went wrong?


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - sraue - 2014-04-08

(2014-04-08, 19:47)Paul_dH Wrote:
(2014-04-07, 23:35)sraue Wrote: please try:

Code:
modprobe 8192cu
echo "050d 21f2" > /sys/bus/usb/drivers/rtl8192cu/new_id

and paste dmesg, lsmod output and test if the stick will be shown in our connection manager

I've tried the both commands and the wifi adapter gets listed in Openelec settings. When I try to connect it to my WLAN Openelec hangs and I had to hard reset my Pi to boot up again. After the reboot the wifi connection in the settings is gone but this is probably related to the fact that it is a image that was started.

this change is not permanent, do again after reboot (and its only to try if the adapter could work, the real fix will be different)
paste the full "dmesg" output after you started both commands


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Paul_dH - 2014-04-08

(2014-04-08, 19:58)sraue Wrote:
(2014-04-08, 19:47)Paul_dH Wrote:
(2014-04-07, 23:35)sraue Wrote: please try:

Code:
modprobe 8192cu
echo "050d 21f2" > /sys/bus/usb/drivers/rtl8192cu/new_id

and paste dmesg, lsmod output and test if the stick will be shown in our connection manager

I've tried the both commands and the wifi adapter gets listed in Openelec settings. When I try to connect it to my WLAN Openelec hangs and I had to hard reset my Pi to boot up again. After the reboot the wifi connection in the settings is gone but this is probably related to the fact that it is a image that was started.

this change is not permanent, do again after reboot (and its only to try if the adapter could work, the real fix will be different)
paste the full "dmesg" output after you started both commands

Hi sraue,

Thats a fast respons Smile I've applied the commands again and pasted the dmesg log to pastebin

FYI I've created a issue on the Openelec GIT


Re: RE: OpenELEC Testbuilds for RaspberryPi Part 2 - wizzard72 - 2014-04-08

(2014-04-08, 09:31)MilhouseVH Wrote: New OpenELEC Gotham build: #0408
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.14.0 #1 PREEMPT Tue Apr 8 06:33:36 BST 2014 armv6l GNU/Linux

# vcgencmd version
Apr  7 2014 14:14:06
Copyright (c) 2012 Broadcom
version f85d26d96b56f0e29e1ac37fbf65050eb923c32a (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20140408062145-r18117-gccda938

Based on tip of XBMC master (687d987, changelog) and tip of OpenELEC master (ccda938, changelog) with the following modifications:
  • Includes newclock3 commits (except for a27edcd, a patch to avoid hammering the GUI, which has been replaced with a static spinner)
  • Excludes the OpenELEC fernetmenta patches (due to conflict with newclock3)
  • Includes Python regex package for evaluation purposes. Initial benchmarking indicates generally positive (and in some cases, significant) performance gains. See this post for a description of how to test effectiveness of this package with addons
  • Default setting for "Show RSS Feed" changed to disabled
  • Disabled "Total Duration" in Confluence (see build #0221 for details)
  • ALSA is enabled and any suitable hardware should be available in XBMC Audio Settings
  • Includes newclock3: "More efficient infobool expression evaluator" (reverted in stock OpenELEC)
  • Includes newclock3: "Allow small audio packets to be concatenated to make better use of audio fifo" (reverted in stock OpenELEC)
Build Highlights:

New firmware, plus several important new patches in newclock3 including:
  • dvdplayer patches that were not present in omxplayer (PR4534)
  • Changes to the multichannel Pi Sink code to extract the matrix by submitting identity samples, rather than poking at internal structures
  • Adjusted omxplayer to use the same scheme as Pi Sink to get the multichannel matrix. This will result in a different mixing matrix from before, but should be consistent with what XBMC does on other platforms
  • Switched to Mitchell Netravali resizing kernel exclusively, and made the sharpness control adjust the sharpness
  • Added the ability to collect omxplayer video and audio stream data for debugging purposes (see item #4 in "Additional Testing Notes" for details)
  1. New Firmware Apr 07:
    • firmware: image_encode: Fix that works for both buffers and tunnelling. See: link
    • firmware: video_decode: Allow ts fifo to be forced off with avoid_fix_ts=2 See: link
    • userland: tvservice: Enhance callback mechanism. See link
  2. OpenELEC:
    • sqlite: update to sqlite-autoconf-3080403
    • busybox: add applet 'pgrep'
    • simplejson: update to simplejson-3.4.0
    • make: update to make-4.0
    • gcc: add patch to workaround aginst bug GCC-49423
    • projects/RPi/options: add RTL8723AU driver support
    • pcre: update to pcre-8.35
    • kmod: update to kmod-17
  3. newclock3:
    • [PiSink] Remove unneeded header and use CAEChannelInfo directly
    • [omxplayer] Remove PCMRemap and handle multichannel mixing like ActiveAE does
    • [omxplayer] factor out the omxplayer busy dialog waiting
    • [omxplayer] fixed, compiler warning
    • [omxplayer] Fix infinite loop if (next) bluray title can not be played
    • [omxplayer] Disable menu icon of the VideoOSD if a bluray is played in non nav mode
    • [omxplayer] use startpts as a time reference if no other is available. This avoids display of wrong time after seek, due to lack of timestamps
    • [omxplayer] Make the sharpness control act as a sharpness control. This fixes scaling kernel as Mitchell Netravali, and varies sharpness over range B=[5/3,0] C=[-1/3,1/2]
    • [omxplayer] Add ability to dump out audio/video data for later debugging

Additional Testing Notes:
  1. Testers should try adding the following entry to their advancedsettings.xml:
    Code:
    <advancedsettings>
      <video>
        <defaultplayer>dvdplayer</defaultplayer>
        <defaultdvdplayer>dvdplayer</defaultdvdplayer>
      </video>
    </advancedsettings>
    and report if it is better/worse than omxplayer. You can still play files with omxplayer using the context-menu "Play using... OMXPlayer".

  2. The following settings are no longer required in config.txt and should be removed:
    Code:
    no_hdmi_resample=1
    hdmi_stream_channels=1
    no_resample_audio is now a default, and hdmi_stream_channels is switched based on audio content. For the time being when using passthrough, 2.0 speaker layout should continue to be used (you will still get 5.1 with AC3/DTS).

  3. The FIQ_FSM patch is currently disabled by default in OpenELEC master. See the FIQ_FSM announce thread for details.

    One new feature, currently disabled by default, is accelerated support of high-speed isochronous transactions (webcams, real time devices, etc.). There's a possibility this could be used by ALSA or DVB modules (although not always) which may affect some users (hopefully for the better). If you might benefit from this, enable by adding the following option to the end of the line in your /flash/cmdline.txt file:
    Code:
    dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7

  4. These test builds include the option to dump omxplayer audio and video packets to a file for later debugging. This is for issues with Live TV or streaming plugins that popcornmix can't access.

    In Settings -> System -> Debugging, enable "Debug logging" then in verbose logging enable "Dump video frames to debug file" and/or "Dump audio frames to debug file". These files will appear in ~/.xbmc/temp as audio.dat and video.dat. Hopefully popcornmix can then use these files when debugging issues.

    Note: dvdplayer and paplayer do not (yet?) support this debug capability and will not generate any debug data.

NFS is working again with the builds 407 and 408.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - ajp2k14 - 2014-04-08

@popcornmix

[omxplayer] Make the sharpness control act as a sharpness control. This fixes scaling kernel as Mitchell Netravali, and varies sharpness over range B=[5/3,0] C=[-1/3,1/2]

Sounds great but what does it mean exactly? Does the sharpness slider set the Mitchell Netravali scaling parameters?

Thanks!


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - FAMMAR - 2014-04-08

(2014-04-08, 10:56)FAMMAR Wrote: I still got that stutter in video playback streams and can't fins a solution, Like I said before, when I look at a movie/serie and the camera goes from left to right for exampe, I notice a stutter

I have put this in my advancedsettings.xml and seems to solved it. Good idea?

<video>
<adjustrefreshrate>
<override>
<fps>25.000</fps>
<refresh>23.976</refresh>
</override>
</adjustrefreshrate>
</video>


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-04-08

(2014-04-08, 21:10)ajp2k14 Wrote: Make the sharpness control act as a sharpness control. This fixes scaling kernel as Mitchell Netravali, and varies sharpness over range B=[5/3,0] C=[-1/3,1/2]

Sounds great but what does it mean exactly? Does the sharpness slider set the Mitchell Netravali scaling parameters?

Yes. If you read the paper, it describes the B and C parameters and how they affect sharpness.
The sharpness slider will adjust these.
Pause video with some high detailed item (e.g. text) visible and adjust the slider.
Report back if you prefer it to left or right of centre.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - sraue - 2014-04-09

(2014-04-08, 20:07)Paul_dH Wrote:
(2014-04-08, 19:58)sraue Wrote:
(2014-04-08, 19:47)Paul_dH Wrote: I've tried the both commands and the wifi adapter gets listed in Openelec settings. When I try to connect it to my WLAN Openelec hangs and I had to hard reset my Pi to boot up again. After the reboot the wifi connection in the settings is gone but this is probably related to the fact that it is a image that was started.

this change is not permanent, do again after reboot (and its only to try if the adapter could work, the real fix will be different)
paste the full "dmesg" output after you started both commands

Hi sraue,

Thats a fast respons Smile I've applied the commands again and pasted the dmesg log to pastebin

FYI I've created a issue on the Openelec GIT

please try this build: http://snapshots.openelec.tv/test/OpenELEC-RPi.arm-devel-20140409025316-r18122-g6abd13d.tar and report back (be sure you are using a powered hub etc)


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - allan87 - 2014-04-09

Sadly, 5.1 audio is gone (silent) on current (0408) build.
Videos with 2.0 audio play back correctly.
My audio output settings are 2.0 channels, enable passthrough, Dolby digital capable receiver, DTS capable receiver

5.1 Audio was OK on OpenELEC-RPi.arm-Milhouse-20140401195740-r18074-gfa2d8e0

Tried Beta 5 - same symptoms
Update: Issue resolved. Possibly had something with the TV that was fixed by cycling it.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - ajp2k14 - 2014-04-09

(2014-04-08, 22:51)popcornmix Wrote:
(2014-04-08, 21:10)ajp2k14 Wrote: Make the sharpness control act as a sharpness control. This fixes scaling kernel as Mitchell Netravali, and varies sharpness over range B=[5/3,0] C=[-1/3,1/2]

Sounds great but what does it mean exactly? Does the sharpness slider set the Mitchell Netravali scaling parameters?

Yes. If you read the paper, it describes the B and C parameters and how they affect sharpness.
The sharpness slider will adjust these.
Pause video with some high detailed item (e.g. text) visible and adjust the slider.
Report back if you prefer it to left or right of centre.

I haven't had a chance to read the paper yet but I will as soon as things settle down a bit, been real busy lately. Thanks for the explanation and the hard work, much appreciated!


This forum uses Lukasz Tkacz MyBB addons.