Hello, i tryed to install Hypersion on an new Pi3 with LibreELEC (Krypton) v7.90.010 ALPHA) ssh out: ######################################################################## 100.0% ssh in: ---> Adding Hyperion to OpenELEC/LibreELEC autostart.sh ssh in: ---> Starting Hyperion ssh in: ******************************************************************************* ssh in: Hyperion Installation/Update finished! ssh in: Please download the latest HyperCon version to benefit from new features! ssh in: To create a config, follow the HyperCon Guide at our Wiki (EN/DE)! ssh in: Wiki: wiki.hyperion-project.org Webpage: www.hyperion-project.org ssh in: ******************************************************************************* ssh in: Rebooting now, we added dtparam=spi=on to config.txt ssh disconnected ssh connected sftp Send Hyperion Config - Sourcepath: C:/Users/mario/Desktop, Targetpath: /storage/.config/, Filename: hyperion.config.json ssh out: /storage/.config/autostart.sh > /dev/null 2>&1 & ssh out: cat /storage/logfiles/hyperion.log ssh in: Hyperion Ambilight Deamon (457) ssh in: Version : V1.03.2 (brindosch-99d9396/d3713a8-1469452981 ssh in: Build Time: Jul 25 2016 06:54:40 ssh in: INFO: Selected configuration file: /storage/.config/hyperion.config.json ssh in: HYPERION INFO: ColorTransform 'default' => [0; 45] ssh in: HYPERION INFO: ColorCorrection 'default' => [0; 45] ssh in: HYPERION INFO: ColorAdjustment 'default' => [0; 45] ssh in: LEDDEVICE INFO: configuration: ssh in: { ssh in: "colorOrder" : "rgb", ssh in: "leds" : 256, ssh in: "name" : "MyHyperionConfig", ssh in: "type" : "ws281x" ssh in: } ssh in: whiteAlgorithm :: ssh in: Unable to initialize ws281x library. ssh in: terminate called after throwing an instance of 'int' ssh in: Aborted (core dumped) LibreELEC:~ # cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 1 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 2 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 3 model name : ARMv7 Processor rev 4 (v7l) BogoMIPS : 38.00 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 Hardware : BCM2835 Revision : a22042 Serial : 0000000027368d3a
Thanks looks like we need to update to a more recent rpi281x library https://github.com/jgarff/rpi_ws281x/commit/250aaaa76971fbf6dc68797189efb4ad246964f1 Are in able to build from source ?
Good Morning, thanks for the repley, and code changes. Yes, i'm able to build from source. With this Howto "Compile from Source" i got errors. https://github.com/hyperion-project/hyperion/blob/master/CompileHowto.txt Run Build Command:"/usr/bin/make" "cmTC_9739b/fast" /usr/bin/make -f CMakeFiles/cmTC_9739b.dir/build.make CMakeFiles/cmTC_9739b.dir/build make[1]: Verzeichnis „/home/msth/Build_Hyperion/hyperion/build/CMakeFiles/CMakeTmp“ wird betreten Building CXX object CMakeFiles/cmTC_9739b.dir/CheckSymbolExists.cxx.o /usr/bin/c++ -I/usr/include/qt4 -std=c++0x -Wall -o CMakeFiles/cmTC_9739b.dir/CheckSymbolExists.cxx.o -c /home/msth/Build_Hyperion/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx /home/msth/Build_Hyperion/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’: /home/msth/Build_Hyperion/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope return ((int*)(&Q_WS_WIN))[argc]; ^ CMakeFiles/cmTC_9739b.dir/build.make:65: die Regel für Ziel „CMakeFiles/cmTC_9739b.dir/CheckSymbolExists.cxx.o“ scheiterte make[1]: *** [CMakeFiles/cmTC_9739b.dir/CheckSymbolExists.cxx.o] Fehler 1 make[1]: Verzeichnis „/home/msth/Build_Hyperion/hyperion/build/CMakeFiles/CMakeTmp“ wird verlassen Makefile:126: die Regel für Ziel „cmTC_9739b/fast“ scheiterte make: *** [cmTC_9739b/fast] Fehler 2 File /home/msth/Build_Hyperion/hyperion/build/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: /* */ #include <QtCore/qglobal.h> ....
Sorry, yes from the cmake step Options : cmake -DCMAKE_BUILD_TYPE=Release -DPLATFORM="rpi-pwm" -Wno-dev .. Linux server 4.4.0-49-generic #70-Ubuntu SMP Fri Nov 11 16:40:34 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux Attached the Logfiles
Thanks for the details. I'm confused - are you trying to build a Pi binary on an x86 box ? I haven't tried this before but there is a separate crosscompile document that covers some more fun steps... All of my rpi builds have been done on the Pi itself
Ohh sorry for that. I'm not an coder. And the Line "# Arch/ALARM dependencies" brought me to the idea, that this is crosscompile. I try an compile on "Linux 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux" and got this error [ 92%] Built target xbmcvideochecker [ 92%] Generating __/__/__/include/grabber/moc_DispmanxWrapper.cxx Scanning dependencies of target dispmanx-grabber [ 93%] Building CXX object libsrc/grabber/dispmanx/CMakeFiles/dispmanx-grabber.dir/__/__/__/include/grabber/moc_DispmanxWrapper.cxx.o [ 93%] Building CXX object libsrc/grabber/dispmanx/CMakeFiles/dispmanx-grabber.dir/DispmanxWrapper.cpp.o /home/msth/hyperion/libsrc/grabber/dispmanx/DispmanxWrapper.cpp: In member function ‘void DispmanxWrapper::setGrabbingMode(GrabbingMode)’: /home/msth/hyperion/libsrc/grabber/dispmanx/DispmanxWrapper.cpp:78:27: error: ‘DISPMANX_SNAPSHOT_NO_RGB’ was not declared in this scope /home/msth/hyperion/libsrc/grabber/dispmanx/DispmanxWrapper.cpp:78:52: error: ‘DISPMANX_SNAPSHOT_FILL’ was not declared in this scope make[2]: *** [libsrc/grabber/dispmanx/CMakeFiles/dispmanx-grabber.dir/DispmanxWrapper.cpp.o] Fehler 1 make[1]: *** [libsrc/grabber/dispmanx/CMakeFiles/dispmanx-grabber.dir/all] Fehler 2 make: *** [all] Fehler 2
Cool! Much further ... Did you do the firmware bit from the compile how to ? # RPI ONLY: when you build on the rapberry pi and include the dispmanx grabber (which is the default) # you also need the firmware including headers installed. This downloads the firmware from the raspberrypi github # and copies the required files to the correct place. The firmware directory can be deleted afterwards if desired. export FIRMWARE_DIR="raspberrypi-firmware" git clone --depth 1 https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR" sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt
Yes, the firmware I had checked again. Is in the right place [email protected]:~/hyperion/build# ls /opt/vc/ bin include lib sbin src [email protected]:~/hyperion/build# Nevertheless I have syncronisiert the firmware again. And restart the process. Still the same error
Did you have the firmware in place before you ran cmake ? It might worth removing the "build" dir make a new one and then rerun cmake
have tried a third time mv hyperion_build hyperion_build_old mkdir hyperion_build cd hyperion_build export FIRMWARE_DIR="raspberrypi-firmware" git clone --depth 1 https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR" sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt export HYPERION_DIR="hyperion" git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR" mkdir "$HYPERION_DIR/build" cd "$HYPERION_DIR/build" cmake -DCMAKE_BUILD_TYPE=Release -DPLATFORM="rpi-pwm" -Wno-dev .. make -j $(nproc) But still the same ;-(
The reason is, that i got the error "Unable to initialize ws281x library." when i try to start the precompiled Packages
Hi, changed the source code, like in post 2. and it starts now LibreELEC:~/.config # /storage/hyperion/bin/hyperiond.sh /storage/.config/hyperion.config.json Hyperion Ambilight Deamon (530) Version : master (GitHub-69f4b32/6445c35-1481143098 Build Time: Dec 28 2016 10:36:21 INFO: Selected configuration file: /storage/.config/hyperion.config.json HYPERION INFO: ColorTransform 'default' => [0; 599] HYPERION INFO: ColorCorrection 'default' => [0; 599] HYPERION INFO: ColorAdjustment 'default' => [0; 599] LEDDEVICE INFO: configuration: { "colorOrder" : "rgb", "leds" : 256, "name" : "MyHyperionConfig", "type" : "ws281x" } whiteAlgorithm :: HYPERION INFO: Json forward to 127.0.0.1:19446 HYPERION INFO: Proto forward to 127.0.0.1:19447 INFO: Creating linear smoothing HYPERION (CS) INFO: Created linear-smoothing(interval_ms=50;settlingTime_ms=200;updateDelay=0 EFFECTENGINE INFO: 27 effects loaded from directory /storage/hyperion/effects EFFECTENGINE INFO: Initializing Python interpreter INFO: Hyperion started and initialised INFO: Boot sequence 'Rainbow swirl fast' EFFECTENGINE INFO: run effect Rainbow swirl fast on channel 0 BLACKBORDER INFO: threshold set to 0 (0) BLACKBORDER INFO: mode:default started INFO: Json server created and started on port 19444 PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19447 INFO: Proto server created and started on port 19445 DISPMANXGRABBER INFO: Display opened with resolution: 1920x1200 BLACKBORDER INFO: threshold set to 0 (0) BLACKBORDER INFO: mode:default INFO: Frame grabber created and started BORDER SWITCH REQUIRED!! CURRENT BORDER TYPE: unknown=0 hor.size=0 vert.size=0 EFFECTENGINE INFO: effect finished