Still Problem in V17 when using GPU Acceleration of Video processing

Stiven wrote on 8/14/2019, 5:53 PM

So if this thing is turned on in Preferances -> Video.

After few % of video rendering I get black screen on preview + I can't cancle the rendering, and nothing happens. I Just need to end task the Vegas Pro.

So only solution is to turn it off, but then I lose a performance.

Any plan in future to fix this issue, I think I have sent a lot of reports about this, when vegas crashed.

Comments

fr0sty wrote on 8/14/2019, 5:54 PM

Have you tried updating your GPU drivers? If using an NVidia card, are you using the studio driver?

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Stiven wrote on 8/14/2019, 6:27 PM

I am using latest nvidia geforce driver 431.60.
Didn't try Nvidia studio driver. I could check that if that will help out.

fr0sty wrote on 8/14/2019, 11:00 PM

Nvidia says that driver is specifically optimized for Vegas.

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

j-v wrote on 8/15/2019, 1:47 AM

So only solution is to turn it off, but then I lose a performance.

Your problem is with rendering, what loss of performance do you have when ending that accelerationtask just before rendering? Did you try that already?

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)

 

Grazie wrote on 8/15/2019, 3:05 AM

No mention of that Hardware I/O setting for NVIDIA? Would that help? Has helped me.

j-v wrote on 8/15/2019, 3:21 AM

No mention of that Hardware I/O setting for NVIDIA? Would that help? Has helped me.

That's meant for decoding, not encoding.
AFAIK rendering is encoding.

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)

 

Marco. wrote on 8/15/2019, 3:31 AM

It would still affect the render process because rendering consists of decoding a frame, processing the frame (size, color, fx, frame blending, etc.) and encoding the frame.

j-v wrote on 8/15/2019, 3:37 AM

Maybe Marco, but I did only see advantages with preview of heavy files. My rendertimes did not change ( that was already very quick with NVENC 😃)

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)

 

Grazie wrote on 8/15/2019, 3:52 AM

Maybe Marco, but I did only see advantages with preview of heavy files. My rendertimes did not change ( that was already very quick with NVENC 😃)

@j-v - Do you have any numbers that support your qualitative observation? As @Marco. is saying that I/O is also about encoding, well it would, wouldn’t it. And again, you’ve not said why NOT having the I/O would be an advantage or disadvantage? I’m suggesting, or rather asking, the opposite, having that engaged adds to better workflow. And possibly only @VEGASDerek could jump in here and conclusively agree or deny. 😉

j-v wrote on 8/15/2019, 4:09 AM

Maybe Marco, but I did only see advantages with preview of heavy files. My rendertimes did not change ( that was already very quick with NVENC 😃)

Correction, that behaviour I saw on my laptop.
But now I'm back from my long vacation in Norway and I tested it now on my desktop.
Rendertime there of a 1 minute render to FHD Magix AVC (NVENC) is faster in VP17 than in VP16 with exactly the same template.
1 minute in VP16 renders in 54 sec.
The same in VP 17 with my already changed and showed File I/O setting renders in 44 sec., almost a gain of 20%!

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)

 

Stiven wrote on 8/15/2019, 4:14 AM

I'm starting to think the problem could be MagicYUV codec that I use for recording game videos. I really don't see any performance gain with GPU enable / disabled, not even in a preview. As for rendering my CPU does the great job 30 sec of 4k video renders in 1 min (Magix HEVC codec), what i think is totally ok.
 

fr0sty wrote on 8/15/2019, 4:26 AM

GPUs are only capable of hardware decoding AVC and HEVC formats, so MagicYUV isn't a format it is capable of decoding, though I do know it plays nice with Vegas, as it is one of the codecs that comes bundled with Happy Otter Scripts. It's a high quality intermediate codec.

 

Systems:

Desktop

AMD Ryzen 7 1800x 8 core 16 thread at stock speed

64GB 3000mhz DDR4

Geforce RTX 3090

Windows 10

Laptop:

ASUS Zenbook Pro Duo 32GB (9980HK CPU, RTX 2060 GPU, dual 4K touch screens, main one OLED HDR)

Grazie wrote on 8/15/2019, 5:01 AM

Rendertime there of a 1 minute render to FHD Magix AVC (NVENC) is faster in VP17 than in VP16 with exactly the same template.
1 minute in VP16 renders in 54 sec.
The same in VP 17 with my already changed and showed File I/O setting renders in 44 sec., almost a gain of 20%!

@j-v - Happy Days! Nothing like Quantitative Evidenced-Based Results. Now, @j-v, having your GPU taking some, or a greater part of the heavy lifting AWAY from the CPU, this allows the CPU to get on with the “back-office” Job. And again KUDOS to MAGIX Engineers to jump in with both feet and wrangle the Hardware<>Software conundrum. I’m wagging ALL my tails!

Last night I installed Particle Illusion.....stunning frame rates.

j-v wrote on 8/15/2019, 5:16 AM

@j-v - Happy Days!

😁😃😄👍
and
👌 for the Vegas engineers!

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)

 

