Question / Help FPS on OBS extremely low, high in-game

Zak32

New Member
Hi guys,

First ever post here but having some major issues with OBS (or my PC?).
Before starting, here's my basic PC specs:
Motheboard: Asus Pro Gamer Z97
CPU: i7-4790k
RAM: 16GB
GPU: GTX 1080
OS: Windows 10 Pro

So basically, my issue is that when I'm playing games, the FPS in-game is perfectly fine but the FPS that's shown on OBS (and streamed to my viewers) is extremely low, sometimes going down to 15-20. You know what's strange though? I don't even have to be live, the FPS is low the second OBS starts capturing a game, whether I'm live or not, which surely (to me) means that it can't be a hardware issue as OBS will use barely any resources until I press that start streaming button, right? Which also means it's nothing to do with any settings on OBS, especially since I haven't changed anything and it's worked fine before.

As an example, I could stream PUBG on high settings at around 50-60 FPS (on OBS) until suddenly one day I noticed that my streams seemed to be a bit laggy and realised OBS wasn't capturing properly. From what I remember, the only things I changed on my PC around that time were a graphics driver update and getting a new monitor. Everything was fine after the new monitor, but I don't remember exactly when it all started playing up, so not sure if the graphics driver had any affect really? I've tried downgrading my graphics driver as well, but that didn't help.

