Screen goes blank (black) briefly during display config changes which don't affect the display mode
Bug #1274359 reported by
Daniel van Vugt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Medium
|
Cemil Azizoglu | ||
mir (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The screen goes blank (black) briefly during display config changes, on desktop (mesa platform). For mode changes I think this is expected, but it also happens for non-mode changes like screen rotation and probably repositioning.
TEST CASE:
1. Run mir_demo_
2. Start a client you can see on screen
3. Invoke a display config change with screen rotation: Ctrl+Alt+(arrow key)
Expected: Instant rotation
Observed: Screen blanks briefly before rotating.
The blackness is very brief, but I think we can do better. By avoiding unnecessary destruction and reconstruction of mesa::DisplayBu
Related branches
lp://staging/~cemil-azizoglu/mir/mesa-no-teardown-rotate
- Alan Griffiths: Approve
- Daniel van Vugt: Approve
- Robert Carr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 276 lines (+122/-45)6 files modifiedsrc/platforms/mesa/display.cpp (+63/-43)
src/platforms/mesa/display_buffer.cpp (+6/-0)
src/platforms/mesa/display_buffer.h (+1/-0)
src/platforms/mesa/real_kms_display_configuration.cpp (+33/-0)
src/platforms/mesa/real_kms_display_configuration.h (+4/-0)
tests/unit-tests/graphics/test_display_configuration.cpp (+15/-2)
summary: |
- Screen goes blank (black) briefly during display config changes + Screen goes blank (black) briefly during display config changes which + don't affect the display mode |
description: | updated |
Changed in mir: | |
assignee: | nobody → Cemil Azizoglu (cemil-azizoglu) |
tags: | added: rotation |
Changed in mir: | |
milestone: | none → 0.10.0 |
status: | Triaged → In Progress |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug is gradually gaining priority. As Unity8 starts to use Mir's DisplayBufferCo mpositor it will need to be fixed for shell screen rotation.