Question / Help OBS lags

Youngbloodb

New Member
So I have only really streamed Final Fantasy VII and Resident Evil 4 through OBS. I had no problems with it until I tried to do Res 4 but when I did it would lag, even before I started to stream oddly. Now I only do it for FFVII but the problem is when I boot up the game I have to get to the start menu before I really use OBS or it will lag then too, even before streaming. I am pretty much at my wits end since I am new to the software and streaming. I am unsure what to say from here but it is a start.
System
i5 6000k 3.5 ghz
8 gb RAM DDR3 or 4 (never checked to be honest lol)
Gigabyte MB unsure what specifically either desktop was built for me been adding on...
GPU GTX GeForce 1060 6 gb ram
1 tb HDD

I also never really record.
 

Youngbloodb

New Member
I tried to upload the log file but no dice
I have copied the text below


22:15:21.518: CPU Name: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
22:15:21.518: CPU Speed: 3504MHz
22:15:21.518: Physical Cores: 4, Logical Cores: 4
22:15:21.518: Physical Memory: 8144MB Total, 4692MB Free
22:15:21.518: Windows Version: 10.0 Build 14393 (revision: 576; 64-bit)
22:15:21.518: Running as administrator: false
22:15:21.518: Aero is Enabled (Aero is always on for windows 8 and above)
22:15:21.518: Portable mode: false
22:15:21.527: OBS 17.0.0 (64bit, windows)
22:15:21.528: ---------------------------------
22:15:21.528: ---------------------------------
22:15:21.528: audio settings reset:
22:15:21.528: samples per sec: 44100
22:15:21.528: speakers: 2
22:15:21.529: ---------------------------------
22:15:21.529: Initializing D3D11..
22:15:21.529: Available Video Adapters:
22:15:21.530: Adapter 1: NVIDIA GeForce GTX 1060 6GB
22:15:21.530: Dedicated VRAM: 2102067200
22:15:21.530: Shared VRAM: 4270125056
22:15:21.530: output 1: pos={0, 0}, size={2560, 1080}, attached=true
22:15:21.530: output 2: pos={326, -1080}, size={1920, 1080}, attached=true
22:15:21.532: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
22:15:22.000: D3D11 loaded sucessfully, feature level used: 45056
22:15:22.420: ---------------------------------
22:15:22.420: video settings reset:
22:15:22.420: base resolution: 2560x1080
22:15:22.420: output resolution: 1460x616
22:15:22.420: downscale filter: Bicubic
22:15:22.420: fps: 30/1
22:15:22.420: format: NV12
22:15:22.422: ---------------------------------
22:15:22.426: [CoreAudio encoder]: Adding CoreAudio AAC encoder
22:15:22.427: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:15:22.427: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:15:22.433: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:15:22.433: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:15:22.433: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:15:22.434: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:15:22.434: [browser_source: 'Version: 1.27.0']
22:15:22.435: NVENC supported
22:15:22.485: Couldn't find VLC installation, VLC video source disabled
22:15:22.489: No blackmagic support
22:15:22.530: ---------------------------------
22:15:22.530: Loaded Modules:
22:15:22.530: win-wasapi.dll
22:15:22.530: win-mf.dll
22:15:22.530: win-dshow.dll
22:15:22.530: win-decklink.dll
22:15:22.530: win-capture.dll
22:15:22.530: vlc-video.dll
22:15:22.530: text-freetype2.dll
22:15:22.530: rtmp-services.dll
22:15:22.530: obs-x264.dll
22:15:22.530: obs-transitions.dll
22:15:22.530: obs-text.dll
22:15:22.530: obs-qsv11.dll
22:15:22.530: obs-outputs.dll
22:15:22.530: obs-filters.dll
22:15:22.530: obs-ffmpeg.dll
22:15:22.530: obs-browser.dll
22:15:22.530: image-source.dll
22:15:22.530: frontend-tools.dll
22:15:22.530: enc-amf.dll
22:15:22.530: coreaudio-encoder.dll
22:15:22.530: ==== Startup complete ===============================================
22:15:22.537: All scene data cleared
22:15:22.537: ------------------------------------------------
22:15:22.554: WASAPI: Device 'Speakers (3- Logitech G430 Gaming Headset)' initialized
22:15:22.555: [WASAPISource::TryInitialize]:[Microphone (2- Logitech G430 Gaming Headset)] Failed to activate client context: 88890004
22:15:22.555: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{33443a41-ab3e-427c-b363-dd35be56dcc2}' not found. Waiting for device
22:15:22.561: WASAPI: Device 'Microphone (3- Logitech G430 Gaming Headset)' initialized
22:15:22.579: ---------------------------------
22:15:22.579: [DShow Device: 'Cam'] settings updated:
22:15:22.579: video device: Logitech HD Pro Webcam C920
22:15:22.579: video path: \\?\usb#vid_046d&pid_082d&mi_00#6&1939d4a7&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
22:15:22.579: resolution: 640x480
22:15:22.579: fps: 30.00 (interval: 333333)
22:15:22.579: format: I420
22:15:22.598: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
22:15:22.931: warning: deprecated pixel format used, make sure you did set range correctly
22:15:22.946: Switched to scene 'FFVII'
22:15:22.947: ------------------------------------------------
22:15:22.947: Loaded scenes:
22:15:22.947: - scene 'FFVII':
22:15:22.947: - source: 'Game' (monitor_capture)
22:15:22.947: - source: 'Audio Input Capture' (wasapi_input_capture)
22:15:22.947: - source: 'Game2' (image_source)
22:15:22.947: - source: 'Game1' (image_source)
22:15:22.947: - source: 'Cam' (dshow_input)
22:15:22.947: - scene 'BucketNews':
22:15:22.947: - source: 'NewYear' (image_source)
22:15:22.947: - source: 'News' (image_source)
22:15:22.947: - source: 'Cam' (dshow_input)
22:15:22.947: - source: 'balldrop' (monitor_capture)
22:15:22.947: - source: 'Audio Input Capture 1' (wasapi_input_capture)
22:15:22.947: ------------------------------------------------
22:15:23.043: Update check: last known remote version is 17.0.0
22:17:43.363: ---------------------------------
22:17:43.363: [x264 encoder: 'streaming_h264'] preset: ultrafast
22:17:43.363: [x264 encoder: 'streaming_h264'] profile: main
22:17:43.377: [x264 encoder: 'streaming_h264'] x264 param: opencel=true failed
22:17:43.377: [x264 encoder: 'streaming_h264'] settings:
22:17:43.377: rate_control: CBR
22:17:43.377: bitrate: 3500
22:17:43.377: buffer size: 3500
22:17:43.377: crf: 0
22:17:43.377: fps_num: 30
22:17:43.377: fps_den: 1
22:17:43.377: width: 2560
22:17:43.377: height: 1080
22:17:43.377: keyint: 60
22:17:43.377: vfr: off
22:17:43.377:
22:17:43.377: [x264 encoder: 'streaming_h264'] custom settings: opencel=true scenecut=0
22:17:43.385: [CoreAudio AAC: 'Track1']: settings:
22:17:43.385: mode: AAC
22:17:43.385: bitrate: 160
22:17:43.385: sample rate: 44100
22:17:43.385: cbr: on
22:17:43.385: output buffer: 1536
22:17:43.386: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live.twitch.tv/app...
22:17:43.402: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
22:17:44.565: [rtmp stream: 'adv_stream'] Connection to rtmp://live.twitch.tv/app successful
22:17:44.601: warning: Warning: data is not aligned! This can lead to a speedloss
22:17:44.620: ==== Streaming Start ===============================================
22:18:15.099: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
22:18:18.018: [rtmp stream: 'adv_stream'] User stopped the stream
22:18:18.018: Output 'adv_stream': stopping
22:18:18.018: Output 'adv_stream': Total encoded frames: 1039
22:18:18.018: Output 'adv_stream': Total drawn frames: 1039
22:18:18.018: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 2 (0.2%)
22:18:18.051: ==== Streaming Stop ================================================
22:18:51.262: ==== Shutting down ==================================================
22:18:51.266: Switched to scene '(null)'
22:18:51.269: WASAPI: Device 'Microphone (3- Logitech G430 Gaming Headset)' Terminated
22:18:51.347: WASAPI: Device 'Speakers (3- Logitech G430 Gaming Headset)' Terminated
22:18:51.358: All scene data cleared
22:18:51.358: ------------------------------------------------
22:18:51.461: Freeing OBS context data
22:18:51.506: == Profiler Results =============================
22:18:51.506: run_program_init: 1492.68 ms
22:18:51.506: ┣OBSApp::AppInit: 1.187 ms
22:18:51.506: ┃ ┗OBSApp::InitLocale: 0.706 ms
22:18:51.506: ┗OBSApp::OBSInit: 1483.55 ms
22:18:51.506: ┣obs_startup: 0.983 ms
22:18:51.506: ┗OBSBasic::OBSInit: 1460.67 ms
22:18:51.506: ┣OBSBasic::InitBasicConfig: 0.275 ms
22:18:51.506: ┣OBSBasic::ResetAudio: 0.263 ms
22:18:51.506: ┣OBSBasic::ResetVideo: 893.315 ms
22:18:51.506: ┣OBSBasic::InitOBSCallbacks: 0.011 ms
22:18:51.506: ┣OBSBasic::InitHotkeys: 0.035 ms
22:18:51.506: ┣obs_load_all_modules: 107.88 ms
22:18:51.506: ┃ ┣obs_init_module(coreaudio-encoder.dll): 3.556 ms
22:18:51.506: ┃ ┣obs_init_module(enc-amf.dll): 0.644 ms
22:18:51.506: ┃ ┣obs_init_module(frontend-tools.dll): 1.197 ms
22:18:51.506: ┃ ┣obs_init_module(image-source.dll): 0.002 ms
22:18:51.506: ┃ ┣obs_init_module(obs-browser.dll): 0.042 ms
22:18:51.506: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.497 ms
22:18:51.506: ┃ ┣obs_init_module(obs-filters.dll): 0.005 ms
22:18:51.506: ┃ ┣obs_init_module(obs-outputs.dll): 0.002 ms
22:18:51.506: ┃ ┣obs_init_module(obs-qsv11.dll): 45.11 ms
22:18:51.506: ┃ ┣obs_init_module(obs-text.dll): 0.352 ms
22:18:51.506: ┃ ┣obs_init_module(obs-transitions.dll): 0.005 ms
22:18:51.506: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
22:18:51.506: ┃ ┣obs_init_module(rtmp-services.dll): 0.238 ms
22:18:51.506: ┃ ┣obs_init_module(text-freetype2.dll): 0.039 ms
22:18:51.506: ┃ ┣obs_init_module(vlc-video.dll): 0.033 ms
22:18:51.506: ┃ ┣obs_init_module(win-capture.dll): 0.043 ms
22:18:51.506: ┃ ┣obs_init_module(win-decklink.dll): 3.081 ms
22:18:51.506: ┃ ┣obs_init_module(win-dshow.dll): 1.038 ms
22:18:51.506: ┃ ┣obs_init_module(win-mf.dll): 36.915 ms
22:18:51.506: ┃ ┣obs_init_module(win-wasapi.dll): 0.003 ms
22:18:51.506: ┃ ┗reset_win32_symbol_paths: 0.064 ms
22:18:51.506: ┣OBSBasic::ResetOutputs: 5.281 ms
22:18:51.506: ┣OBSBasic::CreateHotkeys: 0.024 ms
22:18:51.506: ┣OBSBasic::InitService: 0.209 ms
22:18:51.506: ┣OBSBasic::InitPrimitives: 0.336 ms
22:18:51.506: ┗OBSBasic::Load: 411.451 ms
22:18:51.506: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.01 ms, max=55.543 ms, 99th percentile=3.333 ms, 99.9637% below 25 ms
22:18:51.506: audio_thread(Audio): min=0 ms, median=0.135 ms, max=5.537 ms, 99th percentile=0.947 ms
22:18:51.506: ┗receive_audio: min=0.002 ms, median=0.5 ms, max=3.756 ms, 99th percentile=1.237 ms, 0.154789 calls per parent call
22:18:51.506: ┣buffer_audio: min=0 ms, median=0 ms, max=0.019 ms, 99th percentile=0.001 ms
22:18:51.506: ┗do_encode: min=0.294 ms, median=0.498 ms, max=1.83 ms, 99th percentile=1.233 ms
22:18:51.506: ┗encode(Track1): min=0.29 ms, median=0.483 ms, max=1.807 ms, 99th percentile=1.18 ms
22:18:51.506: obs_video_thread(33.3333 ms): min=0.194 ms, median=2.199 ms, max=386.929 ms, 99th percentile=9.264 ms, 99.9521% below 33.333 ms
22:18:51.506: ┣tick_sources: min=0 ms, median=0.348 ms, max=386.151 ms, 99th percentile=1.276 ms
22:18:51.506: ┣render_displays: min=0 ms, median=0.429 ms, max=69.077 ms, 99th percentile=2.17 ms
22:18:51.506: ┗output_frame: min=0.191 ms, median=1.241 ms, max=12.312 ms, 99th percentile=3.231 ms
22:18:51.506: ┣gs_context(video->graphics): min=0.102 ms, median=0.859 ms, max=11.953 ms, 99th percentile=2.821 ms
22:18:51.506: ┃ ┣render_video: min=0.02 ms, median=0.134 ms, max=7.537 ms, 99th percentile=0.612 ms
22:18:51.506: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.079 ms, max=3.352 ms, 99th percentile=0.406 ms
22:18:51.506: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.019 ms, max=1.622 ms, 99th percentile=0.13 ms
22:18:51.506: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.023 ms, max=1.54 ms, 99th percentile=0.144 ms
22:18:51.507: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.004 ms, max=7.242 ms, 99th percentile=0.331 ms
22:18:51.507: ┃ ┣download_frame: min=0 ms, median=0.004 ms, max=2.607 ms, 99th percentile=0.477 ms
22:18:51.507: ┃ ┗gs_flush: min=0.017 ms, median=0.665 ms, max=11.797 ms, 99th percentile=2.499 ms
22:18:51.507: ┗output_video_data: min=0.113 ms, median=0.349 ms, max=2.253 ms, 99th percentile=1.104 ms
22:18:51.507: video_thread(video): min=0 ms, median=0.004 ms, max=37.96 ms, 99th percentile=9.653 ms
22:18:51.507: ┗receive_video: min=0.001 ms, median=0.957 ms, max=3.567 ms, 99th percentile=1.822 ms, 0.160352 calls per parent call
22:18:51.507: ┗do_encode: min=0.829 ms, median=0.956 ms, max=3.566 ms, 99th percentile=1.82 ms
22:18:51.507: ┗encode(streaming_h264): min=0.823 ms, median=0.941 ms, max=3.559 ms, 99th percentile=1.802 ms
22:18:51.507: =================================================
22:18:51.507: == Profiler Time Between Calls ==================
22:18:51.507: obs_hotkey_thread(25 ms): min=24.609 ms, median=25.246 ms, max=80.289 ms, 79.6395% within ±2% of 25 ms (0% lower, 20.3605% higher)
22:18:51.507: obs_video_thread(33.3333 ms): min=13.061 ms, median=33.334 ms, max=386.936 ms, 99.5206% within ±2% of 33.333 ms (0.239693% lower, 0.239693% higher)
22:18:51.507: =================================================
22:18:51.586: Number of memory leaks: 1
 

