CPU Usage - Gaming/Streaming
13900k, 5.5 ghz all core
64gb 6000mhz RAM
RTX 4090 FE
Nvenc Encoder
5140x1400 Gaming
3840x720 Streaming
Windows 11 updated
OBS updated
Any CPU heavy game I need to cap my frame rate or I get massive encoder lag/FPS drop. CS2, Fortnite and MW2 require me to cap my in game fps to 120 hz to stop the encoding drops. CPU usage doesn't appear to balance between cores very well with several sitting with 0% CPU usage in task manager. Is there a way to limit different processes to different cores?
57 Replies
Can you post an OBS log where the lag ocurred
https://obsproject.com/tools/analyzer?log_url=https%3A%2F%2Fobsproject.com%2Flogs%2FEXYZyz29a4QNShKp
Analyzer | OBS
OBS (Open Broadcaster Software) is free and open source software for video recording and live streaming. Stream to Twitch, YouTube and many other providers or record your own videos with high quality H264 / AAC encoding.
that's one from earlier tonight. That's with FPS capped at 120 in MW2 and still dropping like crazy randomly. Stop the stream and reset and it is fine the rest of the night.
The log and the analyzer show that your lag is not from rendering or encoding lag - it's from dropped frames. Those are due to issues with your network connection to whatever services you're streaming to.
If stopping the stream and starting it again fixes the issue, then it sounds like your connection to the streaming service is initially unstable, and stopping & starting it up again seems to try to get you a better route to the stream service's servers
Next time this happens, try monitoring your CPU, GPU ,and network adapter in Task Manager, or preferably in a tool like HWInfo64 or HWMonitor
Otherwise as the log analyzer suggests, you probably want to move the game capture to it's own scene and nest it in your main scene, and do the same for the monitor capture
I'll uncap my frame rate tonight and upload a new log. Also can you explain why nesting the game capture/display capture changes anything. I'm fairly green when it comes to OBS.
GG @_mouf, you just advanced to level 4 !
I don't know the exact technical reasons but if OBE says that don't play well together then I'd trust them
https://obsproject.com/logs/PqIaasI1HMfDxNTL
unlimited FPS in MW2. tops out around 180
says encoder lag and wants a faster preset but it's all the way down to P4....
That log has no mention of render or encoder lag
do I need to stop the stream for it to update the log?
It should update the whole time but may as well try stopping the stream and grabbign the newest log
https://obsproject.com/logs/9SlPismYIM7aBcOk
ended stream and fired back up
Now it's updated
You only have 2.7% frames lost to render lag and another 2.7% due to encoding lag
This is a single PC setup correct?
yeah single PC. yeah it only drops if i unlock the ingame FPS. so I unlocked to get the drops and then relocked it down to 120
you are using nvenc for everything. and doing 4k stream? thats why theres very little cpu usage besides the game.
i would utilize your igpu for the stream. keep the nvenc for recordings, replay buffer etc
once you go towards 1440p or 4k gaming your gpu usage goes higher while cpu isnt used as much