[regression] NBS uses quad-buffers even when not required
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
New
|
Medium
|
Unassigned | ||
mir (Ubuntu) |
New
|
Medium
|
Unassigned |
Bug Description
Since the fix for bug 1557962 landed, NBS allocates four buffers to the client surface even when not required (running in a window without overlays):
$ env MIR_CLIENT_
[2016-04-04 11:15:11.894754] perf: glmark2 2014.03+
[2016-04-04 11:15:12.894807] perf: glmark2 2014.03+
[2016-04-04 11:15:13.895012] perf: glmark2 2014.03+
FPS: 8817 FrameTime: 0.113 ms
Compare to BufferQueue:
[2016-04-04 11:17:12.611400] perf: glmark2 2014.03+
[2016-04-04 11:17:13.611470] perf: glmark2 2014.03+
[2016-04-04 11:17:14.611555] perf: glmark2 2014.03+
The fourth buffer is technically only required when using framedropping with bypass/overlays simultaneously.
description: | updated |
tags: | added: regression |
summary: |
- NBS uses quad-buffers even when not required + [regression] NBS uses quad-buffers even when not required |
tags: | added: performance |
tags: | removed: performance |
Bumped to high, even if temporarily. Because we need to be mindful that this bug will probably increase Unity8's latency by one frame.
Roughly explained here: https:/ /code.launchpad .net/~vanvugt/ mir/ClientLaten cy-of-overlays/ +merge/ 291348