Screen never sleeps; missing power management
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Mir |
Fix Released
|
Critical
|
Robert Carr | |
| The Ubuntu Power Consumption Project |
Undecided
|
Robert Carr | ||
| Unity System Compositor |
Critical
|
Robert Carr | ||
| powerd |
Undecided
|
Ricardo Mendoza | ||
| touch-preview-images |
Fix Released
|
Undecided
|
Unassigned | |
| unity-mir |
Critical
|
Gerry Boland | ||
| mir (Ubuntu) |
Critical
|
Unassigned | ||
| powerd (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Effect Touch as well
Using XMir under unity-system-
Test case:
xset dpms force off
Related branches
- Daniel van Vugt: Needs Fixing on 2013-09-06
- PS Jenkins bot (community): Approve (continuous-integration) on 2013-09-05
- Alan Griffiths: Approve on 2013-09-05
- Robert Ancell: Approve on 2013-09-02
-
Diff: 1046 lines (+179/-79)37 files modifieddebian/control (+2/-2)
debian/libmirclient3.install (+1/-1)
doc/debug_for_xmir.md (+1/-1)
examples/demo_client_display_config.c (+26/-3)
examples/server_configuration.cpp (+4/-4)
include/platform/mir/graphics/display_configuration.h (+4/-1)
include/shared/mir_toolkit/client_types.h (+4/-1)
include/shared/mir_toolkit/common.h (+8/-0)
include/test/mir_test_doubles/null_display_config.h (+1/-1)
include/test/mir_test_doubles/null_display_configuration.h (+1/-1)
include/test/mir_test_doubles/stub_display_configuration.h (+4/-3)
src/client/CMakeLists.txt (+1/-1)
src/client/mir_connection.cpp (+1/-0)
src/platform/graphics/default_display_configuration_policy.cpp (+4/-2)
src/server/frontend/protobuf_buffer_packer.cpp (+1/-0)
src/server/frontend/session_mediator.cpp (+1/-1)
src/server/graphics/android/android_display.cpp (+2/-2)
src/server/graphics/gbm/gbm_display.cpp (+2/-1)
src/server/graphics/gbm/kms_output.h (+2/-1)
src/server/graphics/gbm/real_kms_display_configuration.cpp (+4/-2)
src/server/graphics/gbm/real_kms_display_configuration.h (+1/-1)
src/server/graphics/gbm/real_kms_output.cpp (+4/-2)
src/server/graphics/gbm/real_kms_output.h (+3/-1)
src/server/graphics/nested/nested_display_configuration.cpp (+8/-2)
src/server/graphics/nested/nested_display_configuration.h (+2/-1)
src/shared/protobuf/mir_protobuf.proto (+1/-0)
tests/mir_test/display_config_matchers.cpp (+5/-3)
tests/mir_test_framework/testing_server_options.cpp (+1/-1)
tests/unit-tests/frontend/test_session_mediator.cpp (+5/-3)
tests/unit-tests/graphics/android/test_android_fb.cpp (+1/-1)
tests/unit-tests/graphics/gbm/test_gbm_cursor.cpp (+6/-4)
tests/unit-tests/graphics/gbm/test_gbm_display_configuration.cpp (+14/-7)
tests/unit-tests/graphics/gbm/test_gbm_display_multi_monitor.cpp (+4/-4)
tests/unit-tests/graphics/gbm/test_overlapping_output_grouping.cpp (+3/-2)
tests/unit-tests/graphics/nested/test_nested_display_configuration.cpp (+15/-10)
tests/unit-tests/graphics/test_default_display_configuration_policy.cpp (+30/-8)
tests/unit-tests/graphics/test_display_configuration.cpp (+2/-1)
- PS Jenkins bot (community): Approve (continuous-integration) on 2013-09-25
- Ricardo Mendoza (community): Approve on 2013-09-24
-
Diff: 274 lines (+176/-8)7 files modifieddebian/com.canonical.Unity.conf (+18/-0)
debian/libunity-mir1.install (+1/-0)
src/unity-mir/dbusscreen.cpp (+80/-0)
src/unity-mir/dbusscreen.h (+39/-0)
src/unity-mir/qmirserverapplication.cpp (+25/-4)
src/unity-mir/qmirserverapplication.h (+6/-1)
src/unity-mir/unity-mir.pro (+7/-3)
- PS Jenkins bot: Approve (continuous-integration) on 2013-09-26
- Ricardo Salveti: Approve on 2013-09-26
- Seth Forshee (community): Approve on 2013-09-25
- Gerry Boland (community): Approve on 2013-09-25
-
Diff: 154 lines (+62/-5)4 files modifieddebian/control (+1/-1)
src/display.c (+56/-2)
src/powerd-internal.h (+1/-0)
src/powerd.cpp (+4/-2)
Changed in mir: | |
importance: | Undecided → Medium |
Changed in unity-system-compositor: | |
importance: | Undecided → Medium |
Changed in mir: | |
status: | New → Triaged |
Changed in unity-system-compositor: | |
status: | New → Triaged |
tags: | added: multimonitor |
tags: | added: xmir |
Changed in xmir: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Ritesh Khadgaray (khadgaray) wrote : | #2 |
XMir crashes on resume ( using pm-suspend) .
kevin gunn (kgunn72) wrote : | #3 |
critical for 13.10
Changed in xmir: | |
importance: | Medium → Critical |
Changed in unity-system-compositor: | |
importance: | Medium → Critical |
Changed in mir: | |
importance: | Medium → Critical |
Changed in mir: | |
assignee: | nobody → Robert Carr (robertcarr) |
Robert Carr (robertcarr) wrote : | #4 |
I see 3 steps:
1. In mir, expose API from graphics platform for powering on and off CRTCs. Expose to client API, i.e. mir_connection_
msh::PowerManag
Which receives messages like
bool session_
2. The system compositor gains a PowerManagement
3. xmir gains a DPMS impl in terms of the new mir client API.
Changed in xmir: | |
assignee: | nobody → Robert Carr (robertcarr) |
Changed in unity-system-compositor: | |
assignee: | nobody → Robert Carr (robertcarr) |
Daniel van Vugt (vanvugt) wrote : | #5 |
See also bug 1189770 where we are turning off the monitor by accident :)
tags: | added: pm |
Changed in ubuntu-power-consumption: | |
assignee: | nobody → Robert Carr (robertcarr) |
Changed in mir: | |
status: | Triaged → In Progress |
Changed in xmir: | |
status: | Triaged → In Progress |
Changed in unity-system-compositor: | |
status: | Triaged → In Progress |
Changed in ubuntu-power-consumption: | |
status: | New → In Progress |
tags: | added: make-xmir-default |
Seth Forshee (sforshee) wrote : | #6 |
I don't see that this has anything at all to do with powerd, so marking that task invalid.
Changed in powerd: | |
status: | New → Invalid |
PS Jenkins bot (ps-jenkins) wrote : | #7 |
Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.0.11
Changed in mir: | |
status: | In Progress → Fix Committed |
Changed in mir (Ubuntu): | |
status: | New → Fix Committed |
assignee: | nobody → Robert Carr (robertcarr) |
no longer affects: | mir (Ubuntu) |
tags: | added: avengers |
Launchpad Janitor (janitor) wrote : | #8 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in mir (Ubuntu): | |
status: | New → Confirmed |
Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package mir - 0.0.11+
---------------
mir (0.0.11+
[ kg ]
* bump version for ABI break (LP: #1229212)
[ Robert Ancell ]
* Allow an application to override the options being populated.
* Pass the program options to parse_options().
* Add missing include for std::cerr.
* Report when paused and resumed via configuration. (LP: #1192843)
* Add missing directory separator when searching for a config file to
parse.
[ Kevin Gunn ]
* change test timeouts and fix fence.
[ Alexandros Frantzis ]
* examples: Only check key information for key events This fixes a
memory error reported by valgrind for examples that use eglapp.
* shell: Apply the base configuration on a hardware change only if no
per-session configuration is active.
* graphics: consolidated fixed for nested code and examples on android
stack.
[ Eleni Maria Stea ]
* graphics: Pull in Eleni's changes to get the DRM fd to init GBM from
the host Mir instance.
[ Didier Roche ]
* remove (unused in the ppa as we have libmirserver3) hack to force
depending and building against the exact same version.
[ Robert Carr ]
* Add DPMS configuration API. (LP: #1193222)
* Deduplicate mtd::NullDispla
mtd:
* Fix multiple internal client surfaces on android. (LP: #1228144)
* change test timeouts and fix fence.
* Add DPMS API and GBM/android impls.
[ Kevin DuBois ]
* platform, graphics: support nested (mir-on-mir) rendering on the
Android platform.
[ Michael Terry ]
* Change how Mir chooses socket locations to make it simpler for a
nested-Mir world, by using MIR_SOCKET as the host socket if no other
host socket is provided and passing MIR_SOCKET on to any children.
Also, change --nested-mode to --host-socket for clarity and add --
standalone to force standalone mode.
[ Daniel d'Andrada ]
* android-input housekeeping - Updated README - Removed some dead
code.
[ Daniel van Vugt ]
* Add DPMS configuration API. (LP: #1193222)
* Add a "flags" field to MirBufferPackage so that clients can find out
if the buffer they've been given is scanout-capable. This is
normally something a client should never need to know. However there
are two specialized cases where it's required to fix bugs in the
intel and radeon X drivers: LP: #1218735, LP: #1218815 The intel
fix (already landed) contains a hack which will be updated after
this branch lands. (LP: #1218815, #1218735)
* GBM: Ensure that we don't create scanout buffers if bypass is
explicitly disabled from the environment. (LP: #1227133) . (LP:
#1227133)
[ Alan Griffiths ]
* graphics: Pull in Eleni's changes to get the DRM fd to init GBM from
the host Mir instance.
* input: Separate the code for dispatching input from that reading it.
* graphics: Hook up nested surfaces events to input.
* input: Connect nested input relay to input dispatch.
* graphics: Simplify NativeAndroidPl
* tests: Fixes to get the tests "passing" on android/arm stack. (LP...
Changed in mir (Ubuntu): | |
status: | Confirmed → Fix Released |
Till Kamppeter (till-kamppeter) wrote : | #10 |
I got mir 0.0.11+
Changed in mir (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in unity-mir: | |
assignee: | nobody → Gerry Boland (gerboland) |
importance: | Undecided → Critical |
status: | New → Triaged |
description: | updated |
Changed in xmir: | |
status: | In Progress → Fix Committed |
Changed in unity-system-compositor: | |
status: | In Progress → Fix Committed |
Changed in mir (Ubuntu): | |
importance: | Undecided → Critical |
status: | Confirmed → In Progress |
Changed in touch-preview-images: | |
status: | New → In Progress |
Changed in unity-mir: | |
status: | Triaged → In Progress |
Changed in mir: | |
milestone: | none → 0.0.11 |
status: | Fix Committed → Fix Released |
Changed in unity-mir: | |
status: | In Progress → Fix Committed |
Changed in powerd: | |
status: | Invalid → In Progress |
assignee: | nobody → Ricardo Mendoza (ricmm) |
Changed in mir (Ubuntu): | |
status: | In Progress → Fix Released |
PS Jenkins bot (ps-jenkins) wrote : | #11 |
Fix committed into lp:powerd at revision 94, scheduled for release in powerd, milestone ubuntu-13.05
Changed in powerd: | |
status: | In Progress → Fix Committed |
Launchpad Janitor (janitor) wrote : | #12 |
This bug was fixed in the package powerd - 0.13+13.
---------------
powerd (0.13+13.
[ Ricardo Mendoza ]
* Allow powerd to work with unity-mir's DBus API for screen power
control, selective using the backend available according to the
running display server. (LP: #1193222)
[ Ubuntu daily release ]
* Automatic snapshot from revision 94
-- Ubuntu daily release <email address hidden> Thu, 26 Sep 2013 18:34:30 +0000
Changed in powerd (Ubuntu): | |
status: | New → Fix Released |
Eduardo (ludentico) wrote : | #13 |
Installing powerd solved the bug... So, I guess this has to be a «recommended» package when installing mir
Changed in unity-mir: | |
milestone: | none → phone-v1-freeze |
Changed in unity-system-compositor: | |
status: | Fix Committed → Fix Released |
Changed in powerd: | |
status: | Fix Committed → Fix Released |
Changed in touch-preview-images: | |
status: | In Progress → Fix Released |
Changed in ubuntu-power-consumption: | |
status: | In Progress → Fix Released |
Changed in xmir: | |
status: | Fix Committed → Fix Released |
Changed in unity-mir: | |
status: | Fix Committed → Fix Released |
Joseph Wakeling (webdrake) wrote : | #14 |
Screen still not turning off -- this is on a ThinkPad T420 with Intel graphics [Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)].
Is powerd now considered necessary also for Ubuntu Desktop? If so as Eduardo says it should probably be added as a recommend or dependency of mir.
Daniel van Vugt (vanvugt) wrote : | #15 |
Joseph,
Please join bug 1231857 if that's what you see.
This bug has been reported on the Ubuntu Package testing tracker.
A list of all reports related to this bug can be found here: packages. qa.ubuntu. com/qatracker/ reports/ bugs/1193222
http://