Question / Help Obs Fps counter drops from 60 and stream/preview stutters.

orbo

New Member
I am trying to live stream but Obs is having choppy fps. I am not dropping frames. The actual fps count keep falling and the game cap stutters when it does. My download speed is 500mbps and 50mbps up. I did a test stream for 9 minutes. Here is the link to that log: https://gist.github.com/05588408664fa619690864070b382703

My rig is:

5820k Oc 4.4ghz
GTX 1080
24gb ddr4 ram

My Cpu chills around 40-50 degrees and the GPU is at max 65 under full load.

Here is a video I took at the begining of the logged stream of OBS: https://youtu.be/aYXGCAQy96U

Linked are screen shots of the first page of both GPUZ and CPUZ

CPUID.png
GPUZ.png



I just noticed that the stream was 1080p but it going to be downscaled to 720p when I fix this problem for streaming. It does it even when it is set to downscale.

The game does not have fps drops. It is captured with game capture.

Sorry if I forgot any important information. Thank you for your help!
 

orbo

New Member
I have been looking through the forum and have tried a few things with no success. Like reverting back to 18.0.2 and switching my settings around. I tried disabling windows defender (I have no other anti virus) but nothing changed.
 

orbo

New Member
Tried enabling Vsync in game, multi adapter is not enabled, Fresh install of windows, and switch obs to high priority in the advanced menu. Nothing has fixed my stuttering problem. It happens even when OBS is not record/streaming and is just previewing with only one scene set up. I tried unplugging my other two monitors as well. I see many people are having similar issue with little to no responses to help them

Hopefully someone can help me. Going to try Xsplit tonight to see if it works better
 

Harold

Active Member
Your video card is in pci-e x8 instead of x16. It doesn't look like it's in the right slot.
 

orbo

New Member
Thank you for the reply. It is in the 8x slot at the bottom of my motherboard due to my riser cable in my Thermaltake core p3 case being short. The gpu in said case can sit parallel to the motherboard. I have tested it without the riser cable and having the gpu in the 16x slot with no change.
 

Harold

Active Member
No change as in no performance change or as in it's still in x8 mode?

Because the logs show that it's being in x8 mode AND that it being in x8 mode is your problem.
 

orbo

New Member
No performance change. It does show it in 16x when I switch the slot. It still shutters. I am away from my pc at the moment but can make a new log with it in the 16x slot later if that helps.
 

orbo

