OSMC and Hyperion

Did you remove some packages after building?

I did follow Anthrax’s how-to on github over and over again.
Finally got it up and running, but it often flickers. Anyway, I don’t want to flood the thread, probably it needs some further research. Thank you :slight_smile:

So after a while of using, my colors seem to lag a bit. Was searching through here and I may have missed it, but what are the best settings for use?

It seems that Portisch over at CoreElec team has finally solved the slow-down issue: link

I saw the commit, but haven’t had a chance to check it yet. I think changes are needed for both the kernel and the Hyperion package.

I’m receiving the same error after running. Updated Vero4k+ 12/18.12.1

make -j $(nproc)

It always fails with the same amlogic error posted above on March 7th.

Always waits until the end (10-15min) before providing me with these errors compiling amlogic and framebuffer. Seems to fail every single time.

Not sure what I am doing wrong. I do believe I have tried everything I can think of at this point.

Thank you for looking at this for me. I appreciate it very much

OSMC Logs

[ 73%] Building CXX object libsrc/protoserver/CMakeFiles/protoclient.dir/message.pb.cc.o
[ 73%] Building CXX object libsrc/commandline/CMakeFiles/commandline.dir/ColorOption.cpp.o
[ 73%] Linking CXX static library …/…/lib/libudplistener.a
[ 73%] Built target udplistener
Scanning dependencies of target amlogic-grabber
[ 73%] Building CXX object libsrc/grabber/amlogic/CMakeFiles/amlogic-grabber.dir/AmlogicGrabber.cpp.o
[ 73%] Building CXX object libsrc/protoserver/CMakeFiles/protoclient.dir/protoclient_automoc.cpp.o
In file included from /root/hyperion.ng/libsrc/grabber/amlogic/Amvideocap.h:7:0,
from /root/hyperion.ng/libsrc/grabber/amlogic/AmlogicGrabber.cpp:18:
/root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.h: In destructor ‘virtual IonBuffer::~IonBuffer()’:
/root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.h:153:51: warning: throw will always call terminate() [-Wterminate]
throw std::runtime_error(“ION_IOC_FREE failed.”);
^
/root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.h:153:51: note: in C++11 destructors default to noexcept
[ 73%] Building CXX object libsrc/grabber/amlogic/CMakeFiles/amlogic-grabber.dir/AmlogicWrapper.cpp.o
[ 74%] Linking CXX static library …/…/lib/libprotoclient.a
[ 74%] Built target protoclient
Scanning dependencies of target framebuffer-grabber
[ 74%] Building CXX object libsrc/grabber/framebuffer/CMakeFiles/framebuffer-grabber.dir/FramebufferFrameGrabber.cpp.o
[ 74%] Building CXX object libsrc/commandline/CMakeFiles/commandline.dir/ColorsOption.cpp.o
[ 74%] Building CXX object libsrc/grabber/amlogic/CMakeFiles/amlogic-grabber.dir/IonBuffer.cpp.o
[ 75%] Building CXX object libsrc/api/CMakeFiles/hyperion-api.dir/JsonCB.cpp.o
In file included from /root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.cpp:16:0:
/root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.h: In destructor ‘virtual IonBuffer::~IonBuffer()’:
/root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.h:153:51: warning: throw will always call terminate() [-Wterminate]
throw std::runtime_error(“ION_IOC_FREE failed.”);
^
/root/hyperion.ng/libsrc/grabber/amlogic/IonBuffer.h:153:51: note: in C++11 destructors default to noexcept
[ 76%] Building CXX object libsrc/grabber/amlogic/CMakeFiles/amlogic-grabber.dir/amlogic-grabber_automoc.cpp.o
[ 77%] Building CXX object libsrc/grabber/framebuffer/CMakeFiles/framebuffer-grabber.dir/FramebufferWrapper.cpp.o
[ 77%] Linking CXX static library …/…/…/lib/libamlogic-grabber.a
[ 77%] Built target amlogic-grabber
Scanning dependencies of target v4l2-grabber
[ 77%] Building CXX object libsrc/grabber/v4l2/CMakeFiles/v4l2-grabber.dir/V4L2Grabber.cpp.o
[ 77%] Building CXX object libsrc/grabber/framebuffer/CMakeFiles/framebuffer-grabber.dir/framebuffer-grabber_automoc.cpp.o
[ 78%] Building CXX object libsrc/commandline/CMakeFiles/commandline.dir/DoubleOption.cpp.o

