RPI2 + Hyperion + OSMC

I had also flickering and evaluated, that this was correlating with network traffic (I used a seperate WLAN-LAN Access Point). So I changed to a WLAN-USB adapter and now I have no flickering any more. Maybe you can try temporally to remove your LAN-cable?.?

Im not 100% sure, if it really was this case, but I installed a ferrit core, realigned the cables and reinstalled everything, and the flickering is gone! Thanks

I have the same issues…

After some test i try a usb ethernet adaptater for another reason … and now i have not flickering anymore.

Try you video on a usb stick or on the sd card.

1 Like

Same issue - blinking- for me with RPi2 and OSMC RC, ws2801 and when playing movies from my nas (synology). From Mediathek it is ok. Also when using a usb grabber (fushicai) and video from there it is ok.

Ferrit core around data cable doesn’t help.
Will try other than the current used lan connection…

Are there more people with this issue?
Is it kernel related?
With RPi B+ and Raspbmc everything was fine with unchanged config/equipment…

I figured it out (for my case)!!!

I forgot a small but important detail: I also changed my Raspberry Power Adapter!

So before with my problems I used a 1200mAh power supply (the same I used for my Raspberry Pi 1 B). The day, I rearranged everything, I also exchanged that for my new IKEA Koppla power strip (http://www.ikea.com/de/de/catalog/products/90280826/), to power my Pi through one of the USB Ports (which supplies 2600mAh). Now yesterday I needed the power strip elsewhere, so I connected the Pi to my old 1200 power supply. And there and behold: The flickering was back.

Now with the more powerful Koppla, the flickering is gone.
So my theory: Even though the LED Strips have their own Power to run properly, the Pi needs more energy when using the SPI connectors.

Thanks for your answer.

In my case I think it isn’t the power supply, because I already use a 4A for the RPi (with usb grabber) and also a separate 4A for the LED stripe.
I have also used this power supply before on the well running RPi B+. Nothing changed, expect the RPi 2 and the OS (from Raspbmc to OSMC).

The RPi 2 is running well with hyperion and config using the usb grabber input, also on hyperion with kodi config and watching mediathek.
It is also running well if I’m running hyperion with video grabber config, switched my AVR/TV to OSMC and seeing the OSMC main menu and navigating or show mediathek content (the LEDs are shown like the video grabber source, because videograbber config).
It is equal how hyperion is running (kodi config or videograbber config), since I start a movie from my NAS the LEDs are starting with flickering.

I will test with other LAN connection…
Maybe it has something to do with hardware-/software transcoding…

I have also some flickering and it is due to electrical interference. It is due to my USB DVB-T dongle which when scanning or playing live tv makes hyperion flickers.

I did not know about ferrite so will test with some attached to the USB cables.

I can confirm that there isn’t flickering when I’m using a USB2LAN dongle.
My current workaround :wink:

1 Like

[Unit]
Description = hyperion
After = mediacenter.service

[Service]
User = osmc
Group = osmc
Type = simple
ExecStart= /usr/bin/hyperiond /etc/hyperion.config.json
Restart = always
RestartSec = 1

[Install]
WantedBy = multi-user.target

As of OSMC RC2, user osmc doesn’t have read/write access to /dev/spidev0.0, so removing The User and Group lines in hyperion.service was necessary for hyperion to run properly, otherwise the process would run, but the leds was always off.

Thanks for bringing that to my attention. Will be fixed in next release.

1 Like
osmc@osmc:~$ sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Mar  6 2015 20:57:44
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform 'default' => [0; 49]
Device configuration:
{
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/spidev0.0",
        "rate" : 250000,
        "type" : "ws2801"
}

Failed to open device('/dev/spidev0.0')
Black border threshold set to 0.01 (3)
Not creating any smoothing
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
Display opened with resolution: 1280x720
Frame grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connected
Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[]}
XBMC checker: switching to OFF mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":14,"minor":2,"revision":"Unknown","tag":"stable"}}}
effect finished
osmc@osmc:~$ sudo /usr/bin/hyperiond /etc/hyperion.config.json
Application build time: Mar  6 2015 20:57:44
QCoreApplication initialised
Selected configuration file: /etc/hyperion.config.json
ColorTransform 'default' => [0; 49]
Device configuration:
{
        "colorOrder" : "rgb",
        "name" : "MyPi",
        "output" : "/dev/spidev0.0",
        "rate" : 250000,
        "type" : "ws2801"
}

