Question / Help Number of lagged frames due to rendering lag/stalls problem

hey guys i am back...i hope that all is fine whit everybody here...
like you will see i have ryzen 1800x at 3.9 ghz and gtx 1080...
my display is ROG Swift PG279Q 165 hz g-sync...
i have number of lagged frames due to rendering lag/stalls problem...
at 1280*720 not that much but at 1920*1080 Number of lagged frames due to rendering lag/stalls problem is arround 20%...
like i never hade stable stream...so dissapointed...
from my research Number of lagged frames due to rendering lag/stalls problem have to do whit graphic card...is that true or...
also can somebody check my log to see if something is wrong?
about capture foreground whit hotkey that i am using now nobody is using than option,is correct to use that option or there is better thing?
i am using capture foreground whit hotkey for the reason of playing and streaming several games,from there is useless to create each game capture for each game...
thank you so much for all of your help and big hug to mr.Harold ho helped me so much in previos times ...

21:08:50.738: CPU Name: AMD Ryzen 7 1800X Eight-Core Processor
21:08:50.738: CPU Speed: 3918MHz
21:08:50.738: Physical Cores: 8, Logical Cores: 16
21:08:50.738: Physical Memory: 32696MB Total, 29373MB Free
21:08:50.738: Windows Version: 10.0 Build 16299 (revision: 98; 64-bit)
21:08:50.738: Running as administrator: true
21:08:50.738: Aero is Enabled (Aero is always on for windows 8 and above)
21:08:50.738: Windows 10 Gaming Features:
21:08:50.738: Game Bar: Off
21:08:50.738: Game DVR Allowed: Yes
21:08:50.738: Game DVR: Off
21:08:50.738: Game DVR Background Recording: Off
21:08:50.738: Game Mode: Off
21:08:50.738: Portable mode: false
21:08:50.752: OBS 20.1.3 (64bit, windows)
21:08:50.752: ---------------------------------
21:08:50.752: ---------------------------------
21:08:50.752: audio settings reset:
21:08:50.752: samples per sec: 44100
21:08:50.752: speakers: 2
21:08:50.753: ---------------------------------
21:08:50.753: Initializing D3D11...
21:08:50.753: Available Video Adapters:
21:08:50.754: Adapter 1: NVIDIA GeForce GTX 1080
21:08:50.754: Dedicated VRAM: 4183818240
21:08:50.754: Shared VRAM: 4257452032
21:08:50.754: output 1: pos={0, 0}, size={2560, 1440}, attached=true
21:08:50.754: output 2: pos={-1920, 150}, size={1920, 1080}, attached=true
21:08:50.755: Loading up D3D11 on adapter NVIDIA GeForce GTX 1080 (0)
21:08:50.784: D3D11 loaded successfully, feature level used: 45056
21:08:51.444: ---------------------------------
21:08:51.444: video settings reset:
21:08:51.444: base resolution: 2560x1440
21:08:51.444: output resolution: 1280x720
21:08:51.444: downscale filter: Bicubic
21:08:51.444: fps: 60/1
21:08:51.444: format: NV12
21:08:51.446: Audio monitoring device:
21:08:51.446: name: Predefinição
21:08:51.446: id: default
21:08:51.446: ---------------------------------
21:08:51.447: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
21:08:51.454: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
21:08:51.458: Failed to load 'pt-PT' text for module: 'enc-amf.dll'
21:08:51.458: [AMF] Encountered Exception during AMF initialization: Unable to load 'amfrt64.dll', error code 126.
21:08:51.458: Failed to initialize module 'enc-amf.dll'
21:08:51.484: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
21:08:51.484: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
21:08:51.484: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
21:08:51.485: Failed to load 'en-US' text for module: 'obs-browser.dll'
21:08:51.485: [browser_source: 'Version: 1.29.0']
21:08:51.603: NVENC supported
21:08:51.966: Failed to load 'pt-PT' text for module: 'obs-vst.dll'
21:08:51.990: Couldn't find VLC installation, VLC video source disabled
21:08:52.005: No blackmagic support
21:08:52.099: ---------------------------------
21:08:52.099: Loaded Modules:
21:08:52.099: win-wasapi.dll
21:08:52.099: win-mf.dll
21:08:52.099: win-dshow.dll
21:08:52.099: win-decklink.dll
21:08:52.099: win-capture.dll
21:08:52.099: vlc-video.dll
21:08:52.099: text-freetype2.dll
21:08:52.099: rtmp-services.dll
21:08:52.099: obs-x264.dll
21:08:52.099: obs-vst.dll
21:08:52.099: obs-transitions.dll
21:08:52.099: obs-text.dll
21:08:52.099: obs-qsv11.dll
21:08:52.099: obs-outputs.dll
21:08:52.099: obs-filters.dll
21:08:52.099: obs-ffmpeg.dll
21:08:52.099: obs-browser.dll
21:08:52.099: image-source.dll
21:08:52.099: frontend-tools.dll
21:08:52.099: enc-amf.dll
21:08:52.099: coreaudio-encoder.dll
21:08:52.099: ---------------------------------
21:08:52.099: ==== Startup complete ===============================================
21:08:52.104: All scene data cleared
21:08:52.104: ------------------------------------------------
21:08:52.156: WASAPI: Device 'Auricular (Corsair Gaming H2100 Headset)' initialized
21:08:52.167: WASAPI: Device 'Auscultadores com Microfone (Corsair Gaming H2100 Headset)' initialized
21:08:52.207: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds
21:08:52.211: ---------------------------------
21:08:52.211: [DShow Device: 'logitech c 922 pro'] settings updated:
21:08:52.211: video device: C922 Pro Stream Webcam
21:08:52.211: video path: \\?\usb#vid_046d&pid_085c&mi_00#7&196dbe03&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
21:08:52.211: resolution: 1280x720
21:08:52.211: fps: 30.00 (interval: 333333)
21:08:52.211: format: MJPEG
21:08:52.212: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
21:08:52.212:
21:08:52.523: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
21:08:53.183: Switched to scene 'Cena'
21:08:53.184: ------------------------------------------------
21:08:53.184: Loaded scenes:
21:08:53.184: - scene 'Cena':
21:08:53.193: - source: 'Captura de jogo' (game_capture)
21:08:53.193: - source: 'alerts' (browser_source)
21:08:53.193: - source: 'event list' (browser_source)
21:08:53.193: - source: 'logitech c 922 pro' (dshow_input)
21:08:53.193: - source: 'frame' (image_source)
21:08:53.193: ------------------------------------------------
21:09:23.250: [game-capture: 'Captura de jogo'] Activate hotkey pressed
21:09:23.264: [game-capture: 'Captura de jogo'] attempting to hook process: s2_mp64_ship.exe
21:09:23.267: [game-capture: 'Captura de jogo'] using helper (compatibility hook)
21:09:23.269: [game-capture: 'Captura de jogo'] hook not loaded yet, retrying..
21:09:25.280: [game-capture: 'Captura de jogo'] attempting to hook process: s2_mp64_ship.exe
21:09:25.303: [game-capture: 'Captura de jogo'] d3d11 shared texture capture successful
21:09:25.314: [game-capture: 'Captura de jogo'] shared texture capture successful
21:09:42.544: Starting stream due to hotkey
21:09:42.547: ---------------------------------
21:09:42.547: [x264 encoder: 'streaming_h264'] preset: veryfast
21:09:42.547: [x264 encoder: 'streaming_h264'] profile: main
21:09:42.548: [x264 encoder: 'streaming_h264'] settings:
21:09:42.548: rate_control: CBR
21:09:42.548: bitrate: 6000
21:09:42.548: buffer size: 6000
21:09:42.548: crf: 0
21:09:42.548: fps_num: 60
21:09:42.548: fps_den: 1
21:09:42.548: width: 1280
21:09:42.548: height: 720
21:09:42.548: keyint: 120
21:09:42.548:
21:09:42.560: [Media Foundation AAC: 'Track1']: encoder created
21:09:42.560: bitrate: 160
21:09:42.560: channels: 2
21:09:42.560: sample rate: 44100
21:09:42.560: bits-per-sample: 16
21:09:42.560:
21:09:42.561: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://a.rtmp.youtube.com/live2...
21:09:42.618: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
21:09:43.033: [rtmp stream: 'adv_stream'] Connection to rtmp://a.rtmp.youtube.com/live2 successful
21:09:43.036: ==== Streaming Start ===============================================
21:10:57.231: adding 23 milliseconds of audio buffering, total audio buffering is now 69 milliseconds
21:14:00.784: adding 23 milliseconds of audio buffering, total audio buffering is now 92 milliseconds
21:17:18.177: adding 23 milliseconds of audio buffering, total audio buffering is now 116 milliseconds
23:50:09.569: Stopping stream due to hotkey
23:50:10.335: [rtmp stream: 'adv_stream'] User stopped the stream
23:50:10.335: Output 'adv_stream': stopping
23:50:10.335: Output 'adv_stream': Total frames output: 577597
23:50:10.335: Output 'adv_stream': Total drawn frames: 562464 (577667 attempted)
23:50:10.335: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 15203 (2.6%)
23:50:10.338: ==== Streaming Stop ================================================
23:50:16.813: [game-capture: 'Captura de jogo'] capture window no longer exists, terminating capture
23:50:16.813: [game-capture: 'Captura de jogo'] capture stopped

https://gist.github.com/27a4418ff6d64f85a756372b2028ea24
 

Harold

Active Member
You're simply overloading your video card.
Are you capping the FPS of your game using vsync or some other framerate limiter?

Could you also post a screenshot of the first tab of gpu-z?
 
hey mr.harold how are you?
the thing is that like i am using g sync in nvidia control panel v sync is on and in games is off in order to g sync work preperly...
i am not using any framerate limiter but the display will never pass 165 hz which is proper display value beacose of v sync activated in nvidia control panel...
 
ah ok is here
 

Attachments

  • 1.gif
    1.gif
    29.5 KB · Views: 619

Harold

Active Member
You need to make sure your games are running with their framerates capped, as running them uncapped will overload the video card.

Rendering lags have NOTHING to do with your internet.
 
ok but which framelimiter i will imposse 165 hz which is my display value or other value?
and by the way playing games fps are never gone upper then 130 fps due to demanding resolution of display 2560-1440...
 
again when i am playing games fps are around 100-120 fps never gone above just when i am in game menu...
this display-resolution is demanding...
 
hey mr.harold and all here...
small update ...the g sync was been not well configurated...now is much better i dont have any more lagg in game,is perfect but at 1920-1080 60 fps stream i still have about 10% number of lagged frames due to rendering lag/stalls which is not that bad...like i sad i have gtx 1080 -i will need to upgrade to 1080ti there in my opinion will be enough to have optimal stream...
 

