A very rhythmic micro-stutter

Most important tidbit: It seems to be in sync with heap stats in Console -> enter "showstats" -> go into Heap. This stutter is everpresent, from the beginning of the game and even during pause.
Is it fixable or is it a quirk of the engine?

Win10, Intel i5-4590, AMD rx 560, latest drivers.
Recorded frametimes graph:
1.png
2.png

Things I'd do in this order to find the issue:

  • Reboot PC
  • Try steam version
  • Try FAF version without mods
  • Update drivers, try rollback drivers (GPU at least), these preferrably with display driver uninstaller
  • Update BIOS (or rollback if recently updated)
  • Try fresh OS
  • Try diff OS (e.g. if issues with Win 10, try Win 11 or 7)
  • Start looking at potential HW issues

I've also experienced this and the stutter originates from the garbage collection. We reduced it quite a bit in 2022 and 2023, but we're no where complete. The game creates a lot of garbage that it doesn't have to. And by far majority of it originates from Lua.

It is fixable, but it requires to make various changes that are incompatible with a lot of (UI) mods. And once you go down that route you'll alienate a large chunk of the community.

A work of art is never finished, merely abandoned

Don't think it should be that obvious in frametimes as for the OP?

@jip That sounds like a depressing situation.
But if faf continues to update and improve, perhaps more new mod creators will join in, creating more compatible ui mods, or improving old ui mods to make them compatible with new games.

@giebmasse said in A very rhythmic micro-stutter:

Don't think it should be that obvious in frametimes as for the OP?

That depends on your processor. If it is fast, then you barely notice it and they turn into micro-stutters. A lot of YouTube videos of the game show these stutters.

@zhanghm18 said in A very rhythmic micro-stutter:

But if faf continues to update and improve, perhaps more new mod creators will join in, creating more compatible ui mods, or improving old ui mods to make them compatible with new games.

I'm afraid that we can not base a strategy like this on hope. By alienating the current player base we're guaranteed to lose players and the contributors responsible are also guaranteed to receive quite a bit of flak for it which doesn't quite boost the morale of said contributors.

A work of art is never finished, merely abandoned

I had a 3570k few years back, any microstutters I had were due to SW or HW issues, IMO they shouldn't be that noticeable.
Hence my listed suggestions to test if they can be removed.