Question / Help FPS Slowdown in OBS Only

Tooro

New Member
Hi Guys,

I'm beyond stumped for this one. The FPS on OBS gets periodic slowdown/microstutter whether I'm streaming or not. This is a totally new problem and I have zero idea why it's happening. Before I start to ramble, please see log file here: https://obsproject.com/logs/xNxSF0F4jsW_it2f

My PC/Stream Setup
CPU: Core i7-8700k @ 4.8 ghz
RAM: 16 GB
GPU: GTX 1070Ti
SSD: Samsung 970 Pro
Gaming Monitor - 25" Alienware @ 144hz
Secondary Monitor - 27" Dell @ 144hz
Webcams: 2x Logitech C922
Capture Card: Elgato HD60 Pro
Internet Connection: Gigabit Fiber 900mbps down/up
Microphone: AT-2020 USB

My gf and I run a single stream together. We have two webcams side by side and then I capture her gaming footage on a capture, this all gets rendered on my computer and then uploaded. It used to run perfectly smoothly, but lately, FPS starts to randomly drop on OBS. It's strange because it's not affecting any in-game performance or anything else. There are just certain times where the FPS begins to go down. It's never dropped frames, it just goes from like 60 fps down to 35. CPU usage gets to maybe 10% max.

Things I've tried
  • Disabling preview
  • Running just a solo scene where it's my game + webcam
  • Changing bitrate settings/CPU presets/using NVENC
  • Changing monitor refresh rates
I did notice that it stays a very consistent 60 FPS if I alt tab out of the game onto the OBS screen. For example, I toggle auto run in Fortnite, alt tab, hang out on the OBS Window, never drops below 60 FPS. I'm absolutely stumped and whoever can figure this out for me - you're a god amongst men.

Additional Info
Not sure if this matters, but wanted to be as comprehensive as possible. For sound, I'm using VoiceMeeter Banana with a VB-Audio Virtual Cable. I'm capturing and mixing: my microphone, my PC sounds, and Discord.
 
As it's only rendering lag, that is shown in the log file, I suggest, reducing the GPU load, so OBS can render the scene fast enough.
Maybe start with FPS limit at 60. If that's fine, you can incrase the frame limit, until Game+OBS rendering can be done without rendering lag (should be the case, the the GPU is never exceeding 95% load).
Just as an additional tip: Set your webcam to only 30fps. The increased exposure time at lower fps will result in a way cleaner/sharper webcam image.
 
As it's only rendering lag, that is shown in the log file, I suggest, reducing the GPU load, so OBS can render the scene fast enough.
Maybe start with FPS limit at 60. If that's fine, you can incrase the frame limit, until Game+OBS rendering can be done without rendering lag (should be the case, the the GPU is never exceeding 95% load).
Just as an additional tip: Set your webcam to only 30fps. The increased exposure time at lower fps will result in a way cleaner/sharper webcam image.

Really appreciate the response - thank you!
Do you mean limit in game FPS to 60? Also is there a way to see GPU load?
 
Did you sort it out? Because I am having the same issues, just like you described. I never had any issues before so I can't figure out what it is. When I start Destiny 2 on pc, OBS drops a lot of the frames. I have it set to 60fps but when I play Destiny 2, it goes as low as 5fps. So what in the heck is going on here?
 
Really appreciate the response - thank you!
Do you mean limit in game FPS to 60? Also is there a way to see GPU load?
Yes, I'm talking about an fps limit for the game.
With tools like GPU-Z, you can monitor your GPU load. I think the windows taskmanager in the actual Windows 10 builds will also show the GPU load.
 
I am having this issue but ONLY with Spelunky of all things. Every other game I've tried (rocket league, stardew valley, XCOM 2, Battle Brothers, etc etc) works fine. But as soon as I launch spelunky the FPS ONLY in OBS itself jumps all over! From 13 fps to 48 (as I usually use 48). This is definitely not an isolated issue...
 
stuck at this for a looooong while now.
we need to have a way to let OBS have higher priority then the games so we can have a stable 60 fps stream.

this happens due to some windows update screwing around with things.
im still looking into this, NDI did NOT solve the issue.
 
stuck at this for a looooong while now.
we need to have a way to let OBS have higher priority then the games so we can have a stable 60 fps stream.

this happens due to some windows update screwing around with things.
im still looking into this, NDI did NOT solve the issue.

NDI is useful for separating the gaming from the streaming load without using a capture card. It helps if you're using x264 encoding and the machine you're running on doesn't have enough CPU to do the compression and run the game at the same time. It sends a high bandwidth, lightly compressed video feed over the network so the streaming machine can dedicate its CPU entirely to compressing the feed for upload to a streaming service.

It cannot be of any use in the case of GPU overload, since you need to be able to render frames fast enough regardless of whether you intend to send them to the x264 compressor thread on the same machine or send it out to another machine over NDI.
 
I Get what you'r saying but i wasnt like this before Windows 10's latest big update, And since then its like this.
before it used to simply drop ingame FPS due to prioritization, now you have to hard cap each game to the correct limit.
and i use a 165Hz monitor that i'd like to make the most out of.
also, changing the base canvas size from 1440p to 1080p doesnt change a thing.

and the biggest thing is that focusing a different window will usually bring OBS back to the top of the priority list.
there must be a way to make it work like it used to.
 
You've got significant GPU overload. You need to reduce (cap) framerate or visual settings, or canvas resolution.

Balancing load on GPU threads between games and OBS is up to the GPU drivers-- OBS has no way to enforce a priority.

https://glorp.ninja/obslog?url=https://obsproject.com/logs/_HBFwPbOD8ShBn2K

Would there be a reason the GPU is suddenly starting to overload? Used to run fine. I'm using a 1070 GTX Ti.

Trying to play Fortnite at 144hz, V-Sync/G-Sync enabled. Settings are mostly low. Second monitor (1440p) which displays chat etc. is also at 144 hz.

Would upgrading to an RTX fix things?
 
So strange - I fixed my issue....Capped my game FPS at 120 instead of 144 and for some reason that frees up my gpu load to 60ish % instead of the 99% max it was under going
 
not strange at all.
this is exactly the issue, but it will work on certain games, for example i cant play and stream monster hunter world @ 60fps
obs would instantly get GPU bottleneck

all this happened after a certain windows update.
 
gona bump this back up in the hope for some help xD having similar problem except I can only get obs to work if I play at 60 fps.

I have i7 8700 with sli gtx 1070.

I have disabled sli in obs and set the encoder to use the 2nd gpu to avoid this 95% strain but nothing xD help !!!!
 
yeah I thread no one has rely helped on apart from your suggestion, bump an old post with people who has had same issues and they can see and maybe help :)
 
" set the encoder to use the 2nd gpu to avoid this"

Do not do this. It makes it worse. There have already been multiple threads about this.

If you set OBS to use the hardware encoder on a different GPU than the one rendering the game, you just move the bottleneck from your GPU to the PCI bus.
 
Back
Top