1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

BUG sometime LEDs pulsate

Discussion in 'Bug Reports' started by peter, 22 December 2016.

  1. peter

    peter Member

    RPi1/Zero, RPi2, RPi3
    Hello, sometimes, when I turn on my Rpi with hyperion and hdmi2av, LEDs pulsate. Sometimes it happens when I set static color and the switch back to live mode. And sometimes when I restart my Pi.
    Any idea what is causing this please?

    <iframe width="560" height="315" src="//sendvid.com/embed/g4zfw7qh" frameborder="0" allowfullscreen></iframe>
    <iframe width="560" height="315" src="//sendvid.com/embed/yiesjc6u" frameborder="0" allowfullscreen></iframe>
  2. Rick164

    Rick164 Administrator Staff Member Administrator

    RPi2, +Arduino, +AtmoOrb
    Have seen this before, do you have the frame grabber enabled in config by any chance?
  3. peter

    peter Member

    RPi1/Zero, RPi2, RPi3
    no, framegrabber is disabled. I found out, sometimes, when I restart RPi, this happens but no idea what causes it.
  4. Brindosch

    Brindosch Administrator Administrator

    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    this looks strange. It is possible that your av converter output that pulse. Hyperion just outputs what it gets.
  5. peter

    peter Member

    RPi1/Zero, RPi2, RPi3
    Greetings Brindosch, thanks for your answer.
    Yes, it is really really strange. I will give you as much information as I have.

    - I tested AV converter and it outputs nice image. (so this AV converter is not causing it)

    What I found out:
    When I run
    hyperion-remote -c red
    hyperion-remote -x
    hyperion-remote -c green
    hyperion-remote -x      it starts pulsating in some parts of my LED strip (video included). 
    Sometimes it needs more -c and -x cycles to start pulsating. When hyperion service is running and it starts pulsating, I just run "sudo shutdown -r now" (hyperion service is terminated properly) and after reboot everything works ok (no pulsating anymore until I repeat -c and -x cycles).
    BUT if leds start pulsating and hyperion crashes at the same time (this happens always when I run approx. 7 times -c and -x cycle) my leds continues pulsating even hyperion service is not running anymore (because of hyperion crash). When I reboot my Pi with "sudo shutdown -r now" pulsating continues over the whole reboot time and after initial rainbow reboot effect it pulsates again (I think because hyperion service was not terminated properly so it did not reset leds before reboot //because hyperion service crashed//). In this case I need to unplug power and after power replug it works again normally.

    I think there is problem (somewhere) in hyperion service during controlling leds.

    - pulsating - https://sendvid.com/mftmpitw
    - good colors - https://sendvid.com/0036q9x4
    Hyperion config json: http://www.filedropper.com/201715hyperionconfig
    Logs from /var/logs (after start and after hyperiond crash): http://www.filedropper.com/varlogs

    P.S. I found out, that sometimes command "hyperion-remote -x" goes back to live mode without led pulsating and sometimes it causes pulsating. Command "hyperion-remote -c red" (or any other color) never generates pulsating.
    It looks like it has something to do with v4l2 grabber settings: width, height, framedecimation, sizedecimation, cropping.
    Last edited: 6 January 2017