• 27000+ Members! Dear Guest, click this link to join the community on the official RaceDepartment Discord server

Assetto Corsa with mini Lags

MajinDane

1RPM
May 7, 2015
5
0
33
Hey guys,
my Assetto Corsa is randomly freezing for 0.1sec after 10-20 minutes playing without any lags.
I play Assetto in High Quality with:
i7 5820K
GTX980 STRIX OC
8 GB DDR4 2400MHz
and it is on a SSD.
Can somebody help me?
 

Si

2000RPM
Premium
Jan 4, 2009
2,920
1,097
I had this and had to remove all mods...like rivali OVI and RSR, now its super smooth!
 
  • Like
Reactions: MajinDane

Dinca Andrei

1000RPM
Dec 22, 2009
1,616
1,181
Try this:
Open the graphics.ini and change MAXIMUM_FRAME_LATENCY from 0 to 1


[DX11]
MAXIMUM_FRAME_LATENCY=1
MIP_LOD_BIAS=0 ; GO NEGATIVE (ie. -1) TO SHARP THE IMAGE
SHADOW_MAP_BIAS_0=0.000002
SHADOW_MAP_BIAS_1=0.000015
SHADOW_MAP_BIAS_2=0.0003
ALLOW_UNSUPPORTED_DX10=0 ; UNSUPPORTED USE AT YOUR OWN RISK
SKYBOX_REFLECTION_GAIN=3.0

graphics.ini location is (by default instalation of Steam ):

C:/Program Files/Steam/steamapps/common/assettocorsa/system/cfg/graphics.ini

 
  • Like
Reactions: MajinDane

tomeee

50RPM
Feb 24, 2015
72
32
31
I had similar freezes (0,1sec every 1-2mins or so), very annoying. I decided to bruteforce the problems away with moving the game from HDD to SSD :)

But yeah, could be also an app-related problem.
 
  • Like
Reactions: MajinDane
Oct 7, 2013
70
11
Use software like MSI Afterburner to monitor your PC and see what's causing it, might be multiple reasons.

1) Low gpu usage when stutter happens (monitor gpu usage on msi afterburner while ingame while stutter happens)
2) Bad drivers installation (try to use Display Driver Uninstaller in safe mode to uninstall the drivers and re-install the latest ones).
3) Software like anti-virus running in the background
4) Other software causing heavy disk usage in the background.
5) Not properly optimized SSD (make sure you run on correct SATA port - 6gb/s on your motherboard) and also AHCI is enabled in bios as well as TRIM support on the SSD.

Try these and report back.
 
  • Like
Reactions: MajinDane

MajinDane

1RPM
May 7, 2015
5
0
33
After reinstalling on HDD instead of SSD it works better but still not perfect.
Looks like the mini-freeze is gone for now.
 

Tardy Tony

250RPM
Mar 11, 2018
312
102
53
I had mini lags, where the image would freeze, but the game would continue to run in the background, often with me in the barriers once the screen caught up. With windows performance monitor I notice HD spikes. I managed to identify certain apps that were causing the problem, but they were the symptom. In the end I found problems some sectors on the hard disk. When that was replaced, all lag gone, regardless of mods or apps installed.
 

MENUUB101

1RPM
Dec 1, 2017
4
0
30
Turning off motion blur worked for me
i ran on 54 fps average without lag spikes
I have an Asus laptop with a somewhat low end specs
 

Kek700

2000RPM
Premium
Mar 26, 2016
2,161
2,251
73
Try this:
Open the graphics.ini and change MAXIMUM_FRAME_LATENCY from 0 to 1


[DX11]
MAXIMUM_FRAME_LATENCY=1
MIP_LOD_BIAS=0 ; GO NEGATIVE (ie. -1) TO SHARP THE IMAGE
SHADOW_MAP_BIAS_0=0.000002
SHADOW_MAP_BIAS_1=0.000015
SHADOW_MAP_BIAS_2=0.0003
ALLOW_UNSUPPORTED_DX10=0 ; UNSUPPORTED USE AT YOUR OWN RISK
SKYBOX_REFLECTION_GAIN=3.0

graphics.ini location is (by default instalation of Steam ):

C:/Program Files/Steam/steamapps/common/assettocorsa/system/cfg/graphics.ini

This worked well for me, still does, when I had this problem.
Plus capping FPS in AC worked very well too
Plus using hardware monitor to check GPU and CPU temperatures.
and limiting the amount of apps I was using but you have already covered this.
 

Zoruzer0

1RPM
May 7, 2018
2
0
I had mini lags, where the image would freeze, but the game would continue to run in the background, often with me in the barriers once the screen caught up. With windows performance monitor I notice HD spikes. I managed to identify certain apps that were causing the problem, but they were the symptom. In the end I found problems some sectors on the hard disk. When that was replaced, all lag gone, regardless of mods or apps installed.
Guys although the problem for these lag spikes could differ, I feel like Tardy here is on the right track. I too was having terrible lag in an online race today. The lag got so bad and I was dropping positions so fast that I just pulled up task manager to see what problems I was having. After ensuring all aspects of my PC weren't bottlenecking me, I too saw my disk usage really night.

After looking into the resource monitor, the main thing I saw taking a whole bunch of disk space, is MsMpEng.exe. For those who don't know this is a core part of Windows Defender security scans and I can almost certainty say this was working up my disk and causing my game to stutter. I've had the same type of lag in the past with other games and past computers all due to disk usage being too high. I hope the thread can be continued and this helps.
 
Sep 26, 2017
197
82
60
Would the game be reading and writing to the hardrive during game play unless you don't have enough ram to run it and windows without it using virtual memory?

I can see a SSD helping with load times but if you have enough ram I can't see how it helps during game play. The only exception I can think of would be if replays are being written to the hard drive during actual driving .
 

Tardy Tony

250RPM
Mar 11, 2018
312
102
53
In my case it was bad sectors on the disk that caused the lag. Replacing the HD solved it. However, during this process I noticed some apps access the disk during gameplay, such as the SRS skins app and SetupMarket. I am sure these apps are not the problem, they just highlighted the problem.
 
Sep 26, 2017
197
82
60
In my case it was bad sectors on the disk that caused the lag. Replacing the HD solved it. However, during this process I noticed some apps access the disk during gameplay, such as the SRS skins app and SetupMarket. I am sure these apps are not the problem, they just highlighted the problem.
Yeah that makes sense