Frictional Games Forum (read-only)
Stuttering, Small freezes and framerate Issues - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: A Machine for Pigs (https://www.frictionalgames.com/forum/forum-52.html)
+--- Thread: Stuttering, Small freezes and framerate Issues (/thread-22916.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35


RE: Stuttering, Small freezes and framerate Issues - lovebunny - 09-12-2013

(09-12-2013, 09:10 AM)jens Wrote: If you set all sounds to stream it should mean that you get few sounds playing at the same time, so it does not play all the sounds it should. With MaxSteamBuffers set to 4 it means that 4 simultaneous sounds will play at most, but the game normally can try to play up towards 20 sounds.

That explains why falling chairs don't make a sound anymore. Wink I already suspected there's a twist with my approach, as the setting is not there for nothing.

Well, well, I think I will not post the VBScript then, as it will probably cause very bad soundexperience later on in the game. Those who want to test it anyway should try doing as MeaowPatrol explained in http://www.frictionalgames.com/forum/thread-22916-post-259229.html#pid259229. But create a backup first!


RE: Stuttering, Small freezes and framerate Issues - nebej - 09-12-2013

http://thedarkswarm.com/downloads/public/aamfp_stutter2.zip
Here is a second test patch that might fix the stuttering issue. Please test it by starting a new game and then exiting and then starting it again and pressing continue or load the latest save file


RE: Stuttering, Small freezes and framerate Issues - lovebunny - 09-12-2013

(09-12-2013, 08:54 AM)nebej Wrote: Could some of the people that have stuttering issues try this patch
http://thedarkswarm.com/downloads/public/sdl2_test_patch.zip
Please test this and let me know if it removes or reduces stuttering

Didn't work for me. Before testing I reverted all the *.snt files to default. I restored the default SDL2.dll after the test.

(09-12-2013, 11:18 AM)nebej Wrote: http://thedarkswarm.com/downloads/public/aamfp_stutter.zip
Could you check if this patch helps in any way? Unzip it in the game folder and run it and start a new game.

Didn't work eigther. I used the default <sound...> settings in the main_settings.cfg, default *.snt files, created a new profile, started a new game and it stuttered like before.

Btw.: One nasty stutter appears every time (not only first time) when I walk back or forth the bathroom door right at the begining.


RE: Stuttering, Small freezes and framerate Issues - jdw5000 - 09-12-2013

It seems to be working for me, I got passed the bathroom without stutter. I exited the game to the menu, loaded the latest save it worked. I exited the game to my desktop, loaded the game and latest save and it also works. Maybe try a re-installation? My main_settings.cfg is MaxChannels="32" StreamBuffers="4" StreamBufferSize="131072"

Also I have the first two files from the first patch still in my game directory. aamfp_sdl2 and SDL2.dll


RE: Stuttering, Small freezes and framerate Issues - lovebunny - 09-12-2013

(09-12-2013, 12:43 PM)nebej Wrote: http://thedarkswarm.com/downloads/public/aamfp_stutter2.zip
Here is a second test patch that might fix the stuttering issue. Please test it by starting a new game and then exiting and then starting it again and pressing continue or load the latest save file

Still didn't work. Used the default <sound...> settings in the main_settings.cfg, default *.snt files, created a new profile and started a new game. Then I saved, closed the game, started again, loaded the savegame: Still stuttering.

More people should try the patches and post their experience! Maybe it could work for someone else.


RE: Stuttering, Small freezes and framerate Issues - jdw5000 - 09-12-2013

It stuttered for me too on the default sound settings, the combination of the newest patch, the SDL2.dll from the first patch, a modified main_settings.cfg and starting a new game (old save stuttered, even with new patch) seems to have solved my stuttering issues.


RE: Stuttering, Small freezes and framerate Issues - lovebunny - 09-12-2013

I tested four more sound related fixing approaches, but without success:
  1. Switching to onboard sound card instead of my USB audio interface.
  2. Unplugging my USB audio interface. AMFP automaticly switched to onboard sound card.
  3. Re-encoding all *.ogg audio files in the sound folder to a lower quality, in order to reduce the filesize that has to be loaded by the game.
  4. Used the soft_oal.dll from http://pcgamingwiki.com/wiki/Amnesia:_A_Machine_for_Pigs#Surround_sound.



RE: Stuttering, Small freezes and framerate Issues - CalinTM - 09-12-2013

Just play the game and that's all, is a very short game, doesn't have custom stories, isn't that good as the dark descent, etc.


RE: Stuttering, Small freezes and framerate Issues - rattlehead - 09-12-2013

Well...I used the 2 files from the patch and the .cfg with MaxChannels="32" StreamBuffers="4" StreamBufferSize="131072"
Created a new profile and the major stuttering are gone, i have still a little in some places but is playable now.
When i exist to desktop and enter the game again after load there is a little more of stuttering but just only a few seconds.
I think we are getting somewhere, fine work Smile
Ha for the settings i have the default high settings + 1080p.


RE: Stuttering, Small freezes and framerate Issues - nebej - 09-12-2013

lovebunny do you get small frequent stutters or do you get longer ones that are less frequent?