Search Unity

AsyncGPUReadBack speed limit

Discussion in 'Unity Simulation' started by zijianhan, May 20, 2021.

Thread Status:
Not open for further replies.
  1. zijianhan

    zijianhan

    Joined:
    Mar 30, 2021
    Posts:
    1
    Hi, I was using AysncGPUReadBack to fetch some camera buffer from GPU to CPU. The camera we simulate has a resolution of 3840*2160 which is quite large, so this function makes the simualton end up very slow, from 80fps drop to 15fps, 73% of time is on this function.

    I checked that the PCIe 3 ideal transfer rate should be 8Gb/s, while my speed is way less than this.

    I was wondering if there is anything wrong I did.

    I'm basically doing same as this example https://github.com/keijiro/AsyncCaptureTest
     
  2. stevenke_unity

    stevenke_unity

    Joined:
    Nov 13, 2018
    Posts:
    30
  3. stevenke_unity

    stevenke_unity

    Joined:
    Nov 13, 2018
    Posts:
    30
Thread Status:
Not open for further replies.