Logo Platform
logo amplifiers simplified

[Update 2] Stutters/microfreezes every 3 seconds

Reply
Copied to clipboard!
8 years ago
Jan 25, 2017, 2:51:36 AM
Frogsquadron wrote:

We're still working on optimization. Next updates should alleviate these issues.

Do you mean Update 3 or a minor revision before then?

0Send private message
8 years ago
Jan 31, 2017, 11:22:23 AM

@Uriak: do you still encounter stutters or freezes of any kind throughout gameplay?

0Send private message
8 years ago
Jan 27, 2017, 4:27:19 PM

That's good news ! I had given up testing until the game could run in a non infuriating way :p

0Send private message
8 years ago
Jan 27, 2017, 12:50:02 PM
Kweel_Nakashyn wrote:
satoru wrote:
Belhoriann wrote:

No need, because with the official release of the Update 2, the periodic stutters are gone, GONE!

Only remain some hiccups here and there, but nothing annoying enough to prevent me to play!


Oh ok well that's good news then


Now who is going to clean up this wall......

Ok, I'll do it


That's fine if it's gone !

Yes I'm glad I can play ES2 at last, thanks guys for the help!

0Send private message
8 years ago
Jan 27, 2017, 2:41:13 AM
satoru wrote:
Belhoriann wrote:

No need, because with the official release of the Update 2, the periodic stutters are gone, GONE!

Only remain some hiccups here and there, but nothing annoying enough to prevent me to play!


Oh ok well that's good news then


Now who is going to clean up this wall......

Ok, I'll do it


That's fine if it's gone !

0Send private message
8 years ago
Jan 27, 2017, 1:38:52 AM
satoru wrote:
Belhoriann wrote:

No need, because with the official release of the Update 2, the periodic stutters are gone, GONE!

Only remain some hiccups here and there, but nothing annoying enough to prevent me to play!


Oh ok well that's good news then


Now who is going to clean up this wall......


0Send private message
8 years ago
Jan 27, 2017, 1:36:54 AM
Belhoriann wrote:

No need, because with the official release of the Update 2, the periodic stutters are gone, GONE!

Only remain some hiccups here and there, but nothing annoying enough to prevent me to play!


Oh ok well that's good news then


Now who is going to clean up this wall......

0Send private message
8 years ago
Jan 27, 2017, 12:49:19 AM

No need, because with the official release of the Update 2, the periodic stutters are gone, GONE!

Only remain some hiccups here and there, but nothing annoying enough to prevent me to play!

0Send private message
8 years ago
Jan 27, 2017, 12:08:20 AM

Lets throw more fecal matter on the wall! Something is gotta stick.. or is sticky... or something?


Have you tried disabling the steam overlay?

Updated 8 years ago.
0Send private message
8 years ago
Jan 26, 2017, 9:25:43 PM
Kweel_Nakashyn wrote:

Can you try windowed mode just to see if uping the OS prerogatives over the app helps to control those stupid buses ?

