Ws2812x no GRB setting

  • Hi everyone,

    I’m trying to properly configure color order in Hyperion NG with ws281x on Raspberry Pi, but I’m stuck in what looks like a color-order loop and I’d really appreciate some help or confirmation if this is a known limitation.

    Hardware / setup

    • Raspberry Pi 3B+

    • Hyperion NG (HyperBian, recent version)

    • LED strip: 3-wire (VCC, GND, DATA), WS2812/SK6812 compatible

    • Connected directly to GPIO 18

    • Controller: ws281x

    Problem

    I cannot obtain correct RGB primary colors with any available RGB byte order option.

    The GRB option is not present in the dropdown.

    The RGB Byte Order Wizard gives incorrect results (rotated colors, never correct primaries).

    Color test results (Color Calibration → Test Colors)

    I tested all permutations (RGB, RBG, BGR, BRG, GBR) with clean calibration (no color remapping) and reboot after each change.

    Examples of consistent results:

    With GBR:

    • Send Red (255,0,0) → Blue

    • Send Green (0,255,0) → Green

    • Send Blue (0,0,255) → Red

    → Green correct, Red/Blue swapped

    With BGR:

    • Send Green → Red

    • Send Red → Blue

    • Send Blue → Green

    → cyclic rotation (R → B → G → R)

    With RBG:

    • Send Blue → Red

    • Send Red → Green

    • Send Green → Blue

    → again a cyclic rotation

    No configuration results in:

    • Red → Red

    • Green → Green

    • Blue → Blue

    Wizard behavior

    The RGB Byte Order Wizard never converges to a correct mapping.

    It always ends with a configuration that still produces rotated primaries.

    Question

    1. Is this a known limitation of ws281x on GPIO18 in Hyperion NG?

    2. Why is GRB not selectable, even though the LEDs are clearly GRB?

    Any clarification from someone familiar with Hyperion internals or ws281x behavior would be greatly appreciated.

    Thanks in advance.

  • what you can do:


    login as expert level and download the Json settings.


    then alternate the settings you want and import them in Hyperion.NG

    You have a big chance it would work then.



    also put a line in config.txt


    dtparam=audio=off


    because WS281x driver uses also audio input on pwm

    • New
    • Official Post
    Quote

    sickrandy The GRB option is not present in the dropdown.

    Can you show me a screenshot of the Color Order of the LED-Device.
    You need to switch to Expert setting.


    I do see all six combinations....

    Quote

    Color test results (Color Calibration → Test Colors)

    You should not use color calibration, but the RGB Byte Order wizard to get the Byte Order configured easily.

  • This is my situation, the setting i need is GRB based on my tests.
    I've already tried to use the wizard but the results are absolutely wrong, even if the test go okay, when i use the leds out of the wizard mode the doesn't follow the right colors.
    The wizard select the RGB configuration, the last in the dropdown.

    These are all my setting, every advice is appreciated. Thank you all.


    You should not use color calibration

    Sorry, I didn't express myself well. I meant that I tested the colors using "effects" on the LEDs.


    login as expert level and download the Json settings.

    i can't find where to download the json.

    Edited 2 times, last by sickrandy: Merged a post created by sickrandy into this post. ().

  • i show you.


    regular settings tab as expert user.

    scroll down and you see the import/export option.


    choose your file and export.

    now open Json with texteditor and save after changes.


    import the file and reboot Hyperion.NG

  • i show you.


    regular settings tab as expert user

    Very thanks to you. Now my color are correts but only on color/effects section, when the led are driven by usb capture i have


    Screen | Led

    Magenta | Green

    Cyan | Pink

    Green | Pink
    Red | Blue
    Blue | Orange


    Okay news, playing with "Hardware hue control" i've achieved an accettable result. Thanks to all of you.

    If anyone wants to give me advice on the settings I posted earlier it would be appreciated.

    Edited once, last by sickrandy: Merged a post created by sickrandy into this post. ().

    • New
    • Official Post

    Please post the output of usb-devices and v4l2-ctl --all best in Code or Spoiler.

    regards pclin

    Dreambox ONE / TWO

    dreamOS OE2.6

    Amlogic S922X - 53.000 DMIPS - 2 GB RAM - 16 GB Flash - Twin-DVB-S2X Tuner - HDR10 - HLG
    -
    AudioDSP: miniDSP 2x4HD - Amp: Pentagon - Lautsprecher ELAC / ARENDAL
    LG OLED65BX9LB (PicCap, hyperion.NG webOS)

    FireTV 4K max

    -
    hyperion (classic) & Plugin HyperionControl | hyperion-ng 2.0.16-beta.1 (dreamOS)
    Hyperion-ng (Debian bullseye)
    -
    6 x ESP32/Wemos D1 mini - WLED - SK6812 RGBW-NW 60 LEDs/m
    FeinTech VSP01201 - Grabber Macrosilicon

    LG TV Hyperion webOS & PicCap


    Ambilight for ever

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!