Hyperion auf dem Odroid c2

  • Ich habe Hyperion bisher auf meinem Raspberry Pi3 am Laufen. Mit HyperCon war die Installation super einfach.
    Heute kam mein Odroid C2. Ich habe LibreELEC 7.1.0 installiert und bekomme jetzt in HyperCon auch den Fehler:


    ssh out: cd /tmp && curl -# -k -L --output install_hyperion.sh --get https://raw.github.com/hyperio…r/bin/install_hyperion.sh && sh ./install_hyperion.sh HyperConInstall ; rm install_hyperion.sh
    ssh out: ######################################################################## 100.0%
    ssh in: *******************************************************************************
    ssh in: This script will install/update Hyperion Ambient Light
    ssh in: Created by brindosch - hyperion-project.org - the official Hyperion source.
    ssh in: *******************************************************************************
    ssh in: ---> Critical Error: CPU information does not match any known releases -> abort

  • Ich würde das gerne testen, aber unter LibreELEC ist das wahrscheinlich nicht ohne weiteres möglich? Wenn ich den Anweisungen aus der "CompileHowto.txt" folgen möchte, scheitert es ja schon am fehlenden "apt-get". Oder gibt es eine andere Möglichkeit?

  • Habe mal das aktuelle Armbian Jessie auf die SD-Karte gepackt und hänge jetzt an folgendem Schritt aus der "CompileHowTo.txt":


  • Ja ne du hast da schon recht, besser ist es auf einem normalen Linux sysem erstmal alles zu machen und compilen, und dann die fertigen binarys auf LibreElec kopieren.


    Am besten ist es wenn du zwei Speicherkarten hast.



    Könntet ihr bitte unterstützen und ein entsprechendes fertig compiltes install Script für den Odroid c2 zur Verfügung stellen?
    Bzw. beschreiben wie man compilt für diesen Fall?


    Danke

  • Ich habe inzwischen herausgefunden, dass ich mir den Aufwand sparen kann. Das Hyperion-Addon aus dem Repository für das Odroid C2-LibreELEC (http://forum.odroid.com/viewtopic.php?f=144&t=22452) funktioniert ausgezeichnet.


    Bei mir funktioniert es irgendwie nicht. Finde auch keinen Ordner oder sonstiges nach der Installation wie auf dem RP3.


    https://hyperion-project.org/wiki/Installation-on-LibreElec


    Hier steht auch das das Hyperion Addon keine Funktion hat und man über den herkömmlichen Weg installieren soll.


    Läuft es bei dir bzw. kannst du kurz beschreiben wie du vorgegangen bist?
    Wie hast du deine LEDs angeschlossen,hast du einen Arduino dazwischen?


    Danke

  • Ich habe das spezielle LibreELEC 7.1.0 aus dem ODROID-Forum auf meinen C2 gebracht, dann das Hyperion-Addon aus dem LibreELEC-Repository installiert.
    Anschließend bin ich über den Windows-Explorer auf den ODROID und habe "addon_data"-Verzeichnis ein weiteres Unterverzeichnis manuell angelegt. Das muss "service.hyperion" heißen.
    In meinem Fall ist das Verzeichnis dann so erreichbar: \\libreelecc2\Userdata\addon_data\service.hyperion
    Hier muss dann auch die Konfiguration rein.


    Meine sieht so aus:


    Ich besitze einen Lightberry HD USB.

  • Um Hyperion für Amlogic S905 bereit zu stellen müsste man das ganze auf einem crosscompile system zum kompilieren bringen (wozu neben der 64bit toolchain auch das rootfs gehört). (Zwecks Automatisierung). Soweit ich weiß besitzt keiner diese Hardware und kann damit experimentieren bzw das mal vorbereiten.


    Ich bin offen für bessere Vorschläge.

  • Hello
    I also have a C2 with libreelec and I would use hyperion.
    Unfortunately he does not want to settle down as Mamoel says.


    I would like to propose you to install my C2 with the distribution you want and give you total access in SSH so you can help us.


    What do you think?

  • I am having troubles to install hyperion on my Odroid C2 running ubuntu64-16.04.2.


    Can you tell me how you managed it Cédric?


    I started using the HyperCon tool but it gaves me this error:
    -------------------------------------------------------
    ssh in: ---> Critical Error: CPU information does not match any known releases -> abort
    -------------------------------------------------------



    Then I tried to install it manually which gave me some errors.
    First I had to install git:
    ##########
    apt-get install git
    ##########


    then I installed CMake:
    ##########
    sudo apt-get install build-essential
    https://cmake.org/files/v3.9/cmake-3.9.1.tar.gz
    wget https://cmake.org/files/v3.9/cmake-3.9.1.tar.gz
    tar xf cmake-3.9.1.tar.gz
    cd cmake-3.9.1
    ./configure
    make
    sudo apt-get install checkinstall
    sudo checkinstall
    ##########


    then I installed qt4
    ##########
    sudo apt-get install libQt4-dev
    apt install cmake gcc g++ qt{4,5}-qmake libqt4-dev
    ##########


    Trying installing hyperion gave me an error where qt5 is blocking:
    -------------------------------------------------------
    root@odroid64:~/projects/hyperion/build# cmake -DENABLE_DISPMANX=OFF ..
    CMake Deprecation Warning at CMakeLists.txt:8 (CMAKE_POLICY):
    The OLD behavior for policy CMP0026 will be removed from a future version
    of CMake.


    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances. Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.



    -- ENABLE_ZEROCONF = OFF
    -- ENABLE_AMLOGIC = OFF
    -- ENABLE_DISPMANX = OFF
    -- ENABLE_FB = OFF
    -- ENABLE_OSX = OFF
    -- ENABLE_SPIDEV = OFF
    -- ENABLE_TINKERFORGE = ON
    -- ENABLE_V4L2 = ON
    -- ENABLE_WS2812BPWM = OFF
    -- ENABLE_WS281XPWM = OFF
    -- ENABLE_X11 = OFF
    -- ENABLE_QT5 = OFF
    -- ENABLE_TESTS = OFF
    -- ENABLE_PROFILER = OFF
    -- Current Version: master (brindosch-2fbbcff/2f01dfa-1495880388)
    -- Looking for Q_WS_X11
    -- Looking for Q_WS_X11 - not found
    -- Looking for Q_WS_WIN
    -- Looking for Q_WS_WIN - not found
    -- Looking for Q_WS_QWS
    -- Looking for Q_WS_QWS - not found
    -- Looking for Q_WS_MAC
    -- Looking for Q_WS_MAC - not found
    CMake Error at cmake/qt4/FindQt4.cmake:1216 (message):
    Found unsuitable Qt version "5.5.1" from /usr/bin/qmake, this code requires
    Qt 4.x
    Call Stack (most recent call first):
    CMakeLists.txt:154 (find_package)



    -- Configuring incomplete, errors occurred!
    See also "/root/projects/hyperion/build/CMakeFiles/CMakeOutput.log".
    See also "/root/projects/hyperion/build/CMakeFiles/CMakeError.log".
    -------------------------------------------------------



    so I had to uninstall qt5:
    sudo apt-get --purge remove qt5-default:arm64



    then I had to install libusb
    ##########
    sudo apt-get install libusb-1.0-0-dev
    ##########


    and then python
    ##########
    sudo apt-get install python-dev
    ##########


    After that I again tried to do this:
    ##########
    export HYPERION_DIR="hyperion"
    git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR"
    mkdir "$HYPERION_DIR/build"
    cd "$HYPERION_DIR/build"
    cmake -DENABLE_DISPMANX=OFF ..
    make
    ##########


    This gave me multiple errors like this:
    -----------------------------------------------------


    make[2]: *** [dependencies/external/protobuf/src/CMakeFiles/protobuf-lite.dir/google/protobuf/stubs/common.cc.o] Error 1
    CMakeFiles/Makefile2:449: recipe for target 'dependencies/external/protobuf/src/CMakeFiles/protobuf-lite.dir/all' failed
    make[1]: *** [dependencies/external/protobuf/src/CMakeFiles/protobuf-lite.dir/all] Error 2
    Makefile:151: recipe for target 'all' failed
    make: *** [all] Error 2
    -----------------------------------------------------


    I have no idea what I can do now to get hyperion working on my Odroid C2 with Ubuntu.
    Any hints and help is highly appreciated :)


    regards!
    Phil

  • The problems starts already at the very first step, as ubuntu has no /storage folder.
    I just created a folder called /root/projects/hyperion and copied the stuff from your "hyperion (v1) odroid-aml patched" folder into it.
    (and replaced the hyperion.config.json of course)


    Then I did
    chmod +x /root/projects/hyperion/bin/*


    and
    echo 1 | tee /sys/module/amvdec_h265/parameters/double_write_mode


    which returned a "1" :)


    I then set the autostart command and did:
    sudo nano /etc/rc.local


    My old looked like this:


    ==============================
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.



    sysctl -w net.core.somaxconn=65535


    if [ -f /aafirstboot ]; then /aafirstboot start ; fi
    exit 0
    ==============================



    new one is this:
    ==============================
    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.



    sysctl -w net.core.somaxconn=65535


    if [ -f /aafirstboot ]; then /aafirstboot start ; fi
    echo 1 | tee /sys/module/amvdec_h265/parameters/double_write_mode
    (
    /storage/hyperion/bin/hyperiond.sh /storage/hyperion/config/hyperion.config.json
    ) &
    exit 0
    ==============================


    No light is showing (also not after a restart) and if I use "top" I see no hyperion task

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!