Could someone explain to me why I'm missing frames due to rendering lag?

ganja_haze

New Member
My specs are:

CPU: AMD Ryzen 9 3900x 12core/24threads - 4.2 GHz per core
RAM: 32GB DDR4 - 3200MHz
GPU: XFX AMD 5700XT THICC III ULTRA

I usually always miss frames while streaming due to rendering lag, and it isn't a lot. It's always less than 0.1% so I never worry about it, but this time I was just testing my OBS settings via a recording and wasn't even streaming and I still missed 12 frames in a 5 minute period. This absolutely should not be happening with my specs.

I can usually stream in x264 medium without an issue (still less than 0.1% missed frames), so the fact I still missed frames in very fast is concerning to me.

Please advise, and thank you in advance.
 

Attachments

  • 2021-03-25 19-06-42.txt
    17.1 KB · Views: 17
Last edited:

roughnecks

Member
I'm using GTX 1660 and a Ryzen 5 2600X and just by switching scenes while recording - no game running - I have 0.1% rendering lag and encoder overload.. So yeah, you're not alone.
 

Michael Berry

New Member
In my experience this is because your GPU is getting overloaded. I'm not familiar with amd as much but I see an error on the logs that AMF isn't loading. Also what does your GPU look like in device manager? Is it working hard? I think you can use gpu-z too. It's been awhile since I've dealt with these issues.
 

FerretBomb

Active Member
19:27:09.290: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 12 (0.1%)
This few lagged frames really is a non-issue.
This can be caused by simply starting a game, which will try to load all of its textures/assets into VRAM. As OBS handles all its rendering in VRAM with GPU acceleration, the loading of game-assets can bottleneck the PCIe transfer bus, so OBS can't load everything it needs in time, and so the frame render gets delayed. Browser Sources are pretty common to have this happen, as they tend to be sizable and high-framerate. Large-resolution webcam sources can do it too... pretty much anything that needs to send a full-size frame every frame can contribute, and the game load-in just creates a 'traffic jam'. Same with between-level loads.
You can have the best specs in the world, and depending on your settings and setup still run into problems. Doesn't matter if you paid a lot. A $10M supercar can drive really fast, but is reliant on the driver to do so.

But yeah, generally anything under around 0.1% can safely be ignored as being minor hiccups.
 
Top