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

2008-11-25 Thread Matthias Schneider



--- Michael Ashley <[EMAIL PROTECTED]> schrieb am Di, 25.11.2008:

> Von: Michael Ashley <[EMAIL PROTECTED]>
> Betreff: Re: [Ekiga-list] ekiga pegs the CPU if started with the camera 
> device turned off
> An: "Ekiga mailing list" 
> 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



  
___
ekiga-list mailing list
ekiga-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-list


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

2008-11-25 Thread Michael Ashley
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.

> 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
___
ekiga-list mailing list
ekiga-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-list


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

2008-11-25 Thread Matthias Schneider




- Ursprüngliche Mail 
> Von: Sebastian Busch <[EMAIL PROTECTED]>
> An: Ekiga mailing list 
> Gesendet: Dienstag, den 25. November 2008, 09:41:03 Uhr
> Betreff: Re: [Ekiga-list] ekiga pegs the CPU if started with the camera 
> device turned off
> 
> Michael Ashley wrote:
> > A bug report:
> > 
> > With ekiga 3.0.0 SNV on Ubuntu 8.04 on an eee PC 901 ...
> > It repeats the following message every 30 milliseconds or so:
> > 
> > ...GMVideoOut...
> 
> same with ekiga 3.0.1 from
> deb http://ppa.launchpad.net/tlbdk/ubuntu intrepid main
> on Ubuntu 8.10 on a MacBook2,1.
> 
> Best,
> Sebastian.

Hi all,

the debug output is perfectly normal behaviour. It is displayed on each frame 
that cannot be displayed 
because there is no widget to show. 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?

Matthias



  
___
ekiga-list mailing list
ekiga-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-list


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

2008-11-25 Thread Sebastian Busch
Michael Ashley wrote:
> A bug report:
> 
> With ekiga 3.0.0 SNV on Ubuntu 8.04 on an eee PC 901 ...
> It repeats the following message every 30 milliseconds or so:
> 
> ...GMVideoOut...

same with ekiga 3.0.1 from
deb http://ppa.launchpad.net/tlbdk/ubuntu intrepid main
on Ubuntu 8.10 on a MacBook2,1.

Best,
Sebastian.



signature.asc
Description: OpenPGP digital signature
___
ekiga-list mailing list
ekiga-list@gnome.org
http://mail.gnome.org/mailman/listinfo/ekiga-list