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

Hyperion.NG Blue/Green Gamma issue

Discussion in 'Bug Reports' started by Kotik, 25 September 2017.

  1. Kotik

    Kotik New Member

    Messages:
    14
    Hardware:
    RPi3, +Arduino
    Hello there,

    I have been using NG for a month and generally i am happy with it besides some minor issues that are to be expected in its alpha state.

    What i noticed during my countless hours of led calibration is that somehow Blue and Green gamma settings have no effects what so ever on the leds, is this a normal behavior? It is quite simple to reproduce, u can set all colors to the default RGB values and target for 50/50/50 on Remote Control/Color Effects, then start playing with Red gamma, as expected the leds will dim while increasing Red gamma value, now if you increase Blue or Green gamma nothing happens.

    It is as if Blue and Green gamma values do not work at all. This as a result will give u all kind of calibration issues no matter how hard you try.

    Maybe i am doing something wrong but correct me here, in an RGB value of 50/50/50 all colors (Red/Green/Blue) are present and gamma setting for each color should affect the color itself.

    Thanx in advance for your great work on this project, i am loving it although sometimes i have to spend countless hours trying to figure out why the damn leds refuse to obey my will :)

    Capture.JPG

    P.S. I am using WS2812B
     
    Last edited: 25 September 2017
  2. Kotik

    Kotik New Member

    Messages:
    14
    Hardware:
    RPi3, +Arduino
    Just reverted back to official non NG release and i can confirm that there Blue and Green gamma settings work as expected.

    BTW tried to build latest NG from git and although everything compiled fine i am now getting an error each time i am about to save a setting:

    Error while parsing json: illegal value at Line: 0, Column: 0

    Capture.JPG

    No idea what it could be, everything was working fine with a previous build of NG (about a month ago).
     
  3. Paulchen-Panther

    Paulchen-Panther Ich komme wieder, keine Frage! Developer

    Messages:
    107
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +Arduino
    @Kotik There was an error with json communications and the WebUI. RedPanter is working on the fix.
     
    • Thank you Thank you x 1
  4. Kotik

    Kotik New Member

    Messages:
    14
    Hardware:
    RPi3, +Arduino
    Thanx for the info, appreciate it.
     
  5. Kotik

    Kotik New Member

    Messages:
    14
    Hardware:
    RPi3, +Arduino
    @Brindosch your latest commit resolved quite a lot of issues, specifically the communication between webui and JSON.

    I can now save settings to my config file but unfortunately while the settings are being saved Hyperion itself is crashing and is unable to recover, this is happening during the restart process, i am getting the following error:

    Capture.JPG

    If you run ./hyperiond afterwards again then everything is fine.

    As a side note, could someone please confirm that there is indeed a blue/green gamma issue in NG?

    Thank you for your efforts and keep it up.
     
    • Like Like x 1
  6. b1rdhous3

    b1rdhous3 Member Developer

    Messages:
    51
    Hardware:
    RPi1/Zero, RPi3, 32/64bit, +PhilipsHue
    Do you run hyperion as a service? It seems you run it in your console.

    I will try the calibration later.

    Edit: Can confirm. I have the same behavior you described.
    I used a quite old build for testing it:

    severinfo_cb (brindosch-9cdcf66/a01e915-1497523017)
    Jun 17 2017 15:47:13
     
    Last edited: 15 October 2017
    • Thank you Thank you x 1
  7. Kotik

    Kotik New Member

    Messages:
    14
    Hardware:
    RPi3, +Arduino
    Yes i am an idiot, i run it from console and expect it to restart itself hahaha.

    Thanx for confirming, essentially red gamma behaves as global gamma while blue and green do absolutely nothing.
     
  8. Brindosch

    Brindosch Administrator Administrator

    Messages:
    679
    Hardware:
    RPi1/Zero, RPi2, RPi3, +nodeMCU/ESP8266
    Hello,
    the vchiq crash is known. A workaround is to use a systemd service that restarts autoamtically until this is fixed. For the gamma issues i need to investigate
     
    • Like Like x 1
  9. Kotik

    Kotik New Member

    Messages:
    14
    Hardware:
    RPi3, +Arduino
    The crash is not such a major issue, all i have to do is re-run from console, settings are saved fine since last commit, effects placeholder are working too now and i really really love that the config is now saved in a new location that is easy to find :)

    Please do investigate the gamma issue, i took a look at the code in hope to spot something (i am really bad at coding) but unfortunately i couldnt find anything, i was looking at RGBTransform.h..... if u need some testing (only thing i am good at...) let me know.
    Thanx once again.