You are not logged in.
I've noticed that the menus in GTK3 applications seem laggy - there's a slight delay before they pop up, and the menu entry highlights lag behind the cursor. At first I thought this was just built in delay (as with the gtk-menu-popup-delay setting), but htop showed CPU usage (for both my netbook's cores) spiking to 50% or more whenever I moused through a menu. GTK2 applications showed about half this CPU activity, and are much snappier.
Is there a workaround for this? I've already tried disabling the Composite extension and enabling XLIB_SKIP_ARGB_VISUALS, and neither help. I also get menu lag even with the default (Raleigh) GTK3 theme.
(Edit: and before anyone asks, yes, my icon caches are up to date.
)
Last edited by Gullible Jones (2012-05-17 01:46:58)
Offline
GTK3 is still under heavy development. I remember the same thing happened when GTK2 was released.
But then again, gtk3-3.4.3-1 was released this morning. Update your system (if you haven't already), reboot, and if the problem persists give it a few days.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Already updated, no difference.
I wonder why everyone feels compelled to jump ship to new technologies before they've actually been proven to work decently.
Offline
Post 5 mentions a cairo/xorg bug causing performance issues.
edit: Or maybe it's caused by the nvidia drivers, check this topic.
Last edited by Terminator (2012-05-15 13:48:41)
Offline
i'm not seeing this, i ran a few demos in both gtk-demo and gtk3-demo, flipped thru a bunch of menus real fast, and the cpu usage for both was nearly indentical. those affected should probably post more info about their setup such as what graphic driver they're using and if they're on 32 or 64 bit arch, etc.
my relevant setup info:
fully updated arch-x86_64
openbox
xf86-video-nouveau 0.0.16_git20120324-1 (compiled myself from that date in order to be able to use the new SwapLimit option for reliable double buffering with vsync)
Offline
32-bit, and I'm using Intel, not nVidia. FWIW I've also tried disabling vsync, and it makes no difference. The computer in question is a puny Eee 1005HAB netbook with an Intel 945 GPU.
Offline
I noticed this problem also showed up on Ubuntu, on my old Acer laptop. I was able to work around it by installing zram-config. Once the zram swap device was enabled, GTK3 menus stopped being slow.
(Gnome panel menus in fallback mode are still slow, but I think that's a bug in Ubuntu's gnome-panel. I didn't see that on Arch.)
Anyway, seeing as GTK3 applications all seem to use absurd amounts of virtual memory, I vaguely suspect this is some kind of strange memory allocation issue. I'd be very interested to hear more about this.
Offline