Question / Help RTX 2080Ti New NVENC dropping frames

LeeeeeeeT

New Member
I'm trying to understand why the NEW H.264 is causing so many issues on my system. It seems to dip in frames and continues to under perform. I tried using the old NVENC and that is fine. The average time to render frame jumps from 0.5 to 3.3 and then that is when the frame drop starts. I tried it on 720p 60 and 1080p 60 and I get the same results. Any info is appreciated thank you!





19:55:03.536: CPU Name: AMD Ryzen 7 2700X Eight-Core Processor
19:55:03.536: CPU Speed: 3693MHz
19:55:03.536: Physical Cores: 8, Logical Cores: 16
19:55:03.537: Physical Memory: 16314MB Total, 11382MB Free
19:55:03.537: Windows Version: 10.0 Build 17763 (revision: 437; 64-bit)
19:55:03.537: Running as administrator: false
19:55:03.537: Aero is Enabled (Aero is always on for windows 8 and above)
19:55:03.537: Windows 10 Gaming Features:
19:55:03.537: Game Bar: Off
19:55:03.537: Game DVR: Off
19:55:03.537: Game DVR Background Recording: Off
19:55:03.537: Game Mode: Off
19:55:03.538: Sec. Software Status:
19:55:03.538: Windows Defender Antivirus: enabled (AV)
19:55:03.538: Windows Firewall: enabled (FW)
19:55:03.539: Windows Defender Antivirus: enabled (ASW)
19:55:03.539: Current Date/Time: 2019-04-25, 19:55:03
19:55:03.539: Browser Hardware Acceleration: true
19:55:03.539: Portable mode: false
19:55:03.685: OBS 23.1.0 (64-bit, windows)
19:55:03.685: ---------------------------------
19:55:03.686: ---------------------------------
19:55:03.686: audio settings reset:
19:55:03.686: samples per sec: 44100
19:55:03.686: speakers: 2
19:55:03.686: ---------------------------------
19:55:03.686: Initializing D3D11...
19:55:03.686: Available Video Adapters:
19:55:03.688: Adapter 1: NVIDIA GeForce RTX 2080 Ti
19:55:03.688: Dedicated VRAM: 2994733056
19:55:03.688: Shared VRAM: 4258308096
19:55:03.688: output 1: pos={0, 0}, size={1920, 1080}, attached=true
19:55:03.688: output 2: pos={-1440, 0}, size={1440, 2560}, attached=true
19:55:03.688: output 3: pos={-695, -1440}, size={3440, 1440}, attached=true
19:55:03.689: Loading up D3D11 on adapter NVIDIA GeForce RTX 2080 Ti (0)
19:55:03.733: D3D11 loaded successfully, feature level used: 45056
19:55:04.351: ---------------------------------
19:55:04.351: video settings reset:
19:55:04.351: base resolution: 1920x1080
19:55:04.351: output resolution: 1280x720
19:55:04.351: downscale filter: Lanczos
19:55:04.351: fps: 60/1
19:55:04.351: format: NV12
19:55:04.351: YUV mode: 601/Partial
19:55:04.351: NV12 texture support enabled
19:55:04.353: Audio monitoring device:
19:55:04.353: name: Default
19:55:04.353: id: default
19:55:04.353: ---------------------------------
19:55:04.355: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
19:55:04.355: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
19:55:04.396: [AMF] AMF Test failed due to one or more errors.
19:55:04.396: Failed to initialize module 'enc-amf.dll'
19:55:04.409: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
19:55:04.410: [obs-browser]: Version 2.3.1
19:55:04.412: NVENC supported
19:55:04.480: VLC found, VLC video source enabled
19:55:04.484: No blackmagic support
19:55:04.487: ---------------------------------
19:55:04.487: Loaded Modules:
19:55:04.487: win-wasapi.dll
19:55:04.487: win-mf.dll
19:55:04.487: win-dshow.dll
19:55:04.487: win-decklink.dll
19:55:04.487: win-capture.dll
19:55:04.487: vlc-video.dll
19:55:04.487: text-freetype2.dll
19:55:04.487: rtmp-services.dll
19:55:04.487: obs-x264.dll
19:55:04.487: obs-vst.dll
19:55:04.487: obs-transitions.dll
19:55:04.487: obs-text.dll
19:55:04.487: obs-qsv11.dll
19:55:04.487: obs-outputs.dll
19:55:04.487: obs-filters.dll
19:55:04.487: obs-ffmpeg.dll
19:55:04.487: obs-browser.dll
19:55:04.487: image-source.dll
19:55:04.487: frontend-tools.dll
19:55:04.487: enc-amf.dll
19:55:04.487: decklink-ouput-ui.dll
19:55:04.487: coreaudio-encoder.dll
19:55:04.487: ---------------------------------
19:55:04.487: ==== Startup complete ===============================================
19:55:04.489: All scene data cleared
19:55:04.489: ------------------------------------------------
19:55:04.511: WASAPI: Device 'Headset Earphone (Astro MixAmp Pro Voice)' initialized
19:55:04.541: WASAPI: Device 'Headset Microphone (Astro MixAmp Pro Voice)' initialized
19:55:04.606: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
19:55:04.606:
19:55:05.011: Switched to scene 'Scene'
19:55:05.011: ------------------------------------------------
19:55:05.011: Loaded scenes:
19:55:05.011: - scene 'Scene':
19:55:05.011: - source: 'Game Capture' (game_capture)
19:55:05.011: ------------------------------------------------
19:56:52.826: [jim-nvenc: 'streaming_h264'] settings:
19:56:52.826: rate_control: CBR
19:56:52.826: bitrate: 6000
19:56:52.826: cqp: 20
19:56:52.826: keyint: 120
19:56:52.826: preset: mq
19:56:52.826: profile: high
19:56:52.826: width: 1280
19:56:52.826: height: 720
19:56:52.826: 2-pass: true
19:56:52.826: b-frames: 2
19:56:52.826: lookahead: true
19:56:52.826: psycho_aq: true
19:56:52.826:
19:56:52.837: ---------------------------------
19:56:52.837: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
19:56:52.837:
19:56:52.839: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-jfk.twitch.tv/app...
19:56:52.855: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
19:56:53.661: [rtmp stream: 'adv_stream'] Connection to rtmp://live-jfk.twitch.tv/app successful
19:56:53.664: ==== Streaming Start ===============================================
19:57:13.056: [game-capture: 'Game Capture'] attempting to hook process: r5apex.exe
19:57:13.059: [game-capture: 'Game Capture'] using helper (compatibility hook)
19:57:13.079: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
19:57:16.070: [game-capture: 'Game Capture'] attempting to hook process: r5apex.exe
19:57:16.271: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
19:57:16.286: [game-capture: 'Game Capture'] shared texture capture successful
19:58:37.315: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
19:58:37.331: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
19:58:37.336: [game-capture: 'Game Capture'] shared texture capture successful
20:00:27.244: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
20:00:27.250: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
20:00:27.253: [game-capture: 'Game Capture'] shared texture capture successful
20:00:48.540: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
20:00:48.547: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
20:00:48.553: [game-capture: 'Game Capture'] shared texture capture successful
 

