Clients cannot create surfaces when the screen is off
Bug #1344024 reported by
Alexandros Frantzis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
High
|
Alexandros Frantzis | ||
mir (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Steps to reproduce:
1. phablet-shell to the phone
2. sudo apt-get install mir-demos
3. sudo stop lightdm
4. Run mir_demo_
5. Turn off the screen (power button)
6. From another phablet-shell session run mir_demo_
Expected behavior: The client connects, gets a surface and draws (at low rate since screen is off)
Actual behavior: The client connects but fails to get a surface and exits
Related branches
lp:~afrantzis/mir/fix-1344024
- Alan Griffiths: Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 346 lines (+92/-63)11 files modifiedsrc/server/shell/CMakeLists.txt (+1/-1)
src/server/shell/default_configuration.cpp (+2/-2)
src/server/shell/default_placement_strategy.cpp (+3/-12)
src/server/shell/default_placement_strategy.h (+8/-8)
tests/acceptance-tests/CMakeLists.txt (+1/-0)
tests/acceptance-tests/test_focus_selection.cpp (+0/-1)
tests/acceptance-tests/test_server_without_active_outputs.cpp (+64/-0)
tests/integration-tests/session_management.cpp (+1/-4)
tests/mir_test_framework/stubbed_server_configuration.cpp (+7/-0)
tests/unit-tests/shell/CMakeLists.txt (+1/-1)
tests/unit-tests/shell/test_default_placement_strategy.cpp (+4/-34)
Changed in mir: | |
assignee: | nobody → Alexandros Frantzis (afrantzis) |
tags: | removed: android |
Changed in mir: | |
status: | New → In Progress |
importance: | Undecided → High |
Changed in mir: | |
milestone: | none → 0.6.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The error returned by the server is:
error /build/ buildd/ mir-0.5. 0+14.10. 20140717/ src/platform/ graphics/ android/ android_ alloc_adaptor. cpp(68) : Throw in function virtual std::shared_ ptr<mir: :graphics: :NativeBuffer> mir::graphics: :android: :AndroidAllocAd aptor:: alloc_buffer( mir::geometry: :Size, MirPixelFormat, mir::graphics: :android: :BufferUsage) ion_detail10clo ne_implINS0_ 19error_ info_injectorIS t13runtime_ errorEEEE :what: buffer allocation failed
Dynamic exception type: N5boost16except
std::exception: