Question / Help High amount of frames missed due to rendering lag despite minimal CPU & GPU useage

DrPenguin

New Member
Hey so I am hoping someone here can help me out as this has been driving me crazy.

Anyways I am trying to setup OBS to stream to Twitch and have looked at practically every guide I could find, no matter what settings I have tried I can't even get 30fps on my desktop with nothing but chrome and OBS running. Frames missed due to rendering lag hovers at an unhealthy 15-60%, even though the CPU usage is below 5% and the GPU and RAM are nowhere near maxed out. Not to mention I can run most games at High to Ultra settings with a steady 60+ fps. 1080p monitor, only trying to stream 720p @ 30fps.

PC Specs:
GTX 970
16GB RAM
i7 2700K overclocked to 4600MHz
Windows 7

It seems really weird to me because I have many friends with worse pcs who can record/stream better than this.

Let me know if you need anything else. Here's hoping it is a simple fix that I just overlooked!

Edit: I also have made sure my drivers are up to date, and I even reinstalled OBS before this last log.

Update: Seems that disabling Aero has fixed the issue, for now at least. Totally called that it would be something simple and dumb.

Code:
23:42:52.533: CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
23:42:52.533: CPU Speed: 3500MHz
23:42:52.533: Physical Cores: 4, Logical Cores: 8
23:42:52.533: Physical Memory: 16333MB Total, 13636MB Free
23:42:52.533: Windows Version: 6.1 Build 7601 (revision: 23915; 64-bit)
23:42:52.533: Running as administrator: true
23:42:52.533: Aero is Enabled
23:42:52.535: Portable mode: false
23:42:52.567: OBS 20.1.0 (64bit, windows)
23:42:52.567: ---------------------------------
23:42:52.568: ---------------------------------
23:42:52.568: audio settings reset:
23:42:52.568:     samples per sec: 44100
23:42:52.568:     speakers:        2
23:42:52.571: ---------------------------------
23:42:52.571: Initializing D3D11...
23:42:52.571: Available Video Adapters:
23:42:52.573:     Adapter 1: NVIDIA GeForce GTX 970
23:42:52.573:       Dedicated VRAM: 4201840640
23:42:52.573:       Shared VRAM:    4000118784
23:42:52.573:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
23:42:52.573:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
23:42:52.586: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
23:42:52.603: D3D11 loaded successfully, feature level used: 45056
23:42:53.192: ---------------------------------
23:42:53.192: video settings reset:
23:42:53.192:     base resolution:   1920x1080
23:42:53.192:     output resolution: 1280x720
23:42:53.192:     downscale filter:  Bicubic
23:42:53.192:     fps:               30/1
23:42:53.192:     format:            NV12
23:42:53.193: Audio monitoring device:
23:42:53.193:     name: Default
23:42:53.193:     id: default
23:42:53.193: ---------------------------------
23:42:53.201: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
23:42:53.205: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
23:42:53.210: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
23:42:53.210: Failed to initialize module 'enc-amf.dll'
23:42:53.263: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
23:42:53.264: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
23:42:53.268: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
23:42:53.271: Failed to load 'en-US' text for module: 'obs-browser.dll'
23:42:53.271: [browser_source: 'Version: 1.29.0']
23:42:53.308: NVENC supported
23:42:53.459: Couldn't find VLC installation, VLC video source disabled
23:42:53.467: No blackmagic support
23:42:53.494: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
23:42:53.745: ---------------------------------
23:42:53.745:   Loaded Modules:
23:42:53.745:     win-wasapi.dll
23:42:53.745:     win-mf.dll
23:42:53.745:     win-dshow.dll
23:42:53.745:     win-decklink.dll
23:42:53.745:     win-capture.dll
23:42:53.745:     vlc-video.dll
23:42:53.745:     text-freetype2.dll
23:42:53.745:     rtmp-services.dll
23:42:53.745:     obs-x264.dll
23:42:53.745:     obs-vst.dll
23:42:53.745:     obs-transitions.dll
23:42:53.745:     obs-text.dll
23:42:53.745:     obs-qsv11.dll
23:42:53.745:     obs-outputs.dll
23:42:53.745:     obs-filters.dll
23:42:53.745:     obs-ffmpeg.dll
23:42:53.745:     obs-browser.dll
23:42:53.745:     image-source.dll
23:42:53.745:     frontend-tools.dll
23:42:53.745:     enc-amf.dll
23:42:53.745:     coreaudio-encoder.dll
23:42:53.745: ---------------------------------
23:42:53.745: ==== Startup complete ===============================================
23:42:53.751: All scene data cleared
23:42:53.751: ------------------------------------------------
23:42:53.761: Switched to scene 'Scene'
23:42:53.806: ------------------------------------------------
23:42:53.806: Loaded scenes:
23:42:53.806: - scene 'Scene':
23:42:53.806:     - source: 'Screen 1' (monitor_capture)
23:42:53.806: ------------------------------------------------
23:45:04.251: ---------------------------------
23:45:04.251: [x264 encoder: 'simple_h264_stream'] preset: veryfast
23:45:04.252: [x264 encoder: 'simple_h264_stream'] settings:
23:45:04.252:     rate_control: CBR
23:45:04.252:     bitrate:      2500
23:45:04.252:     buffer size:  2500
23:45:04.252:     crf:          0
23:45:04.252:     fps_num:      30
23:45:04.252:     fps_den:      1
23:45:04.252:     width:        1280
23:45:04.252:     height:       720
23:45:04.252:     keyint:       60
23:45:04.252:
23:45:04.252: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
23:45:04.258: ---------------------------------
23:45:04.260: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2
23:45:04.266: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-pdx.twitch.tv/app...
23:45:04.290: [rtmp stream: 'simple_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
23:45:05.183: [rtmp stream: 'simple_stream'] Connection to rtmp://live-pdx.twitch.tv/app successful
23:45:05.185: ==== Streaming Start ===============================================
23:47:34.669: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
23:47:34.718: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
23:47:34.749: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
23:47:34.839: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
23:47:34.887: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
23:47:34.981: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
23:47:34.984: Settings changed (audio)
23:47:34.984: ------------------------------------------------
23:48:04.912: [rtmp stream: 'simple_stream'] User stopped the stream
23:48:04.912: Output 'simple_stream': stopping
23:48:04.912: Output 'simple_stream': Total frames output: 5352
23:48:04.912: Output 'simple_stream': Total drawn frames: 3710 (5420 attempted)
23:48:04.912: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 1710 (31.5%)
23:48:04.914: ==== Streaming Stop ================================================
 
Last edited:

DrPenguin

New Member
Please download GPU-Z and post a screenshot (the camera button in the program and upload to free image hosting) Download: https://www.techpowerup.com/downloads/SysInfo/GPU-Z/

Here you go, along with the new log associated with the test.

7cs.png
n96.png

Code:
00:01:06.159: CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
00:01:06.159: CPU Speed: 3500MHz
00:01:06.159: Physical Cores: 4, Logical Cores: 8
00:01:06.159: Physical Memory: 16333MB Total, 11183MB Free
00:01:06.159: Windows Version: 6.1 Build 7601 (revision: 23915; 64-bit)
00:01:06.159: Running as administrator: true
00:01:06.159: Aero is Enabled
00:01:06.159: Portable mode: false
00:01:06.170: OBS 20.1.0 (64bit, windows)
00:01:06.170: ---------------------------------
00:01:06.171: ---------------------------------
00:01:06.171: audio settings reset:
00:01:06.171:     samples per sec: 44100
00:01:06.171:     speakers:        2
00:01:06.172: ---------------------------------
00:01:06.172: Initializing D3D11...
00:01:06.172: Available Video Adapters:
00:01:06.173:     Adapter 1: NVIDIA GeForce GTX 970
00:01:06.173:       Dedicated VRAM: 4201840640
00:01:06.173:       Shared VRAM:    4000118784
00:01:06.173:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
00:01:06.173:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
00:01:06.176: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
00:01:06.192: D3D11 loaded successfully, feature level used: 45056
00:01:06.723: ---------------------------------
00:01:06.723: video settings reset:
00:01:06.723:     base resolution:   1920x1080
00:01:06.723:     output resolution: 1280x720
00:01:06.723:     downscale filter:  Bicubic
00:01:06.723:     fps:               30/1
00:01:06.723:     format:            NV12
00:01:06.724: Audio monitoring device:
00:01:06.724:     name: Default
00:01:06.724:     id: default
00:01:06.724: ---------------------------------
00:01:06.725: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
00:01:06.726: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
00:01:06.727: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
00:01:06.727: Failed to initialize module 'enc-amf.dll'
00:01:06.737: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
00:01:06.738: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
00:01:06.738: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
00:01:06.738: Failed to load 'en-US' text for module: 'obs-browser.dll'
00:01:06.738: [browser_source: 'Version: 1.29.0']
00:01:06.740: NVENC supported
00:01:06.830: Couldn't find VLC installation, VLC video source disabled
00:01:06.834: No blackmagic support
00:01:06.836: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
00:01:06.986: ---------------------------------
00:01:06.986:   Loaded Modules:
00:01:06.986:     win-wasapi.dll
00:01:06.986:     win-mf.dll
00:01:06.986:     win-dshow.dll
00:01:06.986:     win-decklink.dll
00:01:06.986:     win-capture.dll
00:01:06.986:     vlc-video.dll
00:01:06.986:     text-freetype2.dll
00:01:06.986:     rtmp-services.dll
00:01:06.986:     obs-x264.dll
00:01:06.986:     obs-vst.dll
00:01:06.986:     obs-transitions.dll
00:01:06.986:     obs-text.dll
00:01:06.986:     obs-qsv11.dll
00:01:06.986:     obs-outputs.dll
00:01:06.986:     obs-filters.dll
00:01:06.986:     obs-ffmpeg.dll
00:01:06.986:     obs-browser.dll
00:01:06.986:     image-source.dll
00:01:06.986:     frontend-tools.dll
00:01:06.986:     enc-amf.dll
00:01:06.986:     coreaudio-encoder.dll
00:01:06.986: ---------------------------------
00:01:06.986: ==== Startup complete ===============================================
00:01:06.988: All scene data cleared
00:01:06.988: ------------------------------------------------
00:01:07.043: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
00:01:07.052: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
00:01:07.072: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
00:01:07.074: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
00:01:07.076: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
00:01:07.080: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
00:01:07.083: Switched to scene 'Scene'
00:01:07.083: ------------------------------------------------
00:01:07.083: Loaded scenes:
00:01:07.083: - scene 'Scene':
00:01:07.083:     - source: 'Screen 1' (monitor_capture)
00:01:07.083: ------------------------------------------------
00:01:07.316: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
00:01:12.877: ---------------------------------
00:01:12.877: [x264 encoder: 'simple_h264_stream'] preset: veryfast
00:01:12.877: [x264 encoder: 'simple_h264_stream'] settings:
00:01:12.877:     rate_control: CBR
00:01:12.877:     bitrate:      2500
00:01:12.877:     buffer size:  2500
00:01:12.877:     crf:          0
00:01:12.877:     fps_num:      30
00:01:12.877:     fps_den:      1
00:01:12.877:     width:        1280
00:01:12.877:     height:       720
00:01:12.877:     keyint:       60
00:01:12.877:
00:01:12.877: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
00:01:12.879: ---------------------------------
00:01:12.879: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2
00:01:12.880: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-pdx.twitch.tv/app...
00:01:12.904: [rtmp stream: 'simple_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
00:01:14.148: [rtmp stream: 'simple_stream'] Connection to rtmp://live-pdx.twitch.tv/app successful
00:01:14.155: ==== Streaming Start ===============================================
00:04:09.081: [rtmp stream: 'simple_stream'] User stopped the stream
00:04:09.081: Output 'simple_stream': stopping
00:04:09.081: Output 'simple_stream': Total frames output: 5212
00:04:09.081: Output 'simple_stream': Total drawn frames: 3101 (5286 attempted)
00:04:09.081: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 2185 (41.3%)
00:04:09.107: ==== Streaming Stop ================================================
 

Boildown

Active Member
00:01:06.159: Windows Version: 6.1 Build 7601 (revision: 23915; 64-bit)
00:01:07.083: - source: 'Screen 1' (monitor_capture)
00:04:09.081: Output 'simple_stream': Total frames output: 5212
00:04:09.081: Output 'simple_stream': Total drawn frames: 3101 (5286 attempted)
00:04:09.081: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 2185 (41.3%)

Use Game Capture instead of Monitor Capture.
 

DrPenguin

New Member
Use Game Capture instead of Monitor Capture.

I do when actually streaming games, but not for simple screen caps (which is all I did for the tests here). When running nothing but OBS and a few browser tabs it shouldn't have any problems capturing the monitor with at least 30fps no?
 

Boildown

Active Member
According to that log, it has a lot of trouble with it. Try Window Capture instead if you can't game capture. If you can't make sure Aero is enabled, I think Windows 7 performs better for Monitor Capture with Aero on.
 

DrPenguin

New Member
According to that log, it has a lot of trouble with it. Try Window Capture instead if you can't game capture. If you can't make sure Aero is enabled, I think Windows 7 performs better for Monitor Capture with Aero on.

Huh, so I just got home and tested Window Capture in browsers only and it worked much better (0.01% missed). Weird. Any clue why it would be fine with this but having such a hard time with Monitor Capture? I can't imagine my specs are too low for at least capturing the browser (no games) in 30fps, so there is probably something else going on?

Thanks a bunch though, I'll definitely report back either way if this helps in game. Would definitely prefer being able to capture the monitor though.

EDIT: oh and Aero is enabled

Code:
15:47:27.687: CPU Name: Intel(R) Core(TM) i7-2700K CPU @ 3.50GHz
15:47:27.687: CPU Speed: 3500MHz
15:47:27.687: Physical Cores: 4, Logical Cores: 8
15:47:27.687: Physical Memory: 16333MB Total, 11262MB Free
15:47:27.687: Windows Version: 6.1 Build 7601 (revision: 23915; 64-bit)
15:47:27.687: Running as administrator: true
15:47:27.687: Aero is Enabled
15:47:27.689: Portable mode: false
15:47:27.717: OBS 20.1.0 (64bit, windows)
15:47:27.717: ---------------------------------
15:47:27.717: ---------------------------------
15:47:27.717: audio settings reset:
15:47:27.717:     samples per sec: 44100
15:47:27.717:     speakers:        2
15:47:27.722: ---------------------------------
15:47:27.722: Initializing D3D11...
15:47:27.722: Available Video Adapters:
15:47:27.724:     Adapter 1: NVIDIA GeForce GTX 970
15:47:27.724:       Dedicated VRAM: 4201840640
15:47:27.724:       Shared VRAM:    4000118784
15:47:27.724:       output 1: pos={0, 0}, size={1920, 1080}, attached=true
15:47:27.724:       output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
15:47:27.727: Loading up D3D11 on adapter NVIDIA GeForce GTX 970 (0)
15:47:27.742: D3D11 loaded successfully, feature level used: 45056
15:47:28.291: ---------------------------------
15:47:28.291: video settings reset:
15:47:28.291:     base resolution:   1920x1080
15:47:28.291:     output resolution: 1280x720
15:47:28.291:     downscale filter:  Bicubic
15:47:28.291:     fps:               30/1
15:47:28.291:     format:            NV12
15:47:28.293: Audio monitoring device:
15:47:28.293:     name: Default
15:47:28.293:     id: default
15:47:28.293: ---------------------------------
15:47:28.300: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
15:47:28.303: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
15:47:28.308: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
15:47:28.308: Failed to initialize module 'enc-amf.dll'
15:47:28.357: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
15:47:28.359: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
15:47:28.362: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
15:47:28.365: Failed to load 'en-US' text for module: 'obs-browser.dll'
15:47:28.365: [browser_source: 'Version: 1.29.0']
15:47:28.402: NVENC supported
15:47:28.980: Couldn't find VLC installation, VLC video source disabled
15:47:28.987: No blackmagic support
15:47:29.000: [Media Foundation encoder]: plugin is disabled for performance reasons on Windows versions prior to 8
15:47:29.200: ---------------------------------
15:47:29.200:   Loaded Modules:
15:47:29.200:     win-wasapi.dll
15:47:29.201:     win-mf.dll
15:47:29.201:     win-dshow.dll
15:47:29.201:     win-decklink.dll
15:47:29.201:     win-capture.dll
15:47:29.201:     vlc-video.dll
15:47:29.201:     text-freetype2.dll
15:47:29.201:     rtmp-services.dll
15:47:29.201:     obs-x264.dll
15:47:29.201:     obs-vst.dll
15:47:29.201:     obs-transitions.dll
15:47:29.201:     obs-text.dll
15:47:29.201:     obs-qsv11.dll
15:47:29.201:     obs-outputs.dll
15:47:29.201:     obs-filters.dll
15:47:29.201:     obs-ffmpeg.dll
15:47:29.201:     obs-browser.dll
15:47:29.201:     image-source.dll
15:47:29.201:     frontend-tools.dll
15:47:29.201:     enc-amf.dll
15:47:29.201:     coreaudio-encoder.dll
15:47:29.201: ---------------------------------
15:47:29.201: ==== Startup complete ===============================================
15:47:29.205: All scene data cleared
15:47:29.205: ------------------------------------------------
15:47:29.269: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
15:47:29.278: WASAPI: Device 'Speakers (High Definition Audio Device)' initialized
15:47:29.290: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
15:47:29.295: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
15:47:29.299: WASAPI: Device 'Microphone (High Definition Audio Device)' initialized
15:47:29.303: Switched to scene 'Scene'
15:47:29.304: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
15:47:29.304: ------------------------------------------------
15:47:29.304: Loaded scenes:
15:47:29.304: - scene 'Scene':
15:47:29.304:     - source: 'Screen 1' (monitor_capture)
15:47:29.304: ------------------------------------------------
15:47:50.530: User added source 'Window Capture' (window_capture) to scene 'Scene'
15:48:13.428: ---------------------------------
15:48:13.428: [x264 encoder: 'simple_h264_stream'] preset: veryfast
15:48:13.429: [x264 encoder: 'simple_h264_stream'] settings:
15:48:13.429:     rate_control: CBR
15:48:13.429:     bitrate:      2500
15:48:13.429:     buffer size:  2500
15:48:13.429:     crf:          0
15:48:13.429:     fps_num:      30
15:48:13.429:     fps_den:      1
15:48:13.429:     width:        1280
15:48:13.429:     height:       720
15:48:13.429:     keyint:       60
15:48:13.429:
15:48:13.429: [x264 encoder: 'simple_h264_stream'] custom settings: scenecut=0
15:48:13.435: ---------------------------------
15:48:13.437: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2
15:48:13.442: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-pdx.twitch.tv/app...
15:48:13.466: [rtmp stream: 'simple_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
15:48:14.252: [rtmp stream: 'simple_stream'] Connection to rtmp://live-pdx.twitch.tv/app successful
15:48:14.253: ==== Streaming Start ===============================================
15:49:28.498: [rtmp stream: 'simple_stream'] User stopped the stream
15:49:28.498: Output 'simple_stream': stopping
15:49:28.498: Output 'simple_stream': Total frames output: 2198
15:49:28.498: Output 'simple_stream': Total drawn frames: 2250 (2252 attempted)
15:49:28.498: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 2 (0.1%)
15:49:28.501: ==== Streaming Stop ================================================
 

Harold

Active Member
Display capture works better with aero off, but it causes problems with window and game capture doing so.
 

DrPenguin

New Member
Display capture works better with aero off, but it causes problems with window and game capture doing so.

Welp that was it it seems! Since disabling Aero I have had no problems yet with games, but we shall see what happens. Thanks everyone. :)
 
Top