Question / Help low fps on stream if the game is active window

ssnik

New Member
Hello.
I have a problem, I'm trying to fix it for a long time, but everything is unsuccessful.
The problem is that when I run the stream with any quality settings, the stream begins to lag, as soon as I turn off the game and open, for example, the browser, the streaming game stops lagging, but if you switch for example to a browser, then the streaming game stops lagging.
Example: https://clips.twitch.tv/DarkAwkwardRadishTriHard

Configurations of my computer:
ROG CROSSHAIR VI HERO
Ryzen 1700
32 GB Ram
GTX 1050
 

ssnik

New Member
Post your OBS log.

Stream: https://www.twitch.tv/videos/176662363

Log:
Code:
20:37:13.980: CPU Name: AMD Ryzen 7 1700 Eight-Core Processor        
20:37:13.980: CPU Speed: 2994MHz
20:37:13.980: Physical Cores: 8, Logical Cores: 16
20:37:13.980: Physical Memory: 32696MB Total, 23029MB Free
20:37:13.980: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
20:37:13.980: Running as administrator: false
20:37:13.980: Aero is Enabled (Aero is always on for windows 8 and above)
20:37:13.980: Portable mode: false
20:37:13.993: OBS 20.0.1 (64bit, windows)
20:37:13.993: ---------------------------------
20:37:13.994: ---------------------------------
20:37:13.994: audio settings reset:
20:37:13.994:     samples per sec: 44100
20:37:13.994:     speakers:        2
20:37:13.996: ---------------------------------
20:37:13.996: Initializing D3D11...
20:37:13.996: Available Video Adapters:
20:37:13.997:     Adapter 1: NVIDIA GeForce GTX 1050
20:37:13.997:      Dedicated VRAM: 2068381696
20:37:13.997:      Shared VRAM:    4257531904
20:37:13.997:      output 1: pos={0, 0}, size={1920, 1080}, attached=true
20:37:13.999: Loading up D3D11 on adapter NVIDIA GeForce GTX 1050 (0)
20:37:14.562: D3D11 loaded successfully, feature level used: 45056
20:37:15.327: ---------------------------------
20:37:15.327: video settings reset:
20:37:15.327:     base resolution:   1920x1080
20:37:15.327:     output resolution: 1920x1080
20:37:15.327:     downscale filter:  Lanczos
20:37:15.327:     fps:               60/1
20:37:15.327:     format:            NV12
20:37:15.329: Audio monitoring device:
20:37:15.329:     name: По умолчанию
20:37:15.329:     id: default
20:37:15.329: ---------------------------------
20:37:15.331: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
20:37:15.333: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
20:37:15.336: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
20:37:15.336: Failed to initialize module 'enc-amf.dll'
20:37:15.345: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
20:37:15.346: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
20:37:15.347: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
20:37:15.348: Failed to load 'en-US' text for module: 'obs-browser.dll'
20:37:15.348: [browser_source: 'Version: 1.29.0']
20:37:15.368: NVENC supported
20:37:15.413: Couldn't find VLC installation, VLC video source disabled
20:37:15.420: No blackmagic support
20:37:15.501: ---------------------------------
20:37:15.501:   Loaded Modules:
20:37:15.501:     win-wasapi.dll
20:37:15.501:     win-mf.dll
20:37:15.501:     win-dshow.dll
20:37:15.501:     win-decklink.dll
20:37:15.501:     win-capture.dll
20:37:15.501:     vlc-video.dll
20:37:15.501:     text-freetype2.dll
20:37:15.501:     rtmp-services.dll
20:37:15.501:     obs-x264.dll
20:37:15.501:     obs-vst.dll
20:37:15.501:     obs-transitions.dll
20:37:15.501:     obs-text.dll
20:37:15.501:     obs-qsv11.dll
20:37:15.501:     obs-outputs.dll
20:37:15.501:     obs-filters.dll
20:37:15.501:     obs-ffmpeg.dll
20:37:15.501:     obs-browser.dll
20:37:15.501:     image-source.dll
20:37:15.501:     frontend-tools.dll
20:37:15.501:     enc-amf.dll
20:37:15.501:     coreaudio-encoder.dll
20:37:15.501: ---------------------------------
20:37:15.501: ==== Startup complete ===============================================
20:37:15.504: All scene data cleared
20:37:15.504: ------------------------------------------------
20:37:15.526: WASAPI: Device 'Динамики (2- Устройство с поддержкой High Definition Audio)' initialized
20:37:15.532: WASAPI: Device 'Микрофон (Siberia V2 Illuminated)' initialized
20:37:15.562: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
20:37:19.624: Switched to scene 'Игры'
20:37:19.627: ------------------------------------------------
20:37:19.627: Loaded scenes:
20:37:19.627: - scene 'Игры':
20:37:19.627:     - source: 'Игра' (window_capture)
20:37:19.627:     - source: 'Плагины' (scene)
20:37:19.627:     - source: 'Захват игры' (game_capture)
20:37:19.627: - scene 'Плагины':
20:37:19.627:     - source: 'Чатик' (browser_source)
20:37:19.627:     - source: 'Оповещания' (browser_source)
20:37:19.627: ------------------------------------------------
20:37:21.628: ---------------------------------
20:37:21.629: [x264 encoder: 'simple_h264_stream'] preset: veryfast
20:37:21.629: [x264 encoder: 'simple_h264_stream'] settings:
20:37:21.629:     rate_control: CBR
20:37:21.629:     bitrate:      6000
20:37:21.629:     buffer size:  6000
20:37:21.629:     crf:          0
20:37:21.629:     fps_num:      60
20:37:21.629:     fps_den:      1
20:37:21.629:     width:        1920
20:37:21.629:     height:       1080
20:37:21.629:     keyint:       120
20:37:21.629:
20:37:21.629: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
20:37:21.638: [Media Foundation AAC: 'simple_aac']: encoder created
20:37:21.638:     bitrate: 160
20:37:21.638:     channels: 2
20:37:21.638:     sample rate: 44100
20:37:21.638:     bits-per-sample: 16
20:37:21.638:
20:37:21.638: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
20:37:21.699: [rtmp stream: 'simple_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 100 mbps)
20:37:23.473: [rtmp stream: 'simple_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
20:37:23.476: ==== Streaming Start ===============================================
20:37:36.795: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
20:39:08.632: [rtmp stream: 'simple_stream'] User stopped the stream
20:39:08.632: Output 'simple_stream': stopping
20:39:08.632: Output 'simple_stream': Total frames output: 6264
20:39:08.632: Output 'simple_stream': Total drawn frames: 4997 (6420 attempted)
20:39:08.632: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 1423 (22.2%)
20:39:08.632: [rtmp stream: 'simple_stream'] Freeing 31 remaining packets
20:39:08.634: ==== Streaming Stop ================================================
 
Last edited:

ssnik

New Member
test #2

stream: https://www.twitch.tv/videos/176663780
log:

Code:
20:43:41.209: CPU Name: AMD Ryzen 7 1700 Eight-Core Processor        
20:43:41.209: CPU Speed: 2994MHz
20:43:41.209: Physical Cores: 8, Logical Cores: 16
20:43:41.210: Physical Memory: 32696MB Total, 23490MB Free
20:43:41.210: Windows Version: 10.0 Build 15063 (revision: 296; 64-bit)
20:43:41.210: Running as administrator: false
20:43:41.210: Aero is Enabled (Aero is always on for windows 8 and above)
20:43:41.210: Portable mode: false
20:43:41.223: OBS 20.0.1 (64bit, windows)
20:43:41.223: ---------------------------------
20:43:41.223: ---------------------------------
20:43:41.224: audio settings reset:
20:43:41.224:     samples per sec: 44100
20:43:41.224:     speakers:        2
20:43:41.225: ---------------------------------
20:43:41.225: Initializing D3D11...
20:43:41.225: Available Video Adapters:
20:43:41.226:     Adapter 1: NVIDIA GeForce GTX 1050
20:43:41.226:      Dedicated VRAM: 2068381696
20:43:41.226:      Shared VRAM:    4257531904
20:43:41.226:      output 1: pos={0, 0}, size={1920, 1080}, attached=true
20:43:41.228: Loading up D3D11 on adapter NVIDIA GeForce GTX 1050 (0)
20:43:41.795: D3D11 loaded successfully, feature level used: 45056
20:43:42.563: ---------------------------------
20:43:42.563: video settings reset:
20:43:42.563:     base resolution:   1920x1080
20:43:42.563:     output resolution: 1280x720
20:43:42.563:     downscale filter:  Lanczos
20:43:42.563:     fps:               60/1
20:43:42.563:     format:            NV12
20:43:42.565: Audio monitoring device:
20:43:42.565:     name: По умолчанию
20:43:42.565:     id: default
20:43:42.565: ---------------------------------
20:43:42.567: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
20:43:42.568: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
20:43:42.569: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
20:43:42.569: Failed to initialize module 'enc-amf.dll'
20:43:42.577: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
20:43:42.577: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
20:43:42.578: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
20:43:42.578: Failed to load 'en-US' text for module: 'obs-browser.dll'
20:43:42.578: [browser_source: 'Version: 1.29.0']
20:43:42.581: NVENC supported
20:43:42.616: Couldn't find VLC installation, VLC video source disabled
20:43:42.620: No blackmagic support
20:43:42.677: ---------------------------------
20:43:42.677:   Loaded Modules:
20:43:42.677:     win-wasapi.dll
20:43:42.677:     win-mf.dll
20:43:42.677:     win-dshow.dll
20:43:42.677:     win-decklink.dll
20:43:42.677:     win-capture.dll
20:43:42.677:     vlc-video.dll
20:43:42.677:     text-freetype2.dll
20:43:42.677:     rtmp-services.dll
20:43:42.677:     obs-x264.dll
20:43:42.677:     obs-vst.dll
20:43:42.677:     obs-transitions.dll
20:43:42.677:     obs-text.dll
20:43:42.677:     obs-qsv11.dll
20:43:42.677:     obs-outputs.dll
20:43:42.677:     obs-filters.dll
20:43:42.677:     obs-ffmpeg.dll
20:43:42.677:     obs-browser.dll
20:43:42.677:     image-source.dll
20:43:42.677:     frontend-tools.dll
20:43:42.677:     enc-amf.dll
20:43:42.677:     coreaudio-encoder.dll
20:43:42.677: ---------------------------------
20:43:42.677: ==== Startup complete ===============================================
20:43:42.680: All scene data cleared
20:43:42.680: ------------------------------------------------
20:43:42.700: WASAPI: Device 'Динамики (2- Устройство с поддержкой High Definition Audio)' initialized
20:43:42.704: WASAPI: Device 'Микрофон (Siberia V2 Illuminated)' initialized
20:43:42.747: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
20:43:46.594: Switched to scene 'Игры'
20:43:46.594: ------------------------------------------------
20:43:46.594: Loaded scenes:
20:43:46.594: - scene 'Игры':
20:43:46.595:     - source: 'Игра' (window_capture)
20:43:46.595:     - source: 'Плагины' (scene)
20:43:46.595:     - source: 'Захват игры' (game_capture)
20:43:46.595: - scene 'Плагины':
20:43:46.595:     - source: 'Чатик' (browser_source)
20:43:46.595:     - source: 'Оповещания' (browser_source)
20:43:46.595: ------------------------------------------------
20:43:48.250: ---------------------------------
20:43:48.251: [x264 encoder: 'simple_h264_stream'] preset: veryfast
20:43:48.251: [x264 encoder: 'simple_h264_stream'] settings:
20:43:48.251:     rate_control: CBR
20:43:48.251:     bitrate:      4000
20:43:48.251:     buffer size:  4000
20:43:48.251:     crf:          0
20:43:48.251:     fps_num:      60
20:43:48.251:     fps_den:      1
20:43:48.251:     width:        1280
20:43:48.251:     height:       720
20:43:48.251:     keyint:       120
20:43:48.251:
20:43:48.251: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
20:43:48.258: [Media Foundation AAC: 'simple_aac']: encoder created
20:43:48.258:     bitrate: 160
20:43:48.258:     channels: 2
20:43:48.258:     sample rate: 44100
20:43:48.258:     bits-per-sample: 16
20:43:48.258:
20:43:48.258: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
20:43:48.321: [rtmp stream: 'simple_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 100 mbps)
20:43:50.074: [rtmp stream: 'simple_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
20:43:50.077: ==== Streaming Start ===============================================
20:43:57.755: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
20:45:26.050: [rtmp stream: 'simple_stream'] User stopped the stream
20:45:26.050: Output 'simple_stream': stopping
20:45:26.050: Output 'simple_stream': Total frames output: 5694 (5716 attempted)
20:45:26.050: Output 'simple_stream': Total drawn frames: 4788 (5868 attempted)
20:45:26.050: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 1080 (18.4%)
20:45:26.050: Output 'simple_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 22 (0.4%)
20:45:26.053: ==== Streaming Stop ================================================
 
Last edited:

Harold

Active Member
Use pastebin and link the logs in the future,
But you're overloading your video card and probably need to turn off game mode in windows' settings
 
Top