Render Not Using GPU

alderny wrote on 1/27/2020, 2:03 AM

My Set Up:

OS: Windows 10 Home 64-bit, CPU: Intel Core i7 4790K @ 4.00GHz, RAM: 16.0GB Dual-Channel DDR3 @ 799MHz, Storage: Samsung SSD 860 EVO 250GB SATA + 2 1TB Toshiba SATA Hard Drives, Graphics: NVIDIA GeForce GTX 1650 Super.

Vegas Pro 17 (build 387)

Whenever I render my projects VP17 always uses the CPU (running at 90% to 100%) rather than the GPU which sits at 4% or less.

I have the GPU selected in the Prefences/Video dialog.

I render using either the Magix AVC/AAC MP4 or Sony AVC/MVC templates. In the render settings I have tried both Mainconcept AVC and NV Encoder modes. Using the NV encoder VP17 fails to render at all, unless the Profile is set to Baseline, and even then it does not use the GPU.

Please can somebody advice why VP17 never uses my graphics card for encoding?

Comments

Phil-MJr. wrote on 1/27/2020, 2:12 AM

I have had trouble rendering with RTX-2070. Sometimes black frames are rendered between the footage. These problems are more likely to occur when rendering in Ultra HD or when an event has effects, such as Boris Effects applied. But if I specify the graphics card, it does attempt to render with it. After I select Render Aa, I select a GPU template or customize one. Should work.

JN- wrote on 1/27/2020, 3:35 AM

While checking a few of the many nvenc variations to see which gave the highest quality (using ffmpeg for SSIM & PSNR) I made this small table. It also indicates the combination of settings that causes either a zero byte file or a file with no video stream, just two audio streams, marked as “fail”. Is it possible @alderny you are using one of the “fail” combinations?

Source & output testing was all done in UHD at 135/100 data rate.

Lower data rates might not cause the fail in UHD if less than data rate of 135/100.

I've highlighted the table in green to show the best quality, and the red box in templates indicates preset and RC mode for best quality.

Last changed by JN- on 1/27/2020, 4:10 AM, changed a total of 5 times.

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

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

j-v wrote on 1/27/2020, 3:56 AM

@alderny
Which exact driver do you use for your Nvidia card?
And can you give a screenshot of your settings in Options/Preferences/File I/O?

Last changed by j-v on 1/27/2020, 3:59 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 23H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
560.70 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2127
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 560.70 and Intel UHD Graphics 630 with driver 31.0.101.2127
Vegas software: VP 10 to 21 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)

 

alderny wrote on 1/27/2020, 4:05 AM

@alderny
Which exact driver do you use for your Nvidia card?
And can you give a screenshot of your settings in Options/Preferences/File I/O?

Driver version 441.66, which is the very latest (as of today). Driver type is DCH.

alderny wrote on 1/27/2020, 4:10 AM

Options/Preferences/File I/O settings are

:

 

alderny wrote on 1/27/2020, 4:18 AM

When using the NV Encoder mode VP17 returns this error:

These are the render template settings that gave this error. Other settings also give this error:

j-v wrote on 1/27/2020, 4:52 AM

Strange, this error.
On my desktop I use almost the same GPU with that driver and it renderfast and fine to FHD 50p and UHD 50p with the Nvenc and Magix HEVC and AVC codecs.
GPU use upto 40-50% and with a much more powerfull CPU.
 

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 23H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
560.70 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2127
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 560.70 and Intel UHD Graphics 630 with driver 31.0.101.2127
Vegas software: VP 10 to 21 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)

 

walter-i. wrote on 1/27/2020, 8:17 AM

When using the NV Encoder mode VP17 returns this error:

These are the render template settings that gave this error. Other settings also give this error:

Field Order: "Upper field first". Is that really interlaced video?

alderny wrote on 1/27/2020, 9:24 AM

Field Order: "Upper field first". Is that really interlaced video?

Yes, my source video from my camera is 25fps interlaced, upper field first. The output is for Blu-ray, where the PAL standard is I believe 50i (50 fields per second, which is 25 frames per second interlaced).

j-v wrote on 1/27/2020, 9:45 AM

The output is for Blu-ray, where the PAL standard is I believe 50i (50 fields per second, which is 25 frames per second interlaced).

I cannot find such a custom template with NVENC, so I think you used an (older?) customized template .
Maybe it is better to use the default template for BR (only Magix Mainconcept) or make a new customized template with NVENC like this one

It gives me such a file


 

 

 

Last changed by j-v on 1/27/2020, 11:00 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 23H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
560.70 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2127
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 560.70 and Intel UHD Graphics 630 with driver 31.0.101.2127
Vegas software: VP 10 to 21 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)

 

alderny wrote on 1/27/2020, 12:17 PM

Thank you @j-v, I didn't realise that there are now templates specifically for NVidia encoding. I took the templates I used in Movie Studio 16, to Pro 16 and then Pro 17. I have now tried one of the NVIDIA NVENC templates, and it works, although the GPU is still at between 12% and 25% (previously 4%), and the CPU has dropped to about 70% (previously 90% to 100%). Rendering is now faster, but no more than about 2 times.

j-v wrote on 1/27/2020, 12:49 PM

I took the templates I used in Movie Studio 16, to Pro 16 and then Pro 17. 

I had to renew all my old and ever used custom templates for new ones, it was a confirmed kind of bug. I don't know if that is still needed, but for you it helped.

 

Last changed by j-v on 1/27/2020, 1:40 PM, 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 23H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
560.70 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2127
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 560.70 and Intel UHD Graphics 630 with driver 31.0.101.2127
Vegas software: VP 10 to 21 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)

 