Attachments

  • 2019-04-25 19-55-03.txt
    6.8 KB · Views: 9

carlmmii

Active Member
Code:
19:56:52.826: [jim-nvenc: 'streaming_h264'] settings:
19:56:52.826:  rate_control: CBR
19:56:52.826:  bitrate:      6000
19:56:52.826:  cqp:          20
19:56:52.826:  keyint:       120
19:56:52.826:  preset:       mq
19:56:52.826:  profile:      high
19:56:52.826:  width:        1280
19:56:52.826:  height:       720
19:56:52.826:  2-pass:       true
19:56:52.826:  b-frames:     2
19:56:52.826:  lookahead:    true
19:56:52.826:  psycho_aq:    true
3 things, all of which use extra GPU resources (part of the "new" in new nvenc):
  • Max Quality -> change down to Quality
  • Lookahead -> uncheck
  • Psych Visual Tuning -> uncheck
Making those changes should ensure that encoding takes place entirely within the nvenc encoder without any extra GPU resources required, while maintaining the optimized pipeline of the new encoding path.
 

LeeeeeeeT

New Member
Code:
19:56:52.826: [jim-nvenc: 'streaming_h264'] settings:
19:56:52.826:  rate_control: CBR
19:56:52.826:  bitrate:      6000
19:56:52.826:  cqp:          20
19:56:52.826:  keyint:       120
19:56:52.826:  preset:       mq
19:56:52.826:  profile:      high
19:56:52.826:  width:        1280
19:56:52.826:  height:       720
19:56:52.826:  2-pass:       true
19:56:52.826:  b-frames:     2
19:56:52.826:  lookahead:    true
19:56:52.826:  psycho_aq:    true
3 things, all of which use extra GPU resources (part of the "new" in new nvenc):
  • Max Quality -> change down to Quality
  • Lookahead -> uncheck
  • Psych Visual Tuning -> uncheck
Making those changes should ensure that encoding takes place entirely within the nvenc encoder without any extra GPU resources required, while maintaining the optimized pipeline of the new encoding path.

Thank you for the response Carl! I thought having all of these checked were needed for the new NVENC to work well with the quality that was shown.
 

LeeeeeeeT

New Member
Tried changing it no matter what resolution I stream at it continues to do the same thing .

11:11:03.648: CPU Name: AMD Ryzen 7 2700X Eight-Core Processor
11:11:03.648: CPU Speed: 3693MHz
11:11:03.648: Physical Cores: 8, Logical Cores: 16
11:11:03.648: Physical Memory: 16314MB Total, 11540MB Free
11:11:03.648: Windows Version: 10.0 Build 17763 (revision: 437; 64-bit)
11:11:03.648: Running as administrator: false
11:11:03.648: Aero is Enabled (Aero is always on for windows 8 and above)
11:11:03.648: Windows 10 Gaming Features:
11:11:03.648: Game Bar: Off
11:11:03.648: Game DVR: Off
11:11:03.648: Game DVR Background Recording: Off
11:11:03.648: Game Mode: Off
11:11:03.649: Sec. Software Status:
11:11:03.650: Windows Defender Antivirus: enabled (AV)
11:11:03.650: Windows Firewall: enabled (FW)
11:11:03.650: Windows Defender Antivirus: enabled (ASW)
11:11:03.651: Current Date/Time: 2019-04-26, 11:11:03
11:11:03.651: Browser Hardware Acceleration: true
11:11:03.651: Portable mode: false
11:11:03.853: OBS 23.1.0 (64-bit, windows)
11:11:03.853: ---------------------------------
11:11:03.853: ---------------------------------
11:11:03.854: audio settings reset:
11:11:03.854: samples per sec: 44100
11:11:03.854: speakers: 2
11:11:03.863: ---------------------------------
11:11:03.863: Initializing D3D11...
11:11:03.863: Available Video Adapters:
11:11:03.865: Adapter 1: NVIDIA GeForce RTX 2080 Ti
11:11:03.865: Dedicated VRAM: 2994733056
11:11:03.865: Shared VRAM: 4258308096
11:11:03.865: output 1: pos={0, 0}, size={1920, 1080}, attached=true
11:11:03.865: output 2: pos={-1440, 0}, size={1440, 2560}, attached=true
11:11:03.865: output 3: pos={-695, -1440}, size={3440, 1440}, attached=true
11:11:03.867: Loading up D3D11 on adapter NVIDIA GeForce RTX 2080 Ti (0)
11:11:03.911: D3D11 loaded successfully, feature level used: 45056
11:11:04.556: ---------------------------------
11:11:04.556: video settings reset:
11:11:04.556: base resolution: 1920x1080
11:11:04.556: output resolution: 1280x720
11:11:04.556: downscale filter: Lanczos
11:11:04.556: fps: 60/1
11:11:04.556: format: NV12
11:11:04.556: YUV mode: 601/Partial
11:11:04.556: NV12 texture support enabled
11:11:04.557: Audio monitoring device:
11:11:04.557: name: Default
11:11:04.557: id: default
11:11:04.557: ---------------------------------
11:11:04.611: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
11:11:04.623: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
11:11:04.673: [AMF] AMF Test failed due to one or more errors.
11:11:04.673: Failed to initialize module 'enc-amf.dll'
11:11:04.783: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
11:11:04.835: [obs-browser]: Version 2.3.1
11:11:04.848: NVENC supported
11:11:05.044: VLC found, VLC video source enabled
11:11:05.072: No blackmagic support
11:11:05.092: ---------------------------------
11:11:05.092: Loaded Modules:
11:11:05.092: win-wasapi.dll
11:11:05.092: win-mf.dll
11:11:05.092: win-dshow.dll
11:11:05.092: win-decklink.dll
11:11:05.092: win-capture.dll
11:11:05.092: vlc-video.dll
11:11:05.092: text-freetype2.dll
11:11:05.092: rtmp-services.dll
11:11:05.092: obs-x264.dll
11:11:05.092: obs-vst.dll
11:11:05.092: obs-transitions.dll
11:11:05.092: obs-text.dll
11:11:05.092: obs-qsv11.dll
11:11:05.092: obs-outputs.dll
11:11:05.092: obs-filters.dll
11:11:05.092: obs-ffmpeg.dll
11:11:05.092: obs-browser.dll
11:11:05.092: image-source.dll
11:11:05.092: frontend-tools.dll
11:11:05.092: enc-amf.dll
11:11:05.092: decklink-ouput-ui.dll
11:11:05.092: coreaudio-encoder.dll
11:11:05.092: ---------------------------------
11:11:05.093: ==== Startup complete ===============================================
11:11:05.118: All scene data cleared
11:11:05.118: ------------------------------------------------
11:11:05.156: WASAPI: Device 'Headset Earphone (Astro MixAmp Pro Voice)' initialized
11:11:05.174: WASAPI: Device 'Headset Microphone (Astro MixAmp Pro Voice)' initialized
11:11:05.219: adding 23 milliseconds of audio buffering, total audio buffering is now 23 milliseconds (source: Mic/Aux)
11:11:05.219:
11:11:05.380: adding 23 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (source: Mic/Aux)
11:11:05.380:
11:11:05.680: Switched to scene 'Scene'
11:11:05.681: ------------------------------------------------
11:11:05.681: Loaded scenes:
11:11:05.681: - scene 'Scene':
11:11:05.681: - source: 'Game Capture' (game_capture)
11:11:05.681: ------------------------------------------------
11:15:49.009: [game-capture: 'Game Capture'] attempting to hook process: r5apex.exe
11:15:49.012: [game-capture: 'Game Capture'] using helper (compatibility hook)
11:15:49.031: [game-capture: 'Game Capture'] hook not loaded yet, retrying..
11:15:50.891: ---------------------------------
11:15:50.891: video settings reset:
11:15:50.891: base resolution: 1920x1080
11:15:50.891: output resolution: 1600x900
11:15:50.891: downscale filter: Lanczos
11:15:50.891: fps: 60/1
11:15:50.891: format: NV12
11:15:50.891: YUV mode: 601/Partial
11:15:50.891: NV12 texture support enabled
11:15:50.907: Settings changed (video)
11:15:50.907: ------------------------------------------------
11:15:52.026: [game-capture: 'Game Capture'] attempting to hook process: r5apex.exe
11:15:52.378: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
11:15:52.393: [game-capture: 'Game Capture'] shared texture capture successful
11:16:01.372: [jim-nvenc: 'streaming_h264'] settings:
11:16:01.372: rate_control: CBR
11:16:01.372: bitrate: 6000
11:16:01.372: cqp: 20
11:16:01.372: keyint: 120
11:16:01.372: preset: hq
11:16:01.372: profile: high
11:16:01.372: width: 1600
11:16:01.372: height: 900
11:16:01.372: 2-pass: false
11:16:01.372: b-frames: 2
11:16:01.372: lookahead: false
11:16:01.372: psycho_aq: false
11:16:01.372:
11:16:01.379: ---------------------------------
11:16:01.379: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
11:16:01.379:
11:16:01.383: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-jfk.twitch.tv/app...
11:16:01.399: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
11:16:02.469: [rtmp stream: 'adv_stream'] Connection to rtmp://live-jfk.twitch.tv/app successful
11:16:02.473: ==== Streaming Start ===============================================
11:17:11.307: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
11:17:11.325: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
11:17:11.326: [game-capture: 'Game Capture'] shared texture capture successful
11:19:15.360: [rtmp stream: 'adv_stream'] User stopped the stream
11:19:15.360: Output 'adv_stream': stopping
11:19:15.360: Output 'adv_stream': Total frames output: 11561
11:19:15.360: Output 'adv_stream': Total drawn frames: 11565 (11639 attempted)
11:19:15.360: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 74 (0.6%)
11:19:15.360: Video stopped, number of skipped frames due to encoding lag: 81/11570 (0.7%)
11:19:15.362: ==== Streaming Stop ================================================
11:19:23.376: ---------------------------------
11:19:23.376: video settings reset:
11:19:23.376: base resolution: 1920x1080
11:19:23.376: output resolution: 1920x1080
11:19:23.376: downscale filter: Lanczos
11:19:23.376: fps: 60/1
11:19:23.376: format: NV12
11:19:23.376: YUV mode: 601/Partial
11:19:23.377: NV12 texture support enabled
11:19:23.389: Settings changed (video)
11:19:23.389: ------------------------------------------------
11:19:28.306: [jim-nvenc: 'streaming_h264'] settings:
11:19:28.306: rate_control: CBR
11:19:28.306: bitrate: 6000
11:19:28.306: cqp: 20
11:19:28.306: keyint: 120
11:19:28.306: preset: hq
11:19:28.306: profile: high
11:19:28.306: width: 1920
11:19:28.306: height: 1080
11:19:28.306: 2-pass: false
11:19:28.306: b-frames: 2
11:19:28.306: lookahead: false
11:19:28.306: psycho_aq: false
11:19:28.306:
11:19:28.313: ---------------------------------
11:19:28.313: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
11:19:28.313:
11:19:28.314: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-jfk.twitch.tv/app...
11:19:28.332: [rtmp stream: 'adv_stream'] Interface: Intel(R) I211 Gigabit Network Connection (ethernet, 1000 mbps)
11:19:29.132: [rtmp stream: 'adv_stream'] Connection to rtmp://live-jfk.twitch.tv/app successful
11:19:29.135: ==== Streaming Start ===============================================
11:19:29.575: [game-capture: 'Game Capture'] ----------------- d3d11 capture freed ----------------
11:19:29.580: [game-capture: 'Game Capture'] d3d11 shared texture capture successful
11:19:29.595: [game-capture: 'Game Capture'] shared texture capture successful
 
Top