(which is the pb, to me, because CPU don't hang 3s - doesn't hang - hang 3s- doesn't hang with healthy software for 99.99% of people)


3GB of shared mem worries me.

Your typical SSD will read that in s 3GB in 6 to 12 seconds : if we're looking at your mobo, your SATA3 bus is 6 Gb/s. That's 750 MB/s... You can read 3GB in 4 seconds, tops (more likely a little more).
.

I already tried windowed mode, I used it to read the CPU usage and notice the spikes. So no change.

0Send private message
8 years ago
Jan 26, 2017, 8:15:36 PM

Can you try windowed mode just to see if uping the OS prerogatives over the app helps to control those stupid buses ?

(which is the pb, to me, because CPU don't hang 3s - doesn't hang - hang 3s- doesn't hang with healthy software for 99.99% of people)


3GB of shared mem worries me.

Your typical SSD will read that in s 3GB in 6 to 12 seconds : if we're looking at your mobo, your SATA3 bus is 6 Gb/s. That's 750 MB/s... You can read 3GB in 4 seconds, tops (more likely a little more).
.

Updated 8 years ago.
0Send private message
8 years ago
Jan 26, 2017, 9:20:20 AM

Another thing to try would be windowed mode I guess ?


Second thing, it may be a good idea to check the event viewer (start > type "eventvwr") - if you know how to read it, it can help to see if there is an hardware problem.

Updated 8 years ago.
0Send private message
8 years ago
Jan 25, 2017, 7:03:30 PM

Haha odd perf problems are sometimes due to unsuspected causes, so I'm willing to try anything at this point ;)

satoru wrote:


The only other flag I see at least in your dxdiag is you're running one of those "Killer" ethernet cards. 

Yeah, I wanted to uninstall this useless app two days ago, but I forgot. Will do it tonight, thx!


EDIT:


Tried a lot of things the evening: unplug the webcam, kill Network Manager, kill Wacom hardware manager, forcing Nvidia to use my GTX1060... Nothing worked.


As Frogsquadron stated 2 months ago, I have the strong conviction that this problem is directly related to the AI.

Updated 8 years ago.
0Send private message
8 years ago
Jan 25, 2017, 6:53:35 PM

I will fully admit these are not 'great' ideas. I'm literally just throwing stuff out 


The only other flag I see at least in your dxdiag is you're running one of those "Killer" ethernet cards. I've seen the tools for that particular card do all sorts of weird things to games. Usually its mroe "I cant connect ot Steam" kind of thing but again as part of the "throw stuff against the wall and see what sticks" see if any of those tools are running



One nice thing in the old days was Steam's tool would auto collect your running software on the system. Which made it easier to find potential software conflicts. They got rid of that for some odd reason though :(

Updated 8 years ago.
0Send private message
8 years ago
Jan 25, 2017, 6:49:20 PM

Hi Satoru,


1) I'll try this evening.

2) I already tried to unplug my tablet, no change. Maybe I should check if any related software is not running.

3) & 4) Nope. I changed my Steam username during the ES or EL alpha (can't remember exactly) because it was indeed preventing the game to launch or run properly ;)

5) I'll check that too. I've update my Nvidia drivers yesterday (new version related to the release or RE7), no change.


Thanks for taking the time to solve this issue!

Updated 8 years ago.
0Send private message
8 years ago
Jan 25, 2017, 6:44:33 PM
Belhoriann wrote:
satoru wrote:

I'm noticing a lot of mono IO errors which isn't normal


1) try running steam as an admin


2) re-run all the redistributables manually


I did what you suggested, still the same periodic stuttering :(

I am going to do a LOT of wild guessing here so 


1) try unplugging your webcam (yes seriously)


2) try unplugging your wacom


3) I see you're running a french version of windows. Does your windows username have any 'weird' characters in it


4) does your steam username have any 'weird' characters in it.


5) try to update the audio drivers on your system

Updated 8 years ago.
0Send private message
8 years ago
Jan 19, 2017, 11:07:01 PM

Hello guys,

Well, as mentioned in the title, I experience very annoying stutters/micro-freezes every 3 seconds with the Update 2.

This is happening from the start of the game, and even in menus.

My drivers are up to date. I verified the game files which are installed on an SSD. 

Here is my rig: I7 4790K, GTX 1060, 16gb of ram.

Here are the game options:

Updated 8 years ago.
0Send private message
8 years ago
Jan 24, 2017, 2:49:49 PM
satoru wrote:

I'm noticing a lot of mono IO errors which isn't normal


1) try running steam as an admin


2) re-run all the redistributables manually


I did what you suggested, still the same periodic stuttering :(

0Send private message
0Send private message
8 years ago
Jan 24, 2017, 2:39:53 PM

I'm noticing a lot of mono IO errors which isn't normal


1) try running steam as an admin


2) re-run all the redistributables manually

0Send private message
8 years ago
Jan 24, 2017, 1:43:05 PM
Frogsquadron wrote:

We're still working on optimization. Next updates should alleviate these issues.

Ok, I hope, merci !


@Kweel: I'm on Win7, I just wanted to kill that service to watch its influence on the game's performance. There is none ;)

0Send private message
8 years ago
Jan 24, 2017, 9:35:54 AM
Belhoriann wrote:

I killed the only service using CPU (print spooler)...

In Windows XP & Vista's days, that was a bad idea, as it was killing more interrupts from the mobo than only a (hypothetical) printer.


I don't know if in Win7 / Win10 this is fixed as I don't know if it's a bug from an old hardware designs (like how bios is bad now for today's computers but was a good solution before the 2000's) or software (I doubt it).


