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

BUG Image/leds lagging on orange pi

Discussion in 'Bug Reports' started by peter, 19 May 2017.

  1. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    Hello, when I run hyperiond with v4l2 grabber setting, it is lagging leds - jerky colors are generated. But when I run hyperiond without v4l2 setting and then I run hyperion-v4l2, then colors are nice. Any idea what is causing it? (and how to solve it?)

    Many thanks.

    OS: armbian, orange pi zero
     
    Last edited: 20 May 2017
  2. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    can you post your config (but please use spoiler)
     
  3. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    here is my config:
    {
    // DEVICE CONFIGURATION
    "device" :
    {
    "name" : "My",
    "type" : "ws2812spi",
    "leds" : 150,
    "colorOrder" : "grb",
    "output" : "/dev/spidev1.0"
    //,"freq" : 8000000
    },

    // COLOR CALIBRATION CONFIG
    "color" :
    {
    "channelAdjustment" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "pureRed" :
    {
    "redChannel" : 255,
    "greenChannel" : 0,
    "blueChannel" : 0
    },
    "pureGreen" :
    {
    "redChannel" : 0,
    "greenChannel" : 255,
    "blueChannel" : 0
    },
    "pureBlue" :
    {
    "redChannel" : 0,
    "greenChannel" : 0,
    "blueChannel" : 255
    }
    }
    ],
    "temperature" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "correctionValues" :
    {
    "red" : 255,
    "green" : 255,
    "blue" : 255
    }
    }
    ],
    "transform" :
    [
    {
    "id" : "default",
    "leds" : "*",
    "hsl" :
    {
    "saturationGain" : 1.0000,
    "luminanceGain" : 1.0000,
    "luminanceMinimum" : 0.0000
    },
    "red" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    },
    "green" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    },
    "blue" :
    {
    "threshold" : 0.0000,
    "gamma" : 2.5000
    }
    }
    ],
    // SMOOTHING CONFIG
    "smoothing" :
    {
    "type" : "linear",
    "time_ms" : 200,
    "updateFrequency" : 20.0000,
    "updateDelay" : 0
    }
    },

    // V4L2 GRABBER CONFIG
    // "grabber-v4l2" :
    // {
    //"device" : "/dev/video0",
    //"input" : 0,
    //"standard" : "PAL",
    //"width" : 720,
    //"height" : 576,
    //"frameDecimation" : 1,
    //"sizeDecimation" : 1,
    //"priority" : 900,
    //"mode" : "2D",
    //"cropLeft" : 2,
    //"cropRight" : 2,
    //"cropTop" : 2,
    //"cropBottom" : 2,
    //"redSignalThreshold" : 0.2,
    //"greenSignalThreshold" : 0.4,
    //"blueSignalThreshold" : 1.0
    // },

    // BLACKBORDER CONFIG
    "blackborderdetector" :
    {
    "enable" : true,
    "threshold" : 0.17,
    "unknownFrameCnt" : 600,
    "borderFrameCnt" : 50,
    "maxInconsistentCnt" : 10,
    "blurRemoveCnt" : 1,
    "mode" : "default"
    },

    // BOOTEFFECT CONFIG
    "bootsequence" :
    {
    "color" : [0,0,0],
    "effect" : "Rainbow swirl fast",
    "duration_ms" : 3000,
    "priority" : 990
    },

    // JSON SERVER CONFIG
    "jsonServer" :
    {
    "port" : 19444
    },

    // PROTO SERVER CONFIG
    "protoServer" :
    {
    "port" : 19445
    },

    // EFFECT PATH
    "effects" :
    {
    "paths" :
    [
    "/home/pi/hyperion/effects"
    ]
    },

    // NO FRAME GRABBER CONFIG
    // NO KODI CHECK CONFIG
    // NO BOBLIGHT SERVER CONFIG
    // NO JSON/PROTO FORWARD CONFIG

    "leds" :
    [

    {
    "index" : 0,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
    },
    {
    "index" : 1,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 0.9600 }
    },
    {
    "index" : 2,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8800, "maximum" : 0.9200 }
    },
    {
    "index" : 3,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8400, "maximum" : 0.8800 }
    },
    {
    "index" : 4,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.8000, "maximum" : 0.8400 }
    },
    {
    "index" : 5,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7600, "maximum" : 0.8000 }
    },
    {
    "index" : 6,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.7200, "maximum" : 0.7600 }
    },
    {
    "index" : 7,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6800, "maximum" : 0.7200 }
    },
    {
    "index" : 8,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6400, "maximum" : 0.6800 }
    },
    {
    "index" : 9,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.6000, "maximum" : 0.6400 }
    },
    {
    "index" : 10,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5600, "maximum" : 0.6000 }
    },
    {
    "index" : 11,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.5200, "maximum" : 0.5600 }
    },
    {
    "index" : 12,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4800, "maximum" : 0.5200 }
    },
    {
    "index" : 13,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4400, "maximum" : 0.4800 }
    },
    {
    "index" : 14,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.4000, "maximum" : 0.4400 }
    },
    {
    "index" : 15,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3600, "maximum" : 0.4000 }
    },
    {
    "index" : 16,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.3200, "maximum" : 0.3600 }
    },
    {
    "index" : 17,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2800, "maximum" : 0.3200 }
    },
    {
    "index" : 18,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2400, "maximum" : 0.2800 }
    },
    {
    "index" : 19,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.2000, "maximum" : 0.2400 }
    },
    {
    "index" : 20,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1600, "maximum" : 0.2000 }
    },
    {
    "index" : 21,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.1200, "maximum" : 0.1600 }
    },
    {
    "index" : 22,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0800, "maximum" : 0.1200 }
    },
    {
    "index" : 23,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0400, "maximum" : 0.0800 }
    },
    {
    "index" : 24,
    "hscan" : { "minimum" : 0.9400, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
    },
    {
    "index" : 25,
    "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 26,
    "hscan" : { "minimum" : 0.9600, "maximum" : 0.9800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 27,
    "hscan" : { "minimum" : 0.9400, "maximum" : 0.9600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 28,
    "hscan" : { "minimum" : 0.9200, "maximum" : 0.9400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 29,
    "hscan" : { "minimum" : 0.9000, "maximum" : 0.9200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 30,
    "hscan" : { "minimum" : 0.8800, "maximum" : 0.9000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 31,
    "hscan" : { "minimum" : 0.8600, "maximum" : 0.8800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 32,
    "hscan" : { "minimum" : 0.8400, "maximum" : 0.8600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 33,
    "hscan" : { "minimum" : 0.8200, "maximum" : 0.8400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 34,
    "hscan" : { "minimum" : 0.8000, "maximum" : 0.8200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 35,
    "hscan" : { "minimum" : 0.7800, "maximum" : 0.8000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 36,
    "hscan" : { "minimum" : 0.7600, "maximum" : 0.7800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 37,
    "hscan" : { "minimum" : 0.7400, "maximum" : 0.7600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 38,
    "hscan" : { "minimum" : 0.7200, "maximum" : 0.7400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 39,
    "hscan" : { "minimum" : 0.7000, "maximum" : 0.7200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 40,
    "hscan" : { "minimum" : 0.6800, "maximum" : 0.7000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 41,
    "hscan" : { "minimum" : 0.6600, "maximum" : 0.6800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 42,
    "hscan" : { "minimum" : 0.6400, "maximum" : 0.6600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 43,
    "hscan" : { "minimum" : 0.6200, "maximum" : 0.6400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 44,
    "hscan" : { "minimum" : 0.6000, "maximum" : 0.6200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 45,
    "hscan" : { "minimum" : 0.5800, "maximum" : 0.6000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 46,
    "hscan" : { "minimum" : 0.5600, "maximum" : 0.5800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 47,
    "hscan" : { "minimum" : 0.5400, "maximum" : 0.5600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 48,
    "hscan" : { "minimum" : 0.5200, "maximum" : 0.5400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 49,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 50,
    "hscan" : { "minimum" : 0.4800, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 51,
    "hscan" : { "minimum" : 0.4600, "maximum" : 0.4800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 52,
    "hscan" : { "minimum" : 0.4400, "maximum" : 0.4600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 53,
    "hscan" : { "minimum" : 0.4200, "maximum" : 0.4400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 54,
    "hscan" : { "minimum" : 0.4000, "maximum" : 0.4200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 55,
    "hscan" : { "minimum" : 0.3800, "maximum" : 0.4000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 56,
    "hscan" : { "minimum" : 0.3600, "maximum" : 0.3800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 57,
    "hscan" : { "minimum" : 0.3400, "maximum" : 0.3600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 58,
    "hscan" : { "minimum" : 0.3200, "maximum" : 0.3400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 59,
    "hscan" : { "minimum" : 0.3000, "maximum" : 0.3200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 60,
    "hscan" : { "minimum" : 0.2800, "maximum" : 0.3000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 61,
    "hscan" : { "minimum" : 0.2600, "maximum" : 0.2800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 62,
    "hscan" : { "minimum" : 0.2400, "maximum" : 0.2600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 63,
    "hscan" : { "minimum" : 0.2200, "maximum" : 0.2400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 64,
    "hscan" : { "minimum" : 0.2000, "maximum" : 0.2200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 65,
    "hscan" : { "minimum" : 0.1800, "maximum" : 0.2000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 66,
    "hscan" : { "minimum" : 0.1600, "maximum" : 0.1800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 67,
    "hscan" : { "minimum" : 0.1400, "maximum" : 0.1600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 68,
    "hscan" : { "minimum" : 0.1200, "maximum" : 0.1400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 69,
    "hscan" : { "minimum" : 0.1000, "maximum" : 0.1200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 70,
    "hscan" : { "minimum" : 0.0800, "maximum" : 0.1000 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 71,
    "hscan" : { "minimum" : 0.0600, "maximum" : 0.0800 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 72,
    "hscan" : { "minimum" : 0.0400, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 73,
    "hscan" : { "minimum" : 0.0200, "maximum" : 0.0400 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 74,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
    },
    {
    "index" : 75,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.0000, "maximum" : 0.0400 }
    },
    {
    "index" : 76,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.0400, "maximum" : 0.0800 }
    },
    {
    "index" : 77,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.0800, "maximum" : 0.1200 }
    },
    {
    "index" : 78,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.1200, "maximum" : 0.1600 }
    },
    {
    "index" : 79,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.1600, "maximum" : 0.2000 }
    },
    {
    "index" : 80,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.2000, "maximum" : 0.2400 }
    },
    {
    "index" : 81,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.2400, "maximum" : 0.2800 }
    },
    {
    "index" : 82,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.2800, "maximum" : 0.3200 }
    },
    {
    "index" : 83,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.3200, "maximum" : 0.3600 }
    },
    {
    "index" : 84,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.3600, "maximum" : 0.4000 }
    },
    {
    "index" : 85,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.4000, "maximum" : 0.4400 }
    },
    {
    "index" : 86,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.4400, "maximum" : 0.4800 }
    },
    {
    "index" : 87,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.4800, "maximum" : 0.5200 }
    },
    {
    "index" : 88,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.5200, "maximum" : 0.5600 }
    },
    {
    "index" : 89,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.5600, "maximum" : 0.6000 }
    },
    {
    "index" : 90,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.6000, "maximum" : 0.6400 }
    },
    {
    "index" : 91,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.6400, "maximum" : 0.6800 }
    },
    {
    "index" : 92,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.6800, "maximum" : 0.7200 }
    },
    {
    "index" : 93,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.7200, "maximum" : 0.7600 }
    },
    {
    "index" : 94,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.7600, "maximum" : 0.8000 }
    },
    {
    "index" : 95,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.8000, "maximum" : 0.8400 }
    },
    {
    "index" : 96,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.8400, "maximum" : 0.8800 }
    },
    {
    "index" : 97,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.8800, "maximum" : 0.9200 }
    },
    {
    "index" : 98,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 0.9600 }
    },
    {
    "index" : 99,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.9600, "maximum" : 1.0000 }
    },
    {
    "index" : 100,
    "hscan" : { "minimum" : 0.0000, "maximum" : 0.0200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 101,
    "hscan" : { "minimum" : 0.0200, "maximum" : 0.0400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 102,
    "hscan" : { "minimum" : 0.0400, "maximum" : 0.0600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 103,
    "hscan" : { "minimum" : 0.0600, "maximum" : 0.0800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 104,
    "hscan" : { "minimum" : 0.0800, "maximum" : 0.1000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 105,
    "hscan" : { "minimum" : 0.1000, "maximum" : 0.1200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 106,
    "hscan" : { "minimum" : 0.1200, "maximum" : 0.1400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 107,
    "hscan" : { "minimum" : 0.1400, "maximum" : 0.1600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 108,
    "hscan" : { "minimum" : 0.1600, "maximum" : 0.1800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 109,
    "hscan" : { "minimum" : 0.1800, "maximum" : 0.2000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 110,
    "hscan" : { "minimum" : 0.2000, "maximum" : 0.2200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 111,
    "hscan" : { "minimum" : 0.2200, "maximum" : 0.2400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 112,
    "hscan" : { "minimum" : 0.2400, "maximum" : 0.2600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 113,
    "hscan" : { "minimum" : 0.2600, "maximum" : 0.2800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 114,
    "hscan" : { "minimum" : 0.2800, "maximum" : 0.3000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 115,
    "hscan" : { "minimum" : 0.3000, "maximum" : 0.3200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 116,
    "hscan" : { "minimum" : 0.3200, "maximum" : 0.3400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 117,
    "hscan" : { "minimum" : 0.3400, "maximum" : 0.3600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 118,
    "hscan" : { "minimum" : 0.3600, "maximum" : 0.3800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 119,
    "hscan" : { "minimum" : 0.3800, "maximum" : 0.4000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 120,
    "hscan" : { "minimum" : 0.4000, "maximum" : 0.4200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 121,
    "hscan" : { "minimum" : 0.4200, "maximum" : 0.4400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 122,
    "hscan" : { "minimum" : 0.4400, "maximum" : 0.4600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 123,
    "hscan" : { "minimum" : 0.4600, "maximum" : 0.4800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 124,
    "hscan" : { "minimum" : 0.4800, "maximum" : 0.5000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 125,
    "hscan" : { "minimum" : 0.5000, "maximum" : 0.5200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 126,
    "hscan" : { "minimum" : 0.5200, "maximum" : 0.5400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 127,
    "hscan" : { "minimum" : 0.5400, "maximum" : 0.5600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 128,
    "hscan" : { "minimum" : 0.5600, "maximum" : 0.5800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 129,
    "hscan" : { "minimum" : 0.5800, "maximum" : 0.6000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 130,
    "hscan" : { "minimum" : 0.6000, "maximum" : 0.6200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 131,
    "hscan" : { "minimum" : 0.6200, "maximum" : 0.6400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 132,
    "hscan" : { "minimum" : 0.6400, "maximum" : 0.6600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 133,
    "hscan" : { "minimum" : 0.6600, "maximum" : 0.6800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 134,
    "hscan" : { "minimum" : 0.6800, "maximum" : 0.7000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 135,
    "hscan" : { "minimum" : 0.7000, "maximum" : 0.7200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 136,
    "hscan" : { "minimum" : 0.7200, "maximum" : 0.7400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 137,
    "hscan" : { "minimum" : 0.7400, "maximum" : 0.7600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 138,
    "hscan" : { "minimum" : 0.7600, "maximum" : 0.7800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 139,
    "hscan" : { "minimum" : 0.7800, "maximum" : 0.8000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 140,
    "hscan" : { "minimum" : 0.8000, "maximum" : 0.8200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 141,
    "hscan" : { "minimum" : 0.8200, "maximum" : 0.8400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 142,
    "hscan" : { "minimum" : 0.8400, "maximum" : 0.8600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 143,
    "hscan" : { "minimum" : 0.8600, "maximum" : 0.8800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 144,
    "hscan" : { "minimum" : 0.8800, "maximum" : 0.9000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 145,
    "hscan" : { "minimum" : 0.9000, "maximum" : 0.9200 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 146,
    "hscan" : { "minimum" : 0.9200, "maximum" : 0.9400 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 147,
    "hscan" : { "minimum" : 0.9400, "maximum" : 0.9600 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 148,
    "hscan" : { "minimum" : 0.9600, "maximum" : 0.9800 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    },
    {
    "index" : 149,
    "hscan" : { "minimum" : 0.9800, "maximum" : 1.0000 },
    "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
    }
    ],

    "endOfJson" : "endOfJson"
    }
     
  4. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    //"frameDecimation" : 1,
    //"sizeDecimation" : 1,

    this is to high...can you try it with

    //"frameDecimation" : 2,
    //"sizeDecimation" : 8,

    and why you using "output" : "/dev/spidev1.0"?
     
  5. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    frame/size Decimation did not help - colors are jerky. But when I use separate hyperiond and hyperion-v4l2, colors are great.
    spidev1.0 is there because OPi0 has LEDs on this output.
     
  6. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    hm, i can not imagine that you get 2 different pictures, cause they use the same code...only thing i can imagine is that you use different options....you sure you use the same options?
     
  7. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    absolutelly sure my friend. Options are the same in both cases. Just behaviour is not the same as I described. :( This behaviour is quite interesting for me, too. What I found out is, that when hyperiond use grabber settings, it runs in one CPU core, but when I use separate hyperiond and v4l2 they use 2 cores (in one is hyperiond in second v4l2). But I tried to leave ON just one cpu core and even when they both used the same core, when running separately everything is ok, but when runningg via hyperiond jerky colors again.
     
  8. penfold42

    penfold42 Active Member

    Messages:
    746
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Are the v4lgrabber settings commented out on purpose in the config ?
     
  9. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    yes, sure. they are uncommented when testing just with hyperiond. When testing with separate hyperiond a v4l2, I am removing it and parsing all commands to command line for hyperion-v4l2.
     
  10. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    can you post the command with which you start the -v4l2
     
  11. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    Code:
    hyperion-v4l2 --device /dev/video0 --video-standard PAL --input 0 --width 720 --height 576 --crop-top 2 --crop-bottom 2 --crop-left 2 --crop-right 2 --frame-decimator 1 --size-decimator 1 --red-threshold 0.2 --green-threshold 0.4 --blue-threshold 1.0 --priority 900
    (with any frame/size decimation, width/height this works ok)
     
  12. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    do you use a picture or video to compare them?
     
  13. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    I don't understand now what do you mean - but I am using video, because just with the same video I see generating of jerky colors on LEDs.
     
  14. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    i'm sorry but i can't reproduce your error...
     
  15. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    Do you have orange pi zero please?
     
  16. TPmodding

    TPmodding Administrator Staff Member Administrator

    Messages:
    2,113
    Hardware:
    RPi1/Zero, RPi2, RPi3, +Arduino, +WLED, RPi4
    no only raspberry, i tried all things on my raspberry to reproduce, may its only a orange pi thing...
     
  17. peter

    peter Member

    Messages:
    108
    Hardware:
    RPi1/Zero, RPi2, RPi3
    yes, on Raspberry it works ok. I found out this occurs on OrangePi only.