Hi All, I have done lot of searching but did not get any clue on what the problem is. so here are the details of my setup:
Board: RPi 1 (Model B Rev2)
Distro: Raspbian latest
LED Type: WS2812B
Count: 186
Hyperion Configuration:
// DEVICE CONFIGURATION
"device" :
{
"name" : "backdrop",
"type" : "ws281x",
"leds" : 186,
"colorOrder" : "grb",
"dmanum" : 10,
"gpio" : 18,
"freq" : 800000,
"pwmchannel" : 0
},
Hyperion Ambilight Deamon (573)
Version : V1.03.4 (brindosch-c750c41/dc6a602-1522918225
Build Time: Apr 5 2018 01:57:25
INFO: Selected configuration file: /etc/hyperion/hyperion-pwm.config.json
HYPERION INFO: ColorTransform 'default' => [0; 185]
HYPERION INFO: ColorCorrection 'default' => [0; 185]
HYPERION INFO: ColorAdjustment 'default' => [0; 185]
LEDDEVICE INFO: configuration:
{
"colorOrder" : "grb",
"dmanum" : 10,
"freq" : 800000,
"gpio" : 18,
"leds" : 186,
"name" : "backdrop",
"pwmchannel" : 0,
"type" : "ws281x"
}
whiteAlgorithm ::
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 /usr/share/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
INFO: Proto server created and started on port 19445
^CINFO: Application closed with code 0
EFFECTENGINE INFO: Cleaning up Python interpreter
Shutdown WS281x PWM and DMA channel
Segmentation fault
I get segmentation fault when I close the hyperiond application. LEDs are not showing anything. I tested LEDs individually with current setup using example python script available in rpi_ws281x and it works fine. So I believe my setup is ok RPi PWM <--> WS2812B
But the same setup does not work with hyperion. No LED is glowing, moreover hyperion remote is also not working in this case.
Guys I really need help as this is kind of my dream project. Please guide me to fix this issue. I am currently clueless on where to look for the problem.