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 - Shawn6 - 09-12-2013

(09-12-2013, 09:13 PM)jens Wrote: New test:
http://thedarkswarm.com/downloads/public/aamfp_stutter3.zip

Went over and fixed all sounds, so it should not be any risk of sounds not playing when using the tweaked main_settings.cfg.

How to test:
- Download file and unzip it. Then copy/move the contents of the folder into the game directory. If you do this correct Windows will prompt you to overwrite and merge files and folders. Do this (but warning that you will destory your regular install and will have to redownload if you want it back later.). You can find the location of the game folder in Steam by right-clicking on the game, properties, last tab and click browse local game files.

- You now have to delete the file My Documents/Amnesia/Pig/main_settings.cfg. The game will create a new one with the new settings.

- Launch the game using the launcher, use the settings as detected and do not tweak them. That is use low, medium or high as suitable for your setup.

- Start a new game and see how it works. If you have stutter, try running the game without vsync (make sure it is not forced in control panel for graphics card) and see if that makes a difference.

When reporting back, please include your system specification with:
OS, Graphics Card, CPU & RAM. Also say what settings you used in the launcher (low, medium or high).


Omg, almost no freezes. With vsync on, sometimes happen but much much smaller and shorter. With vsync off, almost nothing ( sometimes very little). Massive tearing is only problem when vsyn is off.

Launcher detected settings as high.

OS: win 7 64bits
GPU: HD 6850 1Gb
CPU: i3 2120 3,3Ghz
RAM: 4 Gb


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

With this latest patch now the vsync works, no stutter no tearing, now its perfect.

Devs, will you put that patch on steam to be updated for everyone ?

Also you can play with the settings is no problem.


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

(09-12-2013, 10:04 PM)rattlehead Wrote: ok with the new update there is almost no stuttering, just a little i the part before the piano.
But in some areas there is a massive fps hit like 60 to 40 maybe.
And i have a system that should run this game at always 60 fps.
But overall is a good improvement.

Settings - high
OS: win 7 64bits
GPU: HD 7950 3Gb
CPU: i5 3570k
RAM: 8 Gb
note - nothing is overclocked.

Same thing happening on my game, no noticeable stutter until the piano.

Settings - High
Windows 8 -64 bit
GT 640m
i7 3632QM
6 Gb RAM


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

(09-12-2013, 09:46 PM)Mr. Plankton Wrote: Hey Jens, what did you tweak in those files? I have the exact same issue with TDD and wanted to try to fix it myself.

I set all the .snt files to have Stream="False".

The for each level there is a script file, in this file we play sounds using PlaySoundAtEntity and PlayGuiSound functions. For all of these sounds used here you need to add a PreloadSound("sound_to_preload"); in the OnStart. That should be it. The fastest way is to use Notepad++ or similar to be able to search, list and create all the PreloadSound based on what PlaySoundAtEntity and PlayGuiSounds it finds.


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

Exactly what is it that happens with the piano when it stutters? I have a laptop to test with:

Settings - medium
OS: win 7 64bits
GPU: HD 5850m
CPU: i5 2.4CPU m something or such.
RAM: 4 Gb

and I don't get stutter with the piano but perhaps I don't notice it because I am trying to notice it at the wrong spot/time of the event (the big quake? or when it starts to play?).

Your settings are only high? You have not increased SSAO to high and 32x samples or some such? Just want to make 100% certain! Smile


(09-12-2013, 10:18 PM)jdw5000 Wrote:
(09-12-2013, 10:04 PM)rattlehead Wrote: ok with the new update there is almost no stuttering, just a little i the part before the piano.
But in some areas there is a massive fps hit like 60 to 40 maybe.
And i have a system that should run this game at always 60 fps.
But overall is a good improvement.

Settings - high
OS: win 7 64bits
GPU: HD 7950 3Gb
CPU: i5 3570k
RAM: 8 Gb
note - nothing is overclocked.

Same thing happening on my game, no noticeable stutter until the piano.

Settings - High
Windows 8 -64 bit
GT 640m
i7 3632QM
6 Gb RAM



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

(09-12-2013, 10:24 PM)jens Wrote: Exactly what is it that happens with the piano when it stutters? I have a laptop to test with:

Settings - medium
OS: win 7 64bits
GPU: HD 5850m
CPU: i5 2.4CPU m something or such.
RAM: 4 Gb

and I don't get stutter with the piano but perhaps I don't notice it because I am trying to notice it at the wrong spot/time of the event (the big quake? or when it starts to play?).

Your settings are only high? You have not increased SSAO to high and 32x samples or some such? Just want to make 100% certain! Smile


(09-12-2013, 10:18 PM)jdw5000 Wrote:
(09-12-2013, 10:04 PM)rattlehead Wrote: ok with the new update there is almost no stuttering, just a little i the part before the piano.
But in some areas there is a massive fps hit like 60 to 40 maybe.
And i have a system that should run this game at always 60 fps.
But overall is a good improvement.

Settings - high
OS: win 7 64bits
GPU: HD 7950 3Gb
CPU: i5 3570k
RAM: 8 Gb
note - nothing is overclocked.

Same thing happening on my game, no noticeable stutter until the piano.

Settings - High
Windows 8 -64 bit
GT 640m
i7 3632QM
6 Gb RAM

Before the piano there is a tiny stuttering before the quake and thats all Smile
No, i havenĀ“t change nothing, just high on the launcher Smile
The only problem i see now is the areas where the fps is only around 30/40 even on low settings.


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

you can change ssao to high and the samples, doesn't affect anything regarding stutters.


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

I ran the game on High (ssao on high 32 samples) Medium ( ssao on medium 16 samples) and Low (ssao off), each time creating a new profile and new game, the stutter before the piano still occurs. Also have vsync and adaptive vsync off in game. It's a half second stutter, one second before the room shakes and your standing near the piano.


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

Hmm, doesn't seem to fix much for me... Confused

Win 8
GTX 660 Ti
i7 3770
8 GB
Detected high settings


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

Yeah, if you run towards the piano there is a stutter before everything shakes and if you turn around to see the pictures falling there is another stutter/freeze.If this was the only instance in the game then it would be fine, but in my experience this section is just a easy place to test it and not a isolated incident.

When I then load up other saves later in the game there is stuttering, perhaps not as pronounced or easy to spot as the piano but they're definitely there. I haven't tried all the latest fixes posted here but I will. It's frustrating but I did manage to complete the game and the fixes (or fix attempts) are coming fast so thanks for the support.