Question / Help Game stuttering badly while streaming

Ryan Lewis

New Member
Earlier today I attempted to stream Half Life 2. However, while the stream was active the game started stuttering quite badly when looking around. Walking around was fine, but looking around was stuttering and head-ache inducing. I turned motion blur on and Vsync off, but that didn't improve it too much, plus now there was a huge amount of screen tearing. While the stream is turned off, the game runs fine.

I'm new to OBS Studio, but I've used OBS quite a bit in the past (including for Half Life 2). I have no idea where to start on this, as my OBS Studio settings are almost identical to my old OBS settings (if not completely identical). Any help is appreciated, and if further information (specs, settings, credit card number, etc) is required, let me know and I'll be happy to provide.
 

Ryan Lewis

New Member
Turn v-sync ON and post a log-file, please.

[09:07:39.486: CPU Name: Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz
09:07:39.486: CPU Speed: 3504MHz
09:07:39.486: Physical Cores: 4, Logical Cores: 4
09:07:39.486: Physical Memory: 16330MB Total, 12435MB Free
09:07:39.486: Windows Version: 10.0 Build 14393 (revision: 0)
09:07:39.486: Running as administrator: false
09:07:39.486: Aero is Enabled (Aero is always on for windows 8 and above)
09:07:39.499: OBS 0.15.4 (64bit, windows)
09:07:39.499: ---------------------------------
09:07:39.499: ---------------------------------
09:07:39.499: audio settings reset:
09:07:39.499: samples per sec: 44100
09:07:39.499: speakers: 2
09:07:39.540: ---------------------------------
09:07:39.540: Initializing D3D11..
09:07:39.540: Available Video Adapters:
09:07:39.541: Adapter 1: Radeon (TM) RX 480 Graphics
09:07:39.541: Dedicated VRAM: 4241149952
09:07:39.541: Shared VRAM: 4267128832
09:07:39.541: output 1: pos={0, 0}, size={1920, 1080}, attached=true
09:07:39.541: output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
09:07:39.542: Loading up D3D11 on adapter Radeon (TM) RX 480 Graphics (0)
09:07:39.557: D3D11 loaded sucessfully, feature level used: 45056
09:07:40.012: ---------------------------------
09:07:40.012: video settings reset:
09:07:40.012: base resolution: 1920x1080
09:07:40.012: output resolution: 1920x1080
09:07:40.012: fps: 60/1
09:07:40.012: format: NV12
09:07:40.014: ---------------------------------
09:07:40.038: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
09:07:40.052: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
09:07:40.053: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
09:07:40.053: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
09:07:40.054: Failed to load 'en-US' text for module: 'obs-browser.dll'
09:07:40.058: LoadLibrary failed for 'nvEncodeAPI64.dll', error: 126
09:07:40.800: VLC found, VLC video source enabled
09:07:41.620: No blackmagic support
09:07:41.781: ---------------------------------
09:07:41.781: Loaded Modules:
09:07:41.781: win-wasapi.dll
09:07:41.781: win-mf.dll
09:07:41.781: win-dshow.dll
09:07:41.781: win-decklink.dll
09:07:41.781: win-capture.dll
09:07:41.781: vlc-video.dll
09:07:41.781: text-freetype2.dll
09:07:41.781: rtmp-services.dll
09:07:41.781: obs-x264.dll
09:07:41.781: obs-transitions.dll
09:07:41.781: obs-qsv11.dll
09:07:41.781: obs-outputs.dll
09:07:41.781: obs-filters.dll
09:07:41.781: obs-ffmpeg.dll
09:07:41.781: obs-browser.dll
09:07:41.781: image-source.dll
09:07:41.781: coreaudio-encoder.dll
09:07:41.781: ==== Startup complete ===============================================
09:07:42.018: All scene data cleared
09:07:42.018: ------------------------------------------------
09:07:42.067: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
09:07:42.077: WASAPI: Device 'Microphone (Blue Snowball)' initialized
09:07:42.259: Switched to scene 'Stream'
09:07:42.259: adding 92 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
09:07:42.259: ------------------------------------------------
09:07:42.259: Loaded scenes:
09:07:42.259: - scene 'Stream':
09:07:42.259: - source: 'CSGO' (game_capture)
09:07:42.259: - source: 'Overwatch' (game_capture)
09:07:42.259: - source: 'HL2' (game_capture)
09:07:42.259: ------------------------------------------------
09:07:42.575: Update check: last known remote version is 0.15.4
09:09:15.324: Settings changed (outputs)
09:09:15.324: ------------------------------------------------
09:11:04.814: [game-capture: 'HL2'] attempting to hook process: hl2.exe
09:11:04.815: [game-capture: 'HL2'] using helper (direct hook)
09:11:08.831: [game-capture: 'HL2'] attempting to hook process: hl2.exe
09:11:08.892: [game-capture: 'HL2'] d3d9 shared texture capture successful
09:11:09.060: [game-capture: 'HL2'] Hooked DXGI
09:11:37.658: ---------------------------------
09:11:37.658: [x264 encoder: 'simple_h264_stream'] preset: veryfast
09:11:37.658: [x264 encoder: 'simple_h264_stream'] profile: main
09:11:37.672: [x264 encoder: 'simple_h264_stream'] settings:
09:11:37.672: rate_control: CBR
09:11:37.672: bitrate: 3500
09:11:37.672: buffer size: 3500
09:11:37.672: crf: 0
09:11:37.672: fps_num: 60
09:11:37.672: fps_den: 1
09:11:37.672: width: 1920
09:11:37.672: height: 1080
09:11:37.672: keyint: 120
09:11:37.672: vfr: off
09:11:37.672:
09:11:37.672: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
09:11:37.707: [Media Foundation AAC: 'simple_aac']: encoder created
09:11:37.707: bitrate: 160
09:11:37.707: channels: 2
09:11:37.707: sample rate: 44100
09:11:37.707: bits-per-sample: 16
09:11:37.707:
09:11:37.708: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
09:11:37.734: [rtmp stream: 'simple_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
09:11:38.948: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
09:11:38.959: ==== Streaming Start ===============================================
09:13:05.764: [game-capture: 'HL2'] capture window no longer exists, terminating capture
09:13:08.867: [rtmp stream: 'simple_stream'] User stopped the stream
09:13:08.867: Output 'simple_stream': stopping
09:13:08.867: Output 'simple_stream': Total encoded frames: 5470
09:13:08.867: Output 'simple_stream': Total drawn frames: 5470
09:13:08.867: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 6 (0.1%)
09:13:08.868: ==== Streaming Stop ================================================]
 

Suslik V

Active Member
Try to make recording and compare. By the way, from this log you are still experience stuttering? And can you upload this log full?
 
Top