New Member
19:54:31.859: CPU Name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
19:54:31.859: CPU Speed: 3300MHz
19:54:31.859: Physical Cores: 6, Logical Cores: 12
19:54:31.859: Physical Memory: 24476MB Total, 22588MB Free
19:54:31.859: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
19:54:31.859: Running as administrator: false
19:54:31.859: Aero is Enabled (Aero is always on for windows 8 and above)
19:54:31.860: Portable mode: false
19:54:31.869: OBS 19.0.3 (64bit, windows)
19:54:31.869: ---------------------------------
19:54:31.869: ---------------------------------
19:54:31.869: audio settings reset:
19:54:31.869: samples per sec: 44100
19:54:31.869: speakers: 2
19:54:31.880: ---------------------------------
19:54:31.880: Initializing D3D11...
19:54:31.880: Available Video Adapters:
19:54:31.880: Adapter 1: NVIDIA GeForce GTX 1080
19:54:31.880: Dedicated VRAM: 4209704960
19:54:31.880: Shared VRAM: 4242632704
19:54:31.880: output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:54:31.880: output 2: pos={-1553, -1080}, size={1920, 1080}, attached=true
19:54:31.881: output 3: pos={-1920, 0}, size={1920, 1080}, attached=true
19:54:31.882: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
19:54:32.443: D3D11 loaded successfully, feature level used: 45056
19:54:33.151: ---------------------------------
19:54:33.151: video settings reset:
19:54:33.151: base resolution: 1920x1080
19:54:33.151: output resolution: 1280x720
19:54:33.151: downscale filter: Bicubic
19:54:33.151: fps: 60/1
19:54:33.151: format: NV12
19:54:33.154: Audio monitoring device:
19:54:33.154: name: Default
19:54:33.154: id: default
19:54:33.156: ---------------------------------
19:54:33.220: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
19:54:33.224: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
19:54:33.238: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
19:54:33.238: Failed to initialize module 'enc-amf.dll'
19:54:33.321: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
19:54:33.328: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
19:54:33.338: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
19:54:33.350: Failed to load 'en-US' text for module: 'obs-browser.dll'
19:54:33.350: [browser_source: 'Version: 1.29.0']
19:54:33.413: NVENC supported
19:54:33.547: Couldn't find VLC installation, VLC video source disabled
19:54:33.576: No blackmagic support
19:54:33.703: ---------------------------------
19:54:33.703: Loaded Modules:
19:54:33.703: win-wasapi.dll
19:54:33.703: win-mf.dll
19:54:33.703: win-dshow.dll
19:54:33.703: win-decklink.dll
19:54:33.703: win-capture.dll
19:54:33.703: vlc-video.dll
19:54:33.703: text-freetype2.dll
19:54:33.703: rtmp-services.dll
19:54:33.703: obs-x264.dll
19:54:33.703: obs-vst.dll
19:54:33.703: obs-transitions.dll
19:54:33.703: obs-text.dll
19:54:33.703: obs-qsv11.dll
19:54:33.703: obs-outputs.dll
19:54:33.703: obs-filters.dll
19:54:33.703: obs-ffmpeg.dll
19:54:33.703: obs-browser.dll
19:54:33.703: image-source.dll
19:54:33.703: frontend-tools.dll
19:54:33.703: enc-amf.dll
19:54:33.703: coreaudio-encoder.dll
19:54:33.703: ==== Startup complete ===============================================
19:54:33.713: All scene data cleared
19:54:33.713: ------------------------------------------------
19:54:33.773: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
19:54:33.779: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' initialized
19:54:33.811: ---------------------------------
19:54:33.811: [DShow Device: 'face'] settings updated:
19:54:33.811: video device: Logitech HD Pro Webcam C920
19:54:33.811: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&12f7eede&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
19:54:33.811: resolution: 640x480
19:54:33.811: fps: 30.00 (interval: 333333)
19:54:33.811: format: I420
19:54:33.842: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
19:54:38.759: Switched to scene 'Scene'
19:54:38.760: ------------------------------------------------
19:54:38.760: Loaded scenes:
19:54:38.760: - scene 'Scene':
19:54:38.760: - source: 'Game Capture' (game_capture)
19:54:38.760: - source: 'face' (dshow_input)
19:54:38.760: - filter: 'Chroma Key' (chroma_key_filter)
19:54:38.760: - filter: 'Crop/Pad' (crop_filter)
19:54:38.760: ------------------------------------------------
19:55:14.038: [game-capture: 'Game Capture'] attempting to hook process: Overwatch.exe
19:55:14.098: [game-capture: 'Game Capture'] using helper (compatibility hook)
19:55:14.099: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
19:55:17.054: [game-capture: 'Game Capture'] attempting to hook process: Overwatch.exe
19:55:17.082: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
19:55:17.088: [game-capture: 'Game Capture'] shared texture capture successful
19:57:38.243: ---------------------------------
19:57:38.243: [x264 encoder: 'simple_h264_stream'] preset: veryfast
19:57:38.244: [x264 encoder: 'simple_h264_stream'] settings:
19:57:38.244: rate_control: CBR
19:57:38.244: bitrate: 3200
19:57:38.244: buffer size: 3200
19:57:38.244: crf: 0
19:57:38.244: fps_num: 60
19:57:38.244: fps_den: 1
19:57:38.244: width: 1280
19:57:38.244: height: 720
19:57:38.244: keyint: 120
19:57:38.244: vfr: off
19:57:38.244:
19:57:38.244: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
19:57:38.253: [Media Foundation AAC: 'simple_aac']: encoder created
19:57:38.253: bitrate: 160
19:57:38.253: channels: 2
19:57:38.253: sample rate: 44100
19:57:38.253: bits-per-sample: 16
19:57:38.253:
19:57:38.253: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
19:57:38.279: [rtmp stream: 'simple_stream'] Interface: Killer E2200 Gigabit Ethernet Controller (ethernet, 1000 mbps)
19:57:39.344: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
19:57:39.347: ==== Streaming Start ===============================================
19:58:22.645: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
20:00:22.431: User added source 'BrowserSource' (browser_source) to scene 'Scene'
20:01:22.015: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
20:47:49.339: [rtmp stream: 'simple_stream'] User stopped the stream
20:47:49.339: Output 'simple_stream': stopping
20:47:49.339: Output 'simple_stream': Total encoded frames: 169498
20:47:49.339: Output 'simple_stream': Total drawn frames: 180666
20:47:49.339: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 8924 (4.9%)
20:47:49.341: ==== Streaming Stop ================================================
20:48:06.666: ==== Shutting down ==================================================
20:48:06.672: Switched to scene '(null)'
20:48:06.673: [game-capture: 'Game Capture'] capture stopped
20:48:06.745: WASAPI: Device 'Speakers (Realtek High Definition Audio)' Terminated
20:48:06.750: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' Terminated
20:48:06.751: All scene data cleared
20:48:06.751: ------------------------------------------------
20:48:06.780: Freeing OBS context data
20:48:06.850: == Profiler Results =============================
20:48:06.850: run_program_init: 7006.2 ms
20:48:06.850: ┣OBSApp::AppInit: 20.999 ms
20:48:06.850: ┃ ┗OBSApp::InitLocale: 7.761 ms
20:48:06.851: ┗OBSApp::OBSInit: 6980.11 ms
20:48:06.851: ┣obs_startup: 0.8 ms
20:48:06.851: ┗OBSBasic::OBSInit: 6929.43 ms
20:48:06.851: ┣OBSBasic::InitBasicConfig: 0.253 ms
20:48:06.851: ┣OBSBasic::ResetAudio: 0.162 ms
20:48:06.851: ┣OBSBasic::ResetVideo: 1283.77 ms
20:48:06.851: ┣OBSBasic::InitOBSCallbacks: 0.007 ms
20:48:06.851: ┣OBSBasic::InitHotkeys: 0.532 ms
20:48:06.851: ┣obs_load_all_modules: 547.85 ms
20:48:06.851: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.311 ms
20:48:06.851: ┃ ┣obs_init_module(enc-amf.dll): 0.687 ms
20:48:06.851: ┃ ┣obs_init_module(frontend-tools.dll): 1.338 ms
20:48:06.851: ┃ ┣obs_init_module(image-source.dll): 0.003 ms
20:48:06.851: ┃ ┣obs_init_module(obs-browser.dll): 0.628 ms
20:48:06.851: ┃ ┣obs_init_module(obs-ffmpeg.dll): 42.527 ms
20:48:06.851: ┃ ┣obs_init_module(obs-filters.dll): 0.013 ms
20:48:06.851: ┃ ┣obs_init_module(obs-outputs.dll): 0.011 ms
20:48:06.851: ┃ ┣obs_init_module(obs-qsv11.dll): 42.282 ms
20:48:06.851: ┃ ┣obs_init_module(obs-text.dll): 0.418 ms
20:48:06.851: ┃ ┣obs_init_module(obs-transitions.dll): 0.005 ms
20:48:06.851: ┃ ┣obs_init_module(obs-vst.dll): 0.002 ms
20:48:06.851: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
20:48:06.851: ┃ ┣obs_init_module(rtmp-services.dll): 0.556 ms
20:48:06.851: ┃ ┣obs_init_module(text-freetype2.dll): 0.162 ms
20:48:06.851: ┃ ┣obs_init_module(vlc-video.dll): 0.025 ms
20:48:06.851: ┃ ┣obs_init_module(win-capture.dll): 0.07 ms
20:48:06.851: ┃ ┣obs_init_module(win-decklink.dll): 1.926 ms
20:48:06.851: ┃ ┣obs_init_module(win-dshow.dll): 1.237 ms
20:48:06.851: ┃ ┣obs_init_module(win-mf.dll): 79.769 ms
20:48:06.851: ┃ ┣obs_init_module(win-wasapi.dll): 0.009 ms
20:48:06.851: ┃ ┗reset_win32_symbol_paths: 0.064 ms
20:48:06.851: ┣OBSBasic::ResetOutputs: 1.511 ms
20:48:06.851: ┣OBSBasic::CreateHotkeys: 0.023 ms
20:48:06.851: ┣OBSBasic::InitService: 2.544 ms
20:48:06.851: ┣OBSBasic::InitPrimitives: 0.224 ms
20:48:06.851: ┗OBSBasic::Load: 5052.29 ms
20:48:06.851: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.003 ms, max=13.502 ms, 99th percentile=0.045 ms, 100% below 25 ms
20:48:06.851: audio_thread(Audio): min=0 ms, median=0.237 ms, max=3.824 ms, 99th percentile=0.476 ms
20:48:06.851: ┗receive_audio: min=0.003 ms, median=0.201 ms, max=0.986 ms, 99th percentile=0.42 ms, 0.910169 calls per parent call
20:48:06.851: ┣buffer_audio: min=0 ms, median=0 ms, max=0.036 ms, 99th percentile=0.001 ms
20:48:06.851: ┗do_encode: min=0.13 ms, median=0.198 ms, max=0.981 ms, 99th percentile=0.416 ms
20:48:06.851: ┗encode(simple_aac): min=0.124 ms, median=0.189 ms, max=0.972 ms, 99th percentile=0.405 ms
20:48:06.851: obs_video_thread(16.6667 ms): min=0.235 ms, median=0.796 ms, max=4969.9 ms, 99th percentile=42.722 ms, 91.7143% below 16.667 ms
20:48:06.851: ┣tick_sources: min=0.001 ms, median=0.015 ms, max=4968.32 ms, 99th percentile=0.059 ms
20:48:06.851: ┣render_displays: min=0 ms, median=0.345 ms, max=101.831 ms, 99th percentile=28.636 ms
20:48:06.851: ┗output_frame: min=0.229 ms, median=0.425 ms, max=105.714 ms, 99th percentile=26.827 ms
20:48:06.851: ┣gs_context(video->graphics): min=0.111 ms, median=0.239 ms, max=105.569 ms, 99th percentile=26.659 ms
20:48:06.851: ┃ ┣render_video: min=0.024 ms, median=0.052 ms, max=15.479 ms, 99th percentile=0.255 ms
20:48:06.851: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.031 ms, max=12.612 ms, 99th percentile=0.139 ms
20:48:06.851: ┃ ┃ ┣render_output_texture: min=0.004 ms, median=0.007 ms, max=0.193 ms, 99th percentile=0.018 ms
20:48:06.851: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.007 ms, max=0.187 ms, 99th percentile=0.019 ms
20:48:06.851: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.002 ms, max=15.395 ms, 99th percentile=0.153 ms
20:48:06.851: ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=105.47 ms, 99th percentile=26.44 ms
20:48:06.851: ┃ ┗gs_flush: min=0.016 ms, median=0.15 ms, max=16.294 ms, 99th percentile=0.377 ms
20:48:06.851: ┗output_video_data: min=0.132 ms, median=0.179 ms, max=0.565 ms, 99th percentile=0.253 ms
20:48:06.851: video_thread(video): min=0 ms, median=0.512 ms, max=11.901 ms, 99th percentile=1.375 ms
20:48:06.851: ┗receive_video: min=0 ms, median=0.513 ms, max=9.412 ms, 99th percentile=0.805 ms
20:48:06.851: ┗do_encode: min=0.436 ms, median=0.513 ms, max=9.412 ms, 99th percentile=0.805 ms
20:48:06.851: ┗encode(simple_h264_stream): min=0.432 ms, median=0.5 ms, max=9.4 ms, 99th percentile=0.789 ms
20:48:06.851: =================================================
20:48:06.851: == Profiler Time Between Calls ==================
20:48:06.851: obs_hotkey_thread(25 ms): min=24.551 ms, median=25.025 ms, max=38.543 ms, 88.7893% within ±2% of 25 ms (0% lower, 11.2107% higher)
20:48:06.851: obs_video_thread(16.6667 ms): min=0.695 ms, median=16.667 ms, max=4969.91 ms, 85.0041% within ±2% of 16.667 ms (6.80981% lower, 8.18605% higher)
20:48:06.851: =================================================
20:48:07.208: Number of memory leaks: 10





