medcelerate / FFGLTouchEngine

Touchengine FFGL Plugin
Apache License 2.0
44 stars 2 forks source link

Framerate Issues when Previewing .toxs and stutters when loading #16

Closed OrdinaireX closed 1 month ago

OrdinaireX commented 1 month ago

Hey first I just want to say love the new update, seems to work well and will help a lot with stability.

I noticed when viewing 2 instances of TouchEngine at the same time in Resolume, either by layering or by previewing, it really affects the framerate a lot, regardless of the complexity of the .tox file. Even when loading two very lightweight .tox files, it seems to slowdown quite a bit.

I imagine people will be wanting to queue up their .tox files before showing them off, so this combined with that classic TouchDesigner stutter when loading, and then the preview framerate dip can be disruptive.

From my own experiences making .tox based solutions to VJing with Touch, I know that this is likely a tricky issue to solve, just wanted to document it.

Great work with the latest build again. Thanks!

medcelerate commented 1 month ago

This is more likely a limitation of your GPU or CPU. I don't have much control of the touchengine performance beyond what the API provides, but have run multiple instances simultaneously without issue.

j4s0n-c commented 1 month ago

@OrdinaireX Make sure the "Buffer" setting is disabled in SpoutSettings.exe It causes major framerate issues in Resolume for me when enabled. If you don't have that app it's included here.

medcelerate commented 1 month ago

@j4s0n-c I don't think that would have much effect as we do use the spout library but not in a way that would be effected by the settings panel anymore.

medcelerate commented 1 month ago

I saw this issue and it was due to network errors caused by a bug in TouchDesigner. Please updated to the latest version of TD 2023 release and this issue will be rectified.