Closed Bug 947942 Opened 12 years ago Closed 10 years ago

Evaluate power consumption of HwComposer and OpenGL composition on gonk

Categories

(Firefox OS Graveyard :: General, defect, P3)

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sotaro, Unassigned)

Details

(Keywords: perf, Whiteboard: [c=power p= s= u=][Power])

b2g uses HwComposer and OpenGL to compose gfxLayers. In general, we talked HwComposer's pwer consumption is lower than OpenGL one. Bug we do not know clarly how we could save poser consumption by HwComposer than OpenGL one. To get a better UI responsiveness, we are going to use more layers than before like the following. https://groups.google.com/forum/#!topic/mozilla.dev.gaia/wI-jbAwucFA Current b2g devices supports only limited number of layers rendering. If the number of layers increase than before, HwComposer rendering is fallbacked to OpenGL rendering. In this case, we could get more UI responsiveness, but we might degrade power consumption. To think about trade off between power consumption and UI responsiveness. We need to know about the power consumption of HwComposer and OpenGL composition. I am not sure if there is already such data in public. For the time being, the following use cases might be necessary. - Show home screen - Video Playback
Flags: needinfo?(mlee)
Flags: needinfo?(milan)
Flags: needinfo?(jmuizelaar)
Flags: needinfo?(jhylands)
Flags: needinfo?(bjacob)
Flags: needinfo?(bgirard)
Sorry, the above need info was my mistake. I just want to add them to cc.
Flags: needinfo?(mlee)
Flags: needinfo?(milan)
Flags: needinfo?(jmuizelaar)
Flags: needinfo?(jhylands)
Flags: needinfo?(bjacob)
Flags: needinfo?(bgirard)
jhylands, is there already such data to evaluate the power consumption between HwComposer and OpenGL?
Flags: needinfo?(jhylands)
Sotaro, we would need a version of each, so we could run a test with HwComposer, and then, with nothing else changed, run the same test with OpenGL, and compare the overall power consumption for each run.
Flags: needinfo?(jhylands)
Keywords: perf
Whiteboard: [c=power p= s= u=]
B2g v1.2 hamachi seems better. v1.2 is stable and hamachi is used as a standard device.
Whiteboard: [c=power p= s= u=] → [c=power p= s= u=][Power]
Sotaro, is this bug worth keeping open? gsvelto suggested it might still be important.
Flags: needinfo?(sotaro.ikeda.g)
(In reply to Nicholas Nethercote [:njn] from comment #5) > Sotaro, is this bug worth keeping open? gsvelto suggested it might still be > important. It seems better to close the bug. About hw composer usage, chip vendors and we care only to the following use cases as whether devices do full hw composition. - Full screen camera preview - Full screen video playback And We already know that LCD back light is major source of power consumption.
Flags: needinfo?(sotaro.ikeda.g)
Thank you for the information. Closing as per comment 6.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.