Question / Help OBS stuck at 20fps

Yazukai

New Member
First off let me start by saying I use a 2 pc setup for streaming, one dedicated to the game and one dedicated to the stream.

my gaming pc runs perfect fine and averages about 144fps in PUBG. My streaming pc captures everything at 60fps but OBS is only outputting at 20fps with a very very small flux of 1-2fps. I've changed bitrates, CPU presets, uninstalled and reinstalled, turning if off and back on again, updating drivers and hardware but nothing seems to work. Here are the logs from my most recent stream: https://gist.github.com/anonymous/d2b5882d48dfa90be9a35e67766e15d9

Any idea on how to fix this issue?

EDIT: I know my logs say Game DVR is turned on, but under the settings everyting is grayed out with red text saying something like "your PC does not have the hardware capabilities to use Game DVR"
 

SumDim

Member
Your bottleneck is in audio processing that is adding almost a 1 second delay:
08:52:38.020: Max audio buffering reached!
08:52:38.020: adding 917 milliseconds of audio buffering, total audio buffering is now 960 milliseconds

Likely because of the audio filters you are using:
08:52:37.188: - source: 'MIC' (wasapi_input_capture)
08:52:37.188: - filter: 'Compressor' (compressor_filter)
08:52:37.188: - filter: 'Noise Gate' (noise_gate_filter)

08:52:37.188: - source: 'Mixed sound' (wasapi_input_capture)
08:52:37.188: - filter: 'Noise Suppression' (noise_suppress_filter)
08:52:37.188: - filter: 'Gain' (gain_filter)

Make sure you are running current audio drivers for each audio device.
Try disabling these filters one by one to see if it improves FPS.

If it does help, then you can replace the software filter in several ways.
- Get a stronger CPU to handle the audio processing load. Your i5 2400 is not very powerful.
- Purchase a mic that has audio volume (gain) dial. This avoids having to use software filter to enhance it.
- Reduce noise coming into the mic by purchasing a wrap around mic shield that has foam absorption
- Relocate to another less noisier room
- Use audio sound foam panels on the walls to dampen
 

Harold

Active Member
SumDim, that's wrong. It's not audio that is having the problem

09:11:36.046: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 37464 (66.8%)
09:11:36.056: ==== Streaming Stop ================================================
09:11:36.057: Video stopped, number of skipped frames due to encoding lag: 7085/55960 (12.7%)

It's everything else.

Also
Whoever told you to enable opencl with advanced encoder commands should be COMPLETELY IGNORED for future advice. All it does is reduce stability in computers for no performance gain.
 

SumDim

Member
"Also Whoever told you to enable opencl with advanced encoder commands should be COMPLETELY IGNORED for future advice. All it does is reduce stability in computers for no performance gain."

Harold, I never told him this. You might want to re-edit your comment so its directed at Yazukai so he picks up on it because the way it reads, it sounds like an extension of you talking to me.

Regarding audio issue:
You cannot assume that audio is not part of his many problems. He is maxing out his audio buffer and that can be a separate issue outside of video rendering. Both audio and video run on their own separate threads. Each writes to the log file separately. Audio buffering is added on the fly due to audio sources not keeping up to the tick. What's causing his audio issues can be visited by removing filters to see if that helps solve his problems. Video rendering is a whole different issue.
 
Top