Question / Help NVENC encoder using 99% of my GPU Encoder overloaded issue

Sebbo

New Member
Hello, so recently I just had my PC taken to a store to get it watercooling. Once I brought my PC back, I wasn't able to record anything in OBS without having my framerate drop to 3fps. I don't record with the x264 encoder because it's CPU based, however I have tried but using this only uses my CPU. For some reason my NVENC is making my GPU load 99% if not 100%. It also comes up with the message saying; encoder overloaded! Consider turning down video settings or using a faster encoding preset. I've tried everything, from re-installing OBS, downgrading windows, upgrading windows, upgrading drivers, changing all my settings in OBS. My temperatures are fine, and there is no overheating. As I said, there are no issues other than when I record.

My SPECS:
CPU: Core i7 7700k
GPU: Gigabyte Geforce GTX 1060 6GB (NVidia)
RAM: 16GB DDR4
MB: ASUS Prime Z270-AR
Case: NZXT H500i
PS: Corsair 500W PS
- not sure about watercooling but it's not a full loop, just CPU watercooling.
A more than capable build, right?

My GPU is working fine with running games and everything on my desktop, there are no problems there. The only issue is when I record. I usually record games such as Fortnite, CSGO and occasionally Minecraft. I was able to record Minecraft at 360FPS Fractional framerate before this issue started, and now I can barely even record in 60FPS. I'd really appreciate it if someone could help me out with my issue.

Attached below are some screenshots of my usual settings that worked perfectly fine. Note in the 2nd link I have the FPS numberator to 240FPS because I was recording Minecraft.
https://gyazo.com/63fb401afcdcc3966b0367db245e590a
https://gyazo.com/06b70c0674cf48b93b686bd58abc0fa4
https://www.youtube.com/watch?v=uNrIilCIIL4 - video of what my recordings look like when rendered before the issue.
https://youtu.be/XbZstn7J6CU - raw footage of what my recordings look like now in 2fps. :/

I'd really be grateful if someone could help me with my issue, thanks. :D
 

Osiris

Active Member
What did you change recently? Because OBS hans't changed for a while now, so something else has changed.
Either way post a log from a recording session.
 

koala

Active Member
Fire up gpu-z and post a screenshot of the first tab. May be your GPU card isn't running in x16 pci-e bus mode after the hardware change.
 

Sebbo

New Member
What did you change recently? Because OBS hans't changed for a while now, so something else has changed.
Either way post a log from a recording session.
I haven't changed anything recently, however I had a bluescreen of death pop up because of an application my friend and I were designing and I'm not sure if that did anything because I've had a bsod before I took my PC for watercooling and OBS worked perfectly fine back then. Here are my log files.
16:23:51.135: CPU Name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
16:23:51.135: CPU Speed: 3600MHz
16:23:51.136: Physical Cores: 4, Logical Cores: 8
16:23:51.136: Physical Memory: 16319MB Total, 9086MB Free
16:23:51.136: Windows Version: 10.0 Build 17763 (revision: 292; 64-bit)
16:23:51.136: Running as administrator: false
16:23:51.136: Aero is Enabled (Aero is always on for windows 8 and above)
16:23:51.136: Windows 10 Gaming Features:
16:23:51.136: Game DVR: On
16:23:51.160: Sec. Software Status:
16:23:51.199: Windows Defender Antivirus: enabled (AV)
16:23:51.200: Windows Firewall: enabled (FW)
16:23:51.222: Windows Defender Antivirus: enabled (ASW)
16:23:51.244: Browser Hardware Acceleration: true
16:23:51.244: Portable mode: false
16:23:51.929: OBS 22.0.2 (64-bit, windows)
16:23:51.929: ---------------------------------
16:23:51.930: ---------------------------------
16:23:51.930: audio settings reset:
16:23:51.930: samples per sec: 44100
16:23:51.930: speakers: 2
16:23:52.062: ---------------------------------
16:23:52.062: Initializing D3D11...
16:23:52.069: Available Video Adapters:
16:23:52.071: Adapter 1: NVIDIA GeForce GTX 1060 6GB
16:23:52.071: Dedicated VRAM: 2051014656
16:23:52.071: Shared VRAM: 4261367808
16:23:52.072: output 1: pos={0, 0}, size={1920, 1080}, attached=true
16:23:52.072: output 2: pos={-1920, 0}, size={1920, 1080}, attached=true
16:23:52.074: Loading up D3D11 on adapter NVIDIA GeForce GTX 1060 6GB (0)
16:23:52.122: D3D11 loaded successfully, feature level used: 45056
16:23:53.194: ---------------------------------
16:23:53.194: video settings reset:
16:23:53.194: base resolution: 1920x1080
16:23:53.194: output resolution: 1920x1080
16:23:53.194: downscale filter: Bilinear
16:23:53.194: fps: 240/1
16:23:53.194: format: NV12
16:23:53.194: YUV mode: 601/Partial
16:23:53.196: Audio monitoring device:
16:23:53.196: name: Default
16:23:53.196: id: default
16:23:53.211: ---------------------------------
16:23:53.248: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
16:23:53.505: [AMF] AMF Test failed due to one or more errors.
16:23:53.506: Failed to initialize module 'enc-amf.dll'
16:23:54.227: NVENC supported
16:23:55.241: Couldn't find VLC installation, VLC video source disabled
16:23:55.421: No blackmagic support
16:23:55.993: ---------------------------------
16:23:55.993: Loaded Modules:
16:23:55.993: win-wasapi.dll
16:23:55.993: win-mf.dll
16:23:55.993: win-dshow.dll
16:23:55.993: win-decklink.dll
16:23:55.993: win-capture.dll
16:23:55.993: vlc-video.dll
16:23:55.993: text-freetype2.dll
16:23:55.993: rtmp-services.dll
16:23:55.993: obs-x264.dll
16:23:55.993: obs-vst.dll
16:23:55.994: obs-transitions.dll
16:23:55.994: obs-text.dll
16:23:55.994: obs-qsv11.dll
16:23:55.994: obs-outputs.dll
16:23:55.994: obs-filters.dll
16:23:55.994: obs-ffmpeg.dll
16:23:55.994: image-source.dll
16:23:55.994: frontend-tools.dll
16:23:55.994: enc-amf.dll
16:23:55.994: coreaudio-encoder.dll
16:23:55.994: ---------------------------------
16:23:55.994: LoadLibrary failed for 'obs-browser': The specified module could not be found.
16:23:55.994: (126)
16:23:55.994: ==== Startup complete ===============================================
16:23:55.994: Service '' not found
16:23:56.064: All scene data cleared
16:23:56.064: ------------------------------------------------
16:23:56.174: WASAPI: Device 'Speakers (Realtek High Definition Audio)' initialized
16:23:56.462: WASAPI: Device 'Microphone (AT9934USB)' initialized
16:23:56.465: Switched to scene 'Scene'
16:23:56.532: ------------------------------------------------
16:23:56.532: Loaded scenes:
16:23:56.532: - scene 'Scene':
16:23:56.532: - source: 'Display Capture' (monitor_capture)
16:23:56.532: - scene 'Scene 2':
16:23:56.532: ------------------------------------------------
16:23:56.688: adding 487 milliseconds of audio buffering, total audio buffering is now 487 milliseconds
18:17:53.417: ---------------------------------
18:17:53.417: [x264 encoder: 'recording_h264'] preset: ultrafast
18:17:53.473: [x264 encoder: 'recording_h264'] settings:
18:17:53.473: rate_control: CBR
18:17:53.473: bitrate: 40000
18:17:53.473: buffer size: 40000
18:17:53.473: crf: 0
18:17:53.473: fps_num: 240
18:17:53.473: fps_den: 1
18:17:53.473: width: 1920
18:17:53.473: height: 1080
18:17:53.473: keyint: 250
18:17:53.473:
18:17:53.501: ---------------------------------
18:17:53.564: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
18:17:53.564:
18:17:53.679: ==== Recording Start ===============================================
18:17:53.679: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/mkr/Videos/2019-01-25 18-17-53.mp4'...
18:18:11.742: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/mkr/Videos/2019-01-25 18-17-53.mp4' stopped
18:18:11.742: Output 'adv_file_output': stopping
18:18:11.742: Output 'adv_file_output': Total frames output: 4169
18:18:11.742: Output 'adv_file_output': Total drawn frames: 2113 (4333 attempted)
18:18:11.742: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 2220 (51.2%)
18:18:11.743: Video stopped, number of skipped frames due to encoding lag: 2/4319 (0.0%)
18:18:12.346: ==== Recording Stop ================================================
18:18:19.505: Settings changed (outputs)
18:18:19.505: ------------------------------------------------
18:18:24.027: Settings changed (outputs)
18:18:24.027: ------------------------------------------------
18:18:32.679: ---------------------------------
18:18:32.696: [NVENC encoder: 'recording_h264'] settings:
18:18:32.696: rate_control: CBR
18:18:32.696: bitrate: 30000
18:18:32.696: cqp: 0
18:18:32.696: keyint: 250
18:18:32.696: preset: default
18:18:32.696: profile: main
18:18:32.696: level: auto
18:18:32.696: width: 1920
18:18:32.696: height: 1080
18:18:32.696: 2-pass: true
18:18:32.696: b-frames: 2
18:18:32.696: GPU: 0
18:18:32.696:
18:18:33.461: ---------------------------------
18:18:33.462: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
18:18:33.462:
18:18:33.470: ==== Recording Start ===============================================
18:18:33.470: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/mkr/Videos/2019-01-25 18-18-32.mp4'...
18:18:41.742: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/mkr/Videos/2019-01-25 18-18-32.mp4' stopped
18:18:41.743: Output 'adv_file_output': stopping
18:18:41.743: Output 'adv_file_output': Total frames output: 1330
18:18:41.743: Output 'adv_file_output': Total drawn frames: 142 (1978 attempted)
18:18:41.743: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 1836 (92.8%)
18:18:41.743: ==== Recording Stop ================================================
18:18:41.989: Video stopped, number of skipped frames due to encoding lag: 154/1387 (11.1%)
18:23:00.013: ---------------------------------
18:23:00.013: [NVENC encoder: 'recording_h264'] settings:
18:23:00.013: rate_control: CBR
18:23:00.013: bitrate: 30000
18:23:00.013: cqp: 0
18:23:00.013: keyint: 250
18:23:00.013: preset: default
18:23:00.013: profile: main
18:23:00.013: level: auto
18:23:00.013: width: 1920
18:23:00.013: height: 1080
18:23:00.013: 2-pass: true
18:23:00.013: b-frames: 2
18:23:00.013: GPU: 0
18:23:00.013:
18:23:00.244: ---------------------------------
18:23:00.244: [FFmpeg aac encoder: 'Track1'] bitrate: 160, channels: 2, channel_layout: 3
18:23:00.244:
18:23:00.253: ==== Recording Start ===============================================
18:23:00.253: [ffmpeg muxer: 'adv_file_output'] Writing file 'C:/Users/mkr/Videos/2019-01-25 18-23-00.mp4'...
18:23:10.591: [ffmpeg muxer: 'adv_file_output'] Output of file 'C:/Users/mkr/Videos/2019-01-25 18-23-00.mp4' stopped
18:23:10.591: Output 'adv_file_output': stopping
18:23:10.591: Output 'adv_file_output': Total frames output: 1684
18:23:10.591: Output 'adv_file_output': Total drawn frames: 216 (2479 attempted)
18:23:10.591: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 2263 (91.3%)
18:23:10.591: ==== Recording Stop ================================================
18:23:10.987: Video stopped, number of skipped frames due to encoding lag: 97/1769 (5.5%)
 

Sebbo

New Member
Fire up gpu-z and post a screenshot of the first tab. May be your GPU card isn't running in x16 pci-e bus mode after the hardware change.
I'm pretty sure it is running at x16 however here's the ss.
1548401307054.png
 

Osiris

Active Member
Yeah, it's not running @ 16x, but at 1x. Make sure the GPU is in the slot closest to the cpu and seated properly.
 

Sebbo

New Member
It's in the right slot, sitting in there pretty securely. I just took it out put it back in and it's still on 1x.
 

koala

Active Member
To make it totally clear what Osiris said: the slot marked with the blue 2, which is labeled "PCIEX16_1" and which is located nearest to the CPU. The other wide slots are only used for GPU cards in SLI setups where you plug in multiple GPU cards. If a single card is placed in one of the other slots instead of PCIEX16_1, it is running with x1 speed instead of x16.
 

Sebbo

New Member
To make it totally clear what Osiris said: the slot marked with the blue 2, which is labeled "PCIEX16_1" and which is located nearest to the CPU. The other wide slots are only used for GPU cards in SLI setups where you plug in multiple GPU cards. If a single card is placed in one of the other slots instead of PCIEX16_1, it is running with x1 speed instead of x16.
Thank you so much, I sorted it out. :D
 

Sebbo

New Member
Sorry to re-post about this again, but my GPU switched back to 1x. Before that, the way I fixed it was by removing my GPU and then putting it back in place again as it was already in the top slot. I don't understand why it's gone back to 1x speed instead of x16.
 

Harold

Active Member
Except it won't.

The pci-e lane count is negotiated at boot and does not change just because you're trying to run load on it.
 
Top