Question / Help OBS Studio launch Performance!

Faby

New Member
Hy guys!

Last night i tried recording some gameplay with obs Studio.
Than i noticed when i launch obs studio i got lower fps ingame , just by starting obs studio no recording no streaming!
After this i disabled preview but nothing changed!
so i runned some heaven benchmark too figure out how much the performance lose is.
In scenes where i got normally 80fps(without start obs) i got 73fps (by only launching OBS studio)
When i start recording this scene drops do like 70 fps!
So i got a bigger performance hit by only start OBS than i got for recording is this normal?
After all i tried the "old obs" and there i only get lower fps when i start the preview?

System :
I7 2600k @4,6
12gb
1060GTX

i recorded with nvenc but this shouldnt matter because i got the hit by only starting obs Studio !

Anyone with same problems ?

sry English is not my mother language :D
 
Last edited:

Roy

Member
I bet you're having the same issue as some of us. What does the cpu % usage say in bottom right when you open obs.
 

Faby

New Member
18:10:01.102: CPU Name: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
18:10:01.102: CPU Speed: 3400MHz
18:10:01.102: Physical Cores: 4, Logical Cores: 8
18:10:01.102: Physical Memory: 12192MB Total, 8363MB Free
18:10:01.102: Windows Version: 6.1 Build 7601 (revision: 23677; 64-bit)
18:10:01.102: Running as administrator: false
18:10:01.102: Aero is Enabled
18:10:01.102: Portable mode: false
18:10:01.111: OBS 20.1.3 (64bit, windows)
18:10:01.111: ---------------------------------
18:10:01.112: ---------------------------------
18:10:01.112: audio settings reset:
18:10:01.112: samples per sec: 44100
18:10:01.112: speakers: 2
18:10:01.113: ---------------------------------
18:10:01.113: Initializing D3D11...
18:10:01.113: Available Video Adapters:
18:10:01.114: Adapter 1: NVIDIA GeForce GTX 1060 6GB
18:10:01.114: Dedicated VRAM: 2044395520
18:10:01.114: Shared VRAM: 1828898816
18:10:01.114: output 1: pos={0, 0}, size={1920, 1080}, attached=true
18:10:01.114: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
18:10:01.116: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
18:10:01.139: D3D11 loaded successfully, feature level used: 45056
18:10:01.693: ---------------------------------
18:10:01.693: video settings reset:
18:10:01.693: base resolution: 1920x1080
18:10:01.693: output resolution: 1920x1080
18:10:01.693: downscale filter: Bicubic
18:10:01.693: fps: 60/1
18:10:01.693: format: NV12
18:10:01.695: Audio monitoring device:
18:10:01.695: name: Standard
18:10:01.695: id: default
18:10:01.695: ---------------------------------
18:10:01.697: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
18:10:01.698: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
18:10:01.699: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
18:10:01.699: Failed to initialize module 'enc-amf.dll'
18:10:01.709: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
18:10:01.709: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
18:10:01.710: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
18:10:01.710: Failed to load 'en-US' text for module: 'obs-browser.dll'
18:10:01.710: [browser_source: 'Version: 1.29.0']
18:10:01.712: NVENC supported
18:10:01.803: Couldn't find VLC installation, VLC video source disabled
18:10:01.807: No blackmagic support
18:10:01.810: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
18:10:01.916: ---------------------------------
18:10:01.916: Loaded Modules:
18:10:01.916: win-wasapi.dll
18:10:01.916: win-mf.dll
18:10:01.916: win-dshow.dll
18:10:01.916: win-decklink.dll
18:10:01.916: win-capture.dll
18:10:01.916: vlc-video.dll
18:10:01.916: text-freetype2.dll
18:10:01.916: rtmp-services.dll
18:10:01.916: obs-x264.dll
18:10:01.916: obs-vst.dll
18:10:01.916: obs-transitions.dll
18:10:01.916: obs-text.dll
18:10:01.916: obs-qsv11.dll
18:10:01.916: obs-outputs.dll
18:10:01.916: obs-filters.dll
18:10:01.916: obs-ffmpeg.dll
18:10:01.916: obs-browser.dll
18:10:01.916: image-source.dll
18:10:01.916: frontend-tools.dll
18:10:01.916: enc-amf.dll
18:10:01.916: coreaudio-encoder.dll
18:10:01.916: ---------------------------------
18:10:01.916: ==== Startup complete ===============================================
18:10:01.917: Service '' not found
18:10:01.918: All scene data cleared
18:10:01.918: ------------------------------------------------
18:10:01.948: WASAPI: Device 'Kopfhörer (4- ASTRO Wireless Transmitter )' initialized
18:10:01.958: WASAPI: Device 'Kopfhörermikrofon (4- ASTRO Wireless Transmitter )' initialized
18:10:01.958: Switched to scene 'Szene'
18:10:01.959: ------------------------------------------------
18:10:01.959: Loaded scenes:
18:10:01.959: - scene 'Szene':
18:10:01.959: ------------------------------------------------
18:10:02.014: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
18:12:22.211: ---------------------------------
18:12:22.211: [NVENC encoder: 'recording_h264'] settings:
18:12:22.211: rate_control: CBR
18:12:22.211: bitrate: 2500
18:12:22.211: cqp: 0
18:12:22.211: keyint: 250
18:12:22.211: preset: default
18:12:22.211: profile: main
18:12:22.211: level: auto
18:12:22.211: width: 1920
18:12:22.211: height: 1080
18:12:22.211: 2-pass: true
18:12:22.211: b-frames: 2
18:12:22.211: GPU: 0
18:12:22.211:
18:12:22.435: ---------------------------------
18:12:22.436: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2
18:12:22.446: ==== Recording Start ===============================================
18:12:22.446: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/chris/Videos/2017-12-03 18-12-22.flv'...
18:12:25.885: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/chris/Videos/2017-12-03 18-12-22.flv' stopped
18:12:25.885: Output 'adv_file_output': stopping
18:12:25.885: Output 'adv_file_output': Total frames output: 194
18:12:25.885: Output 'adv_file_output': Total drawn frames: 207
18:12:25.886: ==== Recording Stop ================================================
18:12:31.836: ==== Shutting down ==================================================
18:12:31.840: Switched to scene '(null)'
18:12:31.841: WASAPI: Device 'Kopfhörer (4- ASTRO Wireless Transmitter )' Terminated
18:12:31.880: WASAPI: Device 'Kopfhörermikrofon (4- ASTRO Wireless Transmitter )' Terminated
18:12:32.033: All scene data cleared
18:12:32.033: ------------------------------------------------
18:12:32.071: Freeing OBS context data
18:12:32.089: == Profiler Results =============================
18:12:32.089: run_program_init: 906.062 ms
18:12:32.089: ┣OBSApp::AppInit: 12.476 ms
18:12:32.089: ┃ ┗OBSApp::InitLocale: 1.444 ms
18:12:32.089: ┗OBSApp::OBSInit: 888.973 ms
18:12:32.089: ┣obs_startup: 0.634 ms
18:12:32.089: ┗OBSBasic::OBSInit: 871.391 ms
18:12:32.089: ┣OBSBasic::InitBasicConfig: 0.367 ms
18:12:32.089: ┣OBSBasic::ResetAudio: 0.162 ms
18:12:32.089: ┣OBSBasic::ResetVideo: 583.508 ms
18:12:32.089: ┣OBSBasic::InitOBSCallbacks: 0.004 ms
18:12:32.089: ┣OBSBasic::InitHotkeys: 0.031 ms
18:12:32.089: ┣obs_load_all_modules: 220.941 ms
18:12:32.089: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.315 ms
18:12:32.089: ┃ ┣obs_init_module(enc-amf.dll): 0.201 ms
18:12:32.089: ┃ ┣obs_init_module(frontend-tools.dll): 1.207 ms
18:12:32.089: ┃ ┣obs_init_module(image-source.dll): 0.002 ms
18:12:32.089: ┃ ┣obs_init_module(obs-browser.dll): 0.068 ms
18:12:32.089: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.421 ms
18:12:32.089: ┃ ┣obs_init_module(obs-filters.dll): 0.01 ms
18:12:32.089: ┃ ┣obs_init_module(obs-outputs.dll): 0.005 ms
18:12:32.089: ┃ ┣obs_init_module(obs-qsv11.dll): 84.421 ms
18:12:32.089: ┃ ┣obs_init_module(obs-text.dll): 0.305 ms
18:12:32.089: ┃ ┣obs_init_module(obs-transitions.dll): 0.003 ms
18:12:32.089: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
18:12:32.089: ┃ ┣obs_init_module(obs-x264.dll): 0.001 ms
18:12:32.089: ┃ ┣obs_init_module(rtmp-services.dll): 0.786 ms
18:12:32.089: ┃ ┣obs_init_module(text-freetype2.dll): 0.055 ms
18:12:32.089: ┃ ┣obs_init_module(vlc-video.dll): 0.032 ms
18:12:32.089: ┃ ┣obs_init_module(win-capture.dll): 0.078 ms
18:12:32.089: ┃ ┣obs_init_module(win-decklink.dll): 2.508 ms
18:12:32.090: ┃ ┣obs_init_module(win-dshow.dll): 1.197 ms
18:12:32.090: ┃ ┣obs_init_module(win-mf.dll): 105.349 ms
18:12:32.090: ┃ ┣obs_init_module(win-wasapi.dll): 0.004 ms
18:12:32.090: ┃ ┗reset_win32_symbol_paths: 0.081 ms
18:12:32.090: ┣OBSBasic::ResetOutputs: 0.256 ms
18:12:32.090: ┣OBSBasic::CreateHotkeys: 0.021 ms
18:12:32.090: ┣OBSBasic::InitService: 0.785 ms
18:12:32.090: ┣OBSBasic::InitPrimitives: 0.239 ms
18:12:32.090: ┗OBSBasic::Load: 40.919 ms
18:12:32.090: obs_hotkey_thread(25 ms): min=0.001 ms, median=0.005 ms, max=15.113 ms, 99th percentile=0.05 ms, 100% below 25 ms
18:12:32.090: audio_thread(Audio): min=0 ms, median=0.075 ms, max=1.455 ms, 99th percentile=0.412 ms
18:12:32.090: ┗receive_audio: min=0.003 ms, median=0.325 ms, max=0.455 ms, 99th percentile=0.454 ms, 0.0218627 calls per parent call
18:12:32.090: ┣buffer_audio: min=0.001 ms, median=0.002 ms, max=0.011 ms, 99th percentile=0.01 ms
18:12:32.090: ┗do_encode: min=0.035 ms, median=0.318 ms, max=0.446 ms, 99th percentile=0.445 ms
18:12:32.090: ┗encode(Track1): min=0.031 ms, median=0.306 ms, max=0.426 ms, 99th percentile=0.423 ms
18:12:32.090: obs_graphics_thread(16.6667 ms): min=0.181 ms, median=1.238 ms, max=16.13 ms, 99th percentile=1.687 ms, 100% below 16.667 ms
18:12:32.090: ┣tick_sources: min=0.001 ms, median=0.006 ms, max=0.084 ms, 99th percentile=0.009 ms
18:12:32.090: ┣render_displays: min=0 ms, median=0.372 ms, max=13.657 ms, 99th percentile=0.663 ms
18:12:32.090: ┗output_frame: min=0.176 ms, median=0.843 ms, max=15.183 ms, 99th percentile=1.096 ms
18:12:32.090: ┣gs_context(video->graphics): min=0.068 ms, median=0.179 ms, max=14.368 ms, 99th percentile=0.325 ms
18:12:32.090: ┃ ┣render_video: min=0.016 ms, median=0.051 ms, max=0.299 ms, 99th percentile=0.103 ms
18:12:32.090: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.007 ms, max=0.124 ms, 99th percentile=0.011 ms
18:12:32.090: ┃ ┃ ┣render_output_texture: min=0.002 ms, median=0.02 ms, max=0.139 ms, 99th percentile=0.06 ms
18:12:32.090: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.016 ms, max=0.231 ms, 99th percentile=0.052 ms
18:12:32.090: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.003 ms, max=0.088 ms, 99th percentile=0.005 ms
18:12:32.090: ┃ ┣download_frame: min=0 ms, median=0.003 ms, max=14.126 ms, 99th percentile=0.004 ms
18:12:32.090: ┃ ┗gs_flush: min=0.038 ms, median=0.122 ms, max=5.426 ms, 99th percentile=0.234 ms
18:12:32.090: ┗output_video_data: min=0.396 ms, median=0.657 ms, max=1.849 ms, 99th percentile=0.853 ms
18:12:32.090: video_thread(video): min=0 ms, median=0.002 ms, max=3.877 ms, 99th percentile=1.946 ms
18:12:32.090: ┗receive_video: min=0 ms, median=1.928 ms, max=3.875 ms, 99th percentile=2.841 ms, 0.0229541 calls per parent call
18:12:32.090: ┗do_encode: min=0.981 ms, median=1.928 ms, max=3.874 ms, 99th percentile=2.839 ms
18:12:32.090: ┗encode(recording_h264): min=0.98 ms, median=1.902 ms, max=2.954 ms, 99th percentile=2.743 ms
18:12:32.090: =================================================
18:12:32.090: == Profiler Time Between Calls ==================
18:12:32.090: obs_hotkey_thread(25 ms): min=24.142 ms, median=25.001 ms, max=40.005 ms, 99.8509% within ±2% of 25 ms (0.04971% lower, 0.09942% higher)
18:12:32.090: obs_graphics_thread(16.6667 ms): min=14.522 ms, median=16.667 ms, max=18.812 ms, 99.9113% within ±2% of 16.667 ms (0.044341% lower, 0.044341% higher)
18:12:32.090: =================================================
18:12:32.108: Number of memory leaks: 1

ANother thing i am worried is the number of memory leaks! anyone with the same issues?
Memory leak is fixed after not install browser plug in .
But the performance hit just by starting obs still there

Update: After setting Fps do 30 the fps drops is significant lower .. i think it must have something do do with the preview ... but disable doesnt help .
When i run a testscene now i got.
Only game: 78
Obs launch with 30 fps+game: 75
Obs launch with 60 fps+game: 70
Obs launch with 30 fps+game+record: 72
Obs launch with 60 fps+game+record:67

so i curious why the launch from obs without doing anything takes so much performance !
 
Last edited:

Faby

New Member
hi osiris and thx for your reply!

When i enable vsync in the game i have 60fps because my monitor is 60h but this doesnt fix the performance loss!

When i play without obs studio open i have like 80 fps .
With obs studio open (60fps ) not recording or streaming i drop 10% performance!
When i open obs studio with 30 fps than i got like a 4-5% performance drop!

When i start recordign i drop another 3 % but this is how it should be but i dont unterstand why obs studio have such an high performance impact with only opening!

i tried disable preview , set framelimiter, and other settings but nothing changed only what helped do reduce the performance impact was set the fps do 30 (5%).. is this normal that only starting obs with 60 fps preset (no Recording) takes 10% performance without doing anything?

In the right corner it says like cpu usage 2%.

MY recorded files are not lagging or something the files i recorded are all good!

All done with Nvenc.
 

BK-Morpheus

Active Member
OBS renders it's scene via GPU (no matter if the scene is just black or showing a game or webcam).
So the higher the OBS resolution and frame rate, the higher is the GPU load.
This happens with OBS open, no matter if you record or not and if you enable or disable the review of that rendered scene.

That's absolutely fine and normal.
Your ingame FPS drop just shows, that you have one of those options:
a) no FPS limit / Vsync ingame = possible GPU bottleneck
b) GPU at 60fps already running at full load (>95%) just from the Game

So that's absolutely fine and normal.
If you want to handle >60fps in your game (btw. you will still need some sort of fps limit, otherwise you will always run into a bottleneck) and use OBS at the same time, you need more than an GTX1060.
 

Faby

New Member
ok thx for your advice :)
i lplay fortnite without fps limit and get no framedrops in obs and my gpu load is around 80 while recording and playing !
80 % gpu load game +video engine load around 20% i think thats the point why i got a significant drop :) when i try do set fps limit do 60/80 (there is only 60/80/120/unlimited) hilarious tearing but with no limit its gone idk why .
but thx anyways helped me alot!
 
Top