R2Northstar / Northstar

Repo for packaged Northstar releases
https://northstar.tf/
MIT License
1.69k stars 129 forks source link

Game stutter and frame-freezing #415

Open Asphelite opened 1 year ago

Asphelite commented 1 year ago

Bug

The game stutters and keeps microfreezing during regular Northstar sessions. It is not tied to the server you are on, it seems to be different in severity depending on the map youre playing on. Game works fine in Vanilla, must be related to Northstars Server-Client Relations. It is definitely a game-breaking issue.

Steps to reproduce

  1. Just join any server really, I have encountered numerous identical reports in the in-game chat by now.

Specifications

Asphelite commented 1 year ago

Very sorry that I cant provide any logs or dmps, but there isnt really anything that I could think of that would be of help here. It definitely looks like a problem with the Northstar-Client and its way of processing Server-Log Ins, etc.

GeckoEidechse commented 1 year ago

Never noticed anything myself but I know two ways I tend to be able to experience similar issues in vanilla and Northstar

  1. For me windowed mode tends to cause microstutter, doesn't matter if borderless or bordered. Switching to exclusive fullscreen resolves it.
  2. Similarly, the moment I go above 75% RAM usage Windows start becoming really aggressive with swapping out RAM and as for me the game is on the same drive as the swap file (usually C:\ drive) I start to experience micro stutter regardless of exclusive fullscreen or windows.

So double check that a) you're playing in exclusive fullscreen and b) your total RAM usage is below 75%. Additionally try removing all mods (apart from core Northtstar mods) and see if you still have the issue.

anticode-403 commented 1 year ago

I've had a very similar issue since installing Northstar a few weeks ago.

My fix:

There are still a number of micro-stutters, and there are good and bad days for it even with this fix, but it does massively help.

GeckoEidechse commented 1 year ago

Launch the game in admin.

Note that launching the game as admin really isn't recommended. Any exploit found in the game can do a lot more damage when you run the game as admin as opposed to normal user.

anticode-403 commented 1 year ago

True, but it was suggested as a fix and it kind of, sorta helped, ish, at least a bit.

Asphelite commented 1 year ago
  • Fullscreen
  • Enable Triple Buffer in-game

Triple Buffering seemed to have done the trick for now, mind you on this was done on the new v1.12. Will test more later and close the issue if applicable. Though I am pretty sure that I tried that in 1.14.

I think this should be mentioned in a FAQ!