Beiträge von propergol

    Hi thanks.
    Looks like hyperiond is found, but it doesnt like my old config.json file :


    sudo hyperiond --debug /home/osmc/hyperion.config.json
    [HYPERIOND MAIN] <INFO> Selected configuration file: /home/osmc/hyperion.config.json
    [root].general: missing member
    [HYPERIOND MAIN] <ERROR> Hyperion Daemon aborted:
    ERROR: Json validation failed
    [HYPERIOND MAIN] <ERROR> Hyperion aborted:
    Hyperion::getInstance used without call of Hyperion::initInstance before
    [HYPERIOND MAIN] <DEBUG> <Logger.cpp:115:~Logger()> logger 'MAIN' destroyed

    Sorry to bug you again but for some reasons, the install command given in the wiki doesnt seems to work here without sudo :


    osmc@osmc9:~/hyperion/build$ make install/strip
    Built target ws281x
    Built target hidapi-libusb
    Built target tinkerforge
    Built target protobuf
    Built target protobuf-lite
    Built target protoc_lib
    Built target protoc_compiler
    Built target hyperion-utils
    Built target blackborder
    Built target leddevice
    Built target hyperion
    Built target commandline
    Built target jsonserver
    Built target protoserver
    Built target bonjour
    Built target boblightserver
    Built target udplistener
    Built target kodivideochecker
    Built target effectengine
    Built target dispmanx-grabber
    Built target framebuffer-grabber
    Built target v4l2-grabber
    Built target webconfig
    Built target hyperiond
    Built target hyperion-remote
    Built target hyperion-v4l2
    Built target hyperion-dispmanx
    Built target hyperion-framebuffer
    Installing the project stripped...
    -- Install configuration: "Release"
    -- Up-to-date: /home/osmc/hyperion/build/proto/libprotobuf.a
    CMake Error at dependencies/external/protobuf/src/cmake_install.cmake:44 (file):
    file INSTALL cannot set permissions on
    "/home/osmc/hyperion/build/proto/libprotobuf.a"
    Call Stack (most recent call first):
    dependencies/external/protobuf/cmake_install.cmake:37 (include)
    dependencies/cmake_install.cmake:39 (include)
    cmake_install.cmake:37 (include)



    Makefile:88: recipe for target 'install/strip' failed
    make: *** [install/strip] Error 1




    With sudo :


    osmc@osmc9:~/hyperion/build$ sudo make install/strip
    [ 2%] Built target ws281x
    [ 3%] Built target hidapi-libusb
    [ 4%] Built target tinkerforge
    [ 15%] Built target protobuf
    [ 20%] Built target protobuf-lite
    [ 31%] Built target protoc_lib
    [ 31%] Built target protoc_compiler
    [ 37%] Built target hyperion-utils
    [ 37%] Built target blackborder
    [ 55%] Built target leddevice
    [ 63%] Built target hyperion
    [ 67%] Built target commandline
    [ 70%] Built target jsonserver
    [ 75%] Built target protoserver
    [ 76%] Built target bonjour
    [ 78%] Built target boblightserver
    [ 79%] Built target udplistener
    [ 80%] Built target kodivideochecker
    [ 83%] Built target effectengine
    [ 84%] Built target dispmanx-grabber
    [ 85%] Built target framebuffer-grabber
    [ 87%] Built target v4l2-grabber
    [ 95%] Built target webconfig
    [ 96%] Built target hyperiond
    [ 97%] Built target hyperion-remote
    [ 98%] Built target hyperion-v4l2
    [ 99%] Built target hyperion-dispmanx
    [100%] Built target hyperion-framebuffer
    Installing the project stripped...
    -- Install configuration: "Release"
    -- Up-to-date: /home/osmc/hyperion/build/proto/libprotobuf.a
    -- Up-to-date: /home/osmc/hyperion/build/proto/libprotobuf-lite.a
    -- Up-to-date: /home/osmc/hyperion/build/proto/libprotoc.a
    -- Installing: /home/osmc/hyperion/build/proto/protoc
    -- Removed runtime path from "/home/osmc/hyperion/build/proto/protoc"
    -- Installing: /usr/local/include/google
    -- Installing: /usr/local/include/google/protobuf
    -- Up-to-date: /usr/local/include/google/protobuf/message_lite.h
    -- Up-to-date: /usr/local/include/google/protobuf/unknown_field_set.h
    -- Up-to-date: /usr/local/include/google/protobuf/dynamic_message.h
    -- Up-to-date: /usr/local/include/google/protobuf/descriptor.pb.h
    -- Up-to-date: /usr/local/include/google/protobuf/extension_set.h
    -- Up-to-date: /usr/local/include/google/protobuf/descriptor_database.h
    -- Installing: /usr/local/include/google/protobuf/io
    -- Up-to-date: /usr/local/include/google/protobuf/io/tokenizer.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/coded_stream.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/zero_copy_stream.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/package_info.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/coded_stream_inl.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/gzip_stream.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/zero_copy_stream_impl.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/printer.h
    -- Up-to-date: /usr/local/include/google/protobuf/io/zero_copy_stream_impl_lite.h
    -- Installing: /usr/local/include/google/protobuf/testing
    -- Up-to-date: /usr/local/include/google/protobuf/testing/googletest.h
    -- Up-to-date: /usr/local/include/google/protobuf/package_info.h
    -- Up-to-date: /usr/local/include/google/protobuf/descriptor.h
    -- Up-to-date: /usr/local/include/google/protobuf/generated_message_util.h
    -- Up-to-date: /usr/local/include/google/protobuf/wire_format_lite_inl.h
    -- Up-to-date: /usr/local/include/google/protobuf/test_util_lite.h
    -- Up-to-date: /usr/local/include/google/protobuf/service.h
    -- Up-to-date: /usr/local/include/google/protobuf/repeated_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/text_format.h
    -- Up-to-date: /usr/local/include/google/protobuf/reflection_ops.h
    -- Up-to-date: /usr/local/include/google/protobuf/message.h
    -- Installing: /usr/local/include/google/protobuf/compiler
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/parser.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/subprocess.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/command_line_interface.h
    -- Installing: /usr/local/include/google/protobuf/compiler/python
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/python/python_generator.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/mock_code_generator.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/plugin.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/package_info.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/zip_writer.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/code_generator.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/plugin.pb.h
    -- Installing: /usr/local/include/google/protobuf/compiler/java
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_file.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_message.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_helpers.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_message_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_primitive_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_generator.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_service.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_doc_comment.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_enum_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_extension.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_enum.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/java/java_string_field.h
    -- Installing: /usr/local/include/google/protobuf/compiler/cpp
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_generator.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_enum_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_file.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_string_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_unittest.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_enum.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_message.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_message_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_service.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_helpers.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_primitive_field.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_options.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/cpp/cpp_extension.h
    -- Up-to-date: /usr/local/include/google/protobuf/compiler/importer.h
    -- Up-to-date: /usr/local/include/google/protobuf/generated_enum_reflection.h
    -- Installing: /usr/local/include/google/protobuf/stubs
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_macosx.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/stl_util-inl.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/once.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/strutil.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/substitute.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/map-util.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_arm_gcc.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_arm_qnx.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_mips_gcc.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/type_traits.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_arm64_gcc.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_atomicword_compat.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_x86_msvc.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/platform_macros.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/stl_util.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/stringprintf.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/common.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/hash.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/atomicops_internals_pnacl.h
    -- Up-to-date: /usr/local/include/google/protobuf/stubs/template_util.h
    -- Up-to-date: /usr/local/include/google/protobuf/wire_format_lite.h
    -- Up-to-date: /usr/local/include/google/protobuf/wire_format.h
    -- Up-to-date: /usr/local/include/google/protobuf/generated_message_reflection.h
    -- Up-to-date: /usr/local/include/google/protobuf/test_util.h
    -- Installing: /usr/local/share/hyperion/bin/hyperiond
    -- Removed runtime path from "/usr/local/share/hyperion/bin/hyperiond"
    -- Installing: /usr/local/share/hyperion//service
    -- Up-to-date: /usr/local/share/hyperion//service/hyperion.init.sh
    -- Up-to-date: /usr/local/share/hyperion//service/hyperion.initctl.sh
    -- Up-to-date: /usr/local/share/hyperion//service/hyperion.systemd.OE.LE.sh
    -- Up-to-date: /usr/local/share/hyperion//service/hyperion.systemd.sh
    -- Up-to-date: /usr/local/share/hyperion/effects/readme.txt
    -- Up-to-date: /usr/local/bin/hyperiond
    -- Installing: /usr/local/share/hyperion/bin/hyperion-remote
    -- Up-to-date: /usr/local/bin/hyperion-remote
    -- Installing: /usr/local/share/hyperion/bin/hyperion-v4l2
    -- Up-to-date: /usr/local/bin/hyperion-v4l2
    -- Installing: /usr/local/share/hyperion/bin/hyperion-dispmanx
    -- Removed runtime path from "/usr/local/share/hyperion/bin/hyperion-dispmanx"
    -- Up-to-date: /usr/local/bin/hyperion-dispmanx
    -- Installing: /usr/local/share/hyperion/bin/hyperion-framebuffer
    -- Up-to-date: /usr/local/bin/hyperion-framebuffer



    Then I reboot the PI, OSMC (17 latest) loads, everything is working exept my LED :crying:


    I have discovered that Hyperion NG had a web interface (I wasn't aware of that), so I did try to open it in Chrome on my PC = connection refused :sickxx:
    Is 8099 the right port to access to it?


    EDIT : I forget to say that I have also uninstalled Hyperion "standard" version using Hypercon before issuing the above commands

    I have tried serval time but now, even with I get this errors at the end :
    ...
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    BCM_INCLUDE_DIR
    used as include directory in directory /home/osmc/hyperion/libsrc/grabber/dispmanx
    used as include directory in directory /home/osmc/hyperion/src/hyperion-dispmanx


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



    any idea?

    I have just try to compile but I don't know if all went well since there is a warning regarding missing zlib.
    Also I started messing with PI and linux in september 2016 so I don't know a lot sorry :notworthy:
    An other point : in the readme there are 2 version with or without PWM, I dont know what version I should use.


    Anyway here is a test :



    osmc@osmc9:~/hyperion.ng$ cmake -DCMAKE_BUILD_TYPE=Release -DPLATFORM="rpi-pwm" -Wno-dev
    -- The C compiler identification is GNU 4.9.2
    -- The CXX compiler identification is GNU 4.9.2
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- PLATFORM: rpi-pwm
    -- ENABLE_AMLOGIC = OFF
    -- ENABLE_DISPMANX = OFF
    -- ENABLE_FB = ON
    -- ENABLE_OSX = OFF
    -- ENABLE_SPIDEV = ON
    -- ENABLE_TINKERFORGE = ON
    -- ENABLE_V4L2 = ON
    -- ENABLE_WS281XPWM = OFF
    -- ENABLE_X11 = OFF
    -- ENABLE_TESTS = OFF
    -- ENABLE_PROFILER = OFF
    -- validate json files
    checked files: 49 success: 49 errors: 0
    -- validate json effect files
    checked effect files: 28 success: 28 errors: 0
    -- validate json file
    -- Current Version: adjustmentMerge (redpanther-7fcd5c3/4a6ab3d-1483644062)
    -- Performing Test COMPILER_SUPPORTS_CXX11
    -- Performing Test COMPILER_SUPPORTS_CXX11 - Success
    -- Performing Test COMPILER_SUPPORTS_CXX0X
    -- Performing Test COMPILER_SUPPORTS_CXX0X - Success
    -- Found Qt Version: 5.3.2
    -- Found libusb-1.0:
    -- - Includes: /usr/include/libusb-1.0
    -- - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
    -- Looking for include file pthread.h
    -- Looking for include file pthread.h - found
    -- Looking for pthread_create
    -- Looking for pthread_create - not found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
    -- Looking for dlfcn.h
    -- Looking for dlfcn.h - found
    -- Looking for inttypes.h
    -- Looking for inttypes.h - found
    -- Looking for memory.h
    -- Looking for memory.h - found
    -- Looking for stdint.h
    -- Looking for stdint.h - found
    -- Looking for stdlib.h
    -- Looking for stdlib.h - found
    -- Looking for strings.h
    -- Looking for strings.h - found
    -- Looking for string.h
    -- Looking for string.h - found
    -- Looking for sys/stat.h
    -- Looking for sys/stat.h - found
    -- Looking for sys/types.h
    -- Looking for sys/types.h - found
    -- Looking for unistd.h
    -- Looking for unistd.h - found
    -- Protobuf: doing try-compiles for hash map/set headers
    -- Protobuf: doing try-compiles for pthread test
    -- Looking for stddef.h
    -- Looking for stddef.h - found
    -- Using protobuf compiler: /home/osmc/hyperion.ng/bin//protoc
    -- Found PythonLibs: /usr/lib/arm-linux-gnueabihf/libpython2.7.so (found version "2.7.9")
    CMake Warning at doc/CMakeLists.txt:31 (message):
    Doxygen not found, unable to generate documenation!



    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/osmc/hyperion.ng

    I did played with gamma, but I should not since it is affecting the wole range from 0 to 255.
    Anyway I ended with this parameters, that give relatively good results but also leads from time to time to strange color rendering.
    All color stock except
    gamma : 1.3 1.4 1.8
    luminance gain 0.5


    EDIT : maybe a solution would be to under-volt my 5V rail (of course not the data ;) ).
    Not sure if I could do this ultra simple way, with a resistor, or go for more complex step down converter.