I compiled hyperion v1 for Odroid C2 (+Arduino) and it works in the menu. I'm testing it with OpenPHT which is LibreELEC based.
But when dynamic refreshing rate is turned on, hyperion crashes with segmentation faul (core dumped).
When dynamic refreshing rate is turned off, it doesn't crash, but doesn't display anything. Returning to the menu brings the backlight back.
I used the framebuffer grabber for this. X11 doesn't output anything.
https://github.com/Starbix/hyperion-files
Help is highly appreciated.
If a dev wants to try something out, just write me.
EDIT: changing the resolution also crashes hyperion
Would switching resolve this?
Code
./hyperiond ../config/hyperion.config.json
Hyperion Ambilight Deamon (711)
Version : master (GitHub-69f4b32/6445c35-1481143098
Build Time: Apr 18 2017 06:36:33
INFO: Selected configuration file: ../config/hyperion.config.json
HYPERION INFO: ColorTransform 'default' => [0; 215]
HYPERION INFO: ColorCorrection 'default' => [0; 215]
HYPERION INFO: ColorAdjustment 'default' => [0; 215]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "bgr",
"name" : "PMP",
"output" : "/dev/ttyACM0",
"rate" : 500000,
"type" : "AdalightApa102"
}
Opening UART: /dev/ttyACM0
INFO: Creating linear smoothing
HYPERION (CS) INFO: Created linear-smoothing(interval_ms=40;settlingTime_ms=100;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.03 (8)
BLACKBORDER INFO: mode:default
started
INFO: Json server created and started on port 19444
INFO: Proto server created and started on port 19445
FRAMEBUFFERGRABBER INFO: opened with resolution: 1920x1080@32bit
BLACKBORDER INFO: threshold set to 0.03 (8)
BLACKBORDER INFO: mode:default
INFO: Framebuffer grabber created and started
EFFECTENGINE INFO: effect finished
Segmentation fault (core dumped)
Alles anzeigen