Well, here comes another thread with that topic. So I'm trying to keep it short:
Setup 1:
i7 7700k (Gaming) + Ryzen 2700+ (Streaming)
32 GB Ram / 8 GB Ram
NIVIDA GeForce 1070 / AMD R7 360
Connected via 1GB LAN and NDI
Gaming Rig has 27" 144Hz Monitor from Dell and a 60Hz Eizo IPS Montior
100 MBit Internet Connection mit 50 MBit Upload
Setup 2 (Testing):
Ryzen 2700+
8 GB Ram
NVIDIA Geforce 1070
Gaming & Streaming simultaneously.
Problem:
No matter wich PC, config and encoder, the stream just doesn't want to hit 60 fps. It's laggy and choppy and more around 30 fps at best.
Neither CPU or GPU seem to overload dramatically.
Logs from my last teast-streams:
21:44:01.226: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
21:44:01.226:
21:44:01.227: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
21:44:01.240: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
21:44:02.444: [rtmp stream: 'adv_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
21:44:02.447: ==== Streaming Start ===============================================
21:44:06.325: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:46:31.657: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:50:03.090: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:53:24.556: [game-capture: 'Spielaufnahme'] capture window no longer exists, terminating capture
21:53:24.557: [game-capture: 'Spielaufnahme'] capture stopped
21:53:25.641: [rtmp stream: 'adv_stream'] User stopped the stream
21:53:25.641: Output 'adv_stream': stopping
21:53:25.641: Output 'adv_stream': Total frames output: 33701
21:53:25.641: Output 'adv_stream': Total drawn frames: 33673 (33865 attempted)
21:53:25.641: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 192 (0.6%)
21:53:25.641: Video stopped, number of skipped frames due to encoding lag: 28/33792 (0.1%)
21:53:25.643: ==== Streaming Stop ================================================
21:55:23.798: Settings changed (outputs)
21:55:23.798: ------------------------------------------------
21:55:56.823: [game-capture: 'Spielaufnahme'] attempting to hook fullscreen process: Overwatch.exe
21:55:56.827: [game-capture: 'Spielaufnahme'] using helper (compatibility hook)
21:55:56.829: [game-capture: 'Spielaufnahme'] hook not loaded yet, retrying..
21:55:59.840: [game-capture: 'Spielaufnahme'] attempting to hook fullscreen process: Overwatch.exe
21:55:59.856: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:55:59.857: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:56:18.040: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:56:18.828: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:56:18.840: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:56:43.015: ---------------------------------
21:56:43.015: [x264 encoder: 'streaming_h264'] preset: medium
21:56:43.015: [x264 encoder: 'streaming_h264'] profile: main
21:56:43.015: [x264 encoder: 'streaming_h264'] settings:
21:56:43.015: rate_control: CBR
21:56:43.015: bitrate: 6000
21:56:43.015: buffer size: 6000
21:56:43.015: crf: 0
21:56:43.015: fps_num: 60
21:56:43.015: fps_den: 1
21:56:43.015: width: 1280
21:56:43.015: height: 720
21:56:43.015: keyint: 120
21:56:43.015:
21:56:43.021: ---------------------------------
21:56:43.021: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
21:56:43.021:
21:56:43.022: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
21:56:43.037: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
21:56:44.285: [rtmp stream: 'adv_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
21:56:44.287: ==== Streaming Start ===============================================
21:56:46.767: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:56:47.514: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:56:47.523: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:58:02.971: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:58:03.374: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:58:03.390: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:58:09.477: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:58:10.181: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:58:10.190: [game-capture: 'Spielaufnahme'] shared texture capture successful
22:02:23.741: [rtmp stream: 'adv_stream'] User stopped the stream
22:02:23.741: Output 'adv_stream': stopping
22:02:23.741: Output 'adv_stream': Total frames output: 20292
22:02:23.741: Output 'adv_stream': Total drawn frames: 20383 (20444 attempted)
22:02:23.741: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 61 (0.3%)
22:02:23.744: ==== Streaming Stop ================================================
22:02:36.662: Settings changed (outputs)
22:02:36.662: ------------------------------------------------
22:02:42.391: ---------------------------------
22:02:42.391: [NVENC encoder: 'streaming_h264'] settings:
22:02:42.391: rate_control: CBR
22:02:42.391: bitrate: 6000
22:02:42.391: cqp: 0
22:02:42.391: keyint: 120
22:02:42.391: preset: default
22:02:42.391: profile: main
22:02:42.391: level: auto
22:02:42.391: width: 1280
22:02:42.391: height: 720
22:02:42.391: 2-pass: true
22:02:42.391: b-frames: 2
22:02:42.391: GPU: 0
22:02:42.391:
22:02:42.890: ---------------------------------
22:02:42.890: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
22:02:42.890:
22:02:42.891: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
22:02:42.904: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
22:02:44.116: [rtmp stream: 'adv_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
22:02:44.119: ==== Streaming Start ===============================================
22:02:44.602: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
22:02:44.836: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
22:02:44.840: [game-capture: 'Spielaufnahme'] shared texture capture successful
22:06:05.374: [rtmp stream: 'adv_stream'] User stopped the stream
22:06:05.374: Output 'adv_stream': stopping
22:06:05.374: Output 'adv_stream': Total frames output: 12061
22:06:05.374: Output 'adv_stream': Total drawn frames: 12141 (12149 attempted)
22:06:05.374: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 8 (0.1%)
22:06:05.376: ==== Streaming Stop ================================================
22:08:24.735: ==== Shutting down ==================================================
22:08:24.750: Switched to scene '(null)'
22:08:24.752: [obs-ndi] video thread for 'NDI™ Source' completed
22:08:24.752: [obs-ndi] audio thread for 'NDI™ Source' completed
22:08:24.755: [game-capture: 'Spielaufnahme'] capture stopped
22:08:24.755: WASAPI: Device 'Dell S2716DG (NVIDIA High Definition Audio)' Terminated
22:08:24.784: All scene data cleared
22:08:24.784: ------------------------------------------------
What is the problem?
Setup 1:
i7 7700k (Gaming) + Ryzen 2700+ (Streaming)
32 GB Ram / 8 GB Ram
NIVIDA GeForce 1070 / AMD R7 360
Connected via 1GB LAN and NDI
Gaming Rig has 27" 144Hz Monitor from Dell and a 60Hz Eizo IPS Montior
100 MBit Internet Connection mit 50 MBit Upload
Setup 2 (Testing):
Ryzen 2700+
8 GB Ram
NVIDIA Geforce 1070
Gaming & Streaming simultaneously.
Problem:
No matter wich PC, config and encoder, the stream just doesn't want to hit 60 fps. It's laggy and choppy and more around 30 fps at best.
Neither CPU or GPU seem to overload dramatically.
Logs from my last teast-streams:
21:44:01.226: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
21:44:01.226:
21:44:01.227: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
21:44:01.240: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
21:44:02.444: [rtmp stream: 'adv_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
21:44:02.447: ==== Streaming Start ===============================================
21:44:06.325: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:46:31.657: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:50:03.090: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:53:24.556: [game-capture: 'Spielaufnahme'] capture window no longer exists, terminating capture
21:53:24.557: [game-capture: 'Spielaufnahme'] capture stopped
21:53:25.641: [rtmp stream: 'adv_stream'] User stopped the stream
21:53:25.641: Output 'adv_stream': stopping
21:53:25.641: Output 'adv_stream': Total frames output: 33701
21:53:25.641: Output 'adv_stream': Total drawn frames: 33673 (33865 attempted)
21:53:25.641: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 192 (0.6%)
21:53:25.641: Video stopped, number of skipped frames due to encoding lag: 28/33792 (0.1%)
21:53:25.643: ==== Streaming Stop ================================================
21:55:23.798: Settings changed (outputs)
21:55:23.798: ------------------------------------------------
21:55:56.823: [game-capture: 'Spielaufnahme'] attempting to hook fullscreen process: Overwatch.exe
21:55:56.827: [game-capture: 'Spielaufnahme'] using helper (compatibility hook)
21:55:56.829: [game-capture: 'Spielaufnahme'] hook not loaded yet, retrying..
21:55:59.840: [game-capture: 'Spielaufnahme'] attempting to hook fullscreen process: Overwatch.exe
21:55:59.856: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:55:59.857: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:56:18.040: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:56:18.828: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:56:18.840: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:56:43.015: ---------------------------------
21:56:43.015: [x264 encoder: 'streaming_h264'] preset: medium
21:56:43.015: [x264 encoder: 'streaming_h264'] profile: main
21:56:43.015: [x264 encoder: 'streaming_h264'] settings:
21:56:43.015: rate_control: CBR
21:56:43.015: bitrate: 6000
21:56:43.015: buffer size: 6000
21:56:43.015: crf: 0
21:56:43.015: fps_num: 60
21:56:43.015: fps_den: 1
21:56:43.015: width: 1280
21:56:43.015: height: 720
21:56:43.015: keyint: 120
21:56:43.015:
21:56:43.021: ---------------------------------
21:56:43.021: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
21:56:43.021:
21:56:43.022: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
21:56:43.037: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
21:56:44.285: [rtmp stream: 'adv_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
21:56:44.287: ==== Streaming Start ===============================================
21:56:46.767: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:56:47.514: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:56:47.523: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:58:02.971: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:58:03.374: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:58:03.390: [game-capture: 'Spielaufnahme'] shared texture capture successful
21:58:09.477: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
21:58:10.181: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
21:58:10.190: [game-capture: 'Spielaufnahme'] shared texture capture successful
22:02:23.741: [rtmp stream: 'adv_stream'] User stopped the stream
22:02:23.741: Output 'adv_stream': stopping
22:02:23.741: Output 'adv_stream': Total frames output: 20292
22:02:23.741: Output 'adv_stream': Total drawn frames: 20383 (20444 attempted)
22:02:23.741: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 61 (0.3%)
22:02:23.744: ==== Streaming Stop ================================================
22:02:36.662: Settings changed (outputs)
22:02:36.662: ------------------------------------------------
22:02:42.391: ---------------------------------
22:02:42.391: [NVENC encoder: 'streaming_h264'] settings:
22:02:42.391: rate_control: CBR
22:02:42.391: bitrate: 6000
22:02:42.391: cqp: 0
22:02:42.391: keyint: 120
22:02:42.391: preset: default
22:02:42.391: profile: main
22:02:42.391: level: auto
22:02:42.391: width: 1280
22:02:42.391: height: 720
22:02:42.391: 2-pass: true
22:02:42.391: b-frames: 2
22:02:42.391: GPU: 0
22:02:42.391:
22:02:42.890: ---------------------------------
22:02:42.890: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
22:02:42.890:
22:02:42.891: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-fra.twitch.tv/app...
22:02:42.904: [rtmp stream: 'adv_stream'] Interface: Realtek PCIe GBE Family Controller (ethernet, 1000 mbps)
22:02:44.116: [rtmp stream: 'adv_stream'] Connection to rtmp://live-fra.twitch.tv/app successful
22:02:44.119: ==== Streaming Start ===============================================
22:02:44.602: [game-capture: 'Spielaufnahme'] ----------------- d3d11 capture freed ----------------
22:02:44.836: [game-capture: 'Spielaufnahme'] d3d11 shared texture capture successful
22:02:44.840: [game-capture: 'Spielaufnahme'] shared texture capture successful
22:06:05.374: [rtmp stream: 'adv_stream'] User stopped the stream
22:06:05.374: Output 'adv_stream': stopping
22:06:05.374: Output 'adv_stream': Total frames output: 12061
22:06:05.374: Output 'adv_stream': Total drawn frames: 12141 (12149 attempted)
22:06:05.374: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 8 (0.1%)
22:06:05.376: ==== Streaming Stop ================================================
22:08:24.735: ==== Shutting down ==================================================
22:08:24.750: Switched to scene '(null)'
22:08:24.752: [obs-ndi] video thread for 'NDI™ Source' completed
22:08:24.752: [obs-ndi] audio thread for 'NDI™ Source' completed
22:08:24.755: [game-capture: 'Spielaufnahme'] capture stopped
22:08:24.755: WASAPI: Device 'Dell S2716DG (NVIDIA High Definition Audio)' Terminated
22:08:24.784: All scene data cleared
22:08:24.784: ------------------------------------------------
What is the problem?