CPU spiking for no reason?

Richard Ham

New Member
Hello, if anyone can help diagnose why my CPU is spiking leading to dropped frames more and more, even though I haven't made any systems changes that I can think of, I'd really appreciate it. Here's my most recent log where it happened: https://obsproject.com/logs/FftIzfzK9BC9YuWY Thank you so much for any advice you can give!

I should add i'm only recording a couple of logitech brio webcams and a CJI wireless mic :)
 

qhobbes

Active Member
Start with changing the resolution on your Logitech BRIO back 1920x1080 or smaller. No need for 2560x1440 as your scene is not that large.
 

Richard Ham

New Member
well spotted! i'm actually filming the higher resolution because i'm constantly cutting between a view of the entire table (i film boardgame runthroughs), and zoomed in portions of the table. those zoomed in scenes would be much grainer and crappier if i set the camera to 1080p... i often zoom in to cards with small text, and that needs to be readable.

i've been filming with this higher resolution for months, and it's only recently that i'm starting to drop frames. i guess i could give it up and have unreadable components in the videos, but i'd really rather not! :)
 

Richard Ham

New Member
also, i should add that i get the frame drops just as often on a different scene where only one camera is active and it's the one set to 1920x1080.
 

rockbottom

Active Member
I see your iGPU doesn't support encoding but there was a new driver released a couple of weeks ago (24.1.1) that has worked quite well in other AMD systems. Your graphics driver is over 2 years old/stale, give it a try, at the minimum it should help speed things up on the decoding side.

Some Scenes have multiple Window Captures, only 1 per as they can cause interference.

3500 kbps is a bit low for encoding 1080p/30. The encoder won't have to work as hard @ 4500. Anyway, CRF is the preferred Rate Control for recording.

Audio lag on desktop audio, not enough info/log is incomplete so not sure what's going on there.

A couple of other things to try if lag remains, record to a different SSD. Create a new profile with 1 Scene/Source & test.
 

Richard Ham

New Member
ok will try the encoding changes (had no idea it was more processor intensive to go lower kbps, but now that i think about it, it's obvious!)

i'm recording directly to the computers built in SSD, and don't have an alternate one.
 

Richard Ham

New Member
well i've tried those changes and things have gotten 10 times worse! now the CPU constnatly sticks around 70% and nothing can record smoothly, so i guess i'll go back to what I was using.

Is there anywhere that definitvely lists what the lowest CPU overhead options are for recording just a single webcam at 1080p (best file format, best compression setting, etc.)? because i'm now struggling to even do that, and 4 months ago, this wasn't a problem, and I'm not sure what's changed between then and now :(
 
Top