Former user wrote on 8/15/2019, 8:05 AM

@j-v @Grazie Happy days indeed. I had assumed that it wasn’t working on my systems because there was no change in render times on the J-V SampleProject 4K? Maybe the clips are not fully compliant? and of course theres other stuff in the project as well.

Anyway I did a quick test on laptop and PC using 19s clip x 3. The laptop showed the biggest benefit, 43%, PC 21%, all when rendering UHD h264 clips to FHD h264, really excellent.

Howard-Vigorita wrote on 8/15/2019, 11:50 AM

There's another Vegas acceleration aspect I've been meaning to explore more deeply but have not gotten to benchmarking yet... plugin acceleration. Plugins are available in 2 forms: gpu accelerated and 32-bit floating point. I believe based on my debugging issues in the past related to gpu-plugins causing snow in 60i rendering for dvd and bluray, that selecting a gpu accelerated plugin then turning off the gpu in video settings causes the plugin into operate as if it was cpu-only. But I'm not clear on exactly what happens in Vegas with 32-bit floating point plugins on different platforms like the i7, i9, and e5 which all handle floating point differently... i7 uses avx2, i9 uses higher performance avx512, and e5 Xeon uses its legacy x87 fpu. Anybody got any inside info on this?

Stiven wrote on 8/15/2019, 12:14 PM

I have i9 7980xe. Also I have try out 32bit floating point (full range)
I see huge diff if I am using compositing gamma 1.000 (linear) vs 2.222 (video)

Linear is working like that I have celeron CPU in my machine (it almost need like 40 min), while video is rendering 4k 60fps 30sec video in 1 min.

Former user wrote on 8/15/2019, 12:19 PM

@j-v @Grazie I did a small test on PC also using Intel instead of Nvidia in the file I/O tab.

Result was that in my case the Nvidia was the best option for render times. The render times turned in using Intel were the same as VP16 and VP17, as if no benefit at all from Intel QSV HW Decoding.

HW Acceleration was left in both cases as Nvidia.

Grazie wrote on 8/15/2019, 12:27 PM

@Former user Have you got the % figures?

Former user wrote on 8/15/2019, 12:43 PM

I've created a new post for this Intel QSV non decoding issue … https://www.vegascreativesoftware.info/us/forum/vp-17-intel-qsv-hd-630-igpu-not-used-for-decoding--116762/

 

@Grazie Yes it was a 0% render time change using Intel QSV decoding in VP17 vs simply using VP16. I suspect that the "Intel Graphics 630" is not being used for decoding. Note that unchecking QSV in "General" simply makes it unavailable in the render templates for testing.

I have confirmed that the Intel QSV HW encoding is working using the Red Car test with a gain of 5s and this 57s test with a gain of 3s.

I can also confirm that while observing the Intel QSV gpu in Task Manager it never shows any decoding activity.

SECTION 1

19s duration clip length x 3 = test project duration of 57s, UHD 25fps.

HW Acc. = Nvidia for all.

VP17 .. UHD to FHD using Nvidia in file I/O, render time = 15s ..... 21% faster render.

VP17 .. UHD to FHD using Intel QSV in file I/O, render time = 19s

VP17 .. UHD to FHD using no file I/O decoding, render time = 19s

VP16 .. UHD to FHD …………………………………………. render time = 19s

 

SECTION 2

I tried something else with respect to the non-decoding of Intel QSV on my system. I set HW Acc to Intel QSV instead of Nvidia. Maybe decoding needs HW ACC. to have Intel selected?

I then rendered out the same test project with Intel QSV selected in the File I/O tab, and tested with HW Decoding on or off. The result is no change, HW decoding using Intel QSV is not working on my PC, but QSV HW encoding is.

19s duration clip length x 3 = test project duration of 57s, UHD 25fps.

HW Acc. = Intel QSV

File I/O =  Intel QSV

VP17 .. UHD to FHD, "Enable Hardware Decoding" in file I/O = ON, render time = 47s.

VP17 .. UHD to FHD, "Enable Hardware Decoding" in file I/O = OFF render time = 47s

 

j-v wrote on 8/15/2019, 1:04 PM

@Former user Have you got the % figures?

Mine are for 1 minute render 2,7K to my usual AVC FDH 50p with NVENC with some cropping in Pan/Crop
VPro 16 .................................................62 sec (100%)
VPro 17 File I/O set to QSV (Intel) .........57 sec (8% less)
VPro 17 File I/O set to NVDEC (Nvidia)..43 sec (30% less)

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)

 

Grazie wrote on 8/15/2019, 1:16 PM

Stunning guys!

Former user wrote on 8/15/2019, 1:23 PM

@j-v @Grazie I've added in the % improvement in my previous post, yes Grazie, excellent, and no doubt improved timeline performance, just no way to properly test it.

j-v wrote on 8/15/2019, 1:25 PM

just no way to properly test it.

I did it HERE 😃😃😉😉😉😉 Awake now?

Last changed by j-v on 8/15/2019, 1:27 PM, changed a total of 2 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)