Double-buffered compositing performance is sometimes very poor (30 FPS) on intel
Bug #1377872 reported by
Daniel van Vugt
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Invalid
|
Medium
|
Unassigned | ||
mesa (Ubuntu) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Double-buffered compositing performance is sometimes artificially poor on some intel systems. When this happens the frame rate seen is halved - about 30 FPS. However at the same time, Mir is observed to use very little render time and both the CPU and GPU are still mostly idle. It's just the Intel DRM logic sometimes takes two frames (~32ms) to complete a single page flip.
Two known workarounds avoid the issue:
(a) Add glFinish() into the mesa DisplayBuffer code; or
(b) env INTEL_DEBUG=sync for the Mir server binary.
summary: |
- Double-buffered compositing performance is poor + Double-buffered compositing performance is very poor (30 FPS) |
Changed in mir: | |
assignee: | Daniel van Vugt (vanvugt) → Cemil Azizoglu (cemil-azizoglu) |
Changed in mesa: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in mir: | |
milestone: | 0.9.0 → 0.10.0 |
summary: |
- Double-buffered compositing performance is very poor (30 FPS) + Double-buffered compositing performance is very poor (30 FPS) on intel |
description: | updated |
summary: |
- Double-buffered compositing performance is very poor (30 FPS) on intel + Double-buffered compositing performance is sometimes very poor (30 FPS) + on intel |
Changed in mesa (Ubuntu): | |
importance: | Undecided → Medium |
Changed in mir: | |
assignee: | Daniel van Vugt (vanvugt) → nobody |
To post a comment you must log in.
It gets weirder... Start a bunch more clients, or just one that has swap_interval==0 and that makes all compositing fast again (60Hz).
Somewhere in the middle there's a number of clients that makes all compositing slow. But a very low or very high number makes it fast.