FREQUENT rendering errors with NVENC Encoder

SamJoex wrote on 1/9/2021, 3:41 AM

I am having immense trouble getting the NVENC Encoder to render my videos properly (or at all) on my new laptop. Many times, it produces inexplicable glitched frames and/or fails to render altogether (freezing the render progress forever). Pressing Cancel softlocks VEGAS Pro but doesn't crash it, forcing me to Task Manager End Process it. On projects with barely any resource-intensive items (such as high-res images and videos), it sometimes renders ok, but in other projects it routinely fails.

Discrete GPU: NVIDIA GTX 1650 (Notebook)
Video Driver: NVIDIA Studio Driver 460.89
Video Editor: VEGAS Pro 15.0 Suite (Build 416)
(other computer specs in signature)

I am rendering my videos in 4K 60FPS, but it tends to fail at lower resolutions as well.

I've found Mainconcept AVC to be a way more reliable encoder, but it doesn't use the NVIDIA GPU (and instead uses my Intel i5-10300H CPU exclusively), operates much slower, and generally produces larger file sizes. And while the better Preview experience is nice, I'd like to use the discrete GPU for making renders faster and more efficient as well.

I suspect the problem lies somewhere within VEGAS Pro 15 or the NVIDIA driver.

Comments

Grazie wrote on 1/9/2021, 4:51 AM

@SamJoex - Could be that you may have a Clash of nVidia card acceleration. Do you have any nVidia accel compliant FXs/Events needing nVidia? As you have found other Render Template works fine this maybe the issue here.

Last changed by Grazie on 1/9/2021, 4:52 AM, changed a total of 2 times.

Grazie

PC 10 64-bit 64gb * Intel Core i9 10900X s2066 * EVGA RTX 3080 XC3 Ultra 10GB - Studio Driver 551.23 * 4x16G CorsVengLPX DDR4 2666C16 * Asus TUF X299 MK 2


Cameras: Canon XF300 + PowerShot SX60HS Bridge

j-v wrote on 1/9/2021, 4:53 AM

@SamJoex

Please show here a screenshot of your settings at Options/Preferences/Video and which type of driver is installed for your Nvidia?
Mind that the drivernumber of the latest is the same for Gamedriver and Studio driver but both are different.

Last changed by j-v on 1/9/2021, 4:54 AM, changed a total of 1 times.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

RogerS wrote on 1/9/2021, 6:10 AM

Set dynamic ram preview to 0Mb and you may have to turn off GPU acceleration in preferences. I had the same issues with 15.

SamJoex wrote on 1/9/2021, 3:08 PM

@j-v

Last changed by SamJoex on 1/9/2021, 3:09 PM, changed a total of 1 times.

YouTube: SamJoex
"Unleash your creativity!!"

Video Editor: VEGAS Pro 15 Suite, Build 416

Computer Specs:
[MSI Raider GE76 12UE]
OS: Windows 11 Home 64-Bit
CPU: Intel Core i7-12700H
RAM: 64GB DDR5-4800
GPU: NVIDIA GeForce RTX 3060 Laptop GPU
Storage: 3 TB NVMe SSD

j-v wrote on 1/9/2021, 3:18 PM

For rendering your amount of reserved memory is much to high, set it to the default 200 or to 0

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 24H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
566.14 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2130
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 576.02 and Intel UHD Graphics 630 with driver 31.0.101.2130
Vegas software: VP 10 to 22 and VMS(pl) 10,12 to 17.
TV      :LG 4K 55EG960V

My slogan is: BE OR BECOME A STEM CELL DONOR!!! (because it saved my life in 2016)

 

SamJoex wrote on 1/9/2021, 6:19 PM

OK, after disabling GPU Acceleration and setting Dynamic RAM Preview to 0 MB, the render went much better, and succeeded. However, there were at least 3 places in the video file that contained glitched frames (insomuch that they must be re-rendered), and the rendering process slowed down quite significantly in many areas (although I'd rather have that than a failed or glitched render).

YouTube: SamJoex
"Unleash your creativity!!"

Video Editor: VEGAS Pro 15 Suite, Build 416

Computer Specs:
[MSI Raider GE76 12UE]
OS: Windows 11 Home 64-Bit
CPU: Intel Core i7-12700H
RAM: 64GB DDR5-4800
GPU: NVIDIA GeForce RTX 3060 Laptop GPU
Storage: 3 TB NVMe SSD

SamJoex wrote on 1/9/2021, 6:39 PM

UPDATE: I re-rendered one of the sections of the video that glitched, using two different NVENC Encoder presets. Under the "Default" preset, the render gltiched like before. However, under the "High performance" preset, it not only rendered without glitches, but it also shrunk the file size of the video portion from the high 400s MB to 366 MB.

Now to see if this works for the entire video.

(Also I set the Dynamic RAM Preview up to 200 MB, as I heard from another forum post that it was the sweet spot.)

YouTube: SamJoex
"Unleash your creativity!!"

Video Editor: VEGAS Pro 15 Suite, Build 416

Computer Specs:
[MSI Raider GE76 12UE]
OS: Windows 11 Home 64-Bit
CPU: Intel Core i7-12700H
RAM: 64GB DDR5-4800
GPU: NVIDIA GeForce RTX 3060 Laptop GPU
Storage: 3 TB NVMe SSD

JN- wrote on 1/9/2021, 8:06 PM

@SamJoex I have found that not all nvenc encoder settings are created equal!. The following table shows some of the combinations that I tested, for quality etc. Note that while item 11 returned a good quality, it will produce very slow seek times. I personally only ever use items 2 or 7.

---------------------------------------------

VFR2CFR, Variable frame rate to Constant frame rate link to zip here.

Copies Video Converts Audio to AAC, link to zip here.

Convert 2 Lossless, link to ZIP here.

Convert Odd 2 Even (frame size), link to ZIP here

Benchmarking Continued thread + link to zip here

Codec Render Quality tables zip

---------------------------------------------

PC ... Corsair case, own build ...

CPU .. i9 9900K, iGpu UHD 630

Memory .. 32GB DDR4

Graphics card .. MSI RTX 2080 ti

Graphics driver .. latest studio

PSU .. Corsair 850i

Mboard .. Asus Z390 Code

 

Laptop… XMG

i9-11900k, iGpu n/a

Memory 64GB DDR4

Graphics card … Laptop RTX 3080

SamJoex wrote on 1/9/2021, 10:17 PM

I rendered the video with NVENC Encoder with Preset being High Performance and RC Mode being CBR, and it rendered without flaw.

Thanks for your help, everyone!

YouTube: SamJoex
"Unleash your creativity!!"

Video Editor: VEGAS Pro 15 Suite, Build 416

Computer Specs:
[MSI Raider GE76 12UE]
OS: Windows 11 Home 64-Bit
CPU: Intel Core i7-12700H
RAM: 64GB DDR5-4800
GPU: NVIDIA GeForce RTX 3060 Laptop GPU
Storage: 3 TB NVMe SSD