Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 196013

Summary: PATCH: games-puzzle/tong, reduce CPU usage
Product: Gentoo Linux Reporter: Rudi Lippert <gentoo>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to limit fps to 22.2
patch from tong-1.0.ebuild to tong-1.0-r1.ebuild

Description Rudi Lippert 2007-10-16 06:46:52 UTC
tong uses all the CPU time it can get because of a loop without a timer. The proposed patch limits the frame rate to 22.2, thus reducing CPU load without any impact on gameplay.
I will also send the patch to the developer. However, I'm not sure whether there is still development on this game, so I suggest adding this patch until the issue is resolved upstream.
Comment 1 Rudi Lippert 2007-10-16 06:48:30 UTC
Created attachment 133594 [details, diff]
Patch to limit fps to 22.2
Comment 2 Rudi Lippert 2007-10-16 06:51:06 UTC
Created attachment 133595 [details, diff]
patch from tong-1.0.ebuild to tong-1.0-r1.ebuild
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2009-04-06 21:57:58 UTC
patch is in portage.  re-emerge to get it if the cpu load matters.