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

X86/64 Internal Grabber not working

Discussion in 'Software Support' started by Freymi, 15 January 2018.

  1. Freymi

    Freymi New Member

    Messages:
    1
    Hardware:
    RPi1/Zero, RPi2
    Hello,

    I'm using Hyperion with Archlinux.
    The LEDs are connected to an Arduino which acts as a Adalight device.
    When I start Hyperion the rainbow swirl plays perfectly and I can also set colors and effects with the Hyperion Android app.
    But the internal screen grabber doesn't seem to be working. After the startup effect all the LEDs are off.

    hyperion.config.json
    Code:
    // Automatically generated configuration file for Hyperion ambilight daemon
    // Notice: All values are explained with comments at our wiki: wiki.hyperion-project.org (config area)
    // Generated by: HyperCon (The Hyperion deamon configuration file builder)
    // Created with HyperCon V1.03.3 (22.10.2017)
    
    {
        // DEVICE CONFIGURATION
        "device" :
        {
            "name"       : "Arch",
            "type"       : "adalight",
            "output"     : "/dev/ttyUSB0",
            "rate"     : 115200,
            "delayAfterConnect"     : 0,
            "colorOrder" : "rgb"
        },
    
        // 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
            }
        },
    
        // NO V4L2 GRABBER CONFIG
        // FRAME GRABBER CONFIG
        "framegrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0,
            "priority" : 890
        },
    
        // BOOTEFFECT CONFIG
        "bootsequence" :
        {
            "color" : [0,0,0],
            "effect" : "Rainbow swirl fast",
            "duration_ms" : 3000,
            "priority" : 700
        },
    
        // JSON SERVER CONFIG
        "jsonServer" :
        {
            "port" : 19444
        },
    
        // PROTO SERVER CONFIG
        "protoServer" :
        {
            "port" : 19445
        },
    
        // EFFECT PATH
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects",
                "/usr/share/hyperion/effects"
            ]
        },
    
        // NO BLACKBORDER CONFIG
        // NO KODI CHECK CONFIG
        // NO BOBLIGHT SERVER CONFIG
        // NO JSON/PROTO FORWARD CONFIG
    
        // LED CONFIGURATION
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8889, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7778, "maximum" : 0.8889 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7778 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5556, "maximum" : 0.6667 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4444, "maximum" : 0.5556 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.4444 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2222, "maximum" : 0.3333 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1111, "maximum" : 0.2222 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.9300, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1111 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.9375, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.8750, "maximum" : 0.9375 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.8125, "maximum" : 0.8750 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.7500, "maximum" : 0.8125 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.6875, "maximum" : 0.7500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.6250, "maximum" : 0.6875 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.5625, "maximum" : 0.6250 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.5000, "maximum" : 0.5625 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.4375, "maximum" : 0.5000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.3750, "maximum" : 0.4375 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.3125, "maximum" : 0.3750 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.2500, "maximum" : 0.3125 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.1875, "maximum" : 0.2500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.1250, "maximum" : 0.1875 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.0625, "maximum" : 0.1250 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0625 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1300 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.1111 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.1111, "maximum" : 0.2222 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.2222, "maximum" : 0.3333 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.3333, "maximum" : 0.4444 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.4444, "maximum" : 0.5556 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.5556, "maximum" : 0.6667 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.6667, "maximum" : 0.7778 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.7778, "maximum" : 0.8889 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0700 },
                "vscan" : { "minimum" : 0.8889, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    Log:
    Code:
    Jan 15 16:39:18 WilsonArch systemd[1]: Started Hyperion Systemd service.
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: Hyperion Ambilight Deamon (2110)
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         Version   : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         Build Time: Jun  3 2017 02:06:03
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Selected configuration file: /etc/hyperion/hyperion.config.json
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: HYPERION INFO: ColorTransform 'default' => [0; 33]
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: HYPERION INFO: ColorCorrection 'default' => [0; 33]
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: HYPERION INFO: ColorAdjustment 'default' => [0; 33]
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: LEDDEVICE INFO: configuration:
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: {
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         "colorOrder" : "rgb",
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         "delayAfterConnect" : 0,
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         "name" : "Arch",
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         "output" : "/dev/ttyUSB0",
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         "rate" : 115200,
    Jan 15 16:39:18 WilsonArch hyperiond[2110]:         "type" : "adalight"
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: }
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: Opening UART: /dev/ttyUSB0
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Creating linear smoothing
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: EFFECTENGINE INFO: 27 effects loaded from directory /usr/share/hyperion/effects
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: EFFECTENGINE INFO: Initializing Python interpreter
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Hyperion started and initialised
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: BLACKBORDER INFO: threshold set to 0.01 (3)
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: BLACKBORDER INFO: mode:default
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: started
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Json server created and started on port 19444
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Proto server created and started on port 19445
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: FRAMEBUFFERGRABBER INFO: opened with resolution: [email protected]
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: BLACKBORDER INFO: threshold set to 0.01 (3)
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: BLACKBORDER INFO: mode:default
    Jan 15 16:39:18 WilsonArch hyperiond[2110]: INFO: Framebuffer grabber created and started
    Jan 15 16:39:21 WilsonArch hyperiond[2110]: EFFECTENGINE INFO: effect finished