FalconChristmas / fpp

Falcon Player
http://FalconChristmas.com
Other
558 stars 193 forks source link

Colorlight Firmware 13.17 not compatible with 7.5.x #1849

Open derwin12 opened 4 months ago

derwin12 commented 4 months ago

From zoom. .. Travis had to have the guy downgrade back to 11.04 and it worked without issues. Someone noted that there is a more recent version. Ledvision 8.5 was used. This was with a Pi4 and builtin eth0. Panels were P2. Not sure if this is something to fix or perhaps just to document and close the ticket. (P2-1515-128x64-32s)

mjunek commented 3 months ago

To add to this, I had a very similar issue just now. FPP 7.5-5-gda02180d (Latest update as at 10 June) Colorlight 8.2 card with 13.39 firmware. Pi 4 CM4 on a carrier board, built-in eth0. Panels are 48x48 P6.67s, in 3x2 array LEDVision 8.8

No output from FPP. Panel would flash when enabling output, but no pixels illuminating. LEDVision pie graph setup output would produce flicker and was also a bit lagged.

Downgraded to 11.04 firmware after reading the above note, issue disappeared. FPP could talk fine, and LEDVIsion lag disappeared.

PanelsRus did a video which documents the flicker issue and downgrade as well - https://www.youtube.com/watch?v=LcTKwyMmJec

darylc commented 3 months ago

Added warning to UI in https://github.com/FalconChristmas/fpp/commit/306f0f6065cd25a32441ee4492576ace61ab799d

mjunek commented 3 months ago

I've popped a copy of the 5A v11.04 firmware on my site in case it's required by anyone who encounters this issue and wishes to downgrade: https://www.mortonlights.com/files/ColorLight_5A_v11.04.fw

Indigogyre commented 2 months ago

I'm also having an issue using the latest firmware 13.39. The type of panel does not seem to matter as long as the firmware is higher then 11.04 it doesn't seem to work.

Working Colorlight card with my P5 panels upgrade it to 13.39 and FPP is no longer able to use it. Downgrade to 11.04 and it works fine with no other changes.

My issue is that I am trying to configure P4 80x40-20s panels and they seem to need the higher firmware version to work properly. When using the 11.04 firmware the panels have refresh issues which are not present when configuring with the 13.39 version.

FPP 7.5 Updated today. Colorlight 8.2 card with 13.39 firmware. (Tested multiple cards) Pi 4 CM4 on a carrier board, built-in eth0.

darylc commented 2 months ago

We need a volunteer to do some detailed packet tracing and reverse engineering and submit an enhancement for this. The developer who wrote the initial colorlight code is currently not active in FPP development.

JonB256 commented 2 months ago

Is this related to the error message I'm seeing on my RasPi 4 and latest FPP v8.1 (master) where it tells me that eth0 is NOT capable of Gigabit connection to a ColorLight card? (it isn't currently connected to a powered ColorLight card, if that makes a difference)

image

cybercop23 commented 2 months ago

Check the cable and make sure all 4 pairs are connected. 1Gbps needs all 4 pairs. Best if you have an ethernet cable tester.

ebuechner commented 4 weeks ago

I ran into the "abnormal conditions" warning and after a lot of trial and error it came down to running the 5A 3.80 firmware. After changing the firmware I haven't had the problem come back yet. I'll update if anything else comes up. I have to note that when I was having problems and it came up with the error it would stop outputting to the colorlight card and refused to reset until you do a full reboot. Restarting the FPPD would not clear it. All of these problems came up after running 8.0.

bobreese commented 3 weeks ago

Is this related to the error message I'm seeing on my RasPi 4 and latest FPP v8.1 (master) where it tells me that eth0 is NOT capable of Gigabit connection to a ColorLight card? (it isn't currently connected to a powered ColorLight card, if that makes a difference)

image

The connection speed has been corrected (https://github.com/FalconChristmas/fpp/pull/1955) The second error will remain until the colorlight card is connected and powered on.

Indigogyre commented 3 weeks ago

I took a couple of Wireshark packet captures they are a little over 12ish seconds. I let the simple LEDVision output play during the capture and at about the 10s mark i moved my cursor on the normal screen display to possibly generate different packets.

5A75B 11v09: Indoor P5 panel to work with receiver 5A-75B v8.2 with the 11.09 firmware

5A75B 13v39: Indoor P5 panel to work with receiver 5A-75B v8.2 with the 13.39 firmware

This is a start, let me know if there are other captures to work on. Packet Captures 01.zip

mjunek commented 1 week ago

Thanks @Indigogyre - I do see a difference between those pcaps and what the FPP code is generating. I will run some tests with some code modifications against my panels in the coming week and if I find a positive change in behaviour I'll submit a PR for inclusion.

AlecDusheck commented 3 days ago

I really appreciate yall looking into this. I'm curious if anyone has made any progress so far in spotting the differences in the new protocol. I'm awaiting receiving a 5A-75B that will probably arrive with the 13.39 firmware :/

AlecDusheck commented 3 days ago

Also, if it helps, I've created a custom ColorLight Wireshark plugin, available here: https://github.com/JoinRiata/Wireshark-Scripts/blob/main/colorlight.lua

This is very much untested, but hopefully it can make debugging a little easier :)

image

mjunek commented 3 days ago

I did have some success last night getting an image out of the newer Colorlight firmware with some changes in FPP. It was flickering like mad, more work needs to be done, but I think I am on the right track.

Definitely gonna take alook at your plugin @AlecDusheck - that looks fantastically useful.

mjunek commented 2 days ago

This now appears to be a timing issue with the packets. It's likely that the new firmware is pushing the FPGA to the limits on the receiver card, and FPP is too efficient at getting the packets on the wire. @Indigogyre or others; does anyone have a Colorlight Sender card? I'd love to see a pcap of the data and timing from one of those for comparisons.

Indigogyre commented 1 day ago

This now appears to be a timing issue with the packets. It's likely that the new firmware is pushing the FPGA to the limits on the receiver card, and FPP is too efficient at getting the packets on the wire. @Indigogyre or others; does anyone have a Colorlight Sender card? I'd love to see a pcap of the data and timing from one of those for comparisons.

I do have a S2 sender card and can do a capture of the data out. Let me work on that and I will post the capture when it is available.

Indigogyre commented 1 day ago

@mjunek, let me know if this one is useful or not, it's the first time I tried to capture an incoming form the sender card. If it is wrong I can redo the capture.

S2 Sender.zip