You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SK6812 RGBW colors broken in 0.15.0 on ESP32, not ESP8266, works in 0.14.4 #4380
I have two strips of SK6812s RGBWs, one lot attached to an ESP32 and one to an ESP8266
Updating to 0.15 from 0.14.4 breaks the ESP32 colors but not the ESP8266 colors
I've reverted to 0.14.4 so cant debug further at this moment but can do later
To Reproduce Bug
SK6812s RGBWs in GBR mode on an ESP32, the colors are the wrong. They are very dim, the hue isnt far off or might be right (havent fully debugged, had to quickly revert before the kids came home to see no xmas lights!)
Expected Behavior
Colors to be correct ;)
Install Method
Binary from WLED.me
What version of WLED?
0.15.0
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
can provide later
Anything else?
Can debug further later, thought Id get this raised for everyones sake
Try checking the brightness limiter settings. Also, if you can, please post the config from your 0.14 system; it sounds like there's either (a) a bug in the upgrade path, or (b) a setting that was previously ignored is now being correctly applied; I'd like to poke the config and see if I can work out what it is.
I was having a similar problem, but my esp8266s weren't changing colors and my esp32s were fine. Rolled back the 8266s to 0.14.4 and now color changing works. 0.15.0 also knocked a couple of my esp8266s offline and they had to be reflashed via serial, but that's a different issue.
I updated (OTA) 5x ESP8266 (d1 mini) with an almost identical SK6812 setup (except for the switch type). Here is the result:
2x updated just fine and everything worked as before
2x updated but the entire color setup (RGB wheel + sliders) was missing. I then switched the LED configuration to [WS2812x > apply > SK6812 > apply] and after that everything seemed back to normal.
1x device didn't boot after the update. I manually flashed 0.15.0 via USB and then the device came back online again with all the previous settings
It looks like the blue channel just doesn't work for me with 15.0. I rolled back to 14.4 and it's fine.
Same for me. For SK6812 strips I cannot get any blue to show up. Not even when intentionally switching color order.
After reverting to 0.14.4 everything works fine again.
Affected binary: WLED_0.15.0_ESP32_Ethernet.bin
Working binary: WLED_0.14.4_ESP32_Ethernet.bin
Upgrade performed via Home Assistant.
Downgrade performed via WLED's "Manual OTA Update"
By freak coincidence, my PSU died of a faulty adjuster pot at exactly the same time. So 0.15 is not "completely broken" but the color/brightness and rollback issues are real
Sounds familiar indeed. Except for blue instead of white. But besides that it seems exactly the same issue.
I use 2x ws2812b RGB (144 pixels each) and 4x sk6812 RGBW (70 pixels each) which totals to 6 channels/outputs.
@Deretour try something. Delete a channel, any channel, so you have a max of 5 channels on your Octa. Do the other strips start behaving properly when there are only 5 channels?
Things of note, the color channels have different values even though they were set to the same (225, 223, 220)? Should be unrelated as the RMT shows the same values.
What versions of NeoPixelBus are being used with working and no-working versions of WLED?
@Makuna I set the color to "approximately" the same value, it was just a quick test early this morning. The take-away is: RGB output is the same for I2S and RMT, white is not.
The working version of WLED uses RMT only but @blazoncek can give you more details, probably better to continue on your git issue. Ping me if you need more measurements.
can confirm the behaviour is the same with NPB 2.8.3 @blazoncek I also tested your branch on S2, 5 outputs, SK6812 RGBW, same issue: white channel is zero
edit: had settings wrong: it works on S2 both with NPB 2.8.0 and 2.8.3
Just for clarification:
When you configure 6 outputs with 300 LEDs or less on (classic) ESP32, WLED switches to parallel I2S use for first 8 outputs instead of mono I2S for 1st output followed by 4/8 RMT outputs otherwise.
The 300 limit is implemented to prevent RAM starvation due to huge memory requirements for I2S outputs.
The big change was to move to the 3Step Cadence to save memory. It still supports 4Step Cadence, but it requires a compile time flag (NPB_CONF_4STEP_CADENCE). Does WLED use 4 or 3 step?
@Makuna, @blazoncek
Perhaps it might be helpful to summarize the exact behavior to get closer to a fix. I’m currently using the latest version of the Digi-Octa running the official v15.0 with all 8 channels driving SK6812 RGBW (BRG, xW&G) led strips. The pixel counts are as follows: ch1: 12, ch2: 74, ch3: 12, ch4: 12, ch5: 10, ch6: 10, ch7: 12, ch8: 23.
When I try to use this exact configuration here is the behavior using the color wheel:
a command of 100% Blue light makes all strips turn completely off
a command of 100% Red light makes all strips turn red
a command of 100% green light makes all strips turn green
a command of 100% white (dead center of wheel) makes all strips turn a combination of green and white
When I change the pixel count to any of the channels (I chose ch2) to 300 or more, normal behavior is restored to all the strips.
I also tried a version with NPB 2.8.3 and the behavior was exactly the same.
@blazoncek awesome! Sorry to be redundant. Super thankful to have folks like you as contributors to the project. Anything else I can help test to push the ball further?
Anyone experiencig this issue (no white channel on SK6812 LEDs when using more than 5 outputs) please use the following workaround until this is fixed:
Configure one of the outputs so that it has more than 300 LEDs (it can be unconnected one with no physical LEDs attaced and it can use any (unused) GPIO) or
Reconfigure/rewire LEDs so that less than 6 outputs are used
configure 8 dummy outputs followed by correct ones
Any extraneous LEDs can be hidden by adjusting segment size.
Activity
willmmiles commentedon Dec 11, 2024
Try checking the brightness limiter settings. Also, if you can, please post the config from your 0.14 system; it sounds like there's either (a) a bug in the upgrade path, or (b) a setting that was previously ignored is now being correctly applied; I'd like to poke the config and see if I can work out what it is.
trullock commentedon Dec 11, 2024
Will have a fiddle with the settings tomorrow
The animation/effect seems to be working properly, its just the "color" thats wrong. Will try and be more descriptive tomorrow
Config exported from 1.14.4:
trullock commentedon Dec 11, 2024
And this is the config from the ESP8266 device which works on 0.14.4 and 0.15, just in case its a config issue rather than a hardware-specific bug
listlesslife commentedon Dec 11, 2024
I was having a similar problem, but my esp8266s weren't changing colors and my esp32s were fine. Rolled back the 8266s to 0.14.4 and now color changing works. 0.15.0 also knocked a couple of my esp8266s offline and they had to be reflashed via serial, but that's a different issue.
trullock commentedon Dec 12, 2024
So, automatic brightness limiting had been turned on, turning that off solves it.
However the effects wrt segments is screwy, like its sped up. Segment 1 is ok, but the rest are not
I have a vid but cant post it here. Can DM/email
nomonkeynodeal commentedon Dec 12, 2024
It looks like the blue channel just doesn't work for me with 15.0. I rolled back to 14.4 and it's fine.
trullock commentedon Dec 13, 2024
0.15 now seems completely broken for me, and I can't roll back to 0.14.4. I provide the binary and seems to apply the update, but it doesnt.
Will have to get the ladders out and flash it directly I guess
cephbo commentedon Dec 14, 2024
I updated (OTA) 5x ESP8266 (d1 mini) with an almost identical SK6812 setup (except for the switch type). Here is the result:
Deretour commentedon Dec 27, 2024
Same for me. For SK6812 strips I cannot get any blue to show up. Not even when intentionally switching color order.
After reverting to 0.14.4 everything works fine again.
Affected binary: WLED_0.15.0_ESP32_Ethernet.bin
Working binary: WLED_0.14.4_ESP32_Ethernet.bin
Upgrade performed via Home Assistant.
Downgrade performed via WLED's "Manual OTA Update"
ijspear commentedon Dec 28, 2024
@nomonkeynodeal @Deretour How many channels are you using? I think this is the same bug as reported in #4384
trullock commentedon Dec 28, 2024
By freak coincidence, my PSU died of a faulty adjuster pot at exactly the same time. So 0.15 is not "completely broken" but the color/brightness and rollback issues are real
nomonkeynodeal commentedon Dec 28, 2024
Maybe. I am using four channels, but the white channel definitely worked for me.
Deretour commentedon Dec 28, 2024
Sounds familiar indeed. Except for blue instead of white. But besides that it seems exactly the same issue.
I use 2x ws2812b RGB (144 pixels each) and 4x sk6812 RGBW (70 pixels each) which totals to 6 channels/outputs.
additional info: I‘m running a quinled dig octa.
ijspear commentedon Dec 28, 2024
@Deretour try something. Delete a channel, any channel, so you have a max of 5 channels on your Octa. Do the other strips start behaving properly when there are only 5 channels?
20 remaining items
Makuna commentedon Jan 8, 2025
Things of note, the color channels have different values even though they were set to the same (225, 223, 220)? Should be unrelated as the RMT shows the same values.
What versions of NeoPixelBus are being used with working and no-working versions of WLED?
I will investigate.
Makuna/NeoPixelBus#868
DedeHai commentedon Jan 8, 2025
@Makuna I set the color to "approximately" the same value, it was just a quick test early this morning. The take-away is: RGB output is the same for I2S and RMT, white is not.
The working version of WLED uses RMT only but @blazoncek can give you more details, probably better to continue on your git issue. Ping me if you need more measurements.
blazoncek commentedon Jan 8, 2025
@Makuna reports were made on NPB 2.8.0, I've requested tests on 2.8.3 but did not receive any feedback.
@DedeHai can you test that?
EDIT: I have S2 & S3 version with I2S LCD driver available for tests.
DedeHai commentedon Jan 8, 2025
can confirm the behaviour is the same with NPB 2.8.3
@blazoncek I also tested your branch on S2, 5 outputs, SK6812 RGBW,
same issue: white channel is zeroedit: had settings wrong: it works on S2 both with NPB 2.8.0 and 2.8.3
ijspear commentedon Jan 8, 2025
@DedeHai just to clarify - using 2.8.3 can you add a 6th channel and make sure each channel is set to less than 300 pixels?
DedeHai commentedon Jan 9, 2025
@ijspear 2.8.3 with the (preliminary) implementation in WLED is still 5 channels max.
blazoncek commentedon Jan 9, 2025
Just for clarification:
When you configure 6 outputs with 300 LEDs or less on (classic) ESP32, WLED switches to parallel I2S use for first 8 outputs instead of mono I2S for 1st output followed by 4/8 RMT outputs otherwise.
The 300 limit is implemented to prevent RAM starvation due to huge memory requirements for I2S outputs.
Makuna commentedon Jan 11, 2025
The big change was to move to the 3Step Cadence to save memory. It still supports 4Step Cadence, but it requires a compile time flag (NPB_CONF_4STEP_CADENCE). Does WLED use 4 or 3 step?
ijspear commentedon Jan 11, 2025
@Makuna, @blazoncek
Perhaps it might be helpful to summarize the exact behavior to get closer to a fix. I’m currently using the latest version of the Digi-Octa running the official v15.0 with all 8 channels driving SK6812 RGBW (BRG, xW&G) led strips. The pixel counts are as follows: ch1: 12, ch2: 74, ch3: 12, ch4: 12, ch5: 10, ch6: 10, ch7: 12, ch8: 23.
When I try to use this exact configuration here is the behavior using the color wheel:
a command of 100% Blue light makes all strips turn completely off
a command of 100% Red light makes all strips turn red
a command of 100% green light makes all strips turn green
a command of 100% white (dead center of wheel) makes all strips turn a combination of green and white
When I change the pixel count to any of the channels (I chose ch2) to 300 or more, normal behavior is restored to all the strips.
I also tried a version with NPB 2.8.3 and the behavior was exactly the same.
blazoncek commentedon Jan 11, 2025
@ijspear no need to explain, I am well aware where the issue lies.
ijspear commentedon Jan 11, 2025
@blazoncek awesome! Sorry to be redundant. Super thankful to have folks like you as contributors to the project. Anything else I can help test to push the ball further?
blazoncek commentedon Jan 11, 2025
Anyone experiencig this issue (no white channel on SK6812 LEDs when using more than 5 outputs) please use the following workaround until this is fixed:
Any extraneous LEDs can be hidden by adjusting segment size.
Bus rework
Bus rework