Jarrrk / HighLife

Open source feature configuration and issue tracker for the FiveM server HighLife Roleplay
https://highliferoleplay.net
70 stars 45 forks source link

Major stutters, very noticeable while in PD chases. #6600

Closed tricksta1 closed 2 weeks ago

tricksta1 commented 1 month ago

Steam Username

zTricksta

What happened?

Many times while we are in PD chases, WE (BCSO) notice a large stutter while in the chase, and depending on the location, this can lead to a complete loss to the chase due to not knowing what direction the suspect went during the stutter, it appears at the suspect we are chasing is completely fine and doesn't have the stutter as they always manage to just vanish, but our entirety of PD units on the chase were affected.

Not sure if you are going to need log files, I have simply started asking people from BCSO to provide me clips of these instances, and will continue to provide as much detail as I can.

For what its worth, this issue was happening prior to the server migration to the US as well, so I don't believe that to have made an impact.

The big picture for me here isn't the fact that we lost the suspect, ain't nothing wrong with taking an L, but we are taking a loss by something that wasn't preventable by us, as well as it feels like this happens in almost every chase we get into.

I don't believe these to be normal "head issues" due to people having not the best computers or network.

Expected result

No stutter causing loss of suspect.

Reproduction steps

  1. Get in a chase with a suspect
  2. Suspect leads you on a chase for a while
  3. Major stutter happens and suspect has poofed.

Importancy

Slight inconvenience

Additional information

https://medal.tv/games/gta-v/clips/hYu8VqxiWWgh5aPcf/d1337qr9bTPc?invite=cr-MSxSRnQsMTkxNDAxMTI3LA

https://medal.tv/games/gta-v/clips/hZkr1v8KRsxuzWBIc/d1337EGd0lCQ?invite=cr-MSxqV3YsNTUwNDYzNjMs

https://medal.tv/games/gta-v/clips/29N28knzevapgk/d1337szhc0sW?invite=cr-MSxkekssNTUwNDYzNjMs

A very severe one: https://medal.tv/games/gta-v/clips/28Vij87rzzDLMg/d1337UZ191b7?invite=cr-MSxqMEYsNTUwNDYzNjMs

Jarrrk commented 1 month ago

Aware of this, I enabled profiling yesterday.

Hit F8 -> profiler record 500, wait for it to finish profiler view, wait for it to open and find the download profile button and submit it here, should be a json file.

Do this when the performance is degraded, it will let me know what's going on. I assume some specific PD function, maybe group blips, has a memory leak.

SupperRobin6394 commented 1 month ago

image

Jarrrk commented 1 month ago

@SupperRobin6394 do as it says.

tricksta1 commented 1 month ago

Files are too big to upload here, so I've utilized dropbox. I'm not sure how helpful it will be, as I would be starting the profiler just after the major stutter happens, as I can really predict when they will happen, and I imagine you are wanting the profiler to catch it actually happen. - - - Actually, I assume I can just start the profiler with a longer timeframe before every chase. and then provide that, just that the files itself will be MUCH larger.

JSON Here

Jarrrk commented 1 month ago

Ok. Based off of that, I've fixed a memory leak, which is nice.

You'll need to do it again, after the next restart given the server has ignored profiling mode completely.

tricksta1 commented 4 weeks ago

Here is another one immediately after a huge stutter. JSON Here

Jarrrk commented 3 weeks ago

@tricksta1 try get another one now, might've fixed with this last update

tricksta1 commented 2 weeks ago

JSON Here

Immediately after one happened.

Jarrrk commented 2 weeks ago

Nice trace.

Appears vehicle stancing is the main cause, that and some routine hud draw calls.

F1 -> Settings -> Performance Mode will essentially soft-fix this for now.

tricksta1 commented 2 weeks ago

JSON HERE

Had one happen today again.

tricksta1 commented 2 weeks ago

JSON HERE

another