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

FIXED Stuck colors

Discussion in 'Bug Reports' started by HalbesHaehnchen, 16 July 2016.

  1. HalbesHaehnchen

    HalbesHaehnchen Member

    Messages:
    34
    Hardware:
    RPi2
    Anyone noticed stuck colors? It has something to do with the "smoothing" part. If its disabled all is fine as far as I can tell.
    Also shorter times help. The time the color is stuck can be 0 or 10 seconds and more. Its random.

     
  2. redPanther

    redPanther Active Member

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    smoothing means: collect colors for a certain time and set calculated median color to leds. As the nature of median color is, that mostly darker colors gets more attention then brigther colors. That causes some delay, until brighter colors settle.

    The other thing is you have blackborder detector activated. This feature is more for movies, then for desktop usage. I recommend to disable it.
     
  3. Brindosch

    Brindosch Active Member

    Messages:
    658
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    In case you are using the min luminance there is a known issue with "color hang"
     
  4. HalbesHaehnchen

    HalbesHaehnchen Member

    Messages:
    34
    Hardware:
    RPi2
    Thx for the quick replies.
    Yes, I know how this feature works, more or less:D. And I wouldnt even notice it on movies/TV, it's just noticeable on desktop environment and games with some kind of menus or loading screens or whatever.

    The thing I wonder about is that sometimes colors get stuck for a long time and then, the other second, they fade out correctly (on same settings).

    Blackborder detection is deactivaed/removed from config file. It is just my crappy cam trying to handle the light environment that makes it looks like it.
    Min luminance is on 0, I handle the backlight settings directly with v4l2 values.
     
  5. Brindosch

    Brindosch Active Member

    Messages:
    658
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    @redPanther
    Could this be a result of the stopped output?
     
  6. redPanther

    redPanther Active Member

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
    if "updateDelay" in smoothing is used, this would always freeze colors earlier as it should. if updateDelay is not used, it should work as expected - or better say I didn't notice any problems with that and the code looks good to me in that case.

    I will make a fix in hyperion repo for updateDelay issue
     
  7. redPanther

    redPanther Active Member

    Messages:
    211
    Hardware:
    RPi1/Zero, RPi2, 32/64bit, +Arduino
  8. HalbesHaehnchen

    HalbesHaehnchen Member

    Messages:
    34
    Hardware:
    RPi2
    Latest update fixed the problem for me. Thank you!
    My solution to get the backlight I want was pretty simple :D raise the brightness of the captured picture. I did not want "full black" to emit light, but still darker colors to get noticed by hyperion.

    These are my current settings
    Code:
    v4l2-ctl --set-ctrl=chroma_agc=0
    v4l2-ctl --set-ctrl=chroma_gain=65
    v4l2-ctl --set-ctrl=saturation=60
    v4l2-ctl --set-ctrl=brightness=172
    v4l2-ctl --set-ctrl=contrast=80