This was with the card directly in the pc in the 16x slot. No change in lagged frames.
 

Attachments

  • gpuz2.png
    gpuz2.png
    30.3 KB · Views: 13

Harold

Active Member
20:48:06.851: ┃ ┣download_frame: min=0 ms, median=0.002 ms, max=105.47 ms, 99th percentile=26.44 ms

And the problem is in the same spot.

Do your displays have different refresh rates?
 

orbo

New Member
They do but in this stream I had the 144hz monitor set to 60 in the monitor settings and in game.
So I changed the setting in windows and in the nvidia control panel to make all of them 60 hz
 
Last edited:

orbo

New Member
I made an observation. If I am streaming to Twitch it does the FPS drops. But if I add the ?bandwidthtest=true just to test the stream without going live it does not. Everything else is the same. By everything else I mean even having all the same chrome windows for chat and such up. The only difference is that it is a bandwidth test.
 

Harold

Active Member
Killer networks network adapters are pretty terrible too.

Did you install the driver-only version of the software or did you install their network manager?
 

orbo

New Member
Driver only. I did a fresh install of windows as a step to fix this problem about two days ago and am using the most recent driver
 

orbo

New Member
https://gist.github.com/f234bd446d10bed33c5249bb5f61e88c

Here is the log from a stream to test bandwidth instead of going live. It still goes to Twitch servers the same way. I am going to test recording to see if that does it as well.


Edit: It did not seem to lag frames in a 10 minute recording.
Maybe one of my settings are off for twitch? Would screen shots of all my setting menus help?
 
Last edited:

orbo

New Member
Okay so now I can confirm that Xsplit does not have this problem. So for now I will be switching to Xsplit until I find a solution. Thank you for your help.
 
Top