-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Large ledmap support #4262
base: main
Are you sure you want to change the base?
Large ledmap support #4262
Conversation
- add filtering support for readObjectFromFile()
Thank you , I was in the process to test the large ledmaps and I could only test using DDP . The issue is that there is a bug when using DDP listed here The solution to use Respect LED Maps assume the slave units is on new builds to use that option but that is not the case with real setups like what we all have . Otherwise I can not test this in an accurate way and I could not find any of my contacts with large fixture ( we still did not know how large can we go but only >1200 ) The unit I flashed with this seems stable and used it with DDP on 16x16 slave and the custom maps works fine . I am also sure with time someone else would test and raise an issue if any so might be not everything needs to be beta tested as in this case and this is not really a critical change so might be merge for others to do so . Cheers |
Ledmap is used on the But I am not sure if this is what you want to hear as I have difficulty understanding what you write. |
If that is the case I wounder we did you close that issue we raised in the first place but no big deal , you would only need to test the same way below with 32x16 ( this is two 16x16) . If you match the 2D page setup on master and slave then you will see that it does not work as expected ( This was raised multiple time from the guys using xlights and jinx ) but do you agree that if you match the 2D setup then the correct behavior for the slave and master to work with 2D effects the same way ? The solution we had even before " Respect LED Maps" option is just go to slave and disable Serpentine . |
No, I don't think that's the correct behaviour? The master shouldn't need to know what the slave's physical mapping is. If the slave is taking care of the pixel mapping, the master should target it as if it's a flat device. This way I can swap out different physical targets without changing the settings on the master. I'm a bit confused -- why do you want to have to enter the same information in multiple places? |
To clarify: Master will always treat When using ledmap the panel set-up is irrelevant and means nothing. You could easily set up just one panel in any orientation you wish. Ledmap takes precedence. But that is irrelevant for this PR. This PR deals with the ability to load a ledmap that will exceed memory constrains. The point for testing this PR is to create a ledmap with more than 2000 pixels and have it load. If you are wondering how to test it if you do not have a fixture of such size, is by examining debug dump of in-memory created ledmap which should correspond to ledmap file. |
Unfortunately from past experience I would only like to confirm on a fixture but I might have a quick workaround as I am testing with hub75 64X64 but on MM so I will use that as a slave and will not focus on none ledmap related for now . |
For now basic maps for 64x64 did not work , peek seems okay but fixture is not taken that . |
@softhack007 I'd recommend this PR is merged before #4463 as it modifies some of the same files. |
Since you and I tried in discord and privately to forward the guys with large fixture to test but did not get feedback so might be yes the best way is to merge . For the debug I thought to try again to use it as you mentioned but I still get the error you see below , do you spot anything wrong in the env ( This is your branch directly in code spaces ) .If that's working for you then okay. |
@dosipod why don't you use CI builds from this PR? If you are using my fork then make sure you get everything. My fork has diverged substantially. |
@blazoncek Yeah I did since day one but since you do not have a debug CI build I wanted to add that to test what you mentioned about examining debug dump of in-memory created ledmap to bypass that I do not have large fixture in place , if this works then I could verify a lot of test cases . The error is apparently only for debug but in FX_fcn.cpp |
@dosipod there is something wrong with your environment or repository then. DEBUGFX_PRINTLN() is defined in FX.h. |
is this ready to merge? |
- removed erroneous DEBUGFX
I think this is ok to be merged. |
Adds support for loading large ledmaps (>1200 pixels).
Also adds filtering option to
readObjectFromFile()
.