Question / Help Stream lag/stutter when gaming over 60FPS

jlw_4049

New Member
Internet speed is 240MEG down and 25MEG up. I wanted to do a little streaming buuuut I'm getting stutters when utilizing my gaming monitor.

So, I have an i7 6700k, gtx 980, 16gb ram for my gaming pc. Everything is stock/not overclocked. When I'm streaming, I down scale to 720p 60 fps. (I have tried 30 fps, all the encoders, different bitrates, settings etc) If i let my games go over 60 FPS in game, the stream stutters miserably...

Now on the other hand, I have an in home server PC Ryzen 1700, gtx 950, 32gb ram, that has a 144hz monitor connected to it for when my wife games. I used the same streaming settings as my gaming PC, with the game at 144hz, the stream off that PC works flawlessly.

It's not just OBS, Nvidia shadow-play does the same thing... It didn't used to, until I upgraded to my GYSNC 1440p 165hz monitor. I'm starting to think it's something to do with the display port.

I do have a secondary monitor on my gaming rig, at 60hz 1080p connected to the iGPU on my MB. I've googled and googled, and also just reinstalled my windows from scratch. So it's not a driver issue. I'm at a loss and could really use some help.

Log file from last stream.

12:24:20.164: CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
12:24:20.165: CPU Speed: 4008MHz
12:24:20.165: Physical Cores: 4, Logical Cores: 8
12:24:20.165: Physical Memory: 16266MB Total, 12423MB Free
12:24:20.165: Windows Version: 10.0 Build 16299 (revision: 248; 64-bit)
12:24:20.165: Running as administrator: false
12:24:20.165: Aero is Enabled (Aero is always on for windows 8 and above)
12:24:20.165: Windows 10 Gaming Features:
12:24:20.165: Game DVR: On
12:24:20.169: Sec. Software Status:
12:24:20.170: Windows Defender Antivirus: enabled (AV)
12:24:20.170: Windows Firewall: enabled (FW)
12:24:20.170: Windows Defender Antivirus: enabled (ASW)
12:24:20.172: Portable mode: false
12:24:20.228: OBS 21.0.1 (64bit, windows)
12:24:20.228: ---------------------------------
12:24:20.246: ---------------------------------
12:24:20.246: audio settings reset:
12:24:20.246: samples per sec: 44100
12:24:20.246: speakers: 2
12:24:20.266: ---------------------------------
12:24:20.266: Initializing D3D11...
12:24:20.266: Available Video Adapters:
12:24:20.269: Adapter 1: NVIDIA GeForce GTX 980
12:24:20.269: Dedicated VRAM: 4250206208
12:24:20.269: Shared VRAM: 4233111552
12:24:20.270: output 1: pos={0, 0}, size={2560, 1440}, attached=true
12:24:20.270: Adapter 2: Intel(R) HD Graphics 530
12:24:20.270: Dedicated VRAM: 134217728
12:24:20.270: Shared VRAM: 4233111552
12:24:20.270: output 1: pos={2560, 0}, size={1920, 1080}, attached=true
12:24:20.271: Loading up D3D11 on adapter NVIDIA GeForce GTX 980 (0)
12:24:20.305: D3D11 loaded successfully, feature level used: 45056
12:24:20.922: ---------------------------------
12:24:20.922: video settings reset:
12:24:20.922: base resolution: 1920x1080
12:24:20.922: output resolution: 1280x720
12:24:20.922: downscale filter: Bicubic
12:24:20.922: fps: 30/1
12:24:20.922: format: NV12
12:24:20.924: Audio monitoring device:
12:24:20.924: name: Default
12:24:20.924: id: default
12:24:20.925: ---------------------------------
12:24:20.981: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/chrome_elf.dll' not found, loading of module failed
12:24:20.998: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
12:24:21.095: [AMF] <obs_module_load> AMF not supported (no AMD graphics)
12:24:21.095: Failed to initialize module 'enc-amf.dll'
12:24:22.612: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libcef.dll' not found, loading of module failed
12:24:22.623: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libEGL.dll' not found, loading of module failed
12:24:22.676: Required module function 'obs_module_load' in module '../../obs-plugins/64bit/libGLESv2.dll' not found, loading of module failed
12:24:22.708: Failed to load 'en-US' text for module: 'obs-browser.dll'
12:24:22.708: [browser_source: 'Version: 1.29.0']
12:24:22.830: NVENC supported
12:24:23.054: Couldn't find VLC installation, VLC video source disabled
12:24:23.091: No blackmagic support
12:24:23.349: ---------------------------------
12:24:23.349: Loaded Modules:
12:24:23.349: win-wasapi.dll
12:24:23.349: win-mf.dll
12:24:23.349: win-dshow.dll
12:24:23.349: win-decklink.dll
12:24:23.349: win-capture.dll
12:24:23.349: vlc-video.dll
12:24:23.349: text-freetype2.dll
12:24:23.349: rtmp-services.dll
12:24:23.349: obs-x264.dll
12:24:23.349: obs-vst.dll
12:24:23.349: obs-transitions.dll
12:24:23.349: obs-text.dll
12:24:23.349: obs-qsv11.dll
12:24:23.349: obs-outputs.dll
12:24:23.349: obs-filters.dll
12:24:23.349: obs-ffmpeg.dll
12:24:23.349: obs-browser.dll
12:24:23.349: image-source.dll
12:24:23.349: frontend-tools.dll
12:24:23.349: enc-amf.dll
12:24:23.349: coreaudio-encoder.dll
12:24:23.349: ---------------------------------
12:24:23.349: ==== Startup complete ===============================================
12:24:23.350: Service '' not found
12:24:23.351: No scene file found, creating default scene
12:24:23.352: All scene data cleared
12:24:23.352: ------------------------------------------------
12:24:23.401: WASAPI: Device 'Speakers (3- High Definition Audio Device)' initialized
12:24:23.417: WASAPI: Device 'Microphone (3- High Definition Audio Device)' initialized
12:24:23.417: Switched to scene 'Scene'
12:24:23.417: Failed to glob scene collections
12:24:23.419: CalculateFileHash: Failed to open file 'C:\Users\jlw_4\AppData\Roaming\obs-studio\updates\manifest.json': 2
12:24:23.469: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds
12:25:11.926: ---------------------------------
12:25:11.926: video settings reset:
12:25:11.926: base resolution: 2560x1440
12:25:11.926: output resolution: 1280x720
12:25:11.926: downscale filter: Bicubic
12:25:11.926: fps: 60/1
12:25:11.926: format: NV12
12:25:11.936: Settings changed (stream 1, outputs, video)
12:25:11.936: ------------------------------------------------
12:28:08.073: User added source 'Game Capture' (game_capture) to scene 'Scene'
12:28:11.978: [game-capture: 'Game Capture'] attempting to hook process: FortniteClient-Win64-Shipping.exe
12:28:12.042: [game-capture: 'Game Capture'] using helper (compatibility hook)
12:28:12.046: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
12:28:13.995: [game-capture: 'Game Capture'] attempting to hook process: FortniteClient-Win64-Shipping.exe
12:28:14.013: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
12:28:14.028: [game-capture: 'Game Capture'] shared texture capture successful
12:28:29.015: [qsv encoder: 'simple_h264_stream'] settings:
12:28:29.015: rate_control: CBR
12:28:29.015: target_bitrate: 3500
12:28:29.015: fps_num: 60
12:28:29.015: fps_den: 1
12:28:29.015: width: 1280
12:28:29.015: height: 720
12:28:29.015: [qsv encoder: 'simple_h264_stream'] debug info:
12:28:29.027: impl: D3D11
12:28:29.027: surf: D3D11
12:28:29.057: m_nSurfNum: 16
12:28:29.060: m_nTaskPool: 4
12:28:29.060: major: 1
12:28:29.060: minor: 23
12:28:29.063: [Media Foundation AAC: 'simple_aac']: encoder created
12:28:29.063: bitrate: 160
12:28:29.063: channels: 2
12:28:29.063: sample rate: 44100
12:28:29.063: bits-per-sample: 16
12:28:29.063:
12:28:29.064: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
12:28:29.102: [rtmp stream: 'simple_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
12:28:29.977: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
12:28:29.981: ==== Streaming Start ===============================================
12:32:01.211: [game-capture: 'Game Capture'] capture stopped
12:32:01.212: [game-capture: 'Game Capture'] attempting to hook process: FortniteClient-Win64-Shipping.exe
12:32:01.219: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
12:32:01.228: [game-capture: 'Game Capture'] shared texture capture successful
12:34:34.876: [rtmp stream: 'simple_stream'] User stopped the stream
12:34:34.876: Output 'simple_stream': stopping
12:34:34.876: Output 'simple_stream': Total frames output: 21876
12:34:34.876: Output 'simple_stream': Total drawn frames: 21257 (21948 attempted)
12:34:34.876: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 691 (3.1%)
12:34:34.883: ==== Streaming Stop ================================================
12:34:43.913: Settings changed (outputs)
12:34:43.913: ------------------------------------------------
12:34:46.927: [qsv encoder: 'simple_h264_stream'] settings:
12:34:46.927: rate_control: CBR
12:34:46.927: target_bitrate: 5000
12:34:46.927: fps_num: 60
12:34:46.927: fps_den: 1
12:34:46.927: width: 1280
12:34:46.927: height: 720
12:34:46.927: [qsv encoder: 'simple_h264_stream'] debug info:
12:34:46.932: impl: D3D11
12:34:46.932: surf: D3D11
12:34:46.953: m_nSurfNum: 16
12:34:46.954: m_nTaskPool: 4
12:34:46.954: major: 1
12:34:46.954: minor: 23
12:34:46.954: [Media Foundation AAC: 'simple_aac']: encoder created
12:34:46.954: bitrate: 160
12:34:46.954: channels: 2
12:34:46.954: sample rate: 44100
12:34:46.954: bits-per-sample: 16
12:34:46.954:
12:34:46.954: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmp://live-ord.twitch.tv/app...
12:34:46.994: [rtmp stream: 'simple_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
12:34:47.920: [rtmp stream: 'simple_stream'] Connection to rtmp://live-ord.twitch.tv/app successful
12:34:47.923: ==== Streaming Start ===============================================
 

rayzor

New Member
Same issue here, new 1440p 165hz monitor and big stuttering in BF3 recordings, while the game runs smooth at 170-200 Fps. I have 2 1070's installed in Sli configuration.
 

Attachments

  • 2018-02-28 20-16-37.txt
    36.7 KB · Views: 27

rayzor

New Member
Try recording with Shadowplay... I know that's not ideal, but at least it works for me.
Maybe sometime it will be fixed if it's fixable..
 

BK-Morpheus

Active Member
First I would check, if the problem disappears, when you disable the iGPU and connect both monitors to the Nvidia card.
Then you should make sure, that there is no window with GPU acceleration opened on the second monitor.
Last but not least, you need to leave some room for OBS to render the scene (done via GPU!). I see render lag in your log file, so it seems, your game is running uncapped (no fps limit) or the cap is not low enough, so your game will use >90% GPU load and OBS will not render fast enough.

Ingame, the Ryzen might push lower max frames then the 6700k, and that is why in this case, the GPU is not the bottleneck.
 
Top