Software compositing of EGL clients is much slower than software compositing of software clients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Confirmed
|
Medium
|
Unassigned | ||
mesa (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
mir (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Software compositing of EGL clients is much slower than software clients. Even when the EGL client is allowed to render in hardware. There is something weirdly slow about our EGL texture binding compared to software textures...
Start the server with software rendering:
$ sudo env GBM_ALWAYS_
Now start a fullscreen client (even with hardware rendering enabled) and drag the window around (so it's no longer bypassed).
Compositor performance:
7 FPS with mir_demo_
7 FPS with mir_demo_
30 FPS with mir_demo_
30 FPS with 'mir_demo_
30 FPS with 'mir_demo_
30 FPS with 'mir_demo_
description: | updated |
tags: | added: vm |
Changed in mir: | |
importance: | Low → Medium |
Changed in mir (Ubuntu): | |
importance: | Low → Medium |
I'm guessing this might be related to the fact I'm running on an Intel graphics desktop. So the buffer implementation for the EGL clients is still GBM. However the buffer implementation for the software clients is just local memory (ShmBuffer).