Bug Report OBS takes up an insane amount of CPU and puts out <10 FPS

Ebear

New Member
So the title is self explanatory. I'm not using anything in particular, settings haven't been changed. Encoding comes from my GTX 970.

OBS itself single-handedly uses up 30% of my CPU (according to task manager) when I have an i7-4770k processor. FPS won't go above 5, audio is fine, however.

Here's a log of the crappy preview: https://gist.github.com/b90b40da7286430be130

If you guys need anything else to get this fixed, let me know.
 

Sapiens

Forum Moderator
I see two big problems. First and the likely cause of terrible performance:

Loading up D3D10 on Microsoft Basic Render Driver (Adapter 2)...

Should absolutely not be happening with a GTX 970 in there. If you aren't able to select your GPU under Settings > Video I suggest doing a clean driver install following the instructions at https://obsproject.com/forum/resources/performing-a-clean-gpu-driver-installation.65/

The second problem is going to cause a ton of audio sync issues. You've configured large enough delays that default 700ms scene buffering time is insufficient. I not sure that a 1500ms global audio delay, plus a 200ms microphone delay, plus a separate delay just for the Elgato, are all necessary. If you're just trying to sync your mic with the Elgato output then only the mic should need an offset to match up.

If you really need to have all of those delays in place then go to Settings > Advanced and bump your scene buffering time up to 2000ms. While you're there turn off the option to sync audio to video time as it shouldn't be needed. If you don't actually need all of the various delays (e.g. just trying to sync up the mic) then changing the scene buffering time probably won't be necessary.
 

Ebear

New Member
I see two big problems. First and the likely cause of terrible performance:

Loading up D3D10 on Microsoft Basic Render Driver (Adapter 2)...

Should absolutely not be happening with a GTX 970 in there. If you aren't able to select your GPU under Settings > Video I suggest doing a clean driver install following the instructions at https://obsproject.com/forum/resources/performing-a-clean-gpu-driver-installation.65/

The second problem is going to cause a ton of audio sync issues. You've configured large enough delays that default 700ms scene buffering time is insufficient. I not sure that a 1500ms global audio delay, plus a 200ms microphone delay, plus a separate delay just for the Elgato, are all necessary. If you're just trying to sync your mic with the Elgato output then only the mic should need an offset to match up.

If you really need to have all of those delays in place then go to Settings > Advanced and bump your scene buffering time up to 2000ms. While you're there turn off the option to sync audio to video time as it shouldn't be needed. If you don't actually need all of the various delays (e.g. just trying to sync up the mic) then changing the scene buffering time probably won't be necessary.

First things first, the NVIDIA GeForce GTX 970 is selected as the video adapter. It's super weird why the card isn't being selected.

As far as the audio delay goes, I got rid of the global offset and set the scene buffer time to 2,000 ms.

I think the real issue as far as the frames goes is more to do with the card not being used when it's already selected.

Here's a log file of a preview after I updated the drivers, changed the settings, etc.: https://gist.github.com/2868fc2bdc5b465974e9
 

Sapiens

Forum Moderator
Did you do a clean driver install following the instructions I linked, using DDU etc.? Also there's still a delay set on the Elgato and you're still force syncing audio to video time.
 

Ebear

New Member
Did you do a clean driver install following the instructions I linked, using DDU etc.? Also there's still a delay set on the Elgato and you're still force syncing audio to video time.

I fixed the delay and did the clean reinstall of the drivers. It's still selecting the Microsoft based driver. The delay still isn't the real issue, though. I need to fix that GPU selection problem.
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
Well that's certainly odd. I'm guessing you had a video device in there that no longer exists? Very strange. First, close obs. Press Windows Key + R and type this in: %appdata%\obs

then open up global.ini, go down to the [Video] section, and set Adapter=0

Then open up obs again and see if that fixes the issue.
 

Ebear

New Member
Well that's certainly odd. I'm guessing you had a video device in there that no longer exists? Very strange. First, close obs. Press Windows Key + R and type this in: %appdata%\obs

then open up global.ini, go down to the [Video] section, and set Adapter=0

Then open up obs again and see if that fixes the issue.

Thanks! That worked. Not sure why I had to do that, but everything is good now.
 
Top