Hi, I've been trying to stream CS:GO recently. I'm usually playing with around 200-300 fps but when I begin streaming I start getting huge cpu usage up to 100%, it drops to like 20-50 fps for 1-2 seconds and then goes back to normal. This happens every 10-15 seconds. When I'm playing CS my cpu is normally at 30-40%. This never happens when I'm not streaming.
I'm playing with 1920x1080 resolution, downscaled to 1280x720 at 60 fps (I tried at 30 fps, still same).
My upload is 7.10.
Video bitrate - 2500.
Encoder preset - faster.
PC specs are:
CPU - AMD FX 8350
GPU: Radeon RX-480 8 GB G1
Ram: 16 GB at 1600 mhz
I know some people streaming with worse specs than mine and have no issues at all. I have also turned off any other cpu consuming processes.
I'm playing with 1920x1080 resolution, downscaled to 1280x720 at 60 fps (I tried at 30 fps, still same).
My upload is 7.10.
Video bitrate - 2500.
Encoder preset - faster.
PC specs are:
CPU - AMD FX 8350
GPU: Radeon RX-480 8 GB G1
Ram: 16 GB at 1600 mhz
I know some people streaming with worse specs than mine and have no issues at all. I have also turned off any other cpu consuming processes.
Code:
10:20:55.688: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
10:20:55.688: CPU Speed: 4018MHz
10:20:55.688: Physical Cores: 4, Logical Cores: 8
10:20:55.688: Physical Memory: 16347MB Total, 10812MB Free
10:20:55.688: Windows Version: 6.1 Build 7601 (revision: 18409; 64-bit)
10:20:55.688: Running as administrator: false
10:20:55.688: Aero is Enabled
10:20:55.689: Portable mode: false
10:20:55.710: OBS 17.0.2 (64bit, windows)
10:20:55.710: ---------------------------------
10:20:55.711: ---------------------------------
10:20:55.711: audio settings reset:
10:20:55.711: samples per sec: 44100
10:20:55.711: speakers: 2
10:20:55.725: ---------------------------------
10:20:55.725: Initializing D3D11..
10:20:55.725: Available Video Adapters:
10:20:55.729: Adapter 1: Radeon (TM) RX 480 Graphics
10:20:55.729: Dedicated VRAM: 4237103104
10:20:55.729: Shared VRAM: 4026531840
10:20:55.729: output 1: pos={0, 0}, size={1920, 1080}, attached=true
10:20:55.734: Loading up D3D11 on adapter Radeon (TM) RX 480 Graphics (0)
10:20:55.749: D3D11 loaded sucessfully, feature level used: 45056
10:20:57.108: ---------------------------------
10:20:57.108: video settings reset:
10:20:57.108: base resolution: 1920x1080
10:20:57.108: output resolution: 1280x720
10:20:57.108: downscale filter: Bicubic
10:20:57.108: fps: 60/1
10:20:57.108: format: NV12
10:20:57.109: ---------------------------------
10:20:57.122: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
10:20:57.212: [AMF Encoder] Version 1.4.3.8 loaded (Compiled: 1.3.0.5, Runtime: 1.4.1.0, Library: 1;4;1;0;16.60.2011;201702100916;CL#1371796).
10:20:58.603: LoadLibrary failed for 'nvEncodeAPI64.dll': The specified module could not be found.
10:20:58.603: (126)
10:20:58.963: Couldn't find VLC installation, VLC video source disabled
10:20:59.000: No blackmagic support
10:20:59.038: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
10:20:59.156: ---------------------------------
10:20:59.156: Loaded Modules:
10:20:59.156: win-wasapi.dll
10:20:59.156: win-mf.dll
10:20:59.156: win-dshow.dll
10:20:59.156: win-decklink.dll
10:20:59.156: win-capture.dll
10:20:59.156: vlc-video.dll
10:20:59.156: text-freetype2.dll
10:20:59.156: rtmp-services.dll
10:20:59.156: obs-x264.dll
10:20:59.156: obs-transitions.dll
10:20:59.156: obs-text.dll
10:20:59.156: obs-qsv11.dll
10:20:59.156: obs-outputs.dll
10:20:59.156: obs-filters.dll
10:20:59.157: obs-ffmpeg.dll
10:20:59.157: image-source.dll
10:20:59.157: frontend-tools.dll
10:20:59.157: enc-amf.dll
10:20:59.157: coreaudio-encoder.dll
10:20:59.157: ==== Startup complete ===============================================
10:20:59.160: All scene data cleared
10:20:59.160: ------------------------------------------------
10:20:59.191: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
10:20:59.198: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
10:20:59.255: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
10:20:59.837: Switched to scene 'Scene'
10:20:59.837: ------------------------------------------------
10:20:59.837: Loaded scenes:
10:20:59.837: - scene 'Scene':
10:20:59.837: - source: 'Game Capture' (game_capture)
10:20:59.837: ------------------------------------------------
10:21:00.877: Update check: last known remote version is 17.0.2
10:21:13.944: [game-capture: 'Game Capture'] attempting to hook process: csgo.exe
10:21:13.946: [game-capture: 'Game Capture'] using helper (compatibility hook)
10:21:14.180: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
10:21:15.960: [game-capture: 'Game Capture'] attempting to hook process: csgo.exe
10:21:16.115: [game-capture: 'Game Capture'] d3d9 shared texture capture successful
10:21:16.126: [game-capture: 'Game Capture'] shared texture capture successful
10:21:20.006: [game-capture: 'Game Capture'] Hooked DXGI
10:21:54.481: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
10:23:39.754: ---------------------------------
10:23:39.754: [x264 encoder: 'simple_h264_stream'] preset: faster
10:23:39.754: [x264 encoder: 'simple_h264_stream'] settings:
10:23:39.754: rate_control: CBR
10:23:39.754: bitrate: 2500
10:23:39.754: buffer size: 2500
10:23:39.754: crf: 0
10:23:39.754: fps_num: 60
10:23:39.754: fps_den: 1
10:23:39.754: width: 1280
10:23:39.754: height: 720
10:23:39.754: keyint: 120
10:23:39.754: vfr: off
10:23:39.754:
10:23:39.754: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
10:23:39.762: ---------------------------------
10:23:39.763: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2
10:23:39.767: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-arn.twitch.tv/app...
10:23:39.825: [rtmp stream: 'simple_stream'] Interface: Broadband Connection (type 23, 100 mbps)
10:23:42.063: [rtmp stream: 'simple_stream'] Connection to rtmp://live-arn.twitch.tv/app successful
10:23:42.065: ==== Streaming Start ===============================================
10:25:08.489: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
10:26:15.879: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
10:26:52.912: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds
10:27:12.182: adding 69 milliseconds of audio buffering, total audio buffering is now 185 milliseconds
10:31:05.808: [game-capture: 'Game Capture'] capture stopped
10:31:15.885: [game-capture: 'Game Capture'] attempting to hook process: csgo.exe
10:31:15.902: [game-capture: 'Game Capture'] shared texture capture successful
10:37:29.626: [rtmp stream: 'simple_stream'] User stopped the stream
10:37:29.627: Output 'simple_stream': stopping
10:37:29.627: Output 'simple_stream': Total encoded frames: 49791
10:37:29.627: Output 'simple_stream': Total drawn frames: 49791
10:37:29.627: Output 'simple_stream': Number of skipped frames due to encoding lag: 4166 (8.4%)
10:37:29.627: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 917 (1.8%)
10:37:29.677: ==== Streaming Stop ================================================
10:37:30.554: ==== Shutting down ==================================================
10:37:30.557: Switched to scene '(null)'
10:37:30.558: [game-capture: 'Game Capture'] capture stopped
10:37:30.558: WASAPI: Device 'Speakers (High Definition Audio Device)' Terminated
10:37:30.561: WASAPI: Device 'Microphone (High Definition Audio Device)' Terminated
10:37:30.562: All scene data cleared
10:37:30.562: ------------------------------------------------
10:37:30.606: Freeing OBS context data
10:37:30.639: == Profiler Results =============================
10:37:30.639: run_program_init: 4299.35 ms
10:37:30.639: ┣OBSApp::AppInit: 6.977 ms
10:37:30.639: ┃ ┗OBSApp::InitLocale: 3.427 ms
10:37:30.639: ┗OBSApp::OBSInit: 4248.09 ms
10:37:30.639: ┣obs_startup: 1.899 ms
10:37:30.639: ┗OBSBasic::OBSInit: 4195.05 ms
10:37:30.639: ┣OBSBasic::InitBasicConfig: 0.958 ms
10:37:30.639: ┣OBSBasic::ResetAudio: 0.36 ms
10:37:30.639: ┣OBSBasic::ResetVideo: 1397.24 ms
10:37:30.640: ┣OBSBasic::InitOBSCallbacks: 0.05 ms
10:37:30.640: ┣OBSBasic::InitHotkeys: 0.07 ms
10:37:30.640: ┣obs_load_all_modules: 2047.06 ms
10:37:30.640: ┃ ┣obs_init_module(coreaudio-encoder.dll): 0.87 ms
10:37:30.640: ┃ ┣obs_init_module(enc-amf.dll): 1414.2 ms
10:37:30.640: ┃ ┣obs_init_module(frontend-tools.dll): 1.633 ms
10:37:30.640: ┃ ┣obs_init_module(image-source.dll): 0.005 ms
10:37:30.640: ┃ ┣obs_init_module(obs-ffmpeg.dll): 7.417 ms
10:37:30.640: ┃ ┣obs_init_module(obs-filters.dll): 0.01 ms
10:37:30.640: ┃ ┣obs_init_module(obs-outputs.dll): 0.004 ms
10:37:30.640: ┃ ┣obs_init_module(obs-qsv11.dll): 241.302 ms
10:37:30.640: ┃ ┣obs_init_module(obs-text.dll): 0.554 ms
10:37:30.640: ┃ ┣obs_init_module(obs-transitions.dll): 0.008 ms
10:37:30.640: ┃ ┣obs_init_module(obs-x264.dll): 0.003 ms
10:37:30.640: ┃ ┣obs_init_module(rtmp-services.dll): 1.654 ms
10:37:30.640: ┃ ┣obs_init_module(text-freetype2.dll): 0.254 ms
10:37:30.640: ┃ ┣obs_init_module(vlc-video.dll): 0.085 ms
10:37:30.640: ┃ ┣obs_init_module(win-capture.dll): 0.467 ms
10:37:30.640: ┃ ┣obs_init_module(win-decklink.dll): 11.878 ms
10:37:30.640: ┃ ┣obs_init_module(win-dshow.dll): 3.577 ms
10:37:30.640: ┃ ┣obs_init_module(win-mf.dll): 106.998 ms
10:37:30.640: ┃ ┣obs_init_module(win-wasapi.dll): 0.011 ms
10:37:30.640: ┃ ┗reset_win32_symbol_paths: 0.93 ms
10:37:30.640: ┣OBSBasic::ResetOutputs: 0.823 ms
10:37:30.640: ┣OBSBasic::CreateHotkeys: 0.033 ms
10:37:30.640: ┣OBSBasic::InitService: 0.456 ms
10:37:30.640: ┣OBSBasic::InitPrimitives: 0.27 ms
10:37:30.640: ┗OBSBasic::Load: 678.887 ms
10:37:30.640: obs_hotkey_thread(25 ms): min=0.002 ms, median=0.006 ms, max=62.912 ms, 99th percentile=0.146 ms, 99.9722% below 25 ms
10:37:30.640: audio_thread(Audio): min=0.001 ms, median=1.408 ms, max=189.413 ms, 99th percentile=11.434 ms
10:37:30.640: ┗receive_audio: min=0.007 ms, median=1.357 ms, max=176.378 ms, 99th percentile=9.973 ms, 0.847891 calls per parent call
10:37:30.640: ┣buffer_audio: min=0.001 ms, median=0.003 ms, max=3.688 ms, 99th percentile=0.006 ms
10:37:30.640: ┗do_encode: min=0.393 ms, median=1.349 ms, max=176.363 ms, 99th percentile=9.943 ms
10:37:30.640: ┗encode(simple_aac): min=0.387 ms, median=1.33 ms, max=176.25 ms, 99th percentile=9.887 ms
10:37:30.640: obs_video_thread(16.6667 ms): min=0.272 ms, median=0.857 ms, max=628.09 ms, 99th percentile=21.485 ms, 98.6051% below 16.667 ms
10:37:30.640: ┣tick_sources: min=0.001 ms, median=0.018 ms, max=625.408 ms, 99th percentile=0.3 ms
10:37:30.641: ┣render_displays: min=0 ms, median=0.001 ms, max=7.05 ms, 99th percentile=0.398 ms
10:37:30.641: ┗output_frame: min=0.255 ms, median=0.82 ms, max=270.701 ms, 99th percentile=20.63 ms
10:37:30.641: ┣gs_context(video->graphics): min=0.134 ms, median=0.358 ms, max=269.712 ms, 99th percentile=20.01 ms
10:37:30.641: ┃ ┣render_video: min=0.031 ms, median=0.102 ms, max=154.949 ms, 99th percentile=1.127 ms
10:37:30.641: ┃ ┃ ┣render_main_texture: min=0.003 ms, median=0.056 ms, max=18.144 ms, 99th percentile=0.26 ms
10:37:30.641: ┃ ┃ ┣render_output_texture: min=0.008 ms, median=0.013 ms, max=64.844 ms, 99th percentile=0.052 ms
10:37:30.641: ┃ ┃ ┣render_convert_texture: min=0.002 ms, median=0.014 ms, max=11.659 ms, 99th percentile=0.052 ms
10:37:30.641: ┃ ┃ ┗stage_output_texture: min=0 ms, median=0.01 ms, max=154.768 ms, 99th percentile=0.099 ms
10:37:30.641: ┃ ┣download_frame: min=0 ms, median=0.009 ms, max=88.997 ms, 99th percentile=0.083 ms
10:37:30.641: ┃ ┗gs_flush: min=0.074 ms, median=0.238 ms, max=269.424 ms, 99th percentile=16.489 ms
10:37:30.641: ┗output_video_data: min=0.001 ms, median=0.436 ms, max=44.236 ms, 99th percentile=0.903 ms
10:37:30.641: video_thread(video): min=0.001 ms, median=1.042 ms, max=642.274 ms, 99th percentile=60.575 ms
10:37:30.641: ┗receive_video: min=0.001 ms, median=1.105 ms, max=377.259 ms, 99th percentile=60.572 ms, 0.902634 calls per parent call
10:37:30.641: ┗do_encode: min=0.878 ms, median=1.103 ms, max=377.257 ms, 99th percentile=60.572 ms
10:37:30.641: ┗encode(simple_h264_stream): min=0.869 ms, median=1.081 ms, max=377.229 ms, 99th percentile=60.257 ms
10:37:30.641: =================================================
10:37:30.641: == Profiler Time Between Calls ==================
10:37:30.641: obs_hotkey_thread(25 ms): min=24.026 ms, median=25.001 ms, max=115.908 ms, 93.2206% within ±2% of 25 ms (2.0778% lower, 4.7016% higher)
10:37:30.641: obs_video_thread(16.6667 ms): min=0.447 ms, median=16.667 ms, max=628.104 ms, 85.8358% within ±2% of 16.667 ms (6.92178% lower, 7.24237% higher)
10:37:30.641: =================================================
10:37:30.991: Number of memory leaks: 0
Last edited: