Good fps but micro-freezing sometimes

ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
Hello there,

i am not the only one because i already saw someone on a server who has the same problem, here is the problem :

I got a new pc, a good one (100 fps ingame, i5 + gtx 670). But sometimes in game, i get very low fps for maybe 0,3 seconde, like a µ-freez (when jumping to a marine in skulk, it's very confusing and i often die because of that).

I tried to lower to minimum my graphic options, but the problem is still there.
I tried to verify the files integrity, no problem.
My drivers are up to date.
I got some some errors in the console about cinematics but i don't know if it's linked.
«1345

Comments

  • kalakujakalakuja Join Date: 2012-09-11 Member: 159045Members, NS2 Map Tester, Reinforced - Supporter
    The newest nvidia drivers have power management on for a default. Set the power management mode to "Prefer maximum performance" . This helped me with the problem.
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    I'll check, thanks
  • Rich_Rich_ Join Date: 2012-11-05 Member: 167152Members
    also i dunno if this will help but from that console message u might wanna try disabling the camera effects in the menu in game.
  • StardogStardog Join Date: 2004-10-25 Member: 32448Members
    It's something to do with loading sounds/models/etc for the first time. After the first time it should be smooth for that session.
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    I checked and nvidia is at maximum performance, and camera effects are off :/
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    i see a "couln't load texture xxx (file not found)" . i did a file integrity check and it says it's ok :/
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    Error: Couldn't load texture 'materials/descent/descent_floor_01_a_normal.dds' (File not found)
    Building pathing mesh for level maps/ns2_veil.level
    Finished loading 'maps/ns2_veil.level'
    Error: Couldn't open file 'cinematics/alien/gorge/babbler_pheromone.cinematic'


    Error: SoundEventInstance::SetPropertyFloat(unknown, 18=0.343046)): setValue(): An invalid parameter was passed to this function.
    Error: Couldn't open file ''
    Error: Couldn't open file ''
  • GamerkatzeGamerkatze Join Date: 2012-06-27 Member: 153711Members
    edited January 2013
    Shqke wrote: »
    Error: Couldn't load texture 'materials/descent/descent_floor_01_a_normal.dds' (File not found)
    Building pathing mesh for level maps/ns2_veil.level
    Finished loading 'maps/ns2_veil.level'
    Error: Couldn't open file 'cinematics/alien/gorge/babbler_pheromone.cinematic'


    Error: SoundEventInstance::SetPropertyFloat(unknown, 18=0.343046)): setValue(): An invalid parameter was passed to this function.
    Error: Couldn't open file ''
    Error: Couldn't open file ''

    the first errors are standard for the map and the gorge. everyone gets these when they try to load the map. im not really sure about the soundevent errors but i dont think they cause stuttering or freezing (unless the error still remains ingame).
    mikro freezing can be server choke or your internet connection too. you might want to check this the next time you play. (command is "net_stats" )
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    net_stats doesn't works :/
  • GamerkatzeGamerkatze Join Date: 2012-06-27 Member: 153711Members
    edited January 2013
    1. make sure you are on a server (doesnt work in the menu)
    2. maybe you had a spelling error ? (with ^ or - maybe ?)

    i just tested it and it does work trust me ^^

    z7akgy4h.jpg
    this is how it should look like when it worked (top left corner)
  • kafkaesquekafkaesque Join Date: 2012-12-08 Member: 174510Members
    I'm getting the same issue. My NS2 performance has been steadily improving for the last few patches, but now just this very last while the "microstutters" are unbearable. Nothing has changed on my end and I'm seeing it on two setups - both decent to very decent spec. It's not just when action goes down either. Even if I'm just strolling around alone, every second or second and a half the framerates shit themselves a bit. This completely kills gameplay for me. Has anyone resolved this?
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    it did work, but it seems i couldn't do it on the first server i tested.

    no chokes, and still freezing (it seems to be less often after 2 hours of playing)
  • IronsoulIronsoul Join Date: 2011-03-12 Member: 86048Members
    how much ram do you have?
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    edited February 2013
    type "loadtimes true" in the console AFTER you load a map , and get into the ready room.
    Play a game, and right after you notice the hitch immediately type something notable and something u can search for later into the chat for all to see.
    This will capture whats being loaded and interrupting your game, and what you say in game will be a good marker to find it later.
    Exit ns2 right after you've caught a few.
    Dont run ns2 again.
    Open your hidden %appdata%/natural selection 2/ folder and upload that log.txt file to somewhere like pastebin.com
    Then link it here.

    the story is: some models,fonts, and effects werent being precached like they were supposed to. We've been tracking down which ones exactly for the past few weeks so that the culprits can be added in the next patch and reduce this from happening.
    More than likely its a harddrive issue for you, since this micro stutter shouldnt be notable, and rare. But this is something great to try.
  • foolfoolzfoolfoolz Join Date: 2013-01-24 Member: 181835Members
    edited February 2013
    I am also having this problem, usually the game is completely hung for 2-5 seconds, and happens at least 5-6 times per session. It also usually happens in the first 20 minutes of game play and is much much more rare after that point.

    I have an i5-2500k, 8GB ram, geforce 570, although NS is installed on a spindle and not my SSD...
  • kk20kk20 Join Date: 2012-10-30 Member: 164592Members
    I had an issue similar. I cured it by putting infestation to low. All my other settings remain high. (w7x64 i5 4gb ram 6870 GPU). If you have a logitech mouse try disabling the logitech mouse software too, that puts a hit on your system I found.
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    i tried low and high, issue is the same.
    I'll try to disable the mouse software
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    foolfoolz wrote: »
    I am also having this problem, usually the game is completely hung for 2-5 seconds, and happens at least 5-6 times per session. It also usually happens in the first 20 minutes of game play and is much much more rare after that point.

    I have an i5-2500k, 8GB ram, geforce 570, although NS is installed on a spindle and not my SSD...

    Yea sometimes 2 secondes for me too, i think this is the same problem, and it has to be related to cinematics or something loading to memory cause it's more rare after that point as you said

  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    ironhorse wrote: »
    type "loadtimes true" in the console AFTER you load a map , and get into the ready room.
    Play a game, and right after you notice the hitch immediately type something notable and something u can search for later into the chat for all to see.
    This will capture whats being loaded and interrupting your game, and what you say in game will be a good marker to find it later.
    Exit ns2 right after you've caught a few.
    Dont run ns2 again.
    Open your hidden %appdata%/natural selection 2/ folder and upload that log.txt file to somewhere like pastebin.com
    Then link it here.

    the story is: some models,fonts, and effects werent being precached like they were supposed to. We've been tracking down which ones exactly for the past few weeks so that the culprits can be added in the next patch and reduce this from happening.
    More than likely its a harddrive issue for you, since this micro stutter shouldnt be notable, and rare. But this is something great to try.


    Ok thanks i'll test that
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    Ironsoul wrote: »
    how much ram do you have?


    Intel Core i5 3570K
    Asus Maximus V Gene
    Asus GTX670
    G.Skill Ripjaws X Series 8 Go
    SSD Intel 180 Go
    WD Caviar Green 2 To
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    Loading 'models/effects/arc_blast.model' took 0.09ms
    Loading 'models/effects/arc_shockwave.model' took 0.05ms
    Loading 'models/effects/arc_shockwave.material' took 0.02ms
    Loading 'models/effects/arc_blast.material' took 0.05ms
    Loading 'cinematics/vfx_materials/build.material' took 0.03ms
    ARC killed Crag with ARC
    Chat All - shake: ffff


    Loading 'fonts/agencyfb_smaller_bordered_0.png' took 1.67ms
    Loading 'fonts/agencyfb_smaller_bordered.fnt' took 2.76ms
    Matogrosso killed Coldheiser with Bite
    Loading 'fonts/stamp_large_0.png' took 0.69ms
    Loading 'fonts/stamp_large.fnt' took 1.25ms
    Loading 'fonts/stamp_medium_0.png' took 0.76ms
    Loading 'fonts/stamp_medium.fnt' took 1.32ms
    Loading 'fonts/kartika_small_0.png' took 0.55ms
    Loading 'fonts/kartika_small.fnt' took 1.50ms
    Loading 'fonts/stamp_medium_0.png' took 0.63ms
    Loading 'fonts/stamp_medium.fnt' took 1.18ms
    Loading 'fonts/kartika_small_0.png' took 0.88ms
    Loading 'fonts/kartika_small.fnt' took 1.83ms
    Loading 'fonts/stamp_medium_0.png' took 0.66ms
    Loading 'fonts/stamp_medium.fnt' took 1.23ms
    Loading 'fonts/kartika_small_0.png' took 0.53ms
    Loading 'fonts/kartika_small.fnt' took 1.50ms
    Gangja Man killed FailingGymnast2 with Rifle
    shake killed Imperat with Bite
    Gangja Man killed Matogrosso with Rifle
    envy1400 killed Gangja Man with Bite
    envy1400 killed Armory with Bite
    Loading 'models/misc/waypoint_arrow_alien.model' took 0.14ms
    Loading 'models/misc/waypoint_arrow_alien.material' took 0.09ms
    Loading 'cinematics/vfx_materials/bilebomb.material' took 0.07ms
    Chat Team 2 - Matogrosso: upgradesssssssssssss com
    Kaumos killed Harvester with Axe
    Chat All - shake: caca boudin




    Loading 'fonts/stamp_medium_0.png' took 0.76ms
    Loading 'fonts/stamp_medium.fnt' took 1.32ms
    Loading 'fonts/kartika_small_0.png' took 0.55ms
    Loading 'fonts/kartika_small.fnt' took 1.50ms
    Loading 'fonts/stamp_medium_0.png' took 0.63ms
    Loading 'fonts/stamp_medium.fnt' took 1.18ms
    Loading 'fonts/kartika_small_0.png' took 0.88ms
    Loading 'fonts/kartika_small.fnt' took 1.83ms
    Loading 'fonts/stamp_medium_0.png' took 0.66ms
    Loading 'fonts/stamp_medium.fnt' took 1.23ms
    Loading 'fonts/kartika_small_0.png' took 0.53ms
    Loading 'fonts/kartika_small.fnt' took 1.50ms
    Gangja Man killed FailingGymnast2 with Rifle
    shake killed Imperat with Bite
    Gangja Man killed Matogrosso with Rifle
    envy1400 killed Gangja Man with Bite
    envy1400 killed Armory with Bite
    Loading 'models/misc/waypoint_arrow_alien.model' took 0.14ms
    Loading 'models/misc/waypoint_arrow_alien.material' took 0.09ms
    Loading 'cinematics/vfx_materials/bilebomb.material' took 0.07ms
    Chat Team 2 - Matogrosso: upgradesssssssssssss com
    Kaumos killed Harvester with Axe
    Chat All - shake: caca boudin
    Rizasha killed Kaumos with Bite
    envy1400 killed Power node with Bite
    shake killed Prärie-Jäger with Bite
    Coldheiser killed FailingGymnast2 with Rifle
    /ESP/cantadoria killed Egg with Rifle
    Loading 'cinematics/vfx_materials/bilebomb.material' took 0.06ms
    Gangja Man killed Matogrosso with Pistol
    /ESP/cantadoria killed Egg with Axe
    [Gravity]Smart killed Power node with BileBomb
    Loading 'models/effects/frag_metal_01.model' took 0.06ms
    Loading 'models/effects/frag_metal.material' took 0.02ms
    envy1400 killed Coldheiser with Bite
    Chat All - shake: d





    Loading 'fonts/stamp_large_0.png' took 0.66ms
    Loading 'fonts/stamp_large.fnt' took 1.24ms
    Loading 'fonts/stamp_medium_0.png' took 1.19ms
    Loading 'fonts/stamp_medium.fnt' took 1.77ms
    Loading 'fonts/kartika_small_0.png' took 0.76ms
    Loading 'fonts/kartika_small.fnt' took 1.71ms
    Loading 'fonts/agencyfb_smaller_bordered_0.png' took 1.83ms
    Loading 'fonts/agencyfb_smaller_bordered.fnt' took 2.88ms
    Loading 'fonts/agencyfb_smaller_bordered_0.png' took 1.78ms
    Loading 'fonts/agencyfb_smaller_bordered.fnt' took 2.85ms
    K72Q killed Shift with Rifle
    Loading 'fonts/stamp_large_0.png' took 0.73ms
    Loading 'fonts/stamp_large.fnt' took 1.35ms
    Loading 'fonts/stamp_medium_0.png' took 0.92ms
    Loading 'fonts/stamp_medium.fnt' took 1.48ms
    Loading 'fonts/kartika_small_0.png' took 0.67ms
    Loading 'fonts/kartika_small.fnt' took 1.68ms
    Loading 'fonts/agencyfb_smaller_bordered_0.png' took 1.74ms
    Loading 'fonts/agencyfb_smaller_bordered.fnt' took 2.79ms
    Chat All - : www.ns2france.fr
    Loading 'fonts/agencyfb_smaller_bordered_0.png' took 1.87ms
    Loading 'fonts/agencyfb_smaller_bordered.fnt' took 2.90ms
    Loading 'cinematics/vfx_materials/ghoststructure.material' took 0.03ms
    Loading 'fonts/stamp_large_0.png' took 0.79ms
    Loading 'fonts/stamp_large.fnt' took 1.39ms
    Loading 'fonts/stamp_medium_0.png' took 0.66ms
    Loading 'fonts/stamp_medium.fnt' took 1.23ms
    Loading 'fonts/kartika_small_0.png' took 0.52ms
    Loading 'fonts/kartika_small.fnt' took 1.47ms
    Nipal killed -maks- with Gore
    Loading 'cinematics/vfx_materials/build.material' took 0.03ms
    Nipal killed Bazhyl with Gore
    Tyrao67 killed zdex44 with Bite
    shake killed Phase gate with BileBomb
    Loading 'cinematics/environment/smelting_bucket_pourring.cinematic' took 0.12ms
    Loading 'cinematics/environment/smelting_bucket_pourring_base.cinematic' took 0.25ms
    Nipal killed K72Q with Gore
    Nipal killed -maks- with Gore
    Nipal killed Sentry Battery with Gore
    10100111001 killed [CPC] Gbip with Rifle
    Tyrao67 killed Power node with Bite
    Chat All - shake: ffffffffff
  • phoenixbbsphoenixbbs Join Date: 2003-02-10 Member: 13379Members, Constellation, NS2 Playtester, Subnautica Playtester
    Those load times are all pretty damn good - I've been helping Ironhorse with this as a playtester, as I've been seeing delays of over 100ms at times, but it seems to be specific files - the phase gate in particular seems to have a couple of related files that "spike".

    I get creative in a text editor (EditpadLite is free, and fantastic for this) to make the log file easier to parse - I search and replace "took" with "took," and "ms<newline>" with "<newline>"

    By saving this as a .csv (comma separated variable) file, it can be opened directly into a spreadsheet, select columns A & B, then data/sort by/column B

    You'll now have a list sorted from fastest to slowest to scroll through, which makes submitting particular "problem files" easier. You'll note that many of the files are loaded regularly, they're not currently kept cached.

    For now, we're looking at anything taking more than 5ms as being an issue, to try to stamp out the "major" lag people can experience.
  • kk20kk20 Join Date: 2012-10-30 Member: 164592Members
    Next time I play I will post mine (from a working system) with my specs to see if there is a correlation as I don't have a monster system.
  • foolfoolzfoolfoolz Join Date: 2013-01-24 Member: 181835Members
    edited February 2013
    I did the loading time monitor. It actually happened way more than i said in my first post, 5-6 times, this was like 30+ times. Sometimes it was less than a second, only a few times was it multiple seconds.

    I attached my log. Some loading times are hundreds of milliseconds, one 482ms. Other times they were shorter, but many files loading at once, which caused shorter blips.

    Any time you see a chat message by player wit the name "fool" it was a very long blip. I some times did team chat, sometimes all chat.



    is there a way to tell steam to relocate a single game? i wouldnt mind moving my ns2 install to my ssd. i keep it on the spindle because my entire steam folder is 38GB.....
    log.txt 18.4K
  • ScardyBobScardyBob ScardyBob Join Date: 2009-11-25 Member: 69528Forum Admins, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow
    Any loadtime value over 5ms is potentially problematic. Over 100ms is pretty much catastrophic.
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    edited February 2013
    Holy Crap 482 ms!??
    Yeesh!
    Interesting that it seems your markers are sometimes near these things loading, and then other times not at all, and seem to be near times when you've killed someone or they've killed you.
    Makes me think there's two problems occurring. You should run with net_stats turned on, and when you notice that hitch glance at the info for any odd change and maybe screenshot it with f12.

    If you can find a way to reproduce this reliably, get a screenshot with profile turned on:
    type profile in the console, and then press spacebar to pause it, bracket keys to go forward or backward one frame at a time, til you are on the frame with the hitching. Then expand the entire tree on the most resource intensive items that are highlighted with purple. Screenshot everything relevant.
  • BageesiacBageesiac Join Date: 2006-11-14 Member: 58596Members
    I've been experiencing the same thing. I don't have an amazing system so the little hitches (which are unaffected by video settings) mean me dying so much it's hard to play (especially the last 2-3 patches). I watch the fps as they happen and have NO difference. I will try net_stats, as I haven't tried it yet, but it's good to see some work on it. I am not so technically inclined that all the advice on here would be doable for me with the time constraints of real life.

    It'd be nice to have a handle on this so I can more easily kill [TN]Mohawk Viking more often! Thanks for working on this ScardyBob and everyone!

    [TN]YoYoMa
  • BageesiacBageesiac Join Date: 2006-11-14 Member: 58596Members
    Net stats was fine, but the micro hitches seem to be vastly improved since p239!
  • Ghosthree3Ghosthree3 Join Date: 2010-02-13 Member: 70557Members, Reinforced - Supporter
    foolfoolz wrote: »
    is there a way to tell steam to relocate a single game? i wouldnt mind moving my ns2 install to my ssd. i keep it on the spindle because my entire steam folder is 38GB.....

    Curious about this as well, haven't got and SSD yet, but was looking into one for my OS only, my steam folder is 850gb so obviously, that isn't all going on an SSD. I would definitely put just NS2 on it though.
  • ShqkeShqke Join Date: 2013-01-28 Member: 182544Members, Reinforced - Supporter
    Ok then it's not the loadtimes for me ? Should i try the "profile" thing ?
Sign In or Register to comment.