News:

LATEST RELEASE:  FPP 7.2 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/7.2

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16350
Latest: bweber
New This Month: 136
New This Week: 6
New Today: 0
Stats
Total Posts: 130862
Total Topics: 16199
Most Online Today: 67
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 3
Guests: 32
Total: 35

Weird latency over artnet

Started by dsg123456789, April 21, 2023, 11:13:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dsg123456789

I just started setting up my system, which has an F48V4-NS connected to an SRx1-PSU. I haven't touched any switches or knobs on the boards.

I am using SK6812 RGBW LEDs. My configurations are screenshot below.

When I try to push an animation from pyartnet, I can see it's sending the sacn/e131 packets at the rate I expect. However, it takes 3-6 seconds before the frame appears on the pixels, but I expect to be able to push at least 20fps. Is something misconfigured, or is there something else I need to do? I included my basic code listing below too, just in case it's helpful.



import asyncio
import logging
from pyartnet import SacnNode
import sys

logging.basicConfig(level=logging.DEBUG)

async def main():
    i = int(sys.argv[1])
    x = int(sys.argv[2])

    # Run this code in your async function
    node = SacnNode('192.168.20.119', 5568, max_fps=30)
    node.set_output_correction(None)


    channels = []
    NUM_UNI = 3
    NUM_CHANS = int(384 * 3/4 / NUM_UNI)
    for u in range(NUM_UNI):
        universe = node.add_universe(u+1)
        for l in range(NUM_CHANS):
            channel = universe.add_channel(start = l * 4+1, width=4)
            channels.append((universe, channel))

    t = 0
    dt = 0.01
    while True:
        val = [0,0,0,0]
        val[i] = int(x * t)
        for (u,c) in channels:
            #c.add_fade(val, 100)
            c.set_values(val)
        t += dt
        if t > 1 or t < 0:
            dt = -dt
            t += dt
        # GRBW
        print(f"value is {int(x*t)}")
        await asyncio.sleep(0.2)

asyncio.run(main())


MikeKrebs


Support FPP

+- Recent Topics

slights pb by K-State Fan
Today at 05:13:38 AM

2nd year newbie with same issues from last year by breese
Today at 04:26:35 AM

Join Our Live Stream! by PkPrince78
November 27, 2023, 10:41:20 PM

F16v3 not in sync with 2 Kulp K8s by MikeKrebs
November 27, 2023, 09:10:42 PM

FPP Unresponsive by jem5136
November 27, 2023, 08:47:51 PM

F48v4-NS Network Light Flashing, No connection by tbone321
November 27, 2023, 08:24:35 PM

Upload output by jnealand
November 27, 2023, 07:13:47 PM

Can 7.3.5 run ETH0, ETH1, and Wifi? by dennismccreery
November 27, 2023, 07:08:14 PM

Red lights on strings by JonD
November 27, 2023, 04:44:46 PM

FPP upload not possible by ARG
November 27, 2023, 01:29:30 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod