mihe Posted July 25, 2024 Share Posted July 25, 2024 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: Anyone else experiencing anything similar? Any suggestion? Thanks in advance ! Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/ Share on other sites More sharing options...
hydragyro Posted July 25, 2024 Share Posted July 25, 2024 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. Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737650 Share on other sites More sharing options...
mihe Posted July 25, 2024 Author Share Posted July 25, 2024 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! Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737652 Share on other sites More sharing options...
Gurgel Posted July 25, 2024 Share Posted July 25, 2024 It seems some i7-13700K are running too hot. You may see thermal throttling here. For the AMD system, no idea. I do not have anything like that on AMD, 7800X3D though. Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737659 Share on other sites More sharing options...
imazined Posted July 25, 2024 Share Posted July 25, 2024 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 Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737709 Share on other sites More sharing options...
blakemw Posted July 26, 2024 Share Posted July 26, 2024 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. Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737802 Share on other sites More sharing options...
mihe Posted July 26, 2024 Author Share Posted July 26, 2024 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 ! Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737818 Share on other sites More sharing options...
imazined Posted July 26, 2024 Share Posted July 26, 2024 Regardless I found what I meant before. Maybe it helps. Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1737820 Share on other sites More sharing options...
KittenIsAGeek Posted July 28, 2024 Share Posted July 28, 2024 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. Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1738026 Share on other sites More sharing options...
mihe Posted August 3, 2024 Author Share Posted August 3, 2024 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. Link to comment https://forums.kleientertainment.com/forums/topic/158651-i-am-at-my-wits-end-with-short-freezes-every-3-4-seconds/#findComment-1738966 Share on other sites More sharing options...
Recommended Posts
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.