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

Hyperion auf dem Odroid c2

Discussion in 'German Talk' started by Vetinari, 28 August 2016.

  1. Starbix

    Starbix Pukinator

    Messages:
    62
    Hardware:
    RPi1/Zero, RPi3, +Arduino
  2. Phil1988

    Phil1988 New Member

    Messages:
    12
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    Thanks for you fast response! I will try it out today and report back if it worked (have to go to the grocery first :D )


    Will this also work on my ubuntu64?
    As far as I can see you are using LibreELEC
     
  3. Starbix

    Starbix Pukinator

    Messages:
    62
    Hardware:
    RPi1/Zero, RPi3, +Arduino
    I think that depends on the playback engine and whether it uses hw decoding. I'm not sure though. Just try it

    But the binaries definitely work on Ubuntu
     
  4. Phil1988

    Phil1988 New Member

    Messages:
    12
    Hardware:
    RPi2, RPi3, 32/64bit, +Arduino, +nodeMCU/ESP8266
    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