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

HyperCon S905 + Librelec: Hyperion not working

Discussion in 'Software Support' started by somers, 1 September 2016.

  1. somers

    somers New Member

    Messages:
    3
    Hi,

    I recently bought an MXQ Pro 4K Amlogic S905 box to replace my current RPi with Openelec. I successfully installed Libreelec on this S905 box and I am now in the process of getting Hyperion to work. The installation of Hyperion went fine. However, I am not getting it to run with my configuration.

    My configuration is a copy+paste from my working Openelec configuration. The only thing I changed is the framegrabber part which changed to amlgrabber.

    Code:
    // Automatically generated configuration file for 'Hyperion daemon'
    // Generated by: HyperCon (The Hyperion deamon configuration file builder
    
    {
        "device" :
        {
            "name"       : "MyPi",
            "type"       : "adalight",
            "output"     : "/dev/ttyACM0",
            "rate"     : 460800,
            "delayAfterConnect"     : 0,
            "colorOrder" : "grb"
        },
    
        "color" :
        {
            "transform" :
            [
                {
                    "id"   : "default",
                    "leds" : "*",
                    "hsv" :
                    {
                        "saturationGain" : 1.0100,
                        "valueGain"      : 1.0000
                    },
                    "red" :
                    {
                        "threshold"  : 0.0000,
                        "gamma"      : 1.0000,
                        "blacklevel" : 0.0000,
                        "whitelevel" : 1.0000
                    },
                    "green" :
                    {
                        "threshold"  : 0.0000,
                        "gamma"      : 1.0000,
                        "blacklevel" : 0.0000,
                        "whitelevel" : 1.0000
                    },
                    "blue" :
                    {
                        "threshold"  : 0.0000,
                        "gamma"      : 1.0000,
                        "blacklevel" : 0.0000,
                        "whitelevel" : 0.6500
                    }
                }
            ],
            "smoothing" :
            {
                "type"            : "linear",
                "time_ms"         : 200,
                "updateFrequency" : 20.0000,
                "updateDelay"     : 0
            }
        },
    
        "blackborderdetector" :
        {
            "enable" : true,
            "threshold" : 0.01
        },
    
        "effects" :
        {
            "paths" :
            [
                "/storage/hyperion/effects"
            ]
        },
    
        "amlgrabber" :
        {
            "width" : 64,
            "height" : 64,
            "frequency_Hz" : 10.0
        },
    
        "xbmcVideoChecker" :
        {
            "xbmcAddress" : "127.0.0.1",
            "xbmcTcpPort" : 9090,
            "grabVideo" : true,
            "grabPictures" : false,
            "grabAudio" : false,
            "grabMenu" : false,
            "grabScreensaver" : false,
            "enable3DDetection" : false
        },
    
        "jsonServer" :
        {
            "port" : 19444
        },
    
        "protoServer" :
        {
            "port" : 19445
        },
    
    //     "boblightServer" :
    //     {
    //         "port" : 19333
    //     },
    
    //     "grabber-v4l2" :
    //     {
    //         "device" : "/dev/video0",
    //         "input" : 0,
    //         "standard" : "no-change",
    //         "width" : -1,
    //         "height" : -1,
    //         "frameDecimation" : 2,
    //         "sizeDecimation" : 8,
    //         "priority" : 800,
    //         "mode" : "2D",
    //         "cropLeft" : 0,
    //         "cropRight" : 0,
    //         "cropTop" : 0,
    //         "cropBottom" : 0,
    //         "redSignalThreshold" : 0.0,
    //         "greenSignalThreshold" : 0.0,
    //         "blueSignalThreshold" : 0.0
    //     },
    
        "leds" :
        [
            {
                "index" : 0,
                "hscan" : { "minimum" : 0.3448, "maximum" : 0.3793 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 1,
                "hscan" : { "minimum" : 0.3103, "maximum" : 0.3448 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 2,
                "hscan" : { "minimum" : 0.2759, "maximum" : 0.3103 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 3,
                "hscan" : { "minimum" : 0.2414, "maximum" : 0.2759 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 4,
                "hscan" : { "minimum" : 0.2069, "maximum" : 0.2414 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 5,
                "hscan" : { "minimum" : 0.1724, "maximum" : 0.2069 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 6,
                "hscan" : { "minimum" : 0.1379, "maximum" : 0.1724 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 7,
                "hscan" : { "minimum" : 0.1034, "maximum" : 0.1379 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 8,
                "hscan" : { "minimum" : 0.0690, "maximum" : 0.1034 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 9,
                "hscan" : { "minimum" : 0.0345, "maximum" : 0.0690 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 10,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0345 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 11,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.9412, "maximum" : 1.0000 }
            },
            {
                "index" : 12,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8824, "maximum" : 0.9412 }
            },
            {
                "index" : 13,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.8235, "maximum" : 0.8824 }
            },
            {
                "index" : 14,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7647, "maximum" : 0.8235 }
            },
            {
                "index" : 15,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.7059, "maximum" : 0.7647 }
            },
            {
                "index" : 16,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.6471, "maximum" : 0.7059 }
            },
            {
                "index" : 17,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5882, "maximum" : 0.6471 }
            },
            {
                "index" : 18,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.5294, "maximum" : 0.5882 }
            },
            {
                "index" : 19,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4706, "maximum" : 0.5294 }
            },
            {
                "index" : 20,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.4118, "maximum" : 0.4706 }
            },
            {
                "index" : 21,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.3529, "maximum" : 0.4118 }
            },
            {
                "index" : 22,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2941, "maximum" : 0.3529 }
            },
            {
                "index" : 23,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.2353, "maximum" : 0.2941 }
            },
            {
                "index" : 24,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1765, "maximum" : 0.2353 }
            },
            {
                "index" : 25,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.1176, "maximum" : 0.1765 }
            },
            {
                "index" : 26,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0588, "maximum" : 0.1176 }
            },
            {
                "index" : 27,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0500 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0588 }
            },
            {
                "index" : 28,
                "hscan" : { "minimum" : 0.0000, "maximum" : 0.0345 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 29,
                "hscan" : { "minimum" : 0.0345, "maximum" : 0.0690 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 30,
                "hscan" : { "minimum" : 0.0690, "maximum" : 0.1034 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 31,
                "hscan" : { "minimum" : 0.1034, "maximum" : 0.1379 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 32,
                "hscan" : { "minimum" : 0.1379, "maximum" : 0.1724 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 33,
                "hscan" : { "minimum" : 0.1724, "maximum" : 0.2069 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 34,
                "hscan" : { "minimum" : 0.2069, "maximum" : 0.2414 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 35,
                "hscan" : { "minimum" : 0.2414, "maximum" : 0.2759 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 36,
                "hscan" : { "minimum" : 0.2759, "maximum" : 0.3103 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 37,
                "hscan" : { "minimum" : 0.3103, "maximum" : 0.3448 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 38,
                "hscan" : { "minimum" : 0.3448, "maximum" : 0.3793 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 39,
                "hscan" : { "minimum" : 0.3793, "maximum" : 0.4138 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 40,
                "hscan" : { "minimum" : 0.4138, "maximum" : 0.4483 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 41,
                "hscan" : { "minimum" : 0.4483, "maximum" : 0.4828 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 42,
                "hscan" : { "minimum" : 0.4828, "maximum" : 0.5172 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 43,
                "hscan" : { "minimum" : 0.5172, "maximum" : 0.5517 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 44,
                "hscan" : { "minimum" : 0.5517, "maximum" : 0.5862 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 45,
                "hscan" : { "minimum" : 0.5862, "maximum" : 0.6207 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 46,
                "hscan" : { "minimum" : 0.6207, "maximum" : 0.6552 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 47,
                "hscan" : { "minimum" : 0.6552, "maximum" : 0.6897 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 48,
                "hscan" : { "minimum" : 0.6897, "maximum" : 0.7241 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 49,
                "hscan" : { "minimum" : 0.7241, "maximum" : 0.7586 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 50,
                "hscan" : { "minimum" : 0.7586, "maximum" : 0.7931 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 51,
                "hscan" : { "minimum" : 0.7931, "maximum" : 0.8276 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 52,
                "hscan" : { "minimum" : 0.8276, "maximum" : 0.8621 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 53,
                "hscan" : { "minimum" : 0.8621, "maximum" : 0.8966 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 54,
                "hscan" : { "minimum" : 0.8966, "maximum" : 0.9310 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 55,
                "hscan" : { "minimum" : 0.9310, "maximum" : 0.9655 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 56,
                "hscan" : { "minimum" : 0.9655, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0800 }
            },
            {
                "index" : 57,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0000, "maximum" : 0.0588 }
            },
            {
                "index" : 58,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.0588, "maximum" : 0.1176 }
            },
            {
                "index" : 59,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1176, "maximum" : 0.1765 }
            },
            {
                "index" : 60,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.1765, "maximum" : 0.2353 }
            },
            {
                "index" : 61,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2353, "maximum" : 0.2941 }
            },
            {
                "index" : 62,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.2941, "maximum" : 0.3529 }
            },
            {
                "index" : 63,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.3529, "maximum" : 0.4118 }
            },
            {
                "index" : 64,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4118, "maximum" : 0.4706 }
            },
            {
                "index" : 65,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.4706, "maximum" : 0.5294 }
            },
            {
                "index" : 66,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5294, "maximum" : 0.5882 }
            },
            {
                "index" : 67,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.5882, "maximum" : 0.6471 }
            },
            {
                "index" : 68,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.6471, "maximum" : 0.7059 }
            },
            {
                "index" : 69,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7059, "maximum" : 0.7647 }
            },
            {
                "index" : 70,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.7647, "maximum" : 0.8235 }
            },
            {
                "index" : 71,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8235, "maximum" : 0.8824 }
            },
            {
                "index" : 72,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.8824, "maximum" : 0.9412 }
            },
            {
                "index" : 73,
                "hscan" : { "minimum" : 0.9500, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9412, "maximum" : 1.0000 }
            },
            {
                "index" : 74,
                "hscan" : { "minimum" : 0.9655, "maximum" : 1.0000 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 75,
                "hscan" : { "minimum" : 0.9310, "maximum" : 0.9655 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 76,
                "hscan" : { "minimum" : 0.8966, "maximum" : 0.9310 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 77,
                "hscan" : { "minimum" : 0.8621, "maximum" : 0.8966 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 78,
                "hscan" : { "minimum" : 0.8276, "maximum" : 0.8621 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 79,
                "hscan" : { "minimum" : 0.7931, "maximum" : 0.8276 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 80,
                "hscan" : { "minimum" : 0.7586, "maximum" : 0.7931 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 81,
                "hscan" : { "minimum" : 0.7241, "maximum" : 0.7586 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 82,
                "hscan" : { "minimum" : 0.6897, "maximum" : 0.7241 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 83,
                "hscan" : { "minimum" : 0.6552, "maximum" : 0.6897 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            },
            {
                "index" : 84,
                "hscan" : { "minimum" : 0.6207, "maximum" : 0.6552 },
                "vscan" : { "minimum" : 0.9200, "maximum" : 1.0000 }
            }
        ],
    
        "endOfJson" : "endOfJson"
    }
    
    When I run Hyperion, the following fault is shown in the logs:

    /storage/hyperion/bin/hyperiond.sh: line 2: /storage/hyperion/bin/hyperiond: not found

    I tried searching the forum and adding priority to the amlgrabber config but nothing fixed my problem.

    Can you guys help me to troubleshoot this problem?
     
  2. Gates

    Gates New Member

    Messages:
    14
    Hardware:
    Wetek
    Last edited: 28 December 2016
  3. penfold42

    penfold42 Moderator Developer

    Messages:
    655
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Is that a 64 bit build ?

    If you don't know, get me the output of :
    # file /bin/bash
     
  4. Gates

    Gates New Member

    Messages:
    14
    Hardware:
    Wetek
  5. penfold42

    penfold42 Moderator Developer

    Messages:
    655
    Hardware:
    RPi1/Zero, RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    yes, it's 64 bit.

    That could be the issue.

    Hyperion is built as a 32bit binary.

    Either there's no support in their build for 32 bit binaries or there's some additional config needed
     
  6. Gates

    Gates New Member

    Messages:
    14
    Hardware:
    Wetek
  7. Gates

    Gates New Member

    Messages:
    14
    Hardware:
    Wetek
    Hi, and happy new year :)

    Hyperion from libreelec repo seems to be the key

    It seems the error :
    "/storage/hyperion/bin/hyperiond.sh: line 2: /storage/hyperion/bin/hyperiond: not found"
    is due to the non-32bit-support on 64bit amlogic build of libreelec

    But, i have no luck with configure my device.
    I have post the question/pb in the Hyperion forum (https://hyperion-project.org/threads/configuration-for-karatelight.571/)

    My device is a karatelight : https://ca.rstenpresser.de/index.php/karate-main.html
    What have I to choose in the hypercon ?

    cheers.