Stuttering every 10-15s

Avatar
  • oppdatert
  • Completed - Resolved

Hi, i have these like frame skips/stutters every 10-15s and in mission 3 (HoG) they get more severe. What i mean is they are longer more like a second long which makes it very annoying and distracting. It happens regardless of the settings and what happens in the game. I can start a mission and move camera in circles around my core and it will still stutter every 10-15s. Although, in skirmish when the map is small and nothing much happening on it the stutters are so brief it is hard to notice them. On big maps with units etc. already on them (like HoG lvl 3) the stutters are longer and are a real pain.


Windows 7 x64

12gb RAM

i5 2500k @ 4.2

gtx 970

game version 1.4.0f4

output_log.txt

Game Version:
Steam Public
Platform:
Windows
Duplikater 4
second to last mission unplayable due extreme lag

Every second or so the game just freezes/lags a bit. Its unpossible to finish the campaing. Im running I7-4770K @ 3.5GHz and GTX970 and 16GB ram.

Stuttering during play
I haven't played this in a while so with the release of the new DLC I decided to give it another bash, I've never completed it since low fps on later levels caused the game to become unplayable for me, less than 1fps.


I've built a completely new system since last time, wasn't expecting any issues but I've just completed the level to Defile Uthors Tomb and the last half of the level I kept stuttering every few seconds, I wouldn't think this should be an issue on my system at all but perhaps there is a fix?

My System:
i7-5820K
24GB DDR4 2666MHz
AMD R9 Fury-X

Windows 10

output_log.txt

error.log

Please fix the constant stuttering

I have a really powerful computer, i5, Gtx 970, 32 GB RAM and the game constantly stutters for a fraction of a second. This is really annoying and also often causes miss-clicks, or clicks not working, and is really immesion breaking.

I read that this is due to the engine you use and the garbage collection of that engine. I also read that you are wrapping up extra content for this game in the next patch. I bought this game twice. Once on steam and once from GOG because I really loved DK2 and I really love this game. You guys have done an amazing job and I wanted to support you. I also like my games DRM free. However please don't leave this game with such an annoying bug on an otherwise amazing game. This bug literally affects all campaign levels, skirmish, multiplayer etc.

Please fix this issue soon.

Freezes after 5-10min each 5-10 seconds getting worse overtime
  • Specify your platform
    • OS Windows
    • Version 10
    • 64bit
      • Ram 16GB
      • CPU FX8350
      • GPU GTX 760
  • Specify the build you are using (there will be a timestamp visible on the main menu)

        1.6.4

  • Include as much information as possible (what map you were on, screenshots, videos, etc)

        After about 5 to 10 minutes, a small freeze starts appearing every 5 or so seconds. This freeze gets progressively worse the longer you play. I have no issues in between those time frames, the game runs smooth.
There seems to be little to no effect if I change the graphical options from the highest to the lowest possible settings (while keeping it 1080p though). The map size does seem to matter on how fast the freezes start appearing, under 100x100 it can take up to 10minutes. On the larger ones, it'll start after ~5 minutes.


I feel like the main thread or game ticks are not getting enough resources. I see 2 cores basically at a 100% while the other 6 are mainly idling.


I've been struggling with the performance since for ever now. In the past I was able to play the smaller maps decently, now I can't comfortably play this game at all.



  • Search the Bug Tracker for any similar or identical open reports, if one exists comment there instead of opening a new ticket

       I did a search, didn't seem to find anything related to this.

Avatar
anonymous

We are currently migrating the project to Unity 5.6, this is a fairly long process as many many things have broken since we have made the move.


We don't yet have a timeline for release of the Unity 5.6 version as the last thing we want to do is release a more broken version of the game, but it is coming.

Avatar
anonymous
  • Under Review

Hey Antti,


Could I get you to read our How to: Submit a Bug Ticket guide and attach the required info?

Avatar
Andrew "Nutter" Jaggar
  • Pending Customer
Avatar
Antti

12 subjugation_20170426002621.meta
12 subjugation_20170426002621
output_log.txt

I completely forgot this. Here are the requested files.
-A


Avatar
anonymous
  • Pending Third Party

Hey Antti,


I played through the save game you sent me, while playing I didn't personally experience the drastic drop in performance you're experiencing. My guess is that the lag is caused by Unity's Garbage Collection, this is when the game engine comes through and clears out the memory for things that are no longer in use; when it does this there is a performance hit due to it having to scan all the in use memory and deallocate it.


This should get better in the coming months as we upgrade to the newest version of Unity which contains minor improvements to this formula. Unfortunately we are forced to wait until a stable version of the engine is released, but this shouldn't be much longer.

Avatar
Antti
Quote from anonymous

Hey Antti,


I played through the save game you sent me, while playing I didn't personally experience the drastic drop in performance you're experiencing. My guess is that the lag is caused by Unity's Garbage Collection, this is when the game engine comes through and clears out the memory for things that are no longer in use; when it does this there is a performance hit due to it having to scan all the in use memory and deallocate it.


This should get better in the coming months as we upgrade to the newest version of Unity which contains minor improvements to this formula. Unfortunately we are forced to wait until a stable version of the engine is released, but this shouldn't be much longer.

I want your setup to finally finish the game :D

Avatar
anonymous

Haha unfortunately I can't ship it over. I have heard some users having a better time by completely disabling their paging file in windows


Give that a go and let us know if it helps

Avatar
Antti

I tried moving the game to my ssd drive if it would have made any difference and also took a video this time.

You can really see the chopping in this doomed gamesave after the first minute when the screen isnt moving but the lag is real :O

Avatar
anonymous

Are you running at the lowest settings?


I don't doubt that the issue is happening theres just not much to be done

Avatar
Antti

I never actually tried lower settings :O