moblin media causes 38wakeups/second @idle on a CB system

Bug #161100 reported by Inuka Gunawardana
4
Affects Status Importance Assigned to Milestone
Moblin Multimedia
Fix Released
High
Halley

Bug Description

Steps to reproduce:
1. Click media player and wait until it loads.
2. Run powertop in a different window or ssh session.
Powertop will report approximately 38wakeups/ second caused by the media player. This number should be very small

Changed in moblin-multimedia:
assignee: nobody → rob-rhoads
Revision history for this message
cathyshen (cathy-shen) wrote :

multimedia team will check this bug with kernel team.

Changed in moblin-multimedia:
status: New → Confirmed
rob rhoads (rob-rhoads)
Changed in moblin-multimedia:
assignee: rob-rhoads → cathy-shen
importance: Undecided → High
Changed in moblin-multimedia:
milestone: none → m9
Revision history for this message
Halley (halley-zhao) wrote :

I find out it is a helix engine issue.

at the begining, I think this is the bug that there is a timer in Moblin-media to do Pump.
after I remove the Pump from moblin-media (do it in Helix engine by g_souce_add_full()); and stop the Pump in Stop state.
however there is still many wakeup.
then I find out it is a helix engine issue.
on my dev-PC, i run a simple test case of helix player; in stop state, there is also about 120/second wakeups.
"
When player of Helix engine in PAUSE or STOP state, it will still wake up CPU with high frequency, which will lead to more power consummation.
Player of Helix engine will wake up CPU ~120times/second (either wmv stream or rm stream)
But totem will only wake up CPU ~13times/second
Any suggestion to optimize it?

In my test, I modify player/hxclientkit/test/main.cpp as following to and also as attachment:
    #if 0
        while (info.state);
    #else
        while (i++ <20);

        ClientPlayerStop(info.player);

        while (1)
        {
            sleep(900000);
        }
    #endif
"

Changed in moblin-multimedia:
assignee: cathy-shen → halley-zhao
Revision history for this message
Halley (halley-zhao) wrote :
Revision history for this message
May Xie (may-xie) wrote :

This is dependency bug on helix, remove it from m9

Changed in moblin-multimedia:
milestone: m9 → none
Revision history for this message
Mauri Whalen (mauri-whalen) wrote :

This needs to be fixed. If the helix community isn't fixing this, we need to contribute back and fix it.

Changed in moblin-multimedia:
milestone: none → m10
Revision history for this message
Halley (halley-zhao) wrote :

this is a big deal for helix engine/codec.

Changed in moblin-multimedia:
milestone: m10 → fix-later
Changed in moblin-multimedia:
milestone: fix-later → m10
Halley (halley-zhao)
Changed in moblin-multimedia:
milestone: m10 → fix-later
Revision history for this message
May Xie (may-xie) wrote :

This is suggested fix, so I move it to m10.

Changed in moblin-multimedia:
milestone: fix-later → m10
Revision history for this message
craig roberts (craig-n-roberts) wrote :

Where does this issue stand. Is it fixed?

Revision history for this message
Halley (halley-zhao) wrote :

after big changes of threads inside helix engine, audio, video.
this bugs has fixed after RP4MID 1.0.1.1 release.

Changed in moblin-multimedia:
status: Confirmed → Fix Committed
Revision history for this message
dandan.hong&#64;intel.com (dandan-hong) wrote :

This bug has been fixed in RP v1.0.1.4 .So verify it and change to "Fix released".

Changed in moblin-multimedia:
status: Fix Committed → 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.