News:

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

+-+-

+-User

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

+-Site Stats

Members
Total Members: 16591
Latest: dolly
New This Month: 29
New This Week: 3
New Today: 1
Stats
Total Posts: 133603
Total Topics: 16633
Most Online Today: 94
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 2
Guests: 43
Total: 45

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

Fresh Install on RPi Zero WH Initial WiFi Connection for Headless Configuration by FalconGoody
Today at 01:47:57 PM

F16V5 WiFi by DaSarge
Today at 11:21:42 AM

Bottom of all my videos are distorted by breese
Today at 04:27:46 AM

FM Radio Not recgnized by Poporacer
October 14, 2024, 04:53:34 PM

Abnormal conditions Voltage to low by dkulp
October 14, 2024, 10:22:36 AM

Anyone else having FPP 8.0 issues with Remote Falcon? by JonD
October 14, 2024, 06:25:37 AM

FPP 8.2 Released! by zaicik
October 14, 2024, 05:31:01 AM

FPP Config for K16 -> Genius LR? by Poporacer
October 13, 2024, 03:24:27 PM

After Saving Cannot Upload Sequence by Poporacer
October 13, 2024, 12:05:46 PM

Multiple writes per second to fppd.log while any sequence is playing - Resolved by Poporacer
October 13, 2024, 12:01:42 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod