Framerate slowdown / mouse stutter

Re: Framerate slowdown / mouse stutter

Postby Guest » March 18th, 2011, 9:57 am

FPS: 5000
Mouse Events: 500
Guest
 

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 10:39 am

It seems that everyone with the framerate issue is getting the same values (5000 fps, 500 events).

I'd like volunteers to help me debug the input system - if anyone can spare a few minutes, please do!
1. Download http://blendogames.com/dev/atom_inputtest01.zip
2. Extract the files into your "Atom Zombie Smasher/data" folder.

There are a few executables to try. Please try all of them and let me know if there's any change in the framerate problem for the builds.

ATOM_MOUSEDISABLED.EXE
This build shuts down the mouse update.

ATOM_NOJOYSTICK.EXE
This build shuts down all joystick code.

ATOM_SLOWUPDATE.EXE
This build updates the mouse infrequently.

ATOM_ALTINPUT.EXE
This build uses an alternate input code.
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 11:05 am

3 of them produced the same identical problem as before. "atom_mousedisabled" was the only one that was different in that, it had my regular mouse icon visible and moveable, but the game mouse stayed stuck at the top left. Also the game would still freeze whenever I moved my mouse. I also couldn't click on anything.
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 11:12 am

Ok, thanks for testing it. So on all four builds, the framerate still dipped when you moved the mouse?
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 11:25 am

Yes.
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 11:35 am

Okay, can you please try this:

1. Download http://blendogames.com/dev/sfml16.zip
2. Copy and replace sfmlnet-window.dll in "atom zombie smasher/data" and try running the game.
3. If there's no change, copy and replace csfml-window.dll in "atom zombie smasher/data" and try running the game.
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 11:54 am

Neither fix it. Though the second one, "csfml" makes the in-game mouse unmovable but it still lags when I move my mouse.
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby Blich » March 18th, 2011, 11:58 am

Removing the atigktxx.dll worked for me. I have a windows 7 64 bit computer with an ATI card
Blich
 

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 12:33 pm

@Guest , @lolcatnipples , @salvego , and anyone else -
Can you all please spare a minute and try the test executables at the top of this page? Please restart your computers before giving them a go. Thanks! (http://blendogames.com/dev/atom_inputtest01.zip)
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby lolcatnipples » March 18th, 2011, 1:27 pm

ok so i gave the exes a try and got the following

-alt input gave me a staggering framerate of about 15fps and it was nice and choppy

-mouse disabled seams to work maybe? it gave me around 30 fps

-nojoystick also gave me a low ish 15fps

-slow update was nice enough to give me a good all round 7 fps

so i think the best one was disabling the mouse altho it still didnt give me a great fps
lolcatnipples
 
Joined: March 18th, 2011, 8:23 am

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 1:53 pm

Ok, can everyone please give this a try:

1. Download http://blendogames.com/dev/sfml16lib.zip
2. Copy and replace the files into "atom zombie smasher/data"
3. Restart your computer.
4. Try running the game.
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 1:55 pm

@Brendon, is this meant to be a fix or is it more tests? Also, do I add and replace all four of those files in that zip file into my atomzombiesmasher/data folder?
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 1:57 pm

Yup, this is intended to be a fix. Replace all four of your existing files with the ones in the .zip file.
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 2:07 pm

Works :D

There iare some minor blemishes on the interface, here's a screenshot. But the buttons fuction normally and everything appears to be working fine and running smoothly.
http://i258.photobucket.com/albums/hh25 ... ure-38.png
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 2:25 pm

Great, so the mouse stutter is fixed for you! Thanks, that just warms my heart. And now I gotta figure out why the graphics are behaving like that now.

Can other people give this fix a try and see if they have the same results? The file is: http://blendogames.com/dev/sfml16lib.zip
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 2:28 pm

Yep, Game's playable and runs smooth gameplay. Thanks!
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby lolcatnipples » March 18th, 2011, 2:50 pm

first impressions it seams to work :D good job
lolcatnipples
 
Joined: March 18th, 2011, 8:23 am

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 3:47 pm

@rizuhbull, @lolcatnipples -

Can you please try this out and see if it fixes the graphics glitch: http://blendogames.com/dev/sfml16lib2.zip

Thanks.
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

Re: Framerate slowdown / mouse stutter

Postby rizuhbull » March 18th, 2011, 4:00 pm

@Brendon, it fixed the graphics, but I'm getting the mouse stutter again.
rizuhbull
 
Joined: March 15th, 2011, 2:05 pm

Re: Framerate slowdown / mouse stutter

Postby Brendon » March 18th, 2011, 4:04 pm

oops - ok, guess my graphics fix didn't work.
Brendon
Site Admin
 
Joined: January 12th, 2009, 3:46 pm

PreviousNext

Return to Atom Zombie Smasher



cron