The online racing simulator
Stuttering in game
Hey All,

I've noticed recently the game has started stuttering for me whenever an event happens - someone exits the pits, a new mod is downloaded, someone spectates etc. It happens more often with a server with more people, like Just a Ride.

Is there something that could be causing this or is it just a consequence of a full server with loads of mods being downloaded?

i7 10th gen, RTX 3070, 16 GB RAM. Tried V sync, limiting fps, and also switching v sync off but doesn't help. Game runs more or less at 240-250fps

Thanks!
same thing happens, i minimized it by moving game from hdd to sdd and removing all mods in lfs folder, after some time its happening again.
It sounds like the sort of issue that could happen with a mod that is not well optimised, resulting in a slow build of the in-game model or loading textures or sound files.
changing car and helmet skins to full from compressed did solve it for me when i had that
-
(cuni) DELETED by Scawen : not a good idea to delete all your downloaded mods every time lfs starts
I don't understand how removing all mods from the mods folder would make the game faster. I'd expect it to be slower as the mods need to be downloaded again Uhmm
LFS hasn't changed and this has nothing to do with compressed skins. Mods all come with compressed skins and textures, and downloaded skins are also compressed, so switching that option doesn't affect mods.

I believe the most likely explanation is poorly constructed mods. If you can identify a mod that causes a noticeable stutter when it loads, I can have a look to see what is wrong with it. If it's every time it loads, it's probably a poorly optimised model or some other model issue, or maybe audio files (or something wrong with LFS that mod shows up). If the mod only loads slowly the first time since LFS started, it might be related to excessive textures.

You could possibly identify a mod with such an issue by starting LFS fresh and watching an MPR. When you see a glitch, find out who just left the pits and check out their vehicle name that is shown in F11 or F12 menu. If the same issue happens each time with specific mods you could start to prepare a proper report.

I am very busy and will not get involved unless I am given a definite and reproducible example of a mod that causes a glitch when it loads.

Alternatively there could be a problem with your computer or Windows is checking files that are downloaded or something like that. I suppose in this case the problem would only show up the first time a mod is downloaded, rather than every time it is loaded.

It could be that your mods folder has become huge. You could use the cleanup on the mods screen i game to reduce the folder, or you could delete all the mods in the mods folder to see if it helps (I mean once, not every time you start LFS).


EDIT:

1) Please only report a mod that causes a *bad* stutter or glitch, not just slight ones. I can't emphasise enough how busy I am and don't want to go on a wild goose chase.

2) The new version of LFS spreads out mod loading and creation over more frames so ordinary loading glitches should be reduced. But that doesn't stop me taking an interest in mods that cause an extra bad glitch.
In the server Just a Ride with lets say almost full track of vehicles its happening almost every time someone join a track, i could record it. Im not sure right now but i think i have all mods downloaded already (it shows 1210 folders in lfs/mods).

EDIT:
As by looking at MPR i don't see any lags when vehicle joins track. (with new lfs instance)
Also as playing live not mpr, it happens only when mod leaves for first time, not even if it required to download mod.

LFS on 1 CPU thread, and ssd on lag spike (likely half second lag),
GPU is chilling, CPU overall 4%, ssd active is only for lfs.
Server with 20 players, most likely 10-15 vehicles on track.
Attached images
mod.png
cpu.png
That doesn't sound like anything new. It sounds like the pit-out glitch that has always been there, that I have already worked on in my new version of LFS that is not yet public.

I'm not really interested in the normal small glitches that have always been there and I have already worked on.

The original poster reported something new that has been going on, so that explains the thinking in my previous post.
I will try my best to pinpoint a mod which may be causing this, but the issue is amplified whenever the server is full of people, so it will be difficult to do so. It seems like it's when anyone joins the track, pits, etc. regardless of the mod they choose.
If it's not a particular mod (or some particular mods) then the only thing to do is wait for the big release of the new graphics version.

In the new version:

Only the "physics" part of the vehicle is created when the player leaves the pits. The graphical model is delayed, and only created (on the graphics thread) when that vehicle comes into view. There may still be a small glitch at that point, but it will be less than in the old (current) version because no textures are loaded at that point. The textures are loaded one at a time over the subsequent frames, instead of loading them all at once.

In short, pit-out glitch is a well known and 'ancient' problem that is worsened by some mods, and I've already dealt with it by various means, for this reason. Unfortunately you still have to wait a while before you get the updates.
Thanks for clarifying Scawen! Can't wait.

Stuttering in game
(11 posts, started )
FGED GREDG RDFGDR GSFDG