Question / Help OBS Studio using 20-40% CPU while idle?

halfderpy

New Member
Hey all. I have OBS Studio 18.0.1 installed and while idle and not recording or streaming, it's hogging up almost 20-40% of my CPU. I was previously using classic up until today with zero issues. While streaming classic only takes up 7-10% cpu usage max. What could even be causing this? All of my other processes on my pc are running like normal without bogging down my CPU. My temps are fine (25-30c under heavy load) I am not using a capture card, hell, I don't even have a webcam. I even tried creating a brand new scene with no sources and still using at minimum 18% CPU. Talked to a friend and he sent screenshots of his only using 7% while streaming, and 3% while idle. This is a brand new and fresh install from just yesterday.

I have messed around with some settings but the real problem is the massively high usage while it's just idle in the background. Because of this, it bogs down my computer really tough when I am playing some games that are less than optimized (looking at you Battlegrounds) but yet with OBS Classic, I get a smooth gameplay experience. This OBS Studio is great, but it's just eating up my resources and taking it away from my games. What gives?

Win 10 64 bit
OBS Studio 64 Bit
8gb DDR3 1600mhz
FX 8350 @ 4.0ghz
GTX 970
 
Last edited:

Benman2785

Member
we need a log

i guess you used different preset for h264 with OBS classic -> like "superfast"
or you used NVenc instead of h264
 

halfderpy

New Member
we need a log

i guess you used different preset for h264 with OBS classic -> like "superfast"
or you used NVenc instead of h264
I tried both NVenc and H264, but I started with h264. It turned my stream into a slideshow for people watching, so I went offline, switched to nvenc and bumped up my bitrate a bit to compensate but it was still just chewing through my CPU usage.

The problem isn't when streaming or recording though. It's while the program is just open in the background and idling it will hit 20+% of my CPU. I can't imagine it has anything to do with my settings, right? There must be something else screwy?
 

halfderpy

