Bug 188337 - Game gets progressively slower/stuttery on my machine
Summary: Game gets progressively slower/stuttery on my machine
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: worminator
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-08 04:49 UTC by Ignacio Vazquez-Abrams
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-02 20:01:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Ignacio Vazquez-Abrams 2006-04-08 04:49:25 UTC
As I proceed throught the first few screenfuls in the game it gets less and less
responsive, with the screen updating only every several seconds or so by the
time I get to the lava. It doesn't show all the action in between, it appears to
take "freeze frames" of the action at each point in time.

Comment 1 Hans de Goede 2006-04-08 06:29:04 UTC
What kinda machine are you running this on? And at what resolution? It sounds
like you're experiencing high frameskips. Worminator isn't programmed all that
effective I guess the later levels are more cpu intensive which could explain
this. Try running at a lower res and / or without FSAA.

Have you tried saving, exiting, restarting and loading again? If there really is
a bug I would expect this to fix it for a while and then for performance to
degrade slowly again.


Comment 2 Ignacio Vazquez-Abrams 2006-04-08 06:50:09 UTC
I'm running it on a Sempron 2200+ at 640x480x256 with FSAA disabled. I don't
know anything about the later levels since this happens on the very first one.

Comment 3 Ignacio Vazquez-Abrams 2006-04-08 06:51:45 UTC
Oh, and saving and loading didn't help, since "slowly" is not a phrase I'd use
to describe the speed at which this happens. It's more like "unbelievably quickly".

Comment 4 Hans de Goede 2006-04-08 07:15:55 UTC
Ok, I think I understand your problem now, right in the first level after a few
seconds of playing it becomes slow, correct?

I've tried it here (again) but I see no such thing. Worminator tries to be nice
to the CPU, do you have any other programs running that could potentially steal
CPU time from it?


Comment 5 Ignacio Vazquez-Abrams 2006-04-08 07:56:08 UTC
I am running other things in the background (gaim, FF, httpd, etc.), but
certainly nothing CPU-intensive.

Comment 6 Hans de Goede 2006-04-08 09:14:21 UTC
Hmm,

Could you run worminator in windowed mode with a top next to it and see how much
cpu it is getting / using?


Comment 7 Ignacio Vazquez-Abrams 2006-04-08 09:40:47 UTC
It starts off at about 40% (which seems rather excessive given that it's a
side-scroller) and shoots up to 100% very quickly.

Comment 8 Hans de Goede 2006-04-08 09:48:20 UTC
weird any chance you could test it on another machine? Is the 100% all used by
worminator or is much of it used by the X-server?


Comment 9 Ignacio Vazquez-Abrams 2006-04-14 11:45:05 UTC
I tried it under VMware but it ended up locking up the game completely in there.
All the CPU time is allocated to worminator.

Comment 10 Hans de Goede 2006-04-15 08:28:40 UTC
VMware doesn't exactly count as another machine. I'll try this at work (which is
another machine) to see if I can reproduce it there, but I've tested worminator
at work before and found no problems, so don't count on it.

In the mean time a few questions for you:
-any chance you can test it on a really other machine
-when you say 100% cpu usage is all cpu used by worminator or is some of the
 CPU used by X and howmuch is used by X?
-any chance you know howto compile with profiling and run it under the profiler?


Comment 11 Hans de Goede 2006-04-24 21:29:46 UTC
I've been able to sortof reproduce this and I think I've found the cause, I just
commited this to Fedora Extras CVS:
* Mon Apr 24 2006 Hans de Goede <j.w.r.degoede> 3.0R2.1-3
- Limit the framerate to 80 instead of trying to reach 160 fps,
  hopefully this fixes bug 188337.

3.0R2.1-3 should show up on a mirror near you soon, please test and if it fixes
this close this bug.


Comment 12 Hans de Goede 2006-05-02 20:01:37 UTC
Closing as WORKSFORME because of lack of responce, if you decide to test this
after all let me know the results please.



Note You need to log in before you can comment on or make changes to this bug.