You are not logged in.

#1 2012-11-04 10:37:35

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 225

[workaround] 100% CPU load in GTK2 applications

I'm having strange issues with my GTK2 applications, namely Thunar and Thunderbird:

The gui is extremely slow and causes 100% cpu usage (just one core) for the process running Xorg.
For example, if I move the pointer between two buttons in Thunderbird I can watch the mouseover-effect being drawn - it takes almost a second!

No errors in Xorg.0.log, dmesg or xsession-errors, though. I'm using the proprietary NVIDIA-drivers and my system is up-to-date.

Any advice?


Thanks

lynix

Last edited by lynix (2012-12-20 15:31:16)

Offline

#2 2012-11-04 15:38:58

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 225

Re: [workaround] 100% CPU load in GTK2 applications

The problem seems to be theme-related:

Renaming ~/.gtkrc-2.0 fixes the issues. Selecting any theme brings them back. I tried:

- Clearlooks
- Greybird
- Bluebird
- Aurora

Will check the engine next.

Offline

#3 2012-11-05 07:28:39

MrHodgepants
Member
Registered: 2012-11-05
Posts: 2

Re: [workaround] 100% CPU load in GTK2 applications

I'm also experiencing this with Thunar and SpaceFM.

Moving .gtkrc-2.0 out of the way is working as a temporary fix, so thanks for the info.

Offline

#4 2012-11-05 09:05:49

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 225

Re: [workaround] 100% CPU load in GTK2 applications

Found two themes that dont have the issues: crux and Adwaita, will stick with the latter one for now.

I thought about marking this topic "solved", as it must be some upstream issue. Problem is that I dont find the right upstream project: there is no recent GTK-related upgrade in my pacman.log hmm

Offline

#5 2012-11-05 17:55:44

MrHodgepants
Member
Registered: 2012-11-05
Posts: 2

Re: [workaround] 100% CPU load in GTK2 applications

I had a look through my pacman.log; glib2 and cairo were both upgraded and could possibly be causing the problem.

A quick search reveals that Cairo upgrades have caused this kind of problem before, which makes it a likely candidate.

On the other hand, Conky is running slowly for me too, and it doesn't depend on Cairo :-/.

Anyway, if I get time tomorrow I'll try downgrading some packages and post my findings.

Offline

#6 2012-11-06 09:01:24

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,485

Re: [workaround] 100% CPU load in GTK2 applications

I can confirm that downgrading cairo to 1.12.2 fixes the slow gui issue.
This happens to me even when scrolling firefox pages that contains native widgets.
Issue is present with cairo 1.12.6 and 1.12.8 (by now...)

Offline

#7 2012-11-06 10:08:08

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,485

Re: [workaround] 100% CPU load in GTK2 applications

I compared the 1.12.2 vs 1.12.8 pkgbuilds and it seems that the culprit is the missing patch: cairo-1.10.0-buggy_gradients.patch
Seems definitely a packaging issue:
https://bugs.archlinux.org/task/32491

--edit
...but the root cause seems to be a bug in nvidia drivers. nouveau performs really well.
https://devtalk.nvidia.com/default/topi … gression-/

PKGBUILD in aur with patches:
https://aur.archlinux.org/packages/cairo-nvidiablob/

Please, mark this as solved or workaround.

Last edited by kokoko3k (2012-11-08 07:42:02)

Offline

#8 2012-12-19 14:55:00

kokoko3k
Member
Registered: 2008-11-14
Posts: 1,485

Re: [workaround] 100% CPU load in GTK2 applications

Offline

#9 2012-12-20 15:31:58

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 225

Re: [workaround] 100% CPU load in GTK2 applications

Thanks for the links. Installed the patched cairo-version. Its a pitty there is the usual blame-the-other-one thing going on wink

Offline

Board footer

Powered by FluxBB