Jump to content

I am at my wit's end with short freezes every 3-4 seconds


Recommended Posts

Hi all, I got a new PC few months ago and I decided to jump to ONI one more time. This is the first time running ONI on this PC.

The issue I am having is short freezes (half a second) every 3-4 seconds, which is driving me crazy. I initially thought it could have been related to mods, but I have disabled all of them and the issue persist. I have a very small base so it should not be performance related. The game runs at 130-150 FPS, and on the freezes the average goes down to 90.

My setup is:

i7-13700K 64 GB RAM GTX 4090

I do not know if it is something related to the recent update for the DLC, or something on my computer configuration, or what can I do to debug this issue.

This is what the GPU looks like. Those spikes and valleys are the freezes: 3iha2SA.png

Anyone else experiencing anything similar? Any suggestion?

Thanks in advance !

I have a somewhat similar issue, frequent short freezes at that start to appear around cycle 500. Lately it's been happening on every save. 

If you search around you'll find posts all over the place going back years about issues like this; none of the reported solutions have worked for me.

Thanks for the info!. Yeah, those kind of freezes is what I get, but way more frequent, every 3-4 seconds. I am investigating now if there is any way to profile a Unity game to get more insights. Frustrating....

Thanks!

So absolutely no promise this will help, but you can try setting core affinity in Task Manager to stop the OS juggling the process between cores or putting it on e-cores.

Also I once saw a bug report of someone who had to tweak some GPU settings to prioritize the game correctly.

Essentially it seems in some cases ONI is not good at communicating to the OS what resources it needs, the OS may use thermal or power management strategies that disrupt the game performance.

CPU is at 15%, 45c temperature, no throttling at this moment. Thanks !

17 hours ago, imazined said:

Try to run it in windowed mode

There is a Windows setting I needed to change to run it smoothly in full screen. If window mode helps I try to find out which setting it was

 

Tried Windowed mode, same behaviour. I am playing with a lot of settings, GSYNC, Fixed framerate, Disabling efficiency cores, etc... nothing seem to work reliably 

3 hours ago, blakemw said:

So absolutely no promise this will help, but you can try setting core affinity in Task Manager to stop the OS juggling the process between cores or putting it on e-cores.

Also I once saw a bug report of someone who had to tweak some GPU settings to prioritize the game correctly.

Essentially it seems in some cases ONI is not good at communicating to the OS what resources it needs, the OS may use thermal or power management strategies that disrupt the game performance.

True. There is something on these modern CPU and GPU that does not play well with ONI. I have tried a lot of graphical settings on the NVIDA panel and Lasso to manage the CPU, but nothing seems to work reliably. Thanks !

On 7/26/2024 at 5:52 AM, mihe said:

CPU is at 15%, 45c temperature, no throttling at this moment. Thanks !

Tried Windowed mode, same behaviour. I am playing with a lot of settings, GSYNC, Fixed framerate, Disabling efficiency cores, etc... nothing seem to work reliably 

True. There is something on these modern CPU and GPU that does not play well with ONI. I have tried a lot of graphical settings on the NVIDA panel and Lasso to manage the CPU, but nothing seems to work reliably. Thanks !

ONI uses relatively little GPU.  The game does use a lot of CPU.  What could be happening is Unity not correctly multi-threading for some reason or another.  The big bottleneck on older systems is the CPU/Memory bus.  The CPU and, thus, the game, can only run calculations based on stuff that is in the CPU's cache memory.  ONI uses a LOT of memory, far more than can fit in the cache.  When the game needs to analyze a new bit of data, the CPU has to grab it from memory, shove it in the cache, run the analysis, then shove it back so it can grab more.  

I remember in early Beta where dual-core quad-thread systems would have very poor performance because of this bottleneck.  I haven't had this issue for a very long time, but I'm wondering if perhaps the problem you're experiencing with the lurches every few seconds is because of it.

Another thing I would check to see is how much of your memory is being used while ONI is running.  There may be some disk-swap happening if you're using 80% of your total available memory.  Disk-swapping could easily explain the momentary freezes.

EDIT: Fixed some typoes.

I found the solution, at least. 

It was almost clear the issue was related to V-Sync, but none of the settings I tried, on NVIDIA control panel worked. I guess I tried around 30 different combinations to no avail.

Eventually, I disabled "Adaptive-Sync/VRR(FreeSync/GSync compatible" on the OnScreen Control Panel, which is an LG tool that Windows 11 install automatically as part of the drivers installations to Windows fresh installs.

After that change, which is supposed to do the same than what Disabling Gsync On the control panel does, everything is working fine... sigh...

 

Thanks for the suggestions to everybody. I really hope this solves the issue to anyone having the same problem in the future and stumbles upon this thread.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...