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 - marcavatar - 2014-02-28

Hello, first of all I want to thank MilkhouseVH for the answer to my question last week and then I wanted to know what exactly is the command to enable the pach FIQ_FSM. I tried to enter the command line directly on the SD card in the file cmdline.txt but then PUTTY with the command dmesg | grep FSM I received the response ([1.634132] dwc_otg: FIQ split-transaction FSM disabled), I installed OpenELEC on usb and sd card, thank you.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-02-28

(2014-02-28, 20:28)marcavatar Wrote: I wanted to know what exactly is the command to enable the pach FIQ_FSM.

I can't tell you the exact command without knowing what is already in your cmdline.txt file.

What you need to do is add "dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x3" (without quotes) to the end of the line you already have in your cmdline.txt. Leave a space between what is already there and what you add. Make sure it is one, single line.

If you still can't get it to work, you'll need to paste the contents of your cmdline.txt here, and then I can tell you exactly what it should be.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - MrNice - 2014-02-28

@popcornmix

Is this problem new?
Not new, I am not sure but I think from the beginning I use the Pi so for 2-3 months

Did the Frodo stable work correctly?
No, same issue but it switches on/off the AVR when it boots and shuts down.

Did any previous gotham builds work?
Never with the builds I tested

Can you test with a different hdmi audio device?
Unfortunately no

Do any options in settings/system/audio and video make it work?
I did the setting you proposed me in #3112
Can you add config_hdmi_boost=4 to config.txt? If that fails try 7.
#3118
Can you try adding hdmi_drive=2 to config.txt.
I tried different settings as well, still the issue

setting 2 channels
Nothing better

Have you tried a different hdmi cable?
Yes, still the issue

I have some suspicions that the issue is due to the HDMI management; I don't have a CEC-TV (no TV at all) but a monitor.
When I change the resolution, system sound starts as soon I press YES. Change makes to reinitialise HDMI, I guess.
What log/info I could gather to help?


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-02-28

New OpenELEC Gotham build: #0228b
(Supercedes previous build)

Code:
# uname -a
Linux rpi512 3.13.5 #1 PREEMPT Fri Feb 28 19:00:26 GMT 2014 armv6l GNU/Linux

# vcgencmd version
Feb 28 2014 16:43:10
Copyright (c) 2012 Broadcom
version a9ba6435869933cdfd1ad5631b6b9a97affd8806 (clean) (release)

# lsb_release
OpenELEC (Milhouse) - Version: devel-20140228213243-r17825-g1744311

Based on tip of XBMC master (022952e, changelog) and tip of OpenELEC master (1744311, changelog) with the following modifications:
  • Includes newclock3 commits (except for 9e25dc5 which I've replaced with a static spinner to avoid hammering the GUI)
  • Includes kernel 3.13.y-next commits (see below for details on enabling FIQ_FSM patch)
  • 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 PR4235: Move to SQLite 3080301
  • Includes PR4275: Use mmap to accelerate SQLite file accesses
  • Includes PR4290: Fix memory leakage in python bindings
  • Includes PR4296: DVD various fixes related to libdvdnav issues and skip to menu
Build Highlights:
  1. Firmware: Updated to 28 Feb build:
    • Add dither to pwm audio
    • cleanup: prune some unused libs
  2. Kernel 3.13.y-next: ASoc: Don't report S24_LE support, it produces white noise with XBMC. This reverts the XBMC hack to force 16-bit (previously present in newclock3, now removed) and adds a commit to rpi-3.13.y-next to disable S24 output. This now means Hifiberry gets 32-bit output which seems to work fine.
  3. Custom: Enable CONFIG_DMA_BCM2708=m to fix Hifiberry support. Note that fewer modules will be returned by lsmod (compared to popcornmix's test build) because stock OE builds - including this build - compile more modules in to the kernel which are not listed by lsmod. In .config/modules-load.d/hifiberry.conf, disable or remove snd_soc_bcm2708 as this module is not valid (doesn't exist) or required.
  4. XBMC: PVR/JSON and id3v2 fixes
  5. XBMC: Better caching and updating for dynamic list provider (PR4243)
  6. Changed in #0228b:
    • Reverts experimental database optimisations (build #0228 remains available here)
    • Added PR4235 (inadvertently dropped in recent builds due to similarly sounding OpenELEC commit), PR4290 and PR4296

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 options to the end of your current line in /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.



RE: OpenELEC Testbuilds for RaspberryPi Part 2 - marcavatar - 2014-02-28

I installed the latest version of OpenELEC and I put what I've written above, but it does not work tells me disabled ([1.634132] dwc_otg: FIQ split-transaction FSM disabled], the line that I have in cmdline.txt is as follows (boot = LABEL = disk = LABEL = STORAGE SYSTEM ssh quiet
dwc_otg.fiq_enable dwc_otg.fiq_fsm_enable = 1 = 1 = 0x3 dwc_otg.fiq_fsm_mask) without brackets. The line is unique.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Trixster - 2014-02-28

If that's what's in your cmdline.txt then I'm not surprised it doesn't work, because it doesn't match milhouse's instructions above at all.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-02-28

(2014-02-28, 22:05)marcavatar Wrote: I installed the latest version of OpenELEC and I put what I've written above, but it does not work tells me disabled ([1.634132] dwc_otg: FIQ split-transaction FSM disabled], the line that I have in cmdline.txt is as follows (boot = LABEL = disk = LABEL = STORAGE SYSTEM ssh quiet
dwc_otg.fiq_enable dwc_otg.fiq_fsm_enable = 1 = 1 = 0x3 dwc_otg.fiq_fsm_mask) without brackets. The line is unique.

