Slow system performance detected.. a call into the windows api took too long recently and led to a game slutter

Environment questions

**GTA V version: latest
**Up to date: yes
**Legit or Pirate copy: legit
**Purchased Steam
**Windows version: 11
**Did you try to delete content_index.xml and try again? yes
**System specifications: rtx 4070ti, i9-13900k, 32gb ram
**CitizenFX crash zip file (‘Save information’ on a crash): its a notification not crash
**logs/CitizenFX_log files: its a notification not crash
.dmp files/report IDs:

Important parts

What is the issue you’re having?
ONCE I TURN ON FIVE M A NOTIFICATION ON THE BOTTOM LEF TOF THE SCREEN APPEARS WHICH SHOW THAT A CALL INTO THE WINDOWS API TOOK TO LONG RECENTLY … AND MY PC SPECS ARE VERY GOOD SO HOW CAN I FIX THIS ISSUE.
thats what i get attached as image.
as well as the game slutters

What are you trying to do?
playing with not slutters
What have you tried already to fix the issue?
deleted five m and reinstalled, updated windows to latest versions as well as the gpu drivers, verified files integrity on steam
Error screenshot (if any):

What did you do to get this issue?
no thing just lauch five m
What server did you get this issue on? Be specific and name some, ‘all of them’ by itself isn’t useful!
in the client i get the notification, and in game it slutters bo matter the server, but i usually play blaine county


Additional comments no

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

The first thing you should do is what the message says on the bottom line, close any software running in the background that may be taking up resources; in particular, pay attention to any antivirus or firewall software if you’re using third-party solutions. Further, monitor the PC component temperatures while playing and make sure they’re not overheating.

its not for sure and i dont have any anyvirus rather than windows

is the part that’s left, make sure to do so.

my pc is good its some other thing

It’s most likely not; if it was caused by FiveM, we’d be seeing a load of reports here and, while there was an uptick of “bad FPS” posts in the last few days, it’s by far not spread and could very well be a coincidence of some kind. Be sure to shut down the background apps and see if that fixes it.

As was already stated this is a common issue where your pc doesnt handle fivem well. There are fivem settings you can click as well to help optimize your game to prevent issues like this. Before you join a server click the settings icon on top right and go through them all.

can you send the settings please ?

its a slutter not bad fps which my fps drops down from like 100 to 20 and goes back directly to 100 which causes slutters in game

can you send the settings please ??

Stutters can be caused by a lot of things, which are in the absolute majority of cases client-sided (i.e., happen because of something going on with your PC while you’re playing). The fact that, like you mentioned, the stutters happen regardless of which server you’re on, indicates a PC performance issue leading to the lag.
That said, try doing what Vanionn66 said, and I recommend going through the GTAV game settings - especially the Graphics tab - and lowering them from what they are right now. There’s countless videos online that explain what each setting does and how impactful it is on performance, so if unsure, be sure to watch a few for help.