Failed to open device('/dev/spidev0.0')
Black border threshold set to 0.01 (3)
Not creating any smoothing
Effect loaded: Knight rider
Effect loaded: Blue mood blobs
Effect loaded: Cold mood blobs
Effect loaded: Full color mood blobs
Effect loaded: Green mood blobs
Effect loaded: Red mood blobs
Effect loaded: Warm mood blobs
Effect loaded: Rainbow mood
Effect loaded: Rainbow swirl fast
Effect loaded: Rainbow swirl
Effect loaded: Snake
Effect loaded: Strobe blue
Effect loaded: Strobe Raspbmc
Effect loaded: Strobe white
Initializing Python interpreter
Hyperion created and initialised
run effect Rainbow swirl fast on channel 0
Boot sequence(Rainbow swirl fast) created and started
XBMC video checker created and started
Display opened with resolution: 1280x720
Frame grabber created and started
Json server created and started on port 19444
Proto server created and started on port 19445
XBMC Connected
Message from XBMC: {"id":666,"jsonrpc":"2.0","result":[]}
XBMC checker: switching to OFF mode
Message from XBMC: {"id":668,"jsonrpc":"2.0","result":{"System.ScreenSaverActive":false}}
Message from XBMC: {"id":670,"jsonrpc":"2.0","result":{"version":{"major":14,"minor":2,"revision":"Unknown","tag":"stable"}}}
effect finished

I followed the instructions on this thread to enable SPI and have included the “dtparam=spi=on” in my config.txt and it is still not allowing /dev/spidev0.0 to be acceessed. Any suggestions? Thanks

hyperion is great. running it with a RPI2 and 160 LEDs WS2801. is the KODI hyperion addon doing any processing or is it just capturing an image and the image is send to hyperion? is an atom/ ion system fast enough for the KODI hyperion addon?

can i remove the 3M tape of the WS2801 LED strips from my TV easily?

How do you remove these lines? Where is hyperion.service? Thanks!

anyone solved the problem with onboard RPI LAN connection + flickering? i don’t want to use USB LAN/ WLAN adapters. i can confirm: playing a movie = flickering, playing a movie and using some mood blobs or rainbow swirl effects = flickering, no movie and using effects only = no flickering

Some LAN improvements are coming soon and may improve things

S

i think it’s not an OSMC problem, i got the same results with openelec.

I use LAN and there is no flickering. So it’s possible.

duri: can you please tell us your setup/ configuration? :grinning:

There is nothing special with my setup i guess.
RPI2 connected over LAN to Router. Lightberry HD connected to RPI2 with supplied cable. The data cable from you SPI is really “sensitive”. Like I said once before, I had flicker when I moved this cable while I run a movie. So first I installed a ferrit core. Since than, things are almost perfect.
Second thing is, you wanna make sure, the power supply and cables from your Lightberry are not crossing with those from the RPI power supply. Also try to have enough distance between them.

Otherwise there is nothing else special on my setup. You any more infos are needed, please don’t hesitate to ask.

1 Like

I have been using Hyperion with OSMC on my RPi2 for a few weeks/months now and have been having flickering issues from the start. Thanks to some very helpful users on this forum, I tried a USB2LAN adaptor I found lying around and it instantly fixed the issue. Thank you so much!

However, I have another problem, that I only noticed today. Using the Hyperion app to tell all the LEDs to be bright White, I can see that the LEDs gradually fade from a faint blue at the source end, to white at the far end. I am using 50 LEDs on a 47" TV. Has anyone else had this issue? It is quite difficult to search for.

Thanks in advance.