Skip to content
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

Error with high density LED strips #40

Open
MikeMannina opened this issue Sep 29, 2022 · 1 comment
Open

Error with high density LED strips #40

MikeMannina opened this issue Sep 29, 2022 · 1 comment

Comments

@MikeMannina
Copy link

It looks like there is a limit to the number of LED's Glimmr can handle on a single WLED device. I have a strip that's 588 LED's long. WLED doesn't have an issue but Glimmr pukes with the following:

[WledDevice][SetColors] Exception: Message too long at at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.SendToAsync(Socket socket, CancellationToken cancellationToken) at System.Net.Sockets.Socket.SendToAsync(ReadOnlyMemory1 buffer, SocketFlags socketFlags, EndPoint remoteEP, CancellationToken cancellationToken) at System.Net.Sockets.UdpClient.SendAsync(Byte[] datagram, Int32 bytes, IPEndPoint endPoint) at Glimmr.Models.ColorTarget.Wled.WledDevice.SetColors(IReadOnlyList1 ledColors, IReadOnlyList1 sectorColors) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Glimmr.Models.ColorTarget.Wled.WledDevice.SetColors(IReadOnlyList1 ledColors, IReadOnlyList1 sectorColors) at System.Linq.Enumerable.SelectEnumerableIterator2.MoveNext() at System.Threading.Tasks.Task.WhenAll(IEnumerable1 tasks) at Glimmr.Services.ColorService.SendColors(Color[] colors, Color[] sectors, Boolean force) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Glimmr.Services.ColorService.SendColors(Color[] colors, Color[] sectors, Boolean force) at Glimmr.Models.FrameSplitter.Update(Mat frame) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Glimmr.Models.FrameSplitter.Update(Mat frame) at Glimmr.Models.ColorSource.Video.Stream.Usb.UsbVideoStream.SetFrame(Object sender, EventArgs e) at Emgu.CV.VideoCapture.Grab() at Emgu.CV.VideoCapture.Run(ExceptionHandler eh) at Emgu.CV.VideoCapture.<>c__DisplayClass36_0.b__0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() --- End of stack trace from previous location --- at Glimmr.Models.ColorTarget.Wled.WledDevice.SetColors(IReadOnlyList1 ledColors, IReadOnlyList`1 sectorColors)

@d8ahazard
Copy link
Owner

Hey there, long time no talk.

If you SSH into your box and do:

sysctl net.core.rmem_max
sysctl net.core.wmem_max

What is the resulting value?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants