Mir

Comment 2 for bug 1557442

Revision history for this message
Daniel van Vugt (vanvugt) wrote : Re: NBS causes loss of frame dropping (loss of frame rate) after resizing the window

Another test case that's a bit easier:

$ sudo env MIR_CLIENT_PERF_REPORT=log glmark2-mir --fullscreen -b texture
=======================================================
    glmark2 2014.03+git20150611.fa71af2d
=======================================================
    OpenGL Information
    GL_VENDOR: Intel Open Source Technology Center
    GL_RENDERER: Mesa DRI Intel(R) Haswell Desktop
    GL_VERSION: 3.0 Mesa 11.1.2
=======================================================
[texture] <default>:[2016-03-16 16:43:31.520145] perf: : 1230.00 FPS, render time 0.52ms, buffer lag 1.89ms (3 buffers)
[2016-03-16 16:43:32.520374] perf: : 1259.00 FPS, render time 0.44ms, buffer lag 1.93ms (3 buffers)
[2016-03-16 16:43:33.520666] perf: : 1273.00 FPS, render time 0.44ms, buffer lag 1.91ms (3 buffers)
[2016-03-16 16:43:34.520962] perf: : 1276.00 FPS, render time 0.45ms, buffer lag 1.90ms (3 buffers)
[2016-03-16 16:43:35.532160] perf: : 446.09 FPS, render time 0.46ms, buffer lag 4.68ms (34 buffers)
*** Move/resize the window ***
[2016-03-16 16:43:36.533017] perf: : 60.00 FPS, render time 0.15ms, buffer lag 33.20ms (2 buffers)
[2016-03-16 16:43:37.533866] perf: : 60.00 FPS, render time 0.19ms, buffer lag 33.17ms (2 buffers)
[2016-03-16 16:43:38.534718] perf: : 60.00 FPS, render time 0.14ms, buffer lag 33.21ms (2 buffers)
[2016-03-16 16:43:39.535568] perf: : 60.00 FPS, render time 0.14ms, buffer lag 33.21ms (2 buffers)
^C FPS: 623 FrameTime: 1.605 ms
=======================================================
                                  glmark2 Score: 623
=======================================================