awolive

Member
from looking at your gpu-z i noticed you have opencl turned on. why are you running opencl on your graphics card? it can hurt gpu performance i think

you shouldn't have a problem running games at 144 fps or near with a gtx 1080
what games are you playing and what are your in game settings/nvidia control panel settings?
 
heu awolive how are you?from there how to disable open cl?
in game settings say in call of duty ww2 are on medium+- and in nvidia control paninel is on defoult...
when just playing games all is ok smooth like butter constant 110 frames ....but playing and streaming on one pc that is another thing...
 

awolive

Member
Do this for optimizing FPS
First: Go to nvidia control panel > adjust image setting with preview > use my preference emphasizing: Performance > apply (do not use "let the 3d application decide" or "use the advanced 3D image settings"

Second: On your keyboard hit the Windows + R (to get into run command) then type regedit then locate:
HKEY_LOCAL_MACHINE\SOFTWARE\Khronos\OpenCL\Vendors
find C:\Windows\System32\nvopencl.dll double click and make sure value is set to 0 and hexadecimal and hit OK.

Third: go into power plan settings and make sure you are using Ryzen Balanced or High Performance mode

Restart computer

If still bad performance in game you can try reinstalling your nvidia drivers. I recommend for maximum fps do a clean install under the install options select Custom or Advanced install option and uncheck all extra drivers except for the nvidia graphics drivers (do not install nvidia audio, nvidia physx, geforce experience)

if still bad performance you may need to adjust your in-game graphics settings to low/medium. keep resolution the same 1440p will still look great even with low/medium settings. anti-aliasing features in games will eat tons of FPS so you can play with turning it off or lowest option.
 
Last edited:
And also I am so apricieted for your help.will check for sure all of your advices and will try to change in game graphic settings to say medium and anti aliasing to low...
 
Top