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

BUG Hyperion 2.08 latest build November5 master (GitHub-54707eff/36c05142-1604520240)

Discussion in 'Bug Reports' started by jeroen warmerdam, 6 November 2020.

  1. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
    Hyperion Server:
    - Build: master (GitHub-54707eff/36c05142-1604520240)
    - Build time: Nov 5 2020 22:19:30

    Hello folks,


    i made a new installation (on RPI with good hardware) with compiling new Hyperion alpha 2.08 newest build.
    the smoothing section is there but i can't save or switch on/off this feature in Image Processing.

    only when i use Remote control then i can only switch it off,
    when i switch Smoothing on in Remote control there's ZERO signal to the SPI device controller /dev/0.0/, so it'll look like ledstrip isn't working!


    i've tested with different Json files from last build September, but with that build @ friends house runs fine.
    when i use his Json file ( or use my own) then i get this bug.
    I can go back a build and deinstall and compiling different build, i just wanted to let the dev's know. ;)
     
  2. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
    thats the screenshot, you can see here i can not save the setting or can switch it off and then save..
     

    Attached Files:

  3. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    1,996
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +nodeMCU/ESP8266
    i dont get it...could you explain it a little bit more, and can you please provide logs
     
  4. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3

    2020-11-06T19:31:16.048Z [hyperiond DAEMON] (INFO) CEC handler created
    2020-11-06T19:31:16.086Z [hyperiond EFFECTFILES] (INFO) 39 effects loaded from directory :/effects/
    2020-11-06T19:31:16.094Z [hyperiond EFFECTFILES] (INFO) 22 effect schemas loaded from directory :/effects/schema/
    2020-11-06T19:31:16.099Z [hyperiond EFFECTFILES] (INFO) 0 effects loaded from directory /home/pi/.hyperion/custom-effects
    2020-11-06T19:31:16.232Z [hyperiond DAEMON] (INFO) set screen capture device to 'dispmanx'
    2020-11-06T19:31:16.234Z [hyperiond DISPMANXGRABBER] (INFO) Display opened with resolution: 1920x1080
    2020-11-06T19:31:16.235Z [hyperiond DAEMON] (INFO) DISPMANX frame grabber created
    2020-11-06T19:31:16.240Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal threshold set to: {25, 25, 25}
    2020-11-06T19:31:16.241Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Cropping image: width=1920 height=1080; crop: left=15 right=20 top=4 bottom=4
    2020-11-06T19:31:16.241Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) CEC detection is now disabled
    2020-11-06T19:31:16.241Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal detection area set to: 0.250000,0.250000 x 0.750000,0.750000
    2020-11-06T19:31:16.282Z [hyperiond JSONSERVER] (INFO) Started on port 19444
    2020-11-06T19:31:16.246Z [hyperiond LEDDEVICE] (INFO) Start LedDevice 'apa102'.
    2020-11-06T19:31:16.246Z [hyperiond SMOOTHING] (INFO) linear - Time: 1890587346 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: 6494444003133371994829286228792709889068837366450017529425326035805359511647165826838967971702911429875185859444856397241714356149979679888229216311759467623723621513131186657700892134364962403242805769811180533151734928387784011109367808.000000 ms
    2020-11-06T19:31:16.246Z [hyperiond SMOOTHING] (INFO) linear - Time: 1901062580 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: 0.000000 ms
    2020-11-06T19:31:16.246Z [hyperiond SMOOTHING] (INFO) LinearColorSmoothing sizeof floatT == 4
    2020-11-06T19:31:16.251Z [hyperiond FLATBUFCONN] (INFO) Connecting to Hyperion: 127.0.0.1:19401
    2020-11-06T19:31:16.285Z [hyperiond EFFECTENGINE] (INFO) Run effect "Rainbow swirl" on channel 0
    2020-11-06T19:31:16.295Z [hyperiond FLATBUFSERVER] (INFO) Started on port 19400
    2020-11-06T19:31:16.296Z [hyperiond PROTOSERVER] (INFO) Started on port 19445
    2020-11-06T19:31:16.463Z [hyperiond HYPERION] (INFO) Initial foreground effect 'Rainbow swirl' started
    2020-11-06T19:31:16.466Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) configured v4l device: /dev/video0
    2020-11-06T19:31:16.529Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Started
    2020-11-06T19:31:16.530Z [hyperiond HYPERION] (INFO) Hyperion instance 'First LED Hardware instance' has been started
    2020-11-06T19:31:16.622Z [hyperiond SMOOTHING] (INFO) linear - Time: 1890703848 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: 3600753840686499744933878091410536715371439590762786953130230766234657311691981543746852769065173971510130366290417205439375444646355918547166057437618227642196252652146862838189431270791933916377175206232973045877151994919721810489655412391936.000000 ms
    2020-11-06T19:31:16.695Z [hyperiond WEBSERVER] (INFO) Started on port 8090 name 'Hyperion Webserver'
    2020-11-06T19:31:16.826Z [hyperiond WEBSERVER] (INFO) Started on port 8092 name 'Hyperion Webserver'
    2020-11-06T19:31:18.692Z [hyperiond V4L2:/DEV/VIDEO0] (INFO) Signal lost
    2020-11-06T19:31:23.628Z [hyperiond SMOOTHING] (INFO) linear - Time: -1091431936 ms, outputRate 0.000000 Hz, interpolationRate: 25.000000 Hz, timer: 0 ms, Dithering: 1077477376, Decay: 0.000000 -> HalfTime: 0.000000 ms
    2020-11-06T19:53:09.289Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:204:sendClose()) send close: 1000
    2020-11-06T19:53:10.132Z [hyperiond WEBSOCKET] (DEBUG) (WebSocketClient.cpp:30:WebSocketClient()) New connection from ::ffff:192.168.1.25
    2020-11-06T19:53:10.133Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:81:handleInstanceSwitch()) Client '::ffff:192.168.1.25' switch to Hyperion instance 0
    2020-11-06T19:53:10.672Z [hyperiond WEBSOCKET] (DEBUG) (JsonAPI.cpp:1047:handleLoggingCommand()) log streaming activated for client ::ffff:192.168.1.25
     
  5. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3

    okay :)

    with the setting smoothing activated ( which i can't deactivate) the SPI device is not outputting data signals,
    start up effect is not showing.
    when i turn off smoothing in remote control then the lights WS2801 start to work as normal .

    the json file is not corrupted or anything because i used (to test) a working one from my friend which has almost the same build ;)
     
  6. Awawa

    Awawa Active Member

    Messages:
    228
    Hardware:
    RPi1/Zero, RPi3, +nodeMCU/ESP8266
    Yeah, I also found&corrected it too but dont have time to make pull request. The bug is caused because new scheme for smoothing doesn't care about old config and after start some things starts to break down (for example you cant save settings for smoothing in the web panel).
    "required" property is missing for the new fields. Work around is to delete old config.
    BTW what is the difference between "updateFrequency" and new "outputRate" for old linear smoothing?

    Working one example /libsrc/hyperion/schema/schema-smoothing.json :
    Code:
    {
        "type" : "object",
        "title" : "edt_conf_smooth_heading_title",
        "properties" :
        {
            "enable" :
            {
                "type" : "boolean",
                "title" : "edt_conf_general_enable_title",
                "default" : true,
                "propertyOrder" : 1
            },
            "type" :
            {
                "type" : "string",
                "title" : "edt_conf_smooth_type_title",
                "enum" : ["linear", "decay"],
                "default" : "linear",
                "options" : {
                    "enum_titles" : ["edt_conf_enum_linear", "edt_conf_enum_decay"]
                },
                "required" : true,
                "propertyOrder" : 2
            },
            "time_ms" :
            {
                "type" : "integer",
                "title" : "edt_conf_smooth_time_ms_title",
                "minimum" : 25,
                "maximum": 5000,
                "default" : 150,
                "append" : "edt_append_ms",
                "propertyOrder" : 3
            },
            "updateFrequency" :
            {
                "type" : "number",
                "title" : "edt_conf_smooth_updateFrequency_title",
                "minimum" : 1.0,
                "maximum" : 2000.0,
                "default" : 120,
                "append" : "edt_append_hz",
                "propertyOrder" : 4
            },
            "interpolationRate" :
            {
                "type" : "number",
                "title" : "edt_conf_smooth_interpolationRate_title",
                "minimum" : 1.0,
                "maximum": 1000.0,
                "default" : 120,
                "append" : "edt_append_hz",
                "required" : true,
                "propertyOrder" : 5
            },
            "outputRate" :
            {
                "type" : "number",
                "title" : "edt_conf_smooth_outputRate_title",
                "minimum" : 1.0,
                "maximum": 1000.0,
                "default" : 120,
                "append" : "edt_append_hz",
                "required" : true,
                "propertyOrder" : 6
            },
            "decay" :
            {
                "type" : "number",
                "title" : "edt_conf_smooth_decay_title",
                "default" : 1.0,
                "minimum" : 1.0,
                "maximum": 20.0,
                "required" : true,
                "propertyOrder" : 7
            },
            "dithering" :
            {
                "type" : "boolean",
                "title" : "edt_conf_smooth_dithering_title",
                "default" : true,
                "required" : true,
                "propertyOrder" : 8
            },
            "updateDelay" :
            {
                "type" : "integer",
                "title" : "edt_conf_smooth_updateDelay_title",
                "minimum" : 0,
                "maximum": 2048,
                "default" : 0,
                "append" : "edt_append_ms",
                "propertyOrder" : 9
            },
            "continuousOutput" :
            {
                "type" : "boolean",
                "title" : "edt_conf_smooth_continuousOutput_title",
                "default" : true,
                "propertyOrder" : 10
            }
        },
        "additionalProperties" : false
    }
    
     
  7. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3

    ah okay!

    to be honest and clear to you and dev's in general, i never altered the "new" Json file that was implemented in new Hyperion> because of easyness and it's a working configuration i used my old backup from Json from the old build and after that tested with Json file of a friend.

    that's the APA102 debug file up here i posted.


    i have 2 PI's running here with the first Hyperion.NG 1.0.0 Beta
    and Hyperion.NG 2.08 Alpha is running on second PI

    so i can see easy what's different ;)

    i don't know what is the diffrence old en new build in Smoothing is different, i noticed that with some changes in the WebUI
     
  8. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
    this is first instance running now at this moment>
     

    Attached Files:

  9. Awawa

    Awawa Active Member

    Messages:
    228
    Hardware:
    RPi1/Zero, RPi3, +nodeMCU/ESP8266
    New mode for smoothing was added in one of the latest commits. I've got some mixed feelings about it but it's always an option that somebody may need.
     
  10. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
    smoothing mode for myself i use all the time, but it's matter of personal preference !

    it gives the lights some easy switching and when watching tv/movie it isn't destracting.
    but that is just offtopic.

    and its a really cool project that you guys do, so kuddos
     
  11. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
    i am going to put that part Json file and implement it in my config.

    i let you know :)
     
    • Like Like x 1
  12. Awawa

    Awawa Active Member

    Messages:
    228
    Hardware:
    RPi1/Zero, RPi3, +nodeMCU/ESP8266
    I also use smoothing that's why it was disturbing for me because that commit broke it down ;) It's not only inability to save settings in editor, some strange things in the signal processing starts to happen beneath and it shows up in the logs. I hope that linear mode works as before but there was a lot of changes.
     
  13. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
    i tried to implement it in the Json code ( probably i am doing something not 100% okay) but still the same thing. The rest works so it seems that this part of Json code isn't corrupting the Json file
     
  14. Awawa

    Awawa Active Member

    Messages:
    228
    Hardware:
    RPi1/Zero, RPi3, +nodeMCU/ESP8266
    Did you replace /libsrc/hyperion/schema/schema-smoothing.json in the latest Hyperion.NG sources with that code and recompiled them?
     
  15. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    389
    Hardware:
    RPi3, 32/64bit
    • Like Like x 1
  16. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3
  17. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3

    no i did the thing which i thought was okay.. i took the code and implement it in generated Json file. Then import it again.
    but i think thats no good because something in code is missing parts :)
     
  18. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    389
    Hardware:
    RPi3, 32/64bit
  19. jeroen warmerdam

    jeroen warmerdam Raspberry 3B / APA102 / Hyperion.NG relaisbox

    Messages:
    408
    Hardware:
    RPi3

    artifacts? i don't see that, i'll look into it tomorrow :)
     
  20. Lord-Grey

    Lord-Grey Moderator Staff Member Developer

    Messages:
    389
    Hardware:
    RPi3, 32/64bit