Since it's here by default in this modern OS, I'd recomend to monitor this on your computer (this is a few bytes asking the printer bus, not a great optim imho).
You want to kill this only if sneak processes are trying to print stuff (this was a vulnerability for XP). It may be the case here, if this use RAM.


Frogsquadron wrote:

We're still working on optimization. Next updates should alleviate these issues.

Was it this "can't attach to parent" in logs ? Is it related to shared mem ?

(I shouldn't care but I wanted to know whether I'm helpful or not, and if not, shut my mouth :) )

Updated 8 years ago.
0Send private message
8 years ago
Jan 24, 2017, 9:00:49 AM

We're still working on optimization. Next updates should alleviate these issues.

0Send private message
8 years ago
Jan 23, 2017, 1:56:14 PM

I have made further tests to try to identify the cause of this problem.

I replaced my AV (Avira -> AVG), I turned off the v-sync, I checked the CPU usage of the processes and services -> I killed the only service using CPU (print spooler)... The game is still freezing every 3 seconds, with the game CPU usage going from ~13% to ~20% (camera fixed on a solar system, doing nothing).

I've noticed something interesting though. The stuttering/freezing effect is there right after the loading of a save or after a new turn. After a couple of minutes (roughly), the problem seams to disapear and the game runs smoothly while using 13% of my CPU.

So, I guess the issue could be related to the AI trying to compute some stuff periodically and stopping to do so after a couple of minutes

0Send private message
8 years ago
Jan 22, 2017, 8:22:27 PM

Thanks for your suggestion, but I won't change anything on my system for now. All my other games (and I have a metric ton) work like a charm, and ES2 being in early access/alpha stage, I suspect an optimization problem.

I tried to play with 3 AI or on a different map, still lots of stuttering.


Edit: So, I deleted my AV, and the stuttering is still there.

Updated 8 years ago.
0Send private message
8 years ago
Jan 22, 2017, 10:47:33 AM

AV means anti-virus.


-edit- it might be me (take this with a bag of salt) but I'm bothered by those 3Gb shared memory on the video card.
Maybe the game's data use the same place as your videocard ?


My hypothesis is :

- videocard used this to dump its texture stuff

- then the game ask some memory, best speed, since no indication to go to RAM only

- the OS ask the best R/W rates bus, with no flag, which may be the video one

- the game overwrite the video stuff because the video put no lock on it

- the game does their stuff, then dump the data (or not)

- then videocard driver is like "where's my stuff bro ?" and the OS is like "dude, I dumped it, go read HDD, LOL"

- ...

- 3s later the video stuff is read back to video shared mem


???


Is it possible or I'm telling tales ?


There should be a setting on the videocard driver panel to forbid the OS to use that mem but I strongly suggest you ask some expert tech advice before gambling on that idea.

Updated 8 years ago.
0Send private message
0Send private message
8 years ago
Jan 20, 2017, 4:14:40 PM

I'd also see if a config file or something is causing issues


Maybe try by deleting


My Documents\Endless Space 2 \Users\<number>\Registry.xml


and deleting the contents of


C:\Users\<username>\AppData\LocalLow\AMPLITUDE Studios\Endless space 2\


Attach to your post here

* dxdiag output

* output_log.txt

* Diagnostics


Another possibility is that your AV is doing something 'weird'

Updated 8 years ago.
0Send private message
0Send private message
8 years ago
Jan 20, 2017, 3:00:06 PM

Hi Belho,


Could you please join a DXDiag? Not for my benefit so much as for the programming team.


Thanks!

0Send private message
8 years ago
Jan 20, 2017, 2:05:49 PM

I only have my Steam games on this SSD.

I didn't change the UI, and the problem is here from the very beginning of the game. I can see the freeze every 3 seconds by staring at the moving gas clouds in the galaxy.


0Send private message
8 years ago
Jan 20, 2017, 9:08:56 AM

This looks like bus bottleneck and/or heavy swapping ?


OS / Game / Exchange file on the same SSD ?

(SSD have superb read rates but middle to poor write rates).


If you don't make any change to the UI, do you have those problems ?


I wonder how they store data there (if they commit atomic data changes, then by mutliplying I/Os, the system may need to import one different page for each data depending of how they stored data, instead of having one page with a medium object including everything).

Updated 8 years ago.
0Send private message
?

Click here to login

Reply
Comment