Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196013 - PATCH: games-puzzle/tong, reduce CPU usage
Summary: PATCH: games-puzzle/tong, reduce CPU usage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 06:46 UTC by Rudi Lippert
Modified: 2009-04-06 21:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to limit fps to 22.2 (limitfps.patch,670 bytes, patch)
2007-10-16 06:48 UTC, Rudi Lippert
Details | Diff
patch from tong-1.0.ebuild to tong-1.0-r1.ebuild (ebuild.patch,358 bytes, patch)
2007-10-16 06:51 UTC, Rudi Lippert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.