Sniping117 wrote on 1/27/2020, 1:08 PM

I'm having the same issue where my GPU doesn't go above 5% but my CPU stays around 30% as well. I got an i9-9900k and an RTX-2080. Using almost the same render settings j-v posted above. I never had this issue in VP16. I have tried so many things but rendering in VP17 is just a mess for me. I had a benchmark test where VP16 rendered the test in 56 sec and VP17 took 4min07sec. HW Acc. is enabled as well.

j-v wrote on 1/27/2020, 1:46 PM

@Sniping117
If you don't give information it has no sense to tell us your problems because nobody here on this userforum can help you without the needed info.

met vriendelijke groet
Marten

Camera : Pan X900, GoPro Hero7 Hero Black, DJI Osmo Pocket, Samsung Galaxy A8
Desktop :MB Gigabyte Z390M, W11 home version 23H2, i7 9700 4.7Ghz,16 DDR4 GB RAM, Gef. GTX 1660 Ti with driver
560.70 Studiodriver and Intel HD graphics 630 with driver 31.0.101.2127
Laptop  :Asus ROG Str G712L, W11 home version 23H2, CPU i7-10875H, 16 GB RAM, NVIDIA GeForce RTX 2070 with Studiodriver 560.70 and Intel UHD Graphics 630 with driver 31.0.101.2127
Vegas software: VP 10 to 21 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)

 

alderny wrote on 2/3/2020, 12:52 PM

I cannot find an NVENC encoder template that uses interlaced video, which can be used by DVD Architect. If I change one of the provided templates to interlaced, then it fails to render. Does anyone have any ideas about this?

D.Griffin wrote on 4/3/2022, 6:38 AM

I have this exact same problem with my new 3080ti all my drivers are updated using studio drivers currently but I use Movie Studio 17 platinum. If I try and use NV Encoder, it will fail within the first 10 percent of rendering. If I use Mainconcept AVC it renders so damn slow but will finish the render at least. After using 3 versions of Vegas (Pro 12, 14, and MS17 Plat) I think I'm ready to move on and try other things. These programs have become nothing but a nightmare.

RogerS wrote on 4/3/2022, 7:34 AM

I have this exact same problem with my new 3080ti all my drivers are updated using studio drivers currently but I use Movie Studio 17 platinum. If I try and use NV Encoder, it will fail within the first 10 percent of rendering. If I use Mainconcept AVC it renders so damn slow but will finish the render at least. After using 3 versions of Vegas (Pro 12, 14, and MS17 Plat) I think I'm ready to move on and try other things. These programs have become nothing but a nightmare.

I'm not familiar with Movie Studio but did use Vegas Pro 15-19 with NVENC. In version pre-19 I found you needed to set dynamic ram preview to 0MB to get renders to be reliable. In 19 it has worked for me without that workaround. The upgrade price to Vegas Edit 19 is pretty good as well.

Custom PC (2022) Intel i5-13600K with UHD 770 iGPU with latest driver, MSI z690 Tomahawk motherboard, 64GB Corsair DDR5 5200 ram, NVIDIA 2080 Super (8GB) with latest studio driver, 2TB Hynix P41 SSD, Windows 11 Pro 64 bit

Dell XPS 15 laptop (2017) 32GB ram, NVIDIA 1050 (4GB) with latest studio driver, Intel i7-7700HQ with Intel 630 iGPU (latest available driver), dual internal SSD (1TB; 1TB), Windows 10 64 bit

VEGAS Pro 19.651
VEGAS Pro 20.411
VEGAS Pro 21.208

Try the
VEGAS 4K "sample project" benchmark (works with VP 16+): https://forms.gle/ypyrrbUghEiaf2aC7
VEGAS Pro 20 "Ad" benchmark (works with VP 20+): https://forms.gle/eErJTR87K2bbJc4Q7

Howard-Vigorita wrote on 4/3/2022, 3:56 PM

I cannot find an NVENC encoder template that uses interlaced video, which can be used by DVD Architect. If I change one of the provided templates to interlaced, then it fails to render. Does anyone have any ideas about this?

@alderny You might try the Sony AVC/MVC templates some of which are dvdarch bluray specific. I know they always work for me with an amd gpu if I choose "Use Legacy GPU rendering" under deprecated features. That option causes an extra drop-down to appear in the Sony render templates to "render using GPU if available". Might work with your Nvidia gpu or your Intel cpu + 4600 igpu. You can do a quick check by selecting the template's System tab and clicking on Check GPU. If the Sony template cannot use your gpu or igpu, it'll tell you so.

Just tried it with Vegas 17 build 455 on my laptop which has an Nvidia gpu and an Intel cpu + hd630 igpu and it worked displaying that it will use qsv when I clicked on Check GPU. I also have Intel selected in the I/O preferences and "Enable Intel encoding and decoding (when available)" in General preferences. I also have Intel gpu drivers installed and "Integrated Graphics" selected in the Nvidia Control Panel 3D settings. Oddly, the Sony template in Vegas 19 told me "No GPU available" on the same machine with the same settings.

Musicvid wrote on 4/3/2022, 4:12 PM

I cannot find an NVENC encoder template that uses interlaced video, which can be used by DVD Architect. If I change one of the provided templates to interlaced, then it fails to render. Does anyone have any ideas about this?

DVD Architect takes MPEG-2 video streams for DVDs, not AVC. The only interlaced AVC for BluRay you will find is AVCHD, and not at all with machine encoders, I'm pretty sure.