New Member
00:56:53.867: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
00:56:53.867: CPU Speed: 4014MHz
00:56:53.867: Physical Cores: 4, Logical Cores: 8
00:56:53.867: Physical Memory: 8093MB Total, 5407MB Free
00:56:53.867: Windows Version: 10.0 Build 14393 (revision: 1066; 64-bit)
00:56:53.867: Running as administrator: false
00:56:53.867: Aero is Enabled (Aero is always on for windows 8 and above)
00:56:53.868: Portable mode: false
00:56:53.883: OBS 18.0.1 (64bit, windows)
00:56:53.883: ---------------------------------
00:56:53.883: ---------------------------------
00:56:53.884: audio settings reset:
00:56:53.884: samples per sec: 44100
00:56:53.884: speakers: 2
00:56:53.885: ---------------------------------
00:56:53.885: Initializing D3D11..
00:56:53.885: Available Video Adapters:
00:56:53.886: Adapter 1: NVIDIA GeForce GTX 970
00:56:53.886: Dedicated VRAM: 4256628736
00:56:53.886: Shared VRAM: 4243361792
00:56:53.886: output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:56:53.886: output 2: pos={1920, 0}, size={1920, 1080}, attached=true
00:56:53.889: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
00:56:54.351: D3D11 loaded sucessfully, feature level used: 45056
00:56:55.258: ---------------------------------
00:56:55.258: video settings reset:
00:56:55.258: base resolution: 1920x1080
00:56:55.258: output resolution: 1920x1080
00:56:55.258: downscale filter: Bilinear
00:56:55.258: fps: 60/1
00:56:55.258: format: NV12
00:56:55.260: Audio monitoring device:
00:56:55.260: name: Default
00:56:55.260: id: default
00:56:55.260: ---------------------------------
00:56:55.261: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
00:56:55.281: LoadLibrary failed for '../../obs-plugins/64bit/CLRHostPlugin.dll': The specified module could not be found.
00:56:55.281: (126)
00:56:55.281: Module '../../obs-plugins/64bit/CLRHostPlugin.dll' not found
00:56:55.282: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
00:56:55.284: [AMF Encoder] Unable to load 'amfrt64.dll', error code 126.
00:56:55.300: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
00:56:55.300: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
00:56:55.300: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
00:56:55.300: Failed to load 'en-US' text for module: 'obs-browser.dll'
00:56:55.300: [browser_source: 'Version: 1.29.0']
00:56:55.302: NVENC supported
00:56:55.355: Couldn't find VLC installation, VLC video source disabled
00:56:55.360: No blackmagic support
00:56:55.418: ---------------------------------
00:56:55.418: Loaded Modules:
00:56:55.418: win-wasapi.dll
00:56:55.418: win-mf.dll
00:56:55.418: win-dshow.dll
00:56:55.418: win-decklink.dll
00:56:55.418: win-capture.dll
00:56:55.418: vlc-video.dll
00:56:55.418: text-freetype2.dll
00:56:55.418: rtmp-services.dll
00:56:55.418: obs-x264.dll
00:56:55.418: obs-vst.dll
00:56:55.418: obs-transitions.dll
00:56:55.418: obs-text.dll
00:56:55.418: obs-qsv11.dll
00:56:55.418: obs-outputs.dll
00:56:55.418: obs-filters.dll
00:56:55.418: obs-ffmpeg.dll
00:56:55.418: obs-browser.dll
00:56:55.418: image-source.dll
00:56:55.418: frontend-tools.dll
00:56:55.418: enc-amf.dll
00:56:55.418: coreaudio-encoder.dll
00:56:55.418: ==== Startup complete ===============================================
00:56:55.421: All scene data cleared
00:56:55.421: ------------------------------------------------
00:56:55.459: WASAPI: Device '2757-8 (NVIDIA High Definition Audio)' initialized
00:56:55.460: [WASAPISource::TryInitialize]:[Microphone (2- USB PnP Sound Device)] Failed to activate client context: 88890004
00:56:55.460: [WASAPISource::WASAPISource] Device '{0.0.1.00000000}.{5712d2b9-b688-4c14-b520-9234a4dfa856}' not found. Waiting for device
00:56:55.461: [Media Source 'Going Offline Video']: settings:
00:56:55.461: input: E:/External Backup/Video/OBS Videos/Going Offline LONG.mp4
00:56:55.461: input_format: (null)
00:56:55.461: is_looping: no
00:56:55.461: is_forcing_scale: yes
00:56:55.461: is_hw_decoding: yes
00:56:55.461: is_clear_on_media_end: yes
00:56:55.461: restart_on_activate: no
00:56:55.461: [Media Source 'Going Live Video']: settings:
00:56:55.461: input: E:/External Backup/Video/OBS Videos/Going Live LONG.mp4
00:56:55.461: input_format: (null)
00:56:55.461: is_looping: no
00:56:55.461: is_forcing_scale: yes
00:56:55.461: is_hw_decoding: yes
00:56:55.461: is_clear_on_media_end: yes
00:56:55.461: restart_on_activate: no
00:56:55.491: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
00:56:59.269: [Media Source 'BRB Video']: settings:
00:56:59.269: input: E:/External Backup/Video/OBS Videos/BRB Long.mp4
00:56:59.269: input_format: (null)
00:56:59.269: is_looping: yes
00:56:59.269: is_forcing_scale: yes
00:56:59.269: is_hw_decoding: yes
00:56:59.269: is_clear_on_media_end: yes
00:56:59.269: restart_on_activate: no
00:56:59.427: Switched to scene 'Going Live'
00:56:59.427: ------------------------------------------------
00:56:59.427: Loaded scenes:
00:56:59.427: - scene 'Main':
00:56:59.427: - source: 'Game' (game_capture)
00:56:59.427: - source: 'Overlay - NO Webcam' (image_source)
00:56:59.427: - source: 'Fans' (text_ft2_source)
00:56:59.427: - filter: 'Scroll' (scroll_filter)
00:56:59.427: - filter: 'Crop/Pad' (crop_filter)
00:56:59.427: - source: 'donations' (text_ft2_source)
00:56:59.427: - filter: 'Scroll' (scroll_filter)
00:56:59.427: - filter: 'Crop/Pad' (crop_filter)
00:56:59.427: - source: 'Twitch Alerts' (browser_source)
00:56:59.427: - source: 'Spotify Tape' (image_source)
00:56:59.427: - source: 'Song Text' (text_gdiplus)
00:56:59.427: - filter: 'Scroll' (scroll_filter)
00:56:59.427: - filter: 'Crop/Pad' (crop_filter)
00:56:59.427: - scene 'BRB':
00:56:59.427: - source: 'BRB Video' (ffmpeg_source)
00:56:59.427: - source: 'Twitch Alerts' (browser_source)
00:56:59.427: - source: 'Spotify Tape' (image_source)
00:56:59.427: - source: 'Song Text' (text_gdiplus)
00:56:59.427: - filter: 'Scroll' (scroll_filter)
00:56:59.428: - filter: 'Crop/Pad' (crop_filter)
00:56:59.428: - scene 'Going Live':
00:56:59.450: - source: 'Going Live Video' (ffmpeg_source)
00:56:59.450: - source: 'Twitch Alerts' (browser_source)
00:56:59.450: - source: 'Spotify Tape' (image_source)
00:56:59.450: - source: 'Song Text' (text_gdiplus)
00:56:59.450: - filter: 'Scroll' (scroll_filter)
00:56:59.450: - filter: 'Crop/Pad' (crop_filter)
00:56:59.450: - scene 'Going Offline':
00:56:59.450: - source: 'Going Offline Video' (ffmpeg_source)
00:56:59.450: - source: 'Twitch Alerts' (browser_source)
00:56:59.450: - source: 'Spotify Tape' (image_source)
00:56:59.450: - source: 'Song Text' (text_gdiplus)
00:56:59.450: - filter: 'Scroll' (scroll_filter)
00:56:59.450: - filter: 'Crop/Pad' (crop_filter)
00:56:59.450: ------------------------------------------------
00:57:54.895: ==== Shutting down ==================================================
00:57:54.905: Switched to scene '(null)'
00:57:55.047: WASAPI: Device '2757-8 (NVIDIA High Definition Audio)' Terminated
00:57:55.056: All scene data cleared
00:57:55.056: ------------------------------------------------
00:57:55.105: Freeing OBS context data
00:57:55.170: == Profiler Results =============================
00:57:55.170: run_program_init: 5686.99 ms
00:57:55.170: ┣OBSApp::AppInit: 2.119 ms
00:57:55.170: ┃ ┗OBSApp::InitLocale: 1.257 ms
00:57:55.170: ┗OBSApp::OBSInit: 5677.07 ms
00:57:55.170: ┣obs_startup: 1.337 ms
00:57:55.170: ┗OBSBasic::OBSInit: 5640.33 ms
00:57:55.170: ┣OBSBasic::InitBasicConfig: 0.397 ms
00:57:55.170: ┣OBSBasic::ResetAudio: 0.286 ms
00:57:55.170: ┣OBSBasic::ResetVideo: 1375.99 ms
00:57:55.170: ┣OBSBasic::InitOBSCallbacks: 0.005 ms
00:57:55.170: ┣OBSBasic::InitHotkeys: 0.058 ms
00:57:55.170: ┣obs_load_all_modules: 158.071 ms
00:57:55.170: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.63 ms
00:57:55.170: ┃ ┣obs_init_module(enc-amf.dll): 0.491 ms
00:57:55.170: ┃ ┣obs_init_module(frontend-tools.dll): 1.675 ms
00:57:55.170: ┃ ┣obs_init_module(image-source.dll): 0.003 ms
00:57:55.170: ┃ ┣obs_init_module(obs-browser.dll): 0.06 ms
00:57:55.170: ┃ ┣obs_init_module(obs-ffmpeg.dll): 0.785 ms
00:57:55.170: ┃ ┣obs_init_module(obs-filters.dll): 0.009 ms
00:57:55.170: ┃ ┣obs_init_module(obs-outputs.dll): 0.006 ms
00:57:55.170: ┃ ┣obs_init_module(obs-qsv11.dll): 45.722 ms
00:57:55.170: ┃ ┣obs_init_module(obs-text.dll): 0.537 ms
00:57:55.170: ┃ ┣obs_init_module(obs-transitions.dll): 0.005 ms
00:57:55.170: ┃ ┣obs_init_module(obs-vst.dll): 0.001 ms
00:57:55.170: ┃ ┣obs_init_module(obs-x264.dll): 0.002 ms
00:57:55.170: ┃ ┣obs_init_module(rtmp-services.dll): 0.293 ms
00:57:55.170: ┃ ┣obs_init_module(text-freetype2.dll): 0.029 ms
00:57:55.170: ┃ ┣obs_init_module(vlc-video.dll): 0.077 ms
00:57:55.170: ┃ ┣obs_init_module(win-capture.dll): 0.067 ms
00:57:55.170: ┃ ┣obs_init_module(win-decklink.dll): 3.33 ms
00:57:55.170: ┃ ┣obs_init_module(win-dshow.dll): 1.883 ms
00:57:55.170: ┃ ┣obs_init_module(win-mf.dll): 52.338 ms
00:57:55.170: ┃ ┣obs_init_module(win-wasapi.dll): 0.006 ms
00:57:55.170: ┃ ┗reset_win32_symbol_paths: 0.101 ms
00:57:55.170: ┣OBSBasic::ResetOutputs: 0.502 ms
00:57:55.170: ┣OBSBasic::CreateHotkeys: 0.035 ms
00:57:55.171: ┣OBSBasic::InitService: 0.115 ms
00:57:55.171: ┣OBSBasic::InitPrimitives: 0.218 ms
00:57:55.171: ┗OBSBasic::Load: 4030.69 ms
00:57:55.171: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.009 ms, max=29.943 ms, 99th percentile=2.662 ms, 99.9585% below 25 ms
00:57:55.171: audio_thread(Audio): min=0 ms, median=0.111 ms, max=2.475 ms, 99th percentile=1.758 ms
00:57:55.171: obs_video_thread(16.6667 ms): min=0.239 ms, median=3.103 ms, max=3943.96 ms, 99th percentile=13.174 ms, 99.6718% below 16.667 ms
00:57:55.171: ┣tick_sources: min=0.001 ms, median=0.022 ms, max=3942.22 ms, 99th percentile=0.228 ms
00:57:55.171: ┣render_displays: min=0.001 ms, median=1.751 ms, max=28.857 ms, 99th percentile=3.205 ms
00:57:55.171: ┗output_frame: min=0.235 ms, median=1.554 ms, max=26.138 ms, 99th percentile=3.346 ms
00:57:55.171: ┣gs_context(video->graphics): min=0.125 ms, median=0.48 ms, max=23.921 ms, 99th percentile=2.121 ms
00:57:55.171: ┃ ┣render_video: min=0.029 ms, median=0.057 ms, max=22.952 ms, 99th percentile=0.498 ms
00:57:55.171: ┃ ┃ ┣render_main_texture: min=0.002 ms, median=0.027 ms, max=22.891 ms, 99th percentile=0.093 ms
00:57:55.171: ┃ ┃ ┣render_output_texture: min=0.004 ms, median=0.009 ms, max=0.337 ms, 99th percentile=0.021 ms
00:57:55.171: ┃ ┃ ┣render_convert_texture: min=0.001 ms, median=0.013 ms, max=0.086 ms, 99th percentile=0.026 ms
00:57:55.171: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.004 ms, max=9.163 ms, 99th percentile=0.423 ms
00:57:55.171: ┃ ┣download_frame: min=0 ms, median=0.003 ms, max=4.227 ms, 99th percentile=0.687 ms
00:57:55.171: ┃ ┗gs_flush: min=0.028 ms, median=0.347 ms, max=11.093 ms, 99th percentile=1.382 ms
00:57:55.171: ┗output_video_data: min=0.767 ms, median=1.039 ms, max=3.004 ms, 99th percentile=1.733 ms
00:57:55.171: video_thread(video): min=0.001 ms, median=0.002 ms, max=0.039 ms, 99th percentile=0.005 ms
00:57:55.171: =================================================
00:57:55.171: == Profiler Time Between Calls ==================
00:57:55.171: obs_hotkey_thread(25 ms): min=24.747 ms, median=25.171 ms, max=54.558 ms, 76.0265% within ±2% of 25 ms (0% lower, 23.9735% higher)
00:57:55.171: obs_video_thread(16.6667 ms): min=1.731 ms, median=16.667 ms, max=3943.97 ms, 99.4927% within ±2% of 16.667 ms (0.238735% lower, 0.268577% higher)
00:57:55.171: =================================================
00:57:55.212: Number of memory leaks: 9
 

halfderpy

New Member
That log doesn't show you trying to capture a game.

I just use "Capture specific window" and then select the game.

However, again, all of my CPU usage is while it isn't streaming, it isn't recording, it's just open and sitting there. OBS Classic does not use that much. Even under load it only uses maybe 10% of my CPU but Studio uses up to 40%
 

Attachments

  • 1.PNG
    1.PNG
    57 KB · Views: 243

halfderpy

New Member
Okay so I looked into it a little. I deleted the videos from their respective scenes and sources and it DROPPED my CPU usage to 3% while idle. My question is this: I have scenes that have videos for people to watch while i am going live, going offline, and on a BRB screen. Apparently these are heavily bogging down my system, but it's only playing a simple MP4 file. How can I keep these, but lighten the load on my rig?
 
Top