Question / Help 20% to 25% CPU Usage on NVENC as well as some dropped frames.

Krank_Pupp

New Member
Not really much else to say here is the log for you guys. Also I dont really understand too much of the lingo so if someone could walk me through it would be AMAZING. If your reading this in the future and have the same issue will say what worked for me at the bottom ;).

14:33:12.179: CPU Name: Intel(R) Core(TM) i5-4670K CPU @ 3.40GHz
14:33:12.179: CPU Speed: 3400MHz
14:33:12.179: Physical Cores: 4, Logical Cores: 4
14:33:12.179: Physical Memory: 24519MB Total, 17557MB Free
14:33:12.179: Windows Version: 10.0 Build 17134 (revision: 829; 64-bit)
14:33:12.179: Running as administrator: false
14:33:12.179: Aero is Enabled (Aero is always on for windows 8 and above)
14:33:12.179: Windows 10 Gaming Features:
14:33:12.179: Game Bar: Off
14:33:12.179: Game DVR: Off
14:33:12.179: Game DVR Background Recording: Off
14:33:12.182: Sec. Software Status:
14:33:12.184: Windows Defender Antivirus: enabled (AV)
14:33:12.184: Windows Firewall: enabled (FW)
14:33:12.185: Windows Defender Antivirus: enabled (ASW)
14:33:12.185: Current Date/Time: 2019-07-02, 14:33:12
14:33:12.185: Browser Hardware Acceleration: true
14:33:12.185: Portable mode: false
14:33:12.463: OBS 23.2.1 (64-bit, windows)
14:33:12.463: ---------------------------------
14:33:12.485: ---------------------------------
14:33:12.485: audio settings reset:
14:33:12.485: samples per sec: 48000
14:33:12.485: speakers: 2
14:33:12.487: ---------------------------------
14:33:12.487: Initializing D3D11...
14:33:12.487: Available Video Adapters:
14:33:12.488: Adapter 0: NVIDIA GeForce GTX 1070
14:33:12.488: Dedicated VRAM: 4185915392
14:33:12.488: Shared VRAM: 4265578496
14:33:12.488: output 0: pos={0, 0}, size={2560, 1440}, attached=true
14:33:12.488: output 1: pos={2560, 672}, size={1600, 900}, attached=true
14:33:12.489: output 2: pos={4160, 804}, size={1024, 768}, attached=true
14:33:12.491: Loading up D3D11 on adapter NVIDIA GeForce GTX 1070 (0)
14:33:12.558: D3D11 loaded successfully, feature level used: 45056
14:33:13.648: ---------------------------------
14:33:13.648: video settings reset:
14:33:13.648: base resolution: 2560x1440
14:33:13.648: output resolution: 1920x1080
14:33:13.648: downscale filter: Lanczos
14:33:13.648: fps: 60/1
14:33:13.648: format: NV12
14:33:13.648: YUV mode: 709/Full
14:33:13.649: NV12 texture support enabled
14:33:13.653: Audio monitoring device:
14:33:13.653: name: Default
14:33:13.653: id: default
14:33:13.653: ---------------------------------
14:33:13.657: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
14:33:13.659: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
14:33:13.739: [AMF] AMF Test failed due to one or more errors.
14:33:13.739: Failed to initialize module 'enc-amf.dll'
14:33:13.754: Module '../../obs-plugins/64bit/libEGL.dll' not loaded
14:33:13.757: [obs-browser]: Version 2.4.0
14:33:13.761: NVENC supported
14:33:14.057: Couldn't find VLC installation, VLC video source disabled
14:33:14.066: No blackmagic support
14:33:14.073: ---------------------------------
14:33:14.073: Loaded Modules:
14:33:14.073: win-wasapi.dll
14:33:14.073: win-mf.dll
14:33:14.073: win-dshow.dll
14:33:14.073: win-decklink.dll
14:33:14.073: win-capture.dll
14:33:14.073: vlc-video.dll
14:33:14.073: text-freetype2.dll
14:33:14.073: rtmp-services.dll
14:33:14.073: obs-x264.dll
14:33:14.073: obs-vst.dll
14:33:14.073: obs-transitions.dll
14:33:14.073: obs-text.dll
14:33:14.073: obs-qsv11.dll
14:33:14.073: obs-outputs.dll
14:33:14.073: obs-filters.dll
14:33:14.073: obs-ffmpeg.dll
14:33:14.073: obs-browser.dll
14:33:14.073: image-source.dll
14:33:14.073: frontend-tools.dll
14:33:14.073: enc-amf.dll
14:33:14.073: decklink-ouput-ui.dll
14:33:14.073: coreaudio-encoder.dll
14:33:14.073: ---------------------------------
14:33:14.073: ==== Startup complete ===============================================
14:33:14.076: All scene data cleared
14:33:14.076: ------------------------------------------------
14:33:14.209: WASAPI: Device 'Headset Earphone (HyperX Virtual Surround Sound)' initialized
14:33:14.241: WASAPI: Device 'Microphone (Yeti Stereo Microphone)' initialized
14:33:14.278: adding 42 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
14:33:14.278:
14:33:14.695: ---------------------------------
14:33:14.695: [DShow Device: 'Webcam'] settings updated:
14:33:14.695: video device: c922 Pro Stream Webcam
14:33:14.695: video path: \\?\usb#vid_046d&pid_085c&mi_00#6&def74b9&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
14:33:14.695: resolution: 1920x1080
14:33:14.695: fps: 30.00 (interval: 333333)
14:33:14.695: format: MJPEG
14:33:14.828: using video device audio: no
14:33:14.828: audio device: Microphone (Yeti Stereo Microphone)
14:33:14.828: sample rate: 44100
14:33:14.828: channels: 2
14:33:14.828: audio type: Capture
14:33:14.828: DShow: HDevice::ConnectPins: failed to connect pins (0x80040207): The owner SID on a per-user subscription doesn't exist
14:33:14.828:
14:33:15.657: Switched to scene 'Game'
14:33:15.657: ------------------------------------------------
14:33:15.657: Loaded scenes:
14:33:15.657: - scene 'Game':
14:33:15.663: - source: 'Fortnite' (game_capture)
14:33:15.663: - source: 'Webcam' (dshow_input)
14:33:15.663: - source: 'Facecam Border' (image_source)
14:33:15.663: ------------------------------------------------
14:33:15.666: [game-capture: 'Fortnite'] attempting to hook process: FortniteClient-Win64-Shipping.exe
14:33:15.675: Max audio buffering reached!
14:33:15.675: adding 917 milliseconds of audio buffering, total audio buffering is now 960 milliseconds (source: Webcam)
14:33:15.675:
14:33:15.676: [game-capture: 'Fortnite'] shared texture capture successful
14:33:21.898: TwitchAuth::GetChannelInfo: Got 403 from Twitch, user probably does not have two-factor authentication enabled on their account
14:35:08.897: [jim-nvenc: 'recording_h264'] settings:
14:35:08.897: rate_control: CQP
14:35:08.897: bitrate: 0
14:35:08.897: cqp: 15
14:35:08.897: keyint: 120
14:35:08.897: preset: mq
14:35:08.897: profile: high
14:35:08.897: width: 1920
14:35:08.897: height: 1080
14:35:08.897: 2-pass: true
14:35:08.897: b-frames: 2
14:35:08.897: lookahead: true
14:35:08.897: psycho_aq: true
14:35:08.897:
14:35:08.927: ---------------------------------
14:35:08.927: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
14:35:08.927:
14:35:08.942: ==== Recording Start ===============================================
14:35:08.942: [ffmpeg muxer: 'adv_file_output'] Writing file 'E:/Recordings/2019-07-02 14-35-08.flv'...
14:36:00.301: [ffmpeg muxer: 'adv_file_output'] Output of file 'E:/Recordings/2019-07-02 14-35-08.flv' stopped
14:36:00.301: Output 'adv_file_output': stopping
14:36:00.301: Output 'adv_file_output': Total frames output: 3016
14:36:00.301: Output 'adv_file_output': Total drawn frames: 3073 (3081 attempted)
14:36:00.301: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 8 (0.3%)
14:36:00.301: Video stopped, number of skipped frames due to encoding lag: 167/3078 (5.4%)
14:36:00.301: ==== Recording Stop ================================================
14:36:00.417: warning: 2 frames left in the queue on closing
 

Narcogen

Active Member
14:36:00.301: Video stopped, number of skipped frames due to encoding lag: 167/3078 (5.4%)

You're overloading your encoder.

https://obsproject.com/wiki/General-Performance-And-Encoding-Issues

14:35:08.897: lookahead: true
14:35:08.897: psycho_aq: true


I would suggest turning these two expensive features off.

Otherwise you may need to downgrade to either 1080p30 or 720p60. 1080p60 in a single PC setup with a 1070 can be challenging, especially with high motion content.
 

Krank_Pupp

New Member
Hey I turned off those 2 things and downgraded to 720p60 im still seeing the same high cpu usage with little to no improvement. Whats next boss?
 

Narcogen

Active Member
I would remove the driver for that and reinstall it then because that's probably not normal.
 
Top