high cpu usage starting fityk

23 views
Skip to first unread message

Andres Cimmarusti

unread,
Apr 21, 2011, 2:51:27 PM4/21/11
to fityk...@googlegroups.com
Hi,

I've been having this issue with fityk 0.9.7 in Debian testing (using
wxWidgets 2.8.10). When I start the GUI, it increases cpu usage
steadily to about 70% (my laptop is ancient) and 20% to Xorg. Then it
stays there (if idle). Only by actually using fityk do I eventually
get a normal cpu usage back.

I've formulated a bug report in Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622571
but the maintainer can't reproduce my bug.... could it be a buggy
radeon Open source driver for my video card?

Anyone having this issue?

thanks

Andres

Marcin Wojdyr

unread,
Apr 21, 2011, 3:06:34 PM4/21/11
to fityk...@googlegroups.com
Hi Andres,

On Thu, Apr 21, 2011 at 20:51, Andres Cimmarusti <acimm...@gmail.com> wrote:

> I've formulated a bug report in Debian:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622571
> but the maintainer can't reproduce my bug.... could it be a buggy
> radeon Open source driver for my video card?

It doubt its the card driver because the program in version 0.9.7
doesn't use graphic acceleration or any advanced graphic functions.
But actually I have no idea what can cause it. I also can't reproduce it.

Marcin

Andres Cimmarusti

unread,
May 19, 2012, 4:28:29 PM5/19/12
to fityk...@googlegroups.com

> I've formulated a bug report in Debian:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622571
> but the maintainer can't reproduce my bug.... could it be a buggy
> radeon Open source driver for my video card?

It doubt its the card driver because the program in version 0.9.7
doesn't use graphic acceleration or any advanced graphic functions.
But actually I have no idea what can cause it. I also can't reproduce it.


I keep having this issue. Is there any way this could be associated with this:

https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.8/+bug/722375

Marcin Wojdyr

unread,
May 19, 2012, 4:39:25 PM5/19/12
to fityk...@googlegroups.com
> I keep having this issue. Is there any way this could be associated with
> this:
>
> https://bugs.launchpad.net/ubuntu/+source/wxwidgets2.8/+bug/722375

This bug is marked as resolved in Launchpad. If that fix works for
you, it's likely the same problem.

Marcin

Andres Cimmarusti

unread,
May 20, 2012, 7:54:23 PM5/20/12
to fityk...@googlegroups.com
 
This bug is marked as resolved in Launchpad. If that fix works for
you, it's likely the same problem.

I checked the patch described in the ubuntu bug report. It's been applied upstream and appears in the source of wxWidgets 2.8.12 which is included in Debian testing. So this isn't the problem. A gdb trace is attached. Does that give any clue?

Thanks for your time

Andres
fityk_gdb.txt

Marcin Wojdyr

unread,
May 21, 2012, 9:16:46 AM5/21/12
to fityk...@googlegroups.com
What desktop or window manager do you use?
Do you use Compiz or another 3D effects? Try if switching it off or on helps.
Actually I don't know what's the cause. When the traceback was printed
the program was repainting plots.
Generally painting is triggered from window manager (I think), maybe
it's triggered again and again, but I have no idea why it could
happen.
Marcin
> --
> http://groups.google.com/group/fityk-users

Andres Cimmarusti

unread,
May 21, 2012, 10:04:53 PM5/21/12
to fityk...@googlegroups.com
Hi Marcin


On Monday, May 21, 2012 9:16:46 AM UTC-4, Marcin Wojdyr wrote:
What desktop or window manager do you use?
Do you use Compiz or another 3D effects? Try if switching it off or on helps.
Actually I don't know what's the cause. When the traceback was printed
the program was repainting plots.
Generally painting is triggered from window manager (I think), maybe
it's triggered again and again, but I have no idea why it could
happen.

Thanks for your response. I use the default Debian testing gnome3 installation. I do not have compiz installed nor is there any 3D effects active. However, gnome3's own composting (mutter) is enabled (as far as I know it CANNOT be disabled).

I think you are correct. This repainting is being triggered repeatedly. In fact, using top, to monitor the cpu usage when fityk is running, reveals about 70% usage by fityk and more than 20% on Xorg.

I will try with a live image of debian testing including fityk, but using another desktop environment devoid of any composting by default like xfce.

Thanks again for the clues and suggestions.

Andres

Andres Cimmarusti

unread,
Jul 2, 2012, 6:37:34 PM7/2/12
to fityk...@googlegroups.com

I'm finally running an xfce desktop using Debian testing. The high cpu usage of fityk GUI is gone. I'm positive no compositing is enabled or any 3D effects. I think there's a connection here.

Not sure what to do about it now...

Andres
Reply all
Reply to author
Forward
0 new messages