Question / Help Let me try this again. OBS won't stay consistent 48/60fps no matter what game I play-streaming/rec.

Dylnn

New Member
This is an update of my last post which really got no help at all and i've been sitting here trying out everything I possibly can trying to figure this out. Ill post 2 logs below all RECENT. One for streaming, and one for recording even though I don't record my gameplay (this was purely to test out if I have the same issues, and sure enough I did.)

Older post can be found here, even though I don't know why you would want it: https://obsproject.com/forum/threads/obs-doesnt-stream-at-a-consistent-48-60-fps-in-any-game.74239/

"I am looking for any help I can get on this issue of mine, I tried looking around earlier to see if someone had the same problem as me and I couldn't really find anything.

So I stream usually at 60 fps but recently that will dip and go to around 35 - 50 fps consistently. This has never happened before, so if 60 fps doesn't work I will drop it to 48 fps because it still is pretty fluid on stream. The same issue occurs and it will drop to around 30 fps and jump back up for no reason at all, and it happens with any game I play. This started happening after I picked up a new Logitech c922 webcam.

I use the NVENC Encoder for OBS since x264 pushes my CPU pretty hard, even at veryfast. And I have the upload capable of doing high quality 720p streaming (I stream at Twitch max upload of 6 mb/s or 6000 kb/s) with 60 or 48 fps depending on the game.

**EDIT**: Even with x264 as the encoder it still WONT stay consistent at 48/60. So it isnt just NVENC.

OBS/PC Specs and Settings

CPU: Intel Core i5-4690k (Overclocked at 4.3 GHz)
GPU: Gigabyte GTX 960 (Overclocked out of the box + small overclock on Gigabyte OC GURU)
RAM: 16GB Crucial Ballistix (clocked at 2000 MHz)
MOBO: GA-Z97X-SLI
PSU: Kingwin ABT-850MM 850w

D/L Speed: 100 MB/s
U/L Speed: 10 MB/s

Video Bitrate: 6000
Encoder: Hardware (NVENC)
Output (Scaled) Resolution: 1280x720
Downscale Filter: Bicubic
FPS: 48/60"

And for the guy going around posting the same "fix" on other peoples threads. I have done EVERY fix you have listed and the problem still persists, please do not post that fix on this thread, it doesn't help me at all. I can guarantee you my GPU isn't being MAXED out, because these settings use to work before and NEVER dip below 48/60 or whatever FPS I set to capture at.

Log files are below, please only post help if you actually take a look at the log files.
 

Attachments

  • 2017-09-13 16-20-06.txt
    50.5 KB · Views: 38
Last edited:

c3r1c3

Member
Listed below in order of importance. Do each step and then test to see if your issue is solved. If not, don't undo the previous step, instead go to the next step:

1. Turn off game mode in Windows 10.
2. Attach both Monitors to your NVidia GPU.
3. Run GPU-z and post a screenshot of the first tab.
4. Run CPU-z, check the Memory tab and make sure that it says in the channel box "Dual".
5. H1Z1 is a horribly optimized game. You might have to turn the settings in the game down a touch to allow OBS to work (OBS composites and does those FX - Like the Chroma Key- on your GPU, so you need to leave a bit for OBS to work).

Side issue: I see that you're running OBS as administrator. I also see that OBS is having trouble capturing H1Z1. For some reason the capture keeps being stopped. You'll want to fix that. Check the other forum posts about dealing with issue.
 

Dylnn

New Member
1. It does seem that game mode was on. I have turned it off.
2. Unfortunately, I cannot attach my 2nd monitor to my GPU. It is hooked via VGA and my GPU doesn't have a VGA input.
3.
rwE1KYu.png
- Screenshot of GPU-z
4. The tab says Dual.
5. I have H1Z1 turned down to lowest settings on pretty much every option, except for models/texture which is turned to medium/high. I get 95 - 130 FPS and it never dips below.

I was told to run OBS in admin mode, do you recommend that or no @c3r1c3
Also is it possible that when I alt+tab out of the game it comes up with that capture being stopped? If not I will see on how to fix it any other way I can.
 

c3r1c3

Member
Running OBS as Admin is a 'good thing'.

To eliminate #2 from the equation, try disconnecting the monitor attached to your Intel GPU and see if that clears up/helps the issue. If it does then at least you know what the source of the issue is and can address it at your convenience.
 

Dylnn

New Member
Running OBS as Admin is a 'good thing'.

To eliminate #2 from the equation, try disconnecting the monitor attached to your Intel GPU and see if that clears up/helps the issue. If it does then at least you know what the source of the issue is and can address it at your convenience.

Alright I have set up my 2nd monitor on my actual nVidia GPU. I will let you know if the issue persists.
 

Dylnn

New Member
Running OBS as Admin is a 'good thing'.

To eliminate #2 from the equation, try disconnecting the monitor attached to your Intel GPU and see if that clears up/helps the issue. If it does then at least you know what the source of the issue is and can address it at your convenience.

It seems like my GPU is getting maxed out. Which is really weird since I have been able to do 60 in the past just fine, but now that seems near impossible, and the webcam doesn't help unfortunately. Any way I can reduce this load when gaming/streaming? I know lowering graphics quality helps a bit, but even when doing that it will still hit max load. I even got rid of the overclock and it still is having max load issues.
 

c3r1c3

Member
Hmm.. you don't have a lot of sources and the ones you do have don't have very many filters, so I doubt it's OBS' compositing/filtering per se...and while a GTX960 isn't a powerhouse it should be able to do this...

Okay try this:
1. Clean GPU driver install: Perform a clean driver installation for your GPU by following the instructions at http://obsproject.com/forum/resources/performing-a-clean-gpu-driver-installation.65/
2. After you do that make sure that Shadowplay is disabled, and the Windows 10 GameDVR is disabled.
3. If 1 & 2 don't help, then try dropping the fps of your webcam to 30.
 

Dylnn

New Member
Hmm.. you don't have a lot of sources and the ones you do have don't have very many filters, so I doubt it's OBS' compositing/filtering per se...and while a GTX960 isn't a powerhouse it should be able to do this...

Okay try this:
1. Clean GPU driver install: Perform a clean driver installation for your GPU by following the instructions at http://obsproject.com/forum/resources/performing-a-clean-gpu-driver-installation.65/
2. After you do that make sure that Shadowplay is disabled, and the Windows 10 GameDVR is disabled.
3. If 1 & 2 don't help, then try dropping the fps of your webcam to 30.

I have performed a clean driver installation, made sure shadowplay and Windows 10 GameDVR are both disabled. I am gonna try and keep the Cam FPS at 60, if the issue still persists I will turn that down to 30 and see if that fixes it. I will post again when I get results.

**EDIT** - Same issues still occur, even when turning cam FPS down to 30. @c3r1c3
 

Attachments

  • 2017-09-13 22-36-36.txt
    25.6 KB · Views: 17
Last edited:

c3r1c3

Member
In the latest log you posted I noticed a new monitor (3rd?) attach to your Intel GPU. When running all of these tests and whatnot did you disconnect the monitor attached to the Intel GPU? Or if you did and you're getting a 'phantom' monitor, can you disable the Intel GPU and try again?

Also of note from your log last is that dropping your webcam from 60fps to 30fps reduced the lagged render frames from 6.7% to 1.2%.

Lastly you're running at 60fps (or 16.66ms per frame), and OBS isn't getting the data from your GPU in time. It's taking 23.7ms to just get the frame from the GPU, and when you have to do everything in 16.66ms that's gonna cause issues.

So what does this mean? Well it doesn't look like your GPU is overloaded (it's only taking 0.4-1.2ms to render what OBS is giving it), but something is causing serious congestion on the PCIe bus. Hopefully it's the Intel GPU...and if not we'll continue forward.
 

Dylnn

New Member
In the latest log you posted I noticed a new monitor (3rd?) attach to your Intel GPU. When running all of these tests and whatnot did you disconnect the monitor attached to the Intel GPU? Or if you did and you're getting a 'phantom' monitor, can you disable the Intel GPU and try again?

Also of note from your log last is that dropping your webcam from 60fps to 30fps reduced the lagged render frames from 6.7% to 1.2%.

Lastly you're running at 60fps (or 16.66ms per frame), and OBS isn't getting the data from your GPU in time. It's taking 23.7ms to just get the frame from the GPU, and when you have to do everything in 16.66ms that's gonna cause issues.

So what does this mean? Well it doesn't look like your GPU is overloaded (it's only taking 0.4-1.2ms to render what OBS is giving it), but something is causing serious congestion on the PCIe bus. Hopefully it's the Intel GPU...and if not we'll continue forward.

I attached a "phantom" monitor on the Intel GPU to see if using the Quicksync Encoder would make any difference, and the setup for quicksync is kinda janky. The same issues were still happening so I disconnected that 3rd monitor.

Also, would putting the GPU into a different PCIe slot make any difference? Or no.
 

Dylnn

New Member
It seems I have fixed the issue. I will post my solution here for anyone else who seems to have had the same problem I did.

All I did was unplug the camera from the back of my PC USB slots to the front USB slots. I did a test stream and barely had any drops in frames. I tried the camera then on both 30/60 frames and it worked flawlessly.
Here's a log to see the results.
https://gist.github.com/c95681657c2dce88e00b5ef566411c07

@c3r1c3
 

c3r1c3

Member
Hmm.. usually it's the opposite (moving from front to back fixes issue) but I'm glad you got to the bottom of it and was able to fix it.
 
Top