1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RPi + Other Software Hyperion with WS2812B over PWM - No LED Working - Segmentation fault

Discussion in 'Hardware Support' started by ajaybhargav, 24 August 2018.

  1. ajaybhargav

    ajaybhargav New Member

    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" :
    "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
    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.
  2. LunarBlue

    LunarBlue Member

    there is no fix for that, this a bug in the driver and the development of hyperion has stopped now for 5 Months so dont expect this being fixed soon.

    You got the option to use other led or buy a arduino nano and power the led with that.
  3. mosiris

    mosiris New Member

    RPi1/Zero, RPi3, +Arduino, +nodeMCU/ESP8266
    RPi issues with clockless LEDs. Your best bet would be to get the Arduino Nano or better yet get the ESP8266/ESP32 and make the LED setup wireless.
  4. Icefluffy

    Icefluffy New Member

  5. Supersimo88

    Supersimo88 New Member

    RPi1/Zero, +nodeMCU/ESP8266
    Yes! that's your best bet!