Question / Help Lagging a lot!

bigbucket990

New Member
Hi.
I've been streaming Heroes of the Storm just fine untill a few days back.
At first, I noticed that whenever I played something with a video playing at full screen at my second monitor, the video stuttered a little, and now, when I try to stream HotS, the stream is extremelly laggy.

Here's the log from my last stream test:
Code:
03:29:13.362: CPU Name: Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz
03:29:13.362: CPU Speed: 3312MHz
03:29:13.362: Physical Cores: 4, Logical Cores: 4
03:29:13.362: Physical Memory: 16316MB Total, 11471MB Free
03:29:13.362: Windows Version: 10.0 Build 16299 (revision: 125; 64-bit)
03:29:13.362: Running as administrator: false
03:29:13.362: Aero is Enabled (Aero is always on for windows 8 and above)
03:29:13.362: Windows 10 Gaming Features:
03:29:13.362:     Game Bar: Off
03:29:13.362:     Game DVR Allowed: Yes
03:29:13.362:     Game DVR: Off
03:29:13.362:     Game DVR Background Recording: Off
03:29:13.362:     Game Mode: Off
03:29:13.362: Portable mode: false
03:29:13.374: OBS 20.1.3 (64bit, windows)
03:29:13.374: ---------------------------------
03:29:13.374: ---------------------------------
03:29:13.374: audio settings reset:
03:29:13.374:     samples per sec: 48000
03:29:13.374:     speakers:        2
03:29:13.375: ---------------------------------
03:29:13.375: Initializing D3D11...
03:29:13.375: Available Video Adapters:
03:29:13.376:     Adapter 1: NVIDIA GeForce GTX 960
03:29:13.376:       Dedicated VRAM: 4260036608
03:29:13.376:       Shared VRAM:    4259823616
03:29:13.376:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
03:29:13.376:       output 2: pos={1920, 20}, size={1680, 1050}, attached=true
03:29:13.378: Loading up D3D11 on adapter NVIDIA GeForce GTX 960 (0)
03:29:13.401: D3D11 loaded successfully, feature level used: 45056
03:29:14.077: ---------------------------------
03:29:14.077: video settings reset:
03:29:14.077:     base resolution:   1920x1080
03:29:14.077:     output resolution: 1920x1080
03:29:14.077:     downscale filter:  Lanczos
03:29:14.077:     fps:               30/1
03:29:14.077:     format:            NV12
03:29:14.080: Audio monitoring device:
03:29:14.080:     name: Default
03:29:14.080:     id: default
03:29:14.080: ---------------------------------
03:29:14.081: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
03:29:14.082: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
03:29:14.083: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
03:29:14.083: Failed to initialize module 'enc-amf.dll'
03:29:14.089: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
03:29:14.089: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
03:29:14.089: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
03:29:14.090: Failed to load 'en-US' text for module: 'obs-browser.dll'
03:29:14.090: [browser_source: 'Version: 1.29.0']
03:29:14.091: NVENC supported
03:29:14.135: Couldn't find VLC installation, VLC video source disabled
03:29:14.138: No blackmagic support
03:29:14.182: ---------------------------------
03:29:14.182:   Loaded Modules:
03:29:14.182:     win-wasapi.dll
03:29:14.182:     win-mf.dll
03:29:14.182:     win-dshow.dll
03:29:14.182:     win-decklink.dll
03:29:14.182:     win-capture.dll
03:29:14.182:     vlc-video.dll
03:29:14.182:     text-freetype2.dll
03:29:14.182:     rtmp-services.dll
03:29:14.182:     obs-x264.dll
03:29:14.182:     obs-vst.dll
03:29:14.182:     obs-transitions.dll
03:29:14.182:     obs-text.dll
03:29:14.182:     obs-qsv11.dll
03:29:14.182:     obs-outputs.dll
03:29:14.182:     obs-filters.dll
03:29:14.182:     obs-ffmpeg.dll
03:29:14.182:     obs-browser.dll
03:29:14.182:     image-source.dll
03:29:14.182:     frontend-tools.dll
03:29:14.182:     enc-amf.dll
03:29:14.182:     coreaudio-encoder.dll
03:29:14.182: ---------------------------------
03:29:14.182: ==== Startup complete ===============================================
03:29:14.186: All scene data cleared
03:29:14.186: ------------------------------------------------
03:29:14.206: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
03:29:14.215: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' initialized
03:29:14.240: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds
03:29:14.424: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds
03:29:14.530: warning: deprecated pixel format used, make sure you did set range correctly
03:29:15.430: Switched to scene 'SC'
03:29:15.436: ------------------------------------------------
03:29:15.436: Loaded scenes:
03:29:15.436: - scene 'HotS':
03:29:15.436:     - source: 'HotS Jogo' (game_capture)
03:29:15.436:     - source: 'Display Capture' (monitor_capture)
03:29:15.436:     - source: 'LoL Skin' (image_source)
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.436:     - source: 'Follow' (browser_source)
03:29:15.436:     - source: 'testando drop' (text_gdiplus)
03:29:15.436: - scene 'WoW e Diablo':
03:29:15.436:     - source: 'Jogo aleatorio' (game_capture)
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.436:     - source: 'Follow' (browser_source)
03:29:15.436:     - source: 'Chat block' (image_source)
03:29:15.436: - scene 'PS4':
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.436:     - source: 'Follow' (browser_source)
03:29:15.436: - scene 'Switch':
03:29:15.436:     - source: 'HD60' (dshow_input)
03:29:15.436:     - source: 'Display Capture' (monitor_capture)
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.436:     - source: 'Follow' (browser_source)
03:29:15.436:     - source: 'Sem Spoilers' (text_gdiplus)
03:29:15.436: - scene 'DotA':
03:29:15.436:     - source: 'HotS Jogo' (game_capture)
03:29:15.436:     - source: 'Display Capture' (monitor_capture)
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.436:     - source: 'Follow' (browser_source)
03:29:15.436: - scene 'Wii U':
03:29:15.436:     - source: 'Wii U smash' (dshow_input)
03:29:15.436:     - source: 'Placar' (image_source)
03:29:15.436:     - source: 'Placar Doubles' (image_source)
03:29:15.436:     - source: 'Player Esquerda Baixo' (text_gdiplus)
03:29:15.436:     - source: 'Player Esquerda Cima' (text_gdiplus)
03:29:15.436:     - source: 'Player Direita Baixo' (text_gdiplus)
03:29:15.436:     - source: 'Player direita cima' (text_gdiplus)
03:29:15.436:     - source: '0' (text_gdiplus)
03:29:15.436:     - source: '1' (text_gdiplus)
03:29:15.436:     - source: '2' (text_gdiplus)
03:29:15.436:     - source: '0' (text_gdiplus)
03:29:15.436:     - source: '1' (text_gdiplus)
03:29:15.436:     - source: '2' (text_gdiplus)
03:29:15.436: - scene 'Tela Casting':
03:29:15.436:     - source: 'fundo caster' (image_source)
03:29:15.436:     - source: 'Webcam Torneio' (dshow_input)
03:29:15.436:     - source: 'Painel Caster' (image_source)
03:29:15.436: - scene 'Tela Espera':
03:29:15.436:     - source: 'Tela de Espera' (image_source)
03:29:15.436: - scene 'camera amiibos':
03:29:15.436:     - source: 'Camera Amiibos' (dshow_input)
03:29:15.436: - scene 'Teste':
03:29:15.436:     - source: 'Cuphead' (game_capture)
03:29:15.436: - scene 'SC':
03:29:15.436:     - source: 'StarCraft' (game_capture)
03:29:15.436:     - source: 'Display Capture' (monitor_capture)
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.436:     - source: 'Follow' (browser_source)
03:29:15.436:     - source: 'Text (GDI+)' (text_gdiplus)
03:29:15.436: - scene 'Osu':
03:29:15.436:     - source: 'OsuGame' (game_capture)
03:29:15.436:     - source: 'Display Capture' (monitor_capture)
03:29:15.436:     - source: 'Webcam' (dshow_input)
03:29:15.436:     - source: 'Chat' (browser_source)
03:29:15.437:     - source: 'Follow' (browser_source)
03:29:15.437: ------------------------------------------------
03:29:15.569: ---------------------------------
03:29:15.569: [DShow Device: 'Webcam'] settings updated:
03:29:15.569:     video device: Logitech HD Webcam C270
03:29:15.569:     video path: \\?\usb#vid_046d&pid_0825&mi_00#6&32a6af67&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{bbefb6c7-2fc4-4139-bb8b-a58bba724083}
03:29:15.569:     resolution: 1280x960
03:29:15.569:     fps: 30.00 (interval: 333333)
03:29:15.569:     format: I420
03:29:18.309: ---------------------------------
03:29:18.309: [DShow Device: 'HD60'] settings updated:
03:29:18.309:     video device: Elgato Game Capture HD
03:29:18.309:     video path: __elgato
03:29:18.309:     resolution: 1920x1080
03:29:18.309:     fps: 30.00 (interval: 333333)
03:29:18.309:     format: UYVY
03:29:18.317:     using video device audio: yes
03:29:18.317:     sample rate: 0
03:29:18.317:     channels: 0
03:29:18.317:     audio type: WaveOut
03:29:18.326: DShow: Run failed (0x8004025F):
03:29:19.633: User switched to scene 'HotS'
03:29:19.647: [game-capture: 'HotS Jogo'] attempting to hook process: HeroesOfTheStorm.exe
03:29:19.650: [game-capture: 'HotS Jogo'] using helper (compatibility hook)
03:29:19.795: [game-capture: 'HotS Jogo'] hook not loaded yet, retrying..
03:29:21.680: [game-capture: 'HotS Jogo'] attempting to hook process: HeroesOfTheStorm.exe
03:29:21.755: [game-capture: 'HotS Jogo'] d3d11 shared texture capture successful
03:29:21.780: [game-capture: 'HotS Jogo'] shared texture capture successful
03:29:45.419: Settings changed (stream 1)
03:29:45.419: ------------------------------------------------
03:29:46.665: ---------------------------------
03:29:46.665: [NVENC encoder: 'simple_h264_stream'] settings:
03:29:46.665:     rate_control: CBR
03:29:46.665:     bitrate:      6000
03:29:46.665:     cqp:          0
03:29:46.665:     keyint:       60
03:29:46.665:     preset:       default
03:29:46.665:     profile:      main
03:29:46.665:     level:        auto
03:29:46.665:     width:        1920
03:29:46.665:     height:       1080
03:29:46.665:     2-pass:       true
03:29:46.665:     b-frames:     2
03:29:46.665:     GPU:          0
03:29:46.665:
03:29:46.775: [Media Foundation AAC: 'simple_aac']: encoder created
03:29:46.775:     bitrate: 128
03:29:46.775:     channels: 2
03:29:46.775:     sample rate: 48000
03:29:46.775:     bits-per-sample: 16
03:29:46.775:
03:29:46.775: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-sao.twitch.tv/app...
03:29:46.891: [rtmp stream: 'simple_stream'] Interface: Intel(R) Ethernet Connection (2) I219-V (ethernet, 1000 mbps)
03:29:48.548: [rtmp stream: 'simple_stream'] Connection to rtmp://live-sao.twitch.tv/app successful
03:29:48.548: [rtmp stream: 'simple_stream'] New socket loop enabled by user
03:29:48.553: ==== Streaming Start ===============================================
03:30:02.147: [game-capture: 'HotS Jogo'] capture window no longer exists, terminating capture
03:30:02.148: [game-capture: 'HotS Jogo'] capture stopped
03:30:13.347: [game-capture: 'HotS Jogo'] attempting to hook process: HeroesOfTheStorm.exe
03:30:13.349: [game-capture: 'HotS Jogo'] using helper (compatibility hook)
03:30:13.380: [game-capture: 'HotS Jogo'] hook not loaded yet, retrying..
03:30:16.380: [game-capture: 'HotS Jogo'] attempting to hook process: HeroesOfTheStorm.exe
03:30:17.447: [game-capture: 'HotS Jogo'] capture stopped
03:30:20.415: [game-capture: 'HotS Jogo'] attempting to hook process: HeroesOfTheStorm.exe
03:30:20.448: [game-capture: 'HotS Jogo'] shared texture capture successful
03:34:37.485: [rtmp stream: 'simple_stream'] User stopped the stream
03:34:37.485: socket_thread_windows: Normal exit
03:34:37.485: Output 'simple_stream': stopping
03:34:37.485: Output 'simple_stream': Total frames output: 8626
03:34:37.485: Output 'simple_stream': Total drawn frames: 8049 (8722 attempted)
03:34:37.485: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 673 (7.7%)
03:34:37.489: ==== Streaming Stop ================================================

I can see the "7% lag" at the end, but could there be any other reason than my VGA (GTX 960 4GB) dying?
Thx for the help
 

bantingGamer

New Member
im having the exact same issue. brand new gtx 960 2gb.

heroes of the storm is fine on my game screen. but when i look over to my second screen i can see the stuttering in OBS, this is unfortunately also reflected in the stream.
 

Osiris

Active Member
Limit FPS in the game to prevent the game from using all of the GPU power, so OBS can use some too.
 
Top