Jump to content

Major slowdown of game 1-2x per cycle


Recommended Posts

Hi there,

I'm running ONI on my Linux machine. The game runs fine most of the time, but 1-2 every cycle it slows down to an absolute crawl for about 10-15 seconds. Animation goes to 1 FPS, audio becomes really choppy and the game basically becomes unplayable. Then, after 10-15s everthing is fine again. This doesn't seem to happen at set points during the cycle, it's different every time I startup the game. I've checked the player.log, and various other ONI-related logs that are available to see if the game was doing anything special when the slowdown starts, but to no avail. I've tried mucking around with the settings (lower resolution etc) but this also doesn't help. I have a fast processor and 32GB of memory, plenty to run the game, as is evidenced by the majority of the game time during which ONI runs just fine. The other weird thing is that, when viewing 'top', ONI consistently uses ~250% cpu (that is to say, 2.5 cores roughly). During the slowdown, however, the CPU usage drops to below 100%, but there is no other process that usurps that cpu capacity. It appears as though, for some reason, ONI is only able to use 3/4 of a CPU for about 10-15s.

Anyone have any idea what may be going on?

It is completely possible that this problem is due to particular issues on my machine (I'm running Gentoo, after all ;), but I wanted to put it out there in case it rings any bells with anyone.

Regard,
Maarten

4 hours ago, Yobbo said:

Could it be a heat issue? Maybe your CPU is overheating and getting throttled.

I'm running on Ubuntu and definitely don't have an issue like this. I would have guessed memory swapping to disk, but 32GB should be more than enough.

A good shout, but I've been monitoring the system log as well during gameplay and there's not mention of the CPU being throttled. Usually there's some mention of that if it happens, but I'll see if I can rule that out definitively.

Fellow gentoo user here - haven't seen slowdowns like you describe. Have you looked at dmesg? You might have a disk or network IO issue. If you really want to get crunchy you could strace the ONI process when you experience the slowdown.

I've been playing and monitoring the CPU temp, and that doesn't appear to be the problem. Each core hovers pretty steadily around 60-70 degrees, with the occasional spike to 100, but there is no noticeable increase in temperature during the slowdown period. 

dmesg doesn't show anything unusual either. I'll now try to dig deeper using something like strace.

4 hours ago, Superchango said:

I've been playing and monitoring the CPU temp, and that doesn't appear to be the problem. Each core hovers pretty steadily around 60-70 degrees, with the occasional spike to 100, but there is no noticeable increase in temperature during the slowdown period. 

dmesg doesn't show anything unusual either. I'll now try to dig deeper using something like strace.

Your CPU shows occasional spikes to 100 degrees? Thats either monitoring software bug or reason to be worried about CPU life.

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...