-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Time Elapsed" or "Time Remaining" Status not updating #363
Comments
Someone else reported something similar. The issue turned out to be in the fseq file itself. It looks like on occasion xLights FPP Connect generates a file in a format we did not support. I am in the process of adding support and it should be ready shortly. |
In my testing the FSEQ was playing and the lights were working, the status page just wasn't updating |
Was anything updating? Was the uptime changing? |
The uptime and heap were updating |
So the screen was updating, The file was playing and the play status was not reflecting progress. Can you send me the file you are playing. I will try it on my system. |
There are some other issues I found with the status page last night that I'll be working on today as well. The current implementation is prone to resets and crashes, probably due to the nested ArduinoJson calls. I need to look at the FPP and xLights to make sure we don't break an interface. ESPixelStick/ESPixelStick/src/WebMgr.cpp Line 640 in aeb10cc
|
That is new. Have not seen it in months. Also running fine on my build. It is not arduinojson that causes the issue. It is anything to do with string processing. Turning on the debugging itself causes issues in this area because it uses strings and all web actions are in an interrupt mode of operation. Using the String class does bad things to the heap and heap manager gets hosed. |
@computergeek1507 How many channels of data does that sequence have? According to out header definition, it's 40,800. |
According to the FPP Spec, we should be correct. Was xLights dumping the total channel count into the file? According to the spec, it should be for just the channels in the file.
|
I will look into the xLights code maybe we have an issue there |
I just looked at the raw file contents and it does not look right. The data start does not extend past the headers and the data area is completly blank. I will continue to analyze it tomorrow.
Martin
Sent from Yahoo Mail on Android
On Tue, Sep 28, 2021 at 18:09, Scott ***@***.***> wrote:
I will look into the xLights code maybe we have an issue there
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
It took a refactoring and a bit of frustration to find this non bug. The issue is the FSEQ file is broken. The channels per frame count is 40800 with 600 frames. That needs a file that is about 20MB long. The file I received is ~700KB. The ESP ran out of data within the first second. Outputted an error message and then restarted the file. Since the playback never completed the first second the times did not change. The status was correct. On the plus side I did find and fix a parsing issue. 07:43:36.386 -> ------ ParseFseqFile:InputFPPRemotePlayFile.cpp:188: BytesRead: 32 ------ |
@computergeek1507 Were you able to get to the bottom of what happened with the file? Where you able to compare it to the original version? Or had it been uploaded and then extracted from the SD card? |
I was working on testing the ESPixelStick 4 beta 2 firmware with xlights, but now xLights will lockup when trying to upload the channel outputs. |
xLights also locks up if you try to send a test pattern. Not sure why
On Thursday, September 30, 2021, 12:45:07 AM EDT, Scott H. ***@***.***> wrote:
I was working on testing the ESPixelStick 4 beta 2 firmware with xlights, but now xLights will lockup when trying to upload the channel outputs.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Which version of xLights? It worked for me yesterday with 2021.29 x64 windows |
I was using 2021.30 and running from debug and it was doing it. The websocket call to get the outputs was not returning any response and xLights was locking up waiting for it. The input upload wasn't working either but I was working on a xLights fix for that. |
Both 29 and 30 lock up on me.
On Thursday, September 30, 2021, 09:02:07 AM EDT, Scott H. ***@***.***> wrote:
I was using 2021.30 and running from debug and it was doing it. The websocket call to get the outputs was not returning any response and xLights was locking up waiting for it. The input upload wasn't working either but I was working on a xLights fix for that.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
I'll update to 30 and dig into it if I can reproduce it |
@MartinMueller2003 @computergeek1507 |
based on the FSEQ doc and talking to Dan, the channel count in the sparse file header is the channel size of main FSEQ before the other data is strips out to generate the sparse file specific the remote controller. The sparse range start channel of the sparse file is then relative to this. The frame channel size of the sparse file should be the global channel size minus the range start channel +1. The sparse ranges size value should also match this value. |
So xLights is not updating the channel count to reflect the sparse range count?
|
This is very different than the documentation.
Martin
On Thursday, September 30, 2021, 01:27:12 PM EDT, Scott H. ***@***.***> wrote:
based on the FSEQ doc and talking to Dan, the channel count in the sparse file header is the channel size of main FSEQ before the other data is strips out to generate the sparse file specific the remote controller. The sparse range start channel of the sparse file is then relative to this. The frame channel size of the sparse file should be the global channel size minus the range start channel +1. The sparse ranges size value should also match this value.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
In regards to the xLights crash when uploading channel outputs, I was able to replicate it on ESP32. ESP8266 has been fine. Probably related to the number of outputs not matching between the two. |
I think xLights should be changed to match the doc, I will talk to Dan about fixing it. I don't want to break FPP and the Falcons |
ESPixelStick Firmware Version
FW Version
CI-1279404057
Build Date
Sep 27 2021 - 17:56:28
Hardware Version
Lolin D32 Pro
Binary release or compiled yourself?
Release Action https://github.com/forkineye/ESPixelStick/actions/runs/1279404057
Operating System (and version)
Windows 10 Pro 21H1
Web Browser (and version)
Chrome 93.0.4577.82
Access Point
Ubiquiti UAP-AC-LR
Describe the bug
When using Local File Player the Status page doesn't update the "Time Elapsed" or "Time Remaining"
The text was updated successfully, but these errors were encountered: