Re: [Ekiga-list] ekiga pegs the CPU if started with the camera device turned off





--- Michael Ashley <m ashley unsw edu au> schrieb am Di, 25.11.2008:

> Von: Michael Ashley <m ashley unsw edu au>
> Betreff: Re: [Ekiga-list] ekiga pegs the CPU if started with the camera device turned off
> An: "Ekiga mailing list" <ekiga-list gnome org>
> Datum: Dienstag, 25. November 2008, 22:31
> Hi Matthias,
> 
> > the debug output is perfectly normal behaviour.  It is
> displayed on 
> > each frame that cannot be displayed  because there is
> no widget to 
> > show.
> 
> I don't know the details of the code, but one wonders
> whether it is 
> necessary to poll 30 times a second.

There is nothing really polled here. The debug output only states that a frame has been decoded and has to be dropped since there is no widget to display it. It is also only visible in very verbose traces...

> 
> > However 50% CPU is not. Actually I cannot reproduce
> this,
> > when I have the widget unrealized and am getting this
> trace output, 
> > all I get is CPU load of 1-2%... 
> > Is there anything special you do? Just preview and
> deactivated call view?
> 
> The eee PC 901 has an inbuilt camera that can be
> deactivated to save  power. If I turn off the camera, 
> and then start ekiga, the CPU load 
> stays at 50% until the call view panel is displayed.
> 
> Actually I just did some more tests and it isn't quite
> that simple! I only get the CPU problem if, in a previous 
> invocation of ekiga I was displaying images from the camera. 
> If I then deactivate the  call  view frame, exit ekiga, turn 
> off the camera, and restart  ekiga, _then_ 
> I see the 30 errors/second and 50% CPU.
> 
> Regards, Michael

Hmm, you turn off the camera? Does this mean that the opening of the camera will fail ( do you get a window?) and the moving logo will be displayed? What do you see when you open the call widget?

By the way the debug output does not indicate any error, so its not 30 errors/s...

Matthias






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]