Forum

AsImage Performance

Hey guys,

I patch a async pipet in vl, everything works fine. But I have to use the asimage Node, to get the dx11 texture into vl… this node eats a lot of performance and i don´t understand why. Is there another option I can use, instead of the asimage node?

asimage_high

Hi and welcome,

AsImage has to move the texture from the GPU to the CPU, unfortunately this direction is super slow, not much you can do.

If you can describe your setup and what You want to do in more detail, maybe someone can suggest a better way to do things.

Somewhat complicated but maybe there could be an asynchronous version of the AsImage node? Create a seperate thread, do the copying/staging there and share it via shared resources/textures.

Kind of like Elliot did in his readback nodes: https://github.com/elliotwoods/VVVV.Nodes.ReadBack