Here's a brief list of other things I've tried but had no success with:
  • Using a single monitor
  • Downgrading OBS
  • Windows updates, virus scans, cleaning system etc.
  • Full uninstall of OBS (removing residue files) and reinstall
  • Changing bitrate, encoder, scaled resolution etc. (which like I said before, won't really make a difference anyway until I actually start streaming, but my issue is before that)
  • Full uninstall of graphics driver and reinstall
I think that's it so far, I haven't tried any other streaming software yet (since I like OBS and don't really want to have to use something else). I also haven't tried a fresh install of Windows, but that's kind of a last resort.

I've also done hardware tests on my RAM, GPU and CPU and there's been no errors, everything passed.

There are two things to note which have made a difference:
  • Turning on V-sync in some games, this was suggested by someone on reddit and surprisingly I could actually see an FPS increase, and in the menu of PUBG it was at 60 FPS until getting in-game, where it dropped back to like 20. I streamed a game called Human Fall Flat a few times and it's not a graphically heavy game at all so naturally it was at a high FPS, however with V-sync turned off I could see the FPS on OBS drop by 4-5. With it turned on it was a smooth 60 at almost all times. I don't really understand why V-sync being on seems to half solve it??
  • Turning my settings on heavier games (like PUBG) down to low. I've been able to stream PUBG again by having the settings super low, and streaming it at around 45-60 FPS depending. It runs on my PC perfectly fine though. Remember, I used to be able to stream PUBG on high settings, so why can't I now? Although, just the other day (after the most recent OBS update on the 23rd), I can't even stream it on low now, it barely reaches 30 FPS. So I downgraded to what I was on before, but it didn't make a difference.
Half of me says it's something on my PC that's gone wrong, like a driver or some update and a clean install of Windows would solve it.
The other half of me says my CPU is dying, but if it was, that doesn't explain how I can run really high end games on max settings with no FPS issues at all. Although I suppose streaming uses a massive amount of CPU and gaming doesn't always, so maybe it's only half dying? Except it passed all CPU tests...

I'm at a loss, honestly, I desperately need some solution to this, it's annoying as hell that I can barely stream any graphic heavy game anymore.

Sorry for the huge wall of text, hope someone has some good ideas.

Thanks,

Zac
 
If you wan't to understand rendering lag / fps drops in OBS, you can read 4.1 here:
https://obsproject.com/forum/threads/common-mistakes-and-how-to-avoid-them.78116/

Short version: You need to limit your ingame FPS to a value, that your GPU can handle without maxing out at ~99% GPU load.
OBS renders the scene and scales it down via GPU, so a few percent of GPU power must be available, so that OBS can do that fast enough.
If games are allowed to run with unlimited (or extreme high) fps, it can happen, that the OBS renderer gets choked and loses frames.
 
If you wan't to understand rendering lag / fps drops in OBS, you can read 4.1 here:
https://obsproject.com/forum/threads/common-mistakes-and-how-to-avoid-them.78116/

Short version: You need to limit your ingame FPS to a value, that your GPU can handle without maxing out at ~99% GPU load.
OBS renders the scene and scales it down via GPU, so a few percent of GPU power must be available, so that OBS can do that fast enough.
If games are allowed to run with unlimited (or extreme high) fps, it can happen, that the OBS renderer gets choked and loses frames.

Interesting, I'll take a look later on today and see what I can do.
Although I've never had to change any settings like that before, so it doesn't really explain why it suddenly stopped working...
But I'll give it a go anyway and post back here once I see if it helps or not, thanks for the quick reply :)
 
Rendering Lag has been an common issue that has been popping up for a lot of people lately, and the most likely reason for that is because the Fall Creators update has been pushed to everyone. CU and FCU changed how the GPU interacts with OBS.

The biggest changes were Game Mode and the forced Full Screen Optimization mode, you have to Disable Fullscreen Optimization manually now.
 
Rendering lag is not affected by switching from x264 to NVENC, so it seems, that your issue was different (maybe encoder overload).
 
In fact, switching to NVENC increases Lagged Frames as your OBS GPU usage will skyrocket to over 15% instead of the usual 3-5% (Depends on Output resolution and FPS)

If you don't believe me switch to NVENC and open up your Task manager, press Record. If you use QuickSync the GPU usage will split between your GPU(Rendering) and your iGPU(Encoding) as seen by the GPU 0 and GPU 1 GPU usage in task manager.

GPU usage on an iGPU from QuickSync is close to 50-70% sometimes, it will even overload if your settings are too high. It's not good for 1440p60 recording, I can tell you that much
 
Last edited:
Switching from x264 to NVENC only increases my GPU load only 1%.
Make sure, you measure this while using the same GPU pstate / clockrate (because in 2D clockrates, a small load will result in high percentage, which drops to low percentage, after the GPU increases to 3D clock rates) and disable VRAM downclock via Nvidia Inspector.
@default the GPU Memory will downclock to P2 state, when using NVENC or CUDA, which can have some impact on your ingame performance.
 
Rendering Lag has been an common issue that has been popping up for a lot of people lately, and the most likely reason for that is because the Fall Creators update has been pushed to everyone. CU and FCU changed how the GPU interacts with OBS.

The biggest changes were Game Mode and the forced Full Screen Optimization mode, you have to Disable Fullscreen Optimization manually now.
I didn't even know fullscreen optimisation was a thing in a Windows 10, let alone the fact the Fall Creators update went and messed things up (not surprised really). I'll see if I can disable it anyway, thanks :)
 
I didn't even know fullscreen optimisation was a thing in a Windows 10, let alone the fact the Fall Creators update went and messed things up (not surprised really). I'll see if I can disable it anyway, thanks :)

Before FCU when you turned off the Xbox Game Bar it turned off Full Screen Optimization as well, now you have to go to the exe's compatibility properties and disable it. This fixes issues for some people, in some games, I believe Overwatch is one of them.

You can fully disable Game Mode in the registry

https://www.addictivetips.com/windows-tips/disable-game-mode-in-fall-creators-update-windows-10/
 
So I'm using PUBG as my test subject, I turned off Full Screen Optimisation and also disabled Game Mode in the registry. These didn't make a difference.

I limited the FPS of PUBG to 60, it was at 1000 in the config files. This seemed to make a small difference in the menu, but not so much in-game while playing on low settings. When I changed it to high settings, it lagged like crazy on OBS, at around 10-15 FPS. I used to be able to stream PUBG on high, while having stable FPS in-game and OBS FPS being at around 45-60 depending on what was going on.

I mean I've never had to mess around with these settings before so I don't see why it'd make a difference now, unless I can stream it on high and have OBS at average 50 FPS, I won't be sure that it's fixed. And I'm not gonna set PUBGs FPS limit to like 30 just to fix this. It worked before perfectly fine and it's irritating as hell :(

