GNOME Bugzilla – Bug 641235
gnibbles performance really bad when the window is big
Last modified: 2013-08-17 20:59:43 UTC
The bigger the window is, the slower gnibbles gets, to the point that to play at a really fast speed, I need to make the window so slow that I can hardly see the worms :) This is with gnome-games from git master, clutter 1.6.0, clutter-gtk 0.91.8 and gtk+ 2.99.2.
I can confirm this. Did you notice this on the earlier versions of gnibbles?
It also happens here with gnibbles 2.30, but it used to work fine on my home desktop (I can't test there now), so it may be a clutter regression?
FTR, my home desktop has gnome-games 2.30 and clutter 1.2, IIRC
Could be gnibbles, clutter, or driver issue. Could also be environment - is this in gnome-shell, unity, compiz, metacity - else?
gnome-shell. I can try on the good old gnome-panel & metacity.
I've got the same problem with gnome shell in Fedora 16, gnibbles 3.2.1 - also when I reduce window size, the program speeds up. It is almost unusable when the games ends and gnibbles tries to display the start image.
Created attachment 225389 [details] [review] Fixed performance by removing the logo It turns out the bad performance is caused from loading the logo to much. This patch makes all resizes of the game board so much faster than before. It also substantially reduces memory usage (you could actually cause the game to fill up all available memory). In this patch, I've actually completely removed the logo and replaced with just the board. I do plan on working on a "new game screen" after this, which will still use the board as a backdrop.
Created attachment 227219 [details] [review] Fully remove splash screen code Removing the duplicated code as per https://mail.gnome.org/archives/games-list/2012-October/msg00010.html. Had to make some other changes as well, you can no longer click New Game, when a game is running, you have to click End Game first.
Looks like you've already pushed this fix.