Attachments

  • 2017-01-04 22-15-21.txt
    13.3 KB · Views: 3

EBrito

Active Member
Wait!
Video settings:
22:15:22.420: base resolution: 2560x1080
22:15:22.420: output resolution: 1460x616

BUT when streaming
22:17:43.377: width: 2560
22:17:43.377: height: 1080

Output settings: leave rescale UNCHECKED
You rescaled in video settings.

you are rescaling twice!
 

Youngbloodb

New Member
Wait!
Video settings:
22:15:22.420: base resolution: 2560x1080
22:15:22.420: output resolution: 1460x616

BUT when streaming
22:17:43.377: width: 2560
22:17:43.377: height: 1080

Output settings: leave rescale UNCHECKED
You rescaled in video settings.

you are rescaling twice!
LOL I am a scrub at this

22:15:22.426: [CoreAudio encoder]: Adding CoreAudio AAC encoder
22:15:22.427: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:15:22.427: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
22:15:22.433: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
22:15:22.433: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
22:15:22.433: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
22:15:22.434: Failed to load 'en-US' text for module: 'obs-browser.dll'
22:15:22.434: [browser_source: 'Version: 1.27.0']
22:15:22.435: NVENC supported
22:15:22.485: Couldn't find VLC installation, VLC video source disabled
22:15:22.489: No blackmagic support
Do you think this above could also be an issue?
 

