Encoder overload whole pc lags when using OBS

Takeo

New Member
so Ive had this issue forever its driving me crazy. Anytime I record in OBS my whole computer lags the game I play drops frames Ive tried so many resolutions but to no avail. any ideas? This is my first time doing a post like this I post a few log files so you guys can see more of the picture.
 

Attachments

  • 2021-03-01 14-41-50.txt
    61.7 KB · Views: 14
  • 2021-03-01 14-38-50.txt
    64.1 KB · Views: 5
  • 2021-02-25 15-47-52.txt
    165.4 KB · Views: 7

FerretBomb

Active Member
Unfortunately none of those logfiles contain a recording or streaming session, so do not have diagnostic data for us to look through. We need a logfile from a streaming or recording session at least 30 seconds in length, when the problem was occurring to be able to troubleshoot.

You do appear to have the StreamElements OBS.Live plugin installed; it is well-known to cause significant issues. All of the OBS.Live functionality can be used in base OBS Studio by using Custom Docks. Not saying it's causing your issue, just that it can cause problems.
We still need the logfile from a streaming/recording session where the problem was occurring to be able to see what's going on.
 

FerretBomb

Active Member
Unfortunately while that contains the start of a recording session, it doesn't have the end (where the diagnostic data about lagged/skipped frames would be, along with the timing tree). If you ended the recording and closed OBS, you can go to %appdata%\obs-studio\logs and grab the same filename, upload it again, and it should have that information.

While you're running OBS as Admin, the GPU workaround doesn't always work... Apex Legends is pretty well-known for being GPU-hoggy. I'd need the logfile to confirm it, but the fix may be to turn down the in-game settings, use a frame limiter and/or vsync to mitigate the game load on the GPU. Again, just speculating on most-common causes, will need the log to confirm or find other causes. :)

You are using the Max Quality and Psychovisual Tuning options, which can cause encoding overload even in situations where it should not. Use the Quality preset instead, and turn Lookahead+Psychovisual Tuning OFF. These all use CUDA cores, and tend to cause random encoding overloads for no good reason.
You're also recording using CBR, which you should not do, and recording to MP4 directly, which you should NEVER do for any reason.

Record to MKV and remux to MP4 if you need it for editing using the OBS File menu, Remux Recordings.
Record using CQP/CRF. These are quality-target based encoder methods that will use as much or as little bitrate as is needed to maintain a given image quality level; no wasting bitrate on slow-motion simple scenes, no bitrate-choking on fast motion/complex scenes. CQP 22 is a good starting point. CQP 16 is effectively visually lossless. CQP 12 should only be used if you plan to edit the video, to minimize re-encoding artifacts. Below 12 should not be used unless you have a VERY specific reason. The lower the CQP number, the better the image quality (CQP is how far the encode can deviate from perfect, uncompressed frames) but the file sizes get huge, FAST.

The CoreAudio AAC encoder would not cause this. It's purely an audio quality improvement over the built-in OBS AAC encoder. If you'd like to install CA, it's quite easy. Here's a guide:
 

Takeo

New Member
Understood! I appreciate you taking the time to write that out. The pc blue screened before I was able to stop the recording ‍♂️
 

Takeo

New Member
does this log file show why my pc just lags and needs to be restarted even without recording or streaming? I have 64 gig ram and a 2080 Super Gpu, everything is on ssd and the system still lags out just from having obs open I dont understand :( I can play games I can do everything but obs makes my pc spaz.
 

Attachments

  • 2021-03-11 13-24-22.txt
    67.2 KB · Views: 3

FerretBomb

Active Member
It does not, no. I'd suspect the OBS.Live plugin; as I'd mentioned before, it can cause weird, random problems. Your new logfile shows it still installed.

I'd recommend downloading the ZIP version of OBS for troubleshooting purposes, and running it in Portable Mode to see if it behaves better with no plugins, and fresh/blank Profile and Scene Collections. If it does, it's something with your installed version... could be a bad plugin, some misbehaving source or corrupted media file. If it still causes the whole system to chug with OBS at square zero, that'd point to an underlying systemic problem that OBS is triggering somehow.
 
Top