If only I could have a separate stream PC, a man can dream.

EDIT: I also won't be around to do any more testing this weekend, so if you guys have any more ideas do let me know and I'll mess around when I'm back, thanks
 
So I did some tests as well with PUBG, we pretty much have the same PC except I have a 1080Ti.

I have everything on Ultra(Post @ Med), 1440p @ 120% Screenscale, FPS Uncapped, everything I can to increase my GPU usage as much as possible.

I did a full match recording at 4000Kbps 720p60 Very Fast, I lagged 1 single frame out of 120000.

D3GjOr0.jpg



I even tried to poke the bear and increased my Output resolution to 2560x1440, OBS is taking the GPU it needs from PUBG

swoyibD.jpg


So even with PUBG going ham, OBS is still rendering without lag. Sure, I have a 1080ti but my GPU usage is pegged at 99%, when OBS's GPU usage goes up, PUBG's goes down.

So the question is why do some people get lagged frames and others don't?

Things I've done:

1. Disabled Game Bar
2. Disabled Game Mode in the registry.
3. Disabled Fullscreen Optimizations on TslGame.exe (On or off it doesn't change anything)
4. Disabled Fullscreen Optimizations on OBS64.exe (On or off it doesn't change anything)
5. I don't have Geforce Experience
6. No Webcam
7. No Display Capture source
8. I'm on Fall Creators Update
9. I don't have a web browser open (Can be a real GPU pig if watching a Twitch stream)

When do I lag frames?

When a Twitch stream is also running in the background, the 10% GPU it uses pushes OBS into a lag fest.

WrKBJk2.jpg
 

Attachments

You're right, tested it myself. No matter if I got this forum opened or nothing. No lagged frames for me in PUBG, even with 100% GPU load.
Strange.
 
That text file doesn't mean a huge amount to me, but yes, I should be able to do exactly what you've done as well (DEDRICK). As I've already mentioned, I've never had to mess around with any of these settings before, it just suddenly stopped working properly one day and I have no idea why.

Usually when I stream, I'll have PUBG open on one monitor, and on my second monitor I'll have OBS open and my own Twitch stream (on 140p) and my chat. Never had issues with that before though. When testing yesterday I only had OBS open, no streams or web browser. Both monitors are 144hz btw.

I was fairly confident in limiting the FPS on PUBG to reduce GPU load, thought it would solve my issue, but it didn't make a huge difference really.

Any more ideas? I'm at a loss but something obviously changed on my PC and messed up my streams. I can stream any games that aren't graphically heavy also, stuff like Binding of Isaac, emulated games, Jackbox Party etc. but anything that requires heavy graphics seems to kill OBS.

I can provide a log file if you want, but how do I go about doing that? Do you want me to basically open OBS and PUBG, record it for a while, stop recording and give you a log file? Can I grab it from the tools menu or something?
 
Yup, you can record a match then at the top under Help>Log Files you can upload current log and paste the URL it gives you. Make sure you have your Recording on "Use Stream Encoder"

Logs give a breakdown of your PC hardware, scenes/sources, settings and how each session went performance wise for the renderer/encoder. They're useful for seeing if maybe something not thought of could be causing issues.

That's one thing I don't have though, 144hz monitors, both mine are 1440p 60Hz. Here's an out of the box thought, what happens if both your monitors are set to 60hz (for testing purposes, I can't really think of a valid reason)
 
Last edited:
Alright, when I'm able on Monday after work I'll do a recording and grab a log file for you. After that I'll test the monitors on 60hz and see what happens, worth a shot
 
I am having the same issue on a dual PC setup. I have my games full screen being captured by game capture in OBS on my gaming PC and am projecting it to my "third" monitor that is my capture card which is what people on stream will see. I am getting high fps in game but in OBS on my gaming PC i am getting 20ish fps. My gpu usage is also at 99% playing over watch which is what I am guessing is causing the lag in obs while if I stream, cuphead there is no lag.

This is all n a 1080ti which is rather disappointing. Is it a bug or just what happens?
 
Back
Top