[ 89%] Built target test_ImageRgb
[ 90%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/StaticFileServing.cpp.o
[ 90%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/WebJsonRpc.cpp.o
[ 90%] Linking CXX executable …/bin/test_image2ledsmap
[ 90%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/WebServer.cpp.o
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createColorOrder(QJsonObject const&)': Hyperion.cpp:(.text+0xa64): multiple definition of hyperion::createColorOrder(QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x1180): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createRgbTransform(QJsonObject const&)': Hyperion.cpp:(.text+0xcb4): multiple definition of hyperion::createRgbTransform(QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x13d0): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createRgbChannelAdjustment(QJsonObject const&, QString, int, int, int)': Hyperion.cpp:(.text+0xfdc): multiple definition of hyperion::createRgbChannelAdjustment(QJsonObject const&, QString, int, int, int)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x16f4): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createColorAdjustment(QJsonObject const&)': Hyperion.cpp:(.text+0x114c): multiple definition of hyperion::createColorAdjustment(QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x1864): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createLedColorsAdjustment(unsigned int, QJsonObject const&)': Hyperion.cpp:(.text+0x2b04): multiple definition of hyperion::createLedColorsAdjustment(unsigned int, QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x3184): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createLedString(QJsonArray const&, ColorOrder)': Hyperion.cpp:(.text+0x3580): multiple definition of hyperion::createLedString(QJsonArray const&, ColorOrder)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x3c60): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createLedStringClone(QJsonArray const&, ColorOrder)': Hyperion.cpp:(.text+0x3eb8): multiple definition of hyperion::createLedStringClone(QJsonArray const&, ColorOrder)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x45b8): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::handleInitialEffect(Hyperion*, QJsonObject const&)': Hyperion.cpp:(.text+0x4ea0): multiple definition of hyperion::handleInitialEffect(Hyperion*, QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0xa48): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::getLedLayoutGridSize(QJsonArray const&)': Hyperion.cpp:(.text+0x5480): multiple definition of hyperion::getLedLayoutGridSize(QJsonArray const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x4c38): first defined here
collect2: error: ld returned 1 exit status
test/CMakeFiles/test_image2ledsmap.dir/build.make:153: recipe for target ‘bin/test_image2ledsmap’ failed
make[2]: *** [bin/test_image2ledsmap] Error 1
CMakeFiles/Makefile2:3438: recipe for target ‘test/CMakeFiles/test_image2ledsmap.dir/all’ failed
make[1]: *** [test/CMakeFiles/test_image2ledsmap.dir/all] Error 2
[ 90%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/WebSocketClient.cpp.o
[ 91%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/webserver_automoc.cpp.o
[ 91%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/webserver_automoc.dir/qrc_WebConfig_NXBAIHQSQM5QBD.cpp.o
[ 91%] Linking CXX static library …/…/lib/libwebserver.a
[ 91%] Built target webserver
Makefile:149: recipe for target ‘all’ failed
make: *** [all] Error 2
root@osmc:~/hyperion.ng/build#

root@osmc:~/hyperion.ng/build# hyperiond
[hyperiond DAEMON] The AMLOGIC grabber can not be instantiated, because it has been left out from the build
[hyperiond V4L2:auto] Throws error: Only pixel formats UYVY, YUYV, and RGB32 are supported
Segmentation fault
root@osmc:~/hyperion.ng/build#

Cannot get the classic version to install or hyperion.ng

Compile fails at amlogic unless I leave it out and I get the segmentation fault error.

Classic version: ssh install, removed the cpu check from install_hyperion.sh and I get a build error about detecting the correct platform.

(AFTER UPDATING install_hyperion.sh removing the CPU check)
This script will install/update Hyperion Ambient Light
Created by brindosch - hyperion-project.org - the official Hyperion source.


—> Critical Error: CPU information does not match any known releases → abort
root@osmc:~# sudo nano install_hyperion.sh
root@osmc:~# sudo sh ./install_hyperion.sh


This script will install/update Hyperion Ambient Light
Created by brindosch - hyperion-project.org - the official Hyperion source.


—> Stop Hyperion, if necessary
—> Install/Update Hyperion dependencies (This may take a while)
—> Critical Error: Target platform unknown → abort
Received my Vero4k+ yesterday and am at a loss. Only time I had it running yesterday was making a json file with the old Java app and adding it to the end of my hyperiond start command. This only gave me my LEDs in the menu without adding the framebuffer and amlogic into the config file. Worked for about an hour.

I’ve removed everything and am hoping to start fresh. I really want hyperion.ng on my Vero4k+. I got a taste of it on an rPi and I really like the webUI rather than the Java applet. I would be very grateful if someone can help me out.

Using FASTLED on my Arduino which is connected via USB to my Vero4k+. Worked fine on my rPi. I can’t even get classic installed at this point.

Just tried to build again and it fails towards the end. Every single time. I’m just about at a loss here. It keeps going after those two errors and builds the webserver, jsonserver, etc. At about 89% I get a BlackBorderProcessor error and then a ton of TestImage2LEDs error.

Finishes with Error 2 and all failed. Almost 48 hours of trying to get this to work. Received my Vero4k+ yesterday and have not had any working Hyperion install. I’m just getting pretty flustered here and I really need some help, please. I have no clue what I am doing at this point…just keep trying the same thing over and over again.

Scanning dependencies of target test_blackborderdetector
[ 85%] Building CXX object test/CMakeFiles/test_blackborderdetector.dir/TestBlackBorderDetector.cpp.o
[ 85%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/QtHttpReply.cpp.o
[ 85%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/QtHttpRequest.cpp.o
[ 85%] Building CXX object test/CMakeFiles/test_blackborderdetector.dir/test_blackborderdetector_automoc.cpp.o
[ 86%] Linking CXX executable …/bin/test_blackborderdetector
[ 86%] Built target test_blackborderdetector
[ 86%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/QtHttpServer.cpp.o
[ 86%] Building CXX object libsrc/commandline/CMakeFiles/commandline.dir/ValidatorOption.cpp.o
[ 87%] Building CXX object libsrc/commandline/CMakeFiles/commandline.dir/commandline_automoc.cpp.o
[ 88%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/StaticFileServing.cpp.o
[ 88%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/WebJsonRpc.cpp.o
[ 88%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/WebServer.cpp.o
[ 88%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/WebSocketClient.cpp.o
[ 89%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/webserver_automoc.cpp.o
[ 89%] Linking CXX static library …/…/lib/libcommandline.a
[ 89%] Built target commandline
Scanning dependencies of target test_image2ledsmap
[ 89%] Building CXX object test/CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o
[ 89%] Building CXX object libsrc/webserver/CMakeFiles/webserver.dir/webserver_automoc.dir/qrc_WebConfig_NXBAIHQSQM5QBD.cpp.o
Scanning dependencies of target test_blackborderprocessor
[ 89%] Building CXX object test/CMakeFiles/test_blackborderprocessor.dir/TestBlackBorderProcessor.cpp.o
/root/hyperion.ng/test/TestBlackBorderProcessor.cpp: In function ‘int main()’:
/root/hyperion.ng/test/TestBlackBorderProcessor.cpp:53:39: error: no matching function for call to ‘hyperion::BlackBorderProcessor::BlackBorderProcessor(QJsonObject&)’
BlackBorderProcessor processor(config);
^
In file included from /root/hyperion.ng/test/TestBlackBorderProcessor.cpp:12:0:
/root/hyperion.ng/include/blackborder/BlackBorderProcessor.h:27:3: note: candidate: hyperion::BlackBorderProcessor::BlackBorderProcessor(Hyperion*, QObject*)
BlackBorderProcessor(Hyperion* hyperion, QObject* parent);
^~~~~~~~~~~~~~~~~~~~
/root/hyperion.ng/include/blackborder/BlackBorderProcessor.h:27:3: note: candidate expects 2 arguments, 1 provided
test/CMakeFiles/test_blackborderprocessor.dir/build.make:62: recipe for target ‘test/CMakeFiles/test_blackborderprocessor.dir/TestBlackBorderProcessor.cpp.o’ failed
make[2]: *** [test/CMakeFiles/test_blackborderprocessor.dir/TestBlackBorderProcessor.cpp.o] Error 1
CMakeFiles/Makefile2:3385: recipe for target ‘test/CMakeFiles/test_blackborderprocessor.dir/all’ failed
make[1]: *** [test/CMakeFiles/test_blackborderprocessor.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs…
[ 90%] Building CXX object test/CMakeFiles/test_image2ledsmap.dir/test_image2ledsmap_automoc.cpp.o
[ 90%] Linking CXX executable …/bin/test_image2ledsmap
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createColorOrder(QJsonObject const&)': Hyperion.cpp:(.text+0xa64): multiple definition of hyperion::createColorOrder(QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x1180): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createRgbTransform(QJsonObject const&)': Hyperion.cpp:(.text+0xcb4): multiple definition of hyperion::createRgbTransform(QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x13d0): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createRgbChannelAdjustment(QJsonObject const&, QString, int, int, int)': Hyperion.cpp:(.text+0xfdc): multiple definition of hyperion::createRgbChannelAdjustment(QJsonObject const&, QString, int, int, int)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x16f4): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createColorAdjustment(QJsonObject const&)': Hyperion.cpp:(.text+0x114c): multiple definition of hyperion::createColorAdjustment(QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x1864): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createLedColorsAdjustment(unsigned int, QJsonObject const&)': Hyperion.cpp:(.text+0x2b04): multiple definition of hyperion::createLedColorsAdjustment(unsigned int, QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x3184): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createLedString(QJsonArray const&, ColorOrder)': Hyperion.cpp:(.text+0x3580): multiple definition of hyperion::createLedString(QJsonArray const&, ColorOrder)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x3c60): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::createLedStringClone(QJsonArray const&, ColorOrder)': Hyperion.cpp:(.text+0x3eb8): multiple definition of hyperion::createLedStringClone(QJsonArray const&, ColorOrder)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x45b8): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::handleInitialEffect(Hyperion*, QJsonObject const&)': Hyperion.cpp:(.text+0x4ea0): multiple definition of hyperion::handleInitialEffect(Hyperion*, QJsonObject const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0xa48): first defined here
…/lib/libhyperion.a(Hyperion.cpp.o): In function hyperion::getLedLayoutGridSize(QJsonArray const&)': Hyperion.cpp:(.text+0x5480): multiple definition of hyperion::getLedLayoutGridSize(QJsonArray const&)’
CMakeFiles/test_image2ledsmap.dir/TestImage2LedsMap.cpp.o:TestImage2LedsMap.cpp:(.text+0x4c38): first defined here
collect2: error: ld returned 1 exit status
test/CMakeFiles/test_image2ledsmap.dir/build.make:153: recipe for target ‘bin/test_image2ledsmap’ failed
make[2]: *** [bin/test_image2ledsmap] Error 1
CMakeFiles/Makefile2:3343: recipe for target ‘test/CMakeFiles/test_image2ledsmap.dir/all’ failed
make[1]: *** [test/CMakeFiles/test_image2ledsmap.dir/all] Error 2
[ 90%] Linking CXX static library …/…/lib/libwebserver.a
[ 90%] Built target webserver
Makefile:149: recipe for target ‘all’ failed
make: *** [all] Error 2
root@osmc:~/hyperion.ng/build#

I’ve tried the hyperion-vero4k+ tool, everything on https://github.com/hyperion-project/hyperion.ng/blob/master/CompileHowto.md#the-general-quick-way-without-big-comments. Also tried classic with zero luck.

I don’t see errors in your build from a quick glance, but warnings.
Possible that -Werror is enabled somewhere.

Sam

Getting this now:

/root/hyperion.ng/libsrc/leddevice/dev_net/LedDeviceAurora.cpp: In member function ‘virtual int LedDeviceAurora::write(const std::vector&)’:
/root/hyperion.ng/libsrc/leddevice/dev_net/LedDeviceAurora.cpp:174:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i<udpBufferSize) {
~^~~~~~~~~~~~~~
/root/hyperion.ng/libsrc/leddevice/dev_net/LedDeviceAurora.cpp:183:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(panelCounter > panelCount) {

[ 71%] Building CXX object libsrc/hyperion/CMakeFiles/hyperion.dir/ImageToLedsMap.cpp.o
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
from /usr/include/c++/6/algorithm:62,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qglobal.h:94,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qchar.h:43,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qstring.h:48,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qdatetime.h:43,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/QDateTime:1,
from /root/hyperion.ng/libsrc/hyperion/Hyperion.cpp:8:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Led*, std::vector >; _Distance = int; _Tp = Led; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<Hyperion::createLedStringClone(const QJsonValue&, ColorOrder)::<lambda(const Led&, const Led&)> >]’:
/usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
__adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
^~~~~~~~~~~~~
[ 72%] Building CXX object libsrc/hyperion/CMakeFiles/hyperion.dir/LedString.cpp.o
In file included from /usr/include/c++/6/algorithm:62:0,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qglobal.h:94,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qchar.h:43,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qstring.h:48,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qdatetime.h:43,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/QDateTime:1,
from /root/hyperion.ng/libsrc/hyperion/Hyperion.cpp:8:
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Led*, std::vector >; _Compare = __gnu_cxx::__ops::_Val_comp_iter<Hyperion::createLedStringClone(const QJsonValue&, ColorOrder)::<lambda(const Led&, const Led&)> >]’:
/usr/include/c++/6/bits/stl_algo.h:1818:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
__unguarded_linear_insert(_RandomAccessIterator __last,
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Led*, std::vector >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<Hyperion::createLedStringClone(const QJsonValue&, ColorOrder)::<lambda(const Led&, const Led&)> >]’:
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
__insertion_sort(_RandomAccessIterator __first,
^~~~~~~~~~~~~~~~
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h: In function ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Led*, std::vector >; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<Hyperion::createLedString(const QJsonValue&, ColorOrder)::<lambda(const Led&, const Led&)> >]’:
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
/usr/include/c++/6/bits/stl_algo.h:1837:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
In file included from /usr/include/c++/6/bits/stl_algo.h:61:0,
from /usr/include/c++/6/algorithm:62,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qglobal.h:94,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qchar.h:43,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qstring.h:48,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/qdatetime.h:43,
from /usr/include/arm-linux-gnueabihf/qt5/QtCore/QDateTime:1,
from /root/hyperion.ng/libsrc/hyperion/Hyperion.cpp:8:
/usr/include/c++/6/bits/stl_heap.h: In function ‘void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<Led*, std::vector >; _Distance = int; _Tp = Led; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<Hyperion::createLedString(const QJsonValue&, ColorOrder)::<lambda(const Led&, const Led&)> >]’:
/usr/include/c++/6/bits/stl_heap.h:209:5: note: parameter passing for argument of type ‘__gnu_cxx::__normal_iterator<Led*, std::vector >’ will change in GCC 7.1
__adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
^~~~~~~~~~~~~
[ 72%] Building CXX object libsrc/hyperion/CMakeFiles/hyperion.dir/LinearColorSmoothing.cpp.o
[ 72%] Building CXX object libsrc/hyperion/CMakeFiles/hyperion.dir/MessageForwarder.cpp.o
[ 73%] Building CXX object libsrc/hyperion/CMakeFiles/hyperion.dir/MultiColorAdjustment.cpp.o

https://github.com/hyperion-project/hyperion.ng/blob/master/CompileHowto.md#the-general-quick-way-without-big-comments

Just for giggles I am trying the OSX version. I can get it to install if I leave out the amlogic off and then I just get a segmentation fault error trying to start hyperiond

This is getting difficult because you are sending me messages on Twitter, forum posts, support tickets and private messages.

We need to keep this in one place.

I don’t know if the logs I just saw on Twitter are different to the logs you sent me via private message.

Let’s keep it one place please.

https://paste.osmc.tv/xaduqofova

https://github.com/hyperion-project/hyperion/issues/787

Also just located this issue. Seems to be having the same problems as myself

These logs don’t show an attempt to build Hyperion so I am a bit confused.

That’s odd. I’m going to try hyperion.ng again

I don’t really attempt our logs to show a compile; but a segfault may show up in the logs.

The only way I can install hyperion.ng and produce a segfault is to leave out amlogic entirely. I would either get a segfault or config not found when I was trying it yesterday. I ended up making a config file with the old Java applet and manually placing it in /etc/hyperion. I had to add framebuffer and amlogic to it but it did work…sort of.

I’m currently about to compile with
cmake -DCMAKE_BUILD_TYPE=Release … (usually detects it as an rPi)
same error with x11 or framebuffer

Ended up trying this command

sudo cmake -DCMAKE_INSTALL_PREFIX=“/usr” -DPLATFORM=x86 -DENABLE_QT5=ON -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_PROTO_LIBS=ON -Wno-dev …

-root@osmc:~/hyperion/build# sudo cmake -DCMAKE_INSTALL_PREFIX=“/usr” -DPLATFORM=x86 -DENABLE_QT5=ON -DCMAKE_BUILD_TYPE=Release -DUSE_SYSTEM_PROTO_LIBS=ON -Wno-dev …
– The C compiler identification is GNU 6.3.0
– The CXX compiler identification is GNU 6.3.0
– 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
– Detecting C compile features
– Detecting C compile features - 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
– Detecting CXX compile features
– Detecting CXX compile features - done
– PLATFORM: x86
– 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_USB_HID = ON
– ENABLE_X11 = OFF
– ENABLE_QT = ON
– ENABLE_TESTS = OFF
– ENABLE_PROFILER = OFF
– validate json files
checked files: 76 success: 76 errors: 0
– validate json effect files
checked effect files: 36 success: 36 errors: 0
– validate json file
– Current Version: master (GitHub-3a8e6dc9/ea044977-1554226519) Git Remote: GitHub - hyperion-project/hyperion.ng: The successor to Hyperion aka Hyperion Next Generation
– 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.7.1
– Found libusb-1.0:
– - Includes: /usr/include/libusb-1.0
– - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
– Looking for pthread.h
– Looking for 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
– Looking for strtof_l
– Looking for strtof_l - found
– Using flatbuffers compiler: /root/hyperion/build/bin/flatc
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
Could NOT find Protobuf (missing: Protobuf_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.7/Modules/FindProtobuf.cmake:393 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
dependencies/CMakeLists.txt:78 (find_package)

– Configuring incomplete, errors occurred!
See also “/root/hyperion/build/CMakeFiles/CMakeOutput.log”.
See also “/root/hyperion/build/CMakeFiles/CMakeError.log”.
root@osmc:~/hyperion/build#

I’m currently flashing a usb drive to start fresh. Do I need to rename kernel.img to recovery.img? Hold the button closest to the HDMI port down for 30 seconds after plugging the device back in?

Now I’m at
Red light on. Please stand by…am I doing this correctly?

Pretty sure this 4k+ is dead now.

No – you don’t need to rename anything or use the toothpick method if the device is functional.

You will need to compile for AMLogic support for Hyperion to work. X11 etc won’t work

Sam

Currently unable to boot device after the rename/toothpick method. Either get no LEDs and no HDMI feed or a solid red LED with a Please stand by.

Tried a couple different USB devices including an sdcard. Nobody plugged a usbkiller into it on my watch so I am confused.

Had to fire up my rpi with osmc on it :frowning:

Can you post a screenshot of the contents of the USB?