Kodi Community Forum

Full Version: OpenELEC Testbuilds for RaspberryPi Part 2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
@popcornmix

Some info on the log file from above Post: #3163

20:11:03 119.693260 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Play the file with PAPlayer. No sound
20:11:36 152.345322 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Play the file with OMXPlayer. No sound
20:11:49 165.467636 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Play the file with DVDPlayerAudio. No sound
20:11:59 175.978409 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Play the file with PAPlayer. No sound
(again but by selection in the menu)

20:12:23 199.473068 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Select the new resolution
20:12:26 202.794861 T:3059089408 DEBUG: OnKey: left (0xf082) pressed, action is Left
- Move on YES
20:12:32 208.646347 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Select YES. At this time I can hear the system sound

20:12:52 228.308807 T:3059089408 DEBUG: OnKey: return (0xf00d) pressed, action is Select
- Play the file with PAPlayer. Sound OK

Hope this will help
Hello,

New Version runs awesome Smile 3D switches automaticlly (omx player) ... Great.

But one thing is strange... Only in 3D Movies the picture is fixed "zoomed" and the picture is streched in the high to mutch .... If i switch from zoom to normal, only black bars are overlayed over the zoomed picture... I recognized this, caus some text in the beginning of a movie e.g. Resident Evil Ext. are cut or not visible....
This you see good only in SBS movies, by HOU you see it only a little bit on the sides right and left...

Other Movies 2D are correct with or without black bars, depending on the ratio.

Any Idea how to solve this, or is this a generell problem.

But anyway, thx for the good work... Smile great jobs you re doin...

Greetz,
J
See Post: #3163 and
Post: #3166
build: #0224

I'd like to confirm what I noted previously:
I booted RPi, had no sound when paying with PAPlayer nether system sound.
I changed the resolution and tried again to play with PAPlayer, no sound and changed again the resolution, still no sound.
Then I played the file with OMXPlayer and sound appears, file and system.
Unfortunately I didn't activate the debug log.
I have the Problem with 3D not scaling, too. Its almost impossible to watch a movie in 3D when the Aspect is is not adjustable and the black bars are cut off for space-savings. Its like watching the coneheads... Will there be a fix?
I am on 12.2 OE and i ran the patch and it made most of my addon's incompatible like livestreams n etc. So is there a way to get around that ?
Just curious as to why people are updating when it breaks most of the addons. So will i see performance upgrades from these patches when compared
to Frodo stable version.
(2014-02-27, 16:27)Double007 Wrote: [ -> ]I am on 12.2 OE and i ran the patch and it made most of my addon's incompatible like livestreams n etc. So is there a way to get around that ?
Just curious as to why people are updating when it breaks most of the addons. So will i see performance upgrades from these patches when compared
to Frodo stable version.

Hi, these updates are for testing porposes only!!! And there will no patch here, as it is for Gotham, going to Frodo.
Cause, and so is the World going Wink , Frodo is dead and the next xbmc release will be Gotham.

And this is why people testing these builds to make and to help, the coming Gotham one of the best Releases of xbmc Big Grin

And if Gotham go to Beta or Final release status, the add ons will be ported to the new version.... So i hope WinkWink
Cause my automatic german subtitle add on from subcentral.de doenst work in gotham either Big Grin

So if you want a stable 100% working relaese, stay on 12.2 or 12.3 ...

Greetz and have a nice weekend in advance...,
J.
New OpenELEC Gotham build: #0227
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.13.5 #1 PREEMPT Thu Feb 27 16:52:54 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Feb 26 2014 17:00:16
Copyright (c) 2012 Broadcom
version 6a275314dd80d1ede3697cea77f052f7964ba2f3 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20140227165215-r17824-g82c0036

Based on tip of XBMC master (d5fa138, changelog) and tip of OpenELEC master (82c0036, changelog) with the following modifications:
  • Includes newclock3 commits (except for 1f7e8b3 which I've replaced with a static spinner to avoid hammering the GUI)
  • Excludes the OpenELEC fernetmenta patches (due to conflict with newclock3)
  • 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 FIQ_FSM patch from Raspberry Pi Linux 3.13.y-next branch. This is a rewrite of the USB driver and should result in improved performance up to 20%, and improved network and USB performance. Disabled by default, see below for details on how to enable.
  • Includes PR4275: Use mmap to accelerate SQLite file accesses
Build Highlights:
  1. Firmware: Updated to 26 Feb build:
    • Some pwm related changes, not entirely sure if they benefit OpenELEC/XBMC in any way
  2. OpenELEC: wlan firmware update
  3. OpenELEC: Fix hifiberry noise during boot, build sound drivers as modules
  4. XBMC: Mostly Settings cleanup
  5. Custom: Includes FIQ_FSM patch from Raspberry Pi Linux 3.13.y-next branch. This is a rewrite of the USB driver and should result in improved performance up to 20%, with both better network and USB performance. Disabled by default, see below for details on how to enable.

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. To enable the FIQ_FSM patch, add the following entries to /flash/cmdline.txt:
    Code:
    dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3
    The FIQ_FSM announcement thread is here. There are currently no known problems with this patch, and it needs testing and will be the default in the future. Enabling the cmdline.txt options can improve network performance as well as USB devices. To determine if FIQ_FSM is enabled or not, run:
    Code:
    dmesg | grep FSM
    and the line:
    Code:
    [    1.524680] dwc_otg: FIQ split-transaction FSM enabled
    will confirm if FIQ_FSM is enabled or disabled.
Hi, there seems to be sth wrong in this build(I don't know what is wrong - just to point this out - for future releases) in relation to the Hifiberry DAC. With Popcornmixs http://forum.xbmc.org/showthread.php?tid...pid1638543 all is working fine but with this build thats what i get:
OpenELEC:~ # lsmod
Module Size Used by
snd_soc_wm8731 9498 0
snd_soc_wm8804 6854 0
snd_soc_hifiberry_dac 1740 0
snd_soc_pcm5102a 1058 0
snd_soc_bcm2708_i2s 5202 0
regmap_mmio 1921 1 snd_soc_bcm2708_i2s
OpenELEC:~ # aplay -l
aplay: device_list:268: no soundcards found...
Great update Milhouse.
Gonna try as soon as my kid lets me :-)
@Bullsei: What lsmod output do you get with your previous build?

I don't have a Hifiberry, so can't really test this, but the hifiberry.conf from the linked thread causes errors at startup with the latest build, due to the presence of the following two entries:

Code:
snd_soc_bcm2708
bcm2708_dmaengine

The first can't be found, and the second is a built-in. Commenting them out at least results in a clean startup, not sure if the first module is meant to be found or not.

Run /usr/lib/systemd/systemd-modules-load to test the config.

I've no idea what's going on with aplay.
Edit: Answering my own question. Using the build linked by Bullsei, without the hifiberry.conf, lsmod returns:
Code:
rpi512:~ # lsmod | sort
Module                  Size  Used by
bcm2708_dmaengine       4826  0
bluetooth             229959  3 rfcomm
regmap_i2c              1161  3 snd_soc_wm8731,snd_soc_wm8804,snd_soc_core
regmap_mmio             1921  1 snd_soc_bcm2708_i2s
regmap_spi              1469  3 snd_soc_wm8731,snd_soc_wm8804,snd_soc_core
rfcomm                 31577  0
snd                    46819  5 snd_soc_wm8731,snd_soc_core,snd_timer,snd_pcm,snd_compress
snd_compress            7036  1 snd_soc_core
snd_page_alloc          3468  1 snd_pcm
snd_pcm                66765  3 snd_soc_wm8731,snd_soc_core,snd_pcm_dmaengine
snd_pcm_dmaengine       2807  1 snd_soc_core
snd_soc_bcm2708_i2s     5202  0
snd_soc_core           96015  3 snd_soc_wm8731,snd_soc_wm8804,snd_soc_bcm2708_i2s
snd_soc_wm8731          9498  0
snd_soc_wm8804          6854  0
snd_timer              17577  1 snd_pcm
virt_dma                1506  1 bcm2708_dmaengine

Code:
rpi512:~ # aplay -l
aplay: device_list:268: no soundcards found...

and with hifiberry.conf (as originally specified, with both snd_soc_bcm2708 and bcm2708_dmaengine, which do not cause noticeable errors at startup*):
Code:
rpi512:~ # lsmod | sort
Module                  Size  Used by
bcm2708_dmaengine       4826  1
bluetooth             229959  3 rfcomm
regmap_i2c              1161  3 snd_soc_wm8731,snd_soc_wm8804,snd_soc_core
regmap_mmio             1921  1 snd_soc_bcm2708_i2s
regmap_spi              1469  3 snd_soc_wm8731,snd_soc_wm8804,snd_soc_core
rfcomm                 31577  0
snd                    46819  5 snd_soc_wm8731,snd_soc_core,snd_timer,snd_pcm,snd_compress
snd_compress            7036  1 snd_soc_core
snd_page_alloc          3468  1 snd_pcm
snd_pcm                66765  4 snd_soc_wm8731,snd_soc_core,snd_soc_hifiberry_dac,snd_pcm_dmaengine
snd_pcm_dmaengine       2807  1 snd_soc_core
snd_soc_bcm2708_i2s     5202  2
snd_soc_core           96015  5 snd_soc_wm8731,snd_soc_wm8804,snd_soc_hifiberry_dac,snd_soc_pcm5102a,snd_soc_bcm2708_i2s
snd_soc_hifiberry_dac     1740  0
snd_soc_pcm5102a        1058  1
snd_soc_wm8731          9498  0
snd_soc_wm8804          6854  0
snd_timer              17577  1 snd_pcm
virt_dma                1506  1 bcm2708_dmaengine

Code:
rpi512:~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sndrpihifiberry [snd_rpi_hifiberry_dac], device 0: HifiBerry DAC HiFi pcm5102a-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

*Note: the correct command to load the modules is "systemctl start systemd-modules-load.service", and to see the status/errors "systemctl status systemd-modules-load.service" which reveals:
Code:
Feb 27 20:37:40 rpi512 systemd-modules-load[660]: Failed to find module 'snd_soc_bcm2708'
so even with this build the attempt to load the modules is ending with an error, just not as obviously as with build #0227.


I'll try creating a clean build and see if that helps (will take just under 2 hours).
OK, I've created a clean build, and there is no difference:

Without hifiberry.conf:
Code:
rpi512:~ # lsmod | sort
Module                  Size  Used by
regmap_mmio             1921  1 snd_soc_bcm2708_i2s
snd_soc_bcm2708_i2s     5202  0
snd_soc_wm8731          9498  0
snd_soc_wm8804          6854  0

rpi512:~ # aplay -l
aplay: device_list:268: no soundcards found...

With hifiberry.conf:
Code:
rpi512:~ # cat .config/modules-load.d/hifiberry.conf
#snd_soc_bcm2708
snd_soc_bcm2708_i2s
bcm2708_dmaengine
snd_soc_pcm5102a
snd_soc_hifiberry_dac

rpi512:~ # lsmod | sort
Module                  Size  Used by
regmap_mmio             1921  1 snd_soc_bcm2708_i2s
snd_soc_bcm2708_i2s     5202  0
snd_soc_hifiberry_dac     1740  0
snd_soc_pcm5102a        1058  0
snd_soc_wm8731          9498  0
snd_soc_wm8804          6854  0

rpi512:~ # aplay -l
aplay: device_list:268: no soundcards found...

rpi512:~ # systemctl status systemd-modules-load.service
systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
   Active: active (exited) since Thu 1970-01-01 01:00:06 BST; 44 years 1 months ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 118 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
Main PID: 118 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/systemd-modules-load.service

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

Note that systemd-modules-load.service will fail if snd_soc_bcm2708 is uncommented as this module can't be found.
I'm trying to get that FIQ_FSM patch working, but so far no dice. I added in those lines, but it just doesn't seem to want to activate.

Code:
boot=/dev/mmcblk0p1 disk=/dev/sda1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh
dwc_otg.fiq_enable=1
dwc_otg.fiq_fsm_enable=1
dwc_otg.fiq_fsm_mask=0x3
(2014-02-28, 00:14)Hormesis Wrote: [ -> ]I'm trying to get that FIQ_FSM patch working, but so far no dice. I added in those lines, but it just doesn't seem to want to activate.

Quote:boot=/dev/mmcblk0p1 disk=/dev/sda1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh
dwc_otg.fiq_enable=1
dwc_otg.fiq_fsm_enable=1
dwc_otg.fiq_fsm_mask=0x3

You add the extra options to the end of the existing line, so in your case:
Code:
boot=/dev/mmcblk0p1 disk=/dev/sda1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3

^ The line above may appear wrapped, but it's actually a single line!
Well, don't I feel silly. Thanks for the help. Smile

Code:
[    2.926846] FIQ FSM acceleration enabled for :
[    3.070359] dwc_otg: FIQ split-transaction FSM enabled


(2014-02-28, 00:20)MilhouseVH Wrote: [ -> ]
(2014-02-28, 00:14)Hormesis Wrote: [ -> ]I'm trying to get that FIQ_FSM patch working, but so far no dice. I added in those lines, but it just doesn't seem to want to activate.

Quote:boot=/dev/mmcblk0p1 disk=/dev/sda1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh
dwc_otg.fiq_enable=1
dwc_otg.fiq_fsm_enable=1
dwc_otg.fiq_fsm_mask=0x3

You add the extra options to the end of the existing line, so in your case:
Code:
boot=/dev/mmcblk0p1 disk=/dev/sda1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 ssh dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3

^ The line above may appear wrapped, but it's actually a single line!