How can I display a video by a camera, which has the function rdma?

ubuntu 20 + rtx 6000 + fire bird capture card

  1. the fire bird capture card has the rdma function, which could capture the data to gpu directly.
  2. the data on gpu always updates.
  3. I used opengl to display the data of gpu. it worked, but the frame rate of the video is wrong.
  4. the speed of memcpy is fast, the speed of opengl render is fast, I dont know the reason of frame rate is too low…

phx_cuda_rdma.cpp (18.2 KB) (2.3 KB)