EBrito

Active Member
NO PROBLEM:

AMF error: no problem, you don´t have an AMD card
next 3 lines are from CLR Browser plugin I think this should be removed from log because this plugin was included in OBS itself as Browser source.
-en-US no problem
Browser souce plugin version
NVENC supported. You can encode with NVENC with your 1060
VLC : VLC 64 bits not installed (running OBS 64 bits you need 64 bits VLC; same for 32 bits)
No blackmagic: you have no Blackmagic device attached


FYI:
https://obsproject.com/forum/resources/understanding-obs-studio-log.473/ ;)
 
Last edited:

Youngbloodb

New Member
NO PROBLEM:

AMF error: no problem, you don´t have an AMD card
next 3 lines are from CLR Browser plugin I think this should be removed from log because this plugin was included in OBS itself as Browser source.
-en-US no problem
Brwoser souce plugin version
NVENC supported. Yo can encode with NVENC with your 1060
VLC : VLC 64 bits not installed (running OBS 64 bits you need 64 bits VLC; same for 32 bits)
No blackmagic: you have no Blackmagic device attached


FYI:
https://obsproject.com/forum/resources/understanding-obs-studio-log.473/ ;)

Fixed everything you said and no dice.
 

Youngbloodb

New Member
Post a log with a session made with new settings
Fixed everything you said and no dice.

Thanks for both of your concern/help
I ended up screwing around with it with my friend and we could not fix it. I ended up being like screw it lets see what happens if I delete my whole scene and just redo the scene.That seemed to do the trick immediately, streamed for a bit last night. Thinking I'm all good now.
 
Top