Question / Help Encoder Overload With No Changes to Settings

Techno_Babble

New Member
I recorded a bunch of gameplay using different encoders and settings for a comparison, then on my dedicated encoding machine (which has NO background software running, ONLY OBS), not 15 minutes after recording a clip with no skipped frames, the same settings are now maxing out CPU usage and causing anywhere from 10-30% of frames to be skipped or delayed. It's running a 720p60 recording on x264 with the "faster" preset on a quad core i7.
 

Attachments

You are also lagging frames, which shouldn't happen on a dedicated PC.

i found a bug last night with NVIDIA GPUs that causes OBS to drop from 3D Clock speeds to 2D clock speeds.

Goto your NVIDIA control panel->Manage 3D settings-Power Management and change it from "Optimal Power" to "Prefer maximum Performance".

More info on the bug:

When you launch OBS, the GPU clocks up from 2D clock speeds to 3D clock speeds, as intended.

When "Optimal Power" is on, it then drops from 3D back down to 2D clock speeds, causing an massive increase in reported GPU usage.
When "Prefer Maximum Performance" is enabled, it launches and stays at 3D clock speeds.
 
You are also lagging frames, which shouldn't happen on a dedicated PC.

i found a bug last night with NVIDIA GPUs that causes OBS to drop from 3D Clock speeds to 2D clock speeds.

Goto your NVIDIA control panel->Manage 3D settings-Power Management and change it from "Optimal Power" to "Prefer maximum Performance".

More info on the bug:

When you launch OBS, the GPU clocks up from 2D clock speeds to 3D clock speeds, as intended.

When "Optimal Power" is on, it then drops from 3D back down to 2D clock speeds, causing an massive increase in reported GPU usage.
When "Prefer Maximum Performance" is enabled, it launches and stays at 3D clock speeds.
I'm not sure if you misread my post, but my GPU is doing just fine. I'm using x264 and the problem is that OBS is taxing my CPU more than it did just yesterday even though I haven't changed any settings. I haven't updated any drivers and changing the power settings in the NVIDIA control panel doesn't fix the issue.
 
Your GPU isn't doing fine though, you are lagging frames which means the GPU is struggling as well, fix that first then test again. And turn off Game bar, Game DVR and Game Mode. (Windows +i)

09:05:06.530: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 328 (7.6%)
09:05:06.531: ==== Recording Stop ================================================
09:05:06.531: Video stopped, number of skipped frames due to encoding lag: 514/4321 (11.9%)

Lagged Frames = 100% GPU usage
Skipped Frames = 100% CPU usage
Dropped Frames = 100% Upload usage

And get the CoreAudio AAC codec https://obsproject.com/forum/resources/obs-studio-enable-coreaudio-aac-encoder-windows.220/

Download 7-zip
Download Itunes 64bit
Open the Itunes installer with 7-zip
Extract AppleApplicationSupport64.msi and install it
 
Last edited:
Back
Top