Mir

Clients cannot create surfaces when the screen is off

Bug #1344024 reported by Alexandros Frantzis
6
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_server_shell
5. Turn off the screen (power button)
6. From another phablet-shell session run mir_demo_client_egltriangle (or any other client)

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

Changed in mir:
assignee: nobody → Alexandros Frantzis (afrantzis)
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

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::AndroidAllocAdaptor::alloc_buffer(mir::geometry::Size, MirPixelFormat, mir::graphics::android::BufferUsage)
Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
std::exception::what: buffer allocation failed

tags: added: android
tags: removed: android
Changed in mir:
status: New → In Progress
importance: Undecided → High
Revision history for this message
Alexandros Frantzis (afrantzis) wrote :

This is not an Android specific error, it's a problem with our default placement strategy (ConsumingPlacementStrategy) when there are no enable outputs.

Changed in mir:
milestone: none → 0.6.0
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:mir/devel at revision None, scheduled for release in mir, milestone Unknown

Changed in mir:
status: In Progress → Fix Committed
Changed in mir:
status: Fix Committed → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

mir (0.6.0+14.10.20140811-0ubuntu1) utopic; urgency=medium

Changed in mir (Ubuntu):
importance: Undecided → High
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.