That's not your real cmdline.txt, that's garbage.

Log in to your Pi using ssh, type the following command:
Code:
pastebinit -u /flash/cmdline.txt

then paste the resulting url you see on your screen (should start with http://sprunge.us)


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - marcavatar - 2014-02-28

Allora ho fatto quanto mi hai detto. Il risultato è ( http://sprunge.us/WHSS ) cosa devo aggiungere? Mi sono confuso .


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - spookybathtub - 2014-02-28

With build 228, my HiFiBerry finally works! With some caveats. I disabled snd_soc_bcm2708 in hifiberry.conf.
I created /storage/.xbmc/userdata/advancedsettings.xml with the above contents, but PAPlayer is shown as the default.
Playing using either DVDPlayer or PAPlayer works with HiFiBerry. But dual audio output isn't working (I'd like to play out both HDMI and HiFiBerry). OMXPlayer plays over HDMI only, even when output device is set to HiFiBerry.

Also, you said we're using 32 bit output on the HiFiBerry? That's crazy high! Is there a way to check the current output format? In Raspbian I can
Code:
cat /proc/asound/card0/pcm0p/sub0/hw_params
but that doesn't exist in OpenElec.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-02-28

(2014-02-28, 22:49)marcavatar Wrote: Allora ho fatto quanto mi hai detto. Il risultato è ( http://sprunge.us/WHSS ) cosa devo aggiungere? Mi sono confuso .

Make it this: http://pastebin.com/raw.php?i=ZHReFyQ3


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - marcavatar - 2014-02-28

Thank you!! It works!! Thanks for your patience and apologize for the inconvenience Milkhouse.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - popcornmix - 2014-02-28

(2014-02-28, 22:53)spookybathtub Wrote: Playing using either DVDPlayer or PAPlayer works with HiFiBerry. But dual audio output isn't working (I'd like to play out both HDMI and HiFiBerry). OMXPlayer plays over HDMI only, even when output device is set to HiFiBerry.

This is using standard the xbmc ActiveAE audio engine, so it will do what that can do (i.e. no dual audio until xbmc adds that as a standard feature).
It is also paplayer and dvdplayer only.
omxplayer runs the whole player pipeline on the gpu which has no knowledge of alsa devices.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - Milhouse - 2014-02-28

Due to an oversight on my part, the experimental database optimisation patches were included in build #0228, and some potentially useful PRs missed out, hence the release of #0228b which doesn't include the database optimisations but does have the missing PRs.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - gthompson20 - 2014-03-01

Popcornmix,

I am trying to use Live TV with the myth plugin... Do you think any work can be done to improve the EPG Screen time to display, and or the Channels screen with Channel Icons?

The EPG takes about 10-15 seconds to show when LiveTV is playing... If I remove all the channel Icons, the channels overlay is pretty snappy, but once I turn on the channel logos/icons it slows way down.

Also If I turn deinterlacing on as default for all videos all I get is a black screen.


RE: OpenELEC Testbuilds for RaspberryPi Part 2 - b1m1 - 2014-03-01

Probably important to know, for those people trying the new features:

Quote:Known bugs:
- Isochronous OUT transfers are subject to occasional data corruption.
- Unplugging the root port or booting with the root port disconnected
will result in the interrupt handling breaking and USB becoming
unresponsive
- Setting dwc_otg.fiq_enable=0 causes interrupt handling to break.

Can transferring files via usb/network result in corrupter files or is the autocorrected?


This forum uses Lukasz Tkacz MyBB addons.