This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA2P-ACD: Render Multiple Streams with SGX GPU

Expert 2220 points

Part Number: TDA2P-ACD

Hello,

Is there an example of rendering multiple output streams using the GPU? I with to us the GPU to drive multiple different displays using the GPU, from what I can tell all current example only support one output channel and I am getting failures when attempting to add multiple instances of the SGX frame copy link. 

Thanks,

Ben

  • Hi Ben,

    Can you give more information on what is meant by multiple streams here? 

    Are you talking about multiple textures? SGXRender2x2 is a way to support to create a mosaic of 4 textures.

    Thanks

    RamPrasad

     

  • Hello,

    Thank you for the reply. I am looking to drive 3 displays, each with different outputs rendered by the GPU (in memory to memory mode). Ideally each display would be driven with its own queue of buffers generated by the GPU. I may be able to get multiple textures working by rendering one very large buffer and manually splitting it into small buffers at the links and chains level, but the buffer handling would be very messy and complicated so I would like to avoid this. 

    I tried adding multiple instances of examples that use the GPU, but it fails, so I am assuming there is something in the pipeline that only allows once instance. 

    Thanks,

    Ben

  • Hi Ben,

    Could you share the info the release you are using here.

    If you are using memory to memory mode, there will be display specific dependency to the gpu and if I am reading this correctly you are looking after to create three render instances. This should be doable by creating three contexts each having its own bound framebuffer object. These framebuffers can be bound to display accordingly later in your processing stages.

    Note that multirender target is not supported with SGX, that is you can't have multiple framebuffer bound for the same draw call.

    Thanks,
    Gowtham