This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new and updated version of this is here: https://codeberg.org/magdesign/Pinephone_Things2doAfterInstall/src/branch/main/README.md | |
things to do after fresh install of an os: | |
sudo nano /etc/fstab add noatime | |
# update system | |
sudo pacman -Syyu | |
# install pamac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[magdesign@manjaro-arm osmin]$ cmake -B build -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ . | |
-- Found Qt5 version 5.15.3 | |
-- Downloading marisa | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/magdesign/Downloads/osmin/build/backend/marisa-download | |
[100%] Built target marisa-download | |
-- Build MARISA: /home/magdesign/Downloads/osmin/build/backend/marisa-build | |
-- SSE test compilation fails | |
CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438 (message): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*countdown, t- from data.txt file, | |
when finished trigger a trigger.sh (make sure to declare exact path when compiling) | |
and destroy itself | |
2020*/ | |
///load time from a file, decalred as data ( you don't need an array, as there is just one value to pick ) | |
int timer; | |
/// declare the String Array to store the data from the txt file | |
String[] txtFile; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this is a countdown which takes its time from an input file | |
but it does not work yet....scratching my head... how the hell could | |
I make a valueinput when starting the compiled processing programm, | |
would love to launch with a flag containing the seconds like: sketch_contdown02 -300 | |
*/ | |
///load time from a file, decalred as data | |
int[] timer; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* this reads out the number in a file (data.txt) and prints it */ | |
static final String FILE_NAME = "/home/magdesign/Desktop/data.txt"; | |
int[] data; | |
void setup() { | |
String[] txtFile = loadStrings(FILE_NAME); | |
data = new int[txtFile.length]; | |
for (int i = 0; i != data.length; println()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mv -f olad/plugin_api/.deps/olad_plugin_api_UniverseTester-UniverseTest.Tpo olad/plugin_api/.deps/olad_plugin_api_UniverseTester-UniverseTest.Po | |
/bin/bash ./libtool --tag=CXX --mode=link g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread -DTEST_SRC_DIR=\".\" -DTEST_BUILD_DIR=\".\" -Werror -Wno-error=deprecated-declarations -g -O2 -std=gnu++11 -pthread -o olad/plugin_api/UniverseTester olad/plugin_api/olad_plugin_api_UniverseTester-UniverseTest.o -lcppunit common/testing/libolatesting.la common/testing/libtestmain.la common/libolacommon.la -lprotobuf -pthread -lpthread olad/plugin_api/libolaserverplugininterface.la common/libolacommon.la -ldns_sd -ldl | |
libtool: link: g++ -I./include -I./include -Wall -Wformat -W -fvisibility-inlines-hidden -pthread -DTEST_SRC_DIR=\".\" -DTEST_BUILD_DIR=\".\" -Werror -Wno-error=deprecated-declarations -g -O2 -std=gnu++11 -pthread -o olad/plugin_api/.libs/UniverseTester olad/plugin_api/olad_plugin_api_UniverseTester-UniverseTest.o - |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from ./plugins/artnet/ArtNetNode.h:37:0, | |
from plugins/artnet/ArtNetNodeTest.cpp:45: | |
./include/ola/rdm/QueueingRDMController.h:68:10: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] | |
std::auto_ptr<RDMCallback> m_callback; | |
^~~~~~~~ | |
In file included from /usr/include/c++/6/memory:81:0, | |
from /usr/include/cppunit/extensions/HelperMacros.h:16, | |
from plugins/artnet/ArtNetNodeTest.cpp:22: | |
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here | |
template<typename> class auto_ptr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OLA Show | |
1 253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,99,105,4,4,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12,253,255,12,12 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=OLA Daemon | |
After=network.target | |
[Service] | |
User=olad | |
ExecStart=/usr/local/bin/olad | |
Restart=always |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Since there is a massive DMX lag, here some approaches to fix it: | |
***************************************************************** | |
There is a discussion on this thread: | |
https://github.com/OpenLightingProject/ola/issues/1677 | |
Latency testing see here: | |
https://github.com/lemariva/rPI-Tests | |
1.Use a realtime kernel and do some tests: |