GLB test result gives a dummy FPS
Hi, I'm using weston 5.0.0 with wayland 1.15.0 on my platform, take Mesa 18.1.0 as OpenGL driver. I'm trying to test rendering performance with a test tool names GLB. It seems the test result doesn't make sense because of frame loss. The result show FPS is 60 but the time cost of funtion drmModeAtomicCommit is about 35 MS, which means client side keeps committing frames to server side without flow control and believe each committed frame will be actually displayed, while the fact is not
Following pictures are captured from a timing capturing tool names ttrace which can give time cost of each function routine As you can see, each drmModeAtomicCommit() costs almost 35MS, but on the other hand, client sides is much faster than server side (like "GLB: RENDER STAGE 6" in bule and "vc4_fence_finish" in green)
So, I'm wondering if dri2_wl_swap_buffers_with_damage() does consider flow control or not, thank you.