VEGAS MAXES OUT MY CPU, BUT USES VERY LITTLE GPU AND RAM

AaronL wrote on 2/17/2022, 5:01 PM

I am an experienced audio producer / musician but a bit new to video edits.

I am trying to do some  Multicam edits with 5-8 pieces of video shot on various iOS devices.  ( audio has been removed and I have one stereo wave file in the project) total project is ~5 min long.

All the files for this project add up to ~ 2 GB  ( I have 32 GB of RAM)

My playback is seriously lagging and I am trying to figure out why and how to fix.

I understand that vegas does not like codecs from iOS video, so I have run videos through HANDBRAKE first.  I use the mp4 setting but they come out as H264- is this part of the problem?  If so what should I change them to so that they still look as good as the originals?

When I open task manager my CPU is running between 96%-100%  and my GPU is running at 3%

How do I get my GPU to share the load?   It also says that VEGAS is using about 3300MB of RAM

Should VEGAS be taking advantage of more of my available RAM?

Is VEGAS maybe only using 1 CORE of the CPU ?

IF so how do I fix this?

Also I just learned about the idea of using proxy's and I am just made proxys for all the media in this project.  This only offered a very marginal improvement - my play back is still very lagging.  The  marginal improvement is that VEGAS is only using 93% of my CPU and GPU usage went up to 7%

Also vegas is crashing often when doing this sort of work.

I am looking for some tech suggestions to make this all work as it should.

Here are my computer details :

Processor        Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz

nstalled RAM        32.0 GB

System type        W 10 home - 64-bit operating system, x64-based processor

Video card chip - GeForce GTX 1660

Vegas Pro 17.0

In video preferences, GPU acceleration is set to OPTIMAL NVIDA Corportaion

GPU DRIVER version 27.21.14.5671

In the VEGAS FILE I/o Preferences "Enable hardware decoding for supported formats is checked

Hardware decoder to use says " Intel QSV"

Vegas is on my C drive SSD (1TB)

Video Files are on my E drive SSD (2TB)

I also have a  4 gb HDD and another 2tb SSD for music related sample libraries. All drives are internal to this PC tower (it is not a laptop) tower

Last changed by AaronL

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

Comments

fr0sty wrote on 2/17/2022, 5:52 PM

The GPU can only decode some formats. See if going into the video tab, setting it's GPU acceleration option to your NVIDIA card, then leaving the decoder in the file i/o tab helps. If not, try the opposite. If neither helps, it may be due to the format not being able to be decoded by the GPU. If that is the case, proxy the files (right click on them in media bin, "create video proxy" and make sure the preview monitor is set to "preview" (any) quality, and that will solve your performance issues.

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)

Former user wrote on 2/17/2022, 5:52 PM

@AaronL Hi,

H.264 is fine that's AVC, I avoid H.265 -HEVC,

I'm using V19 so i don't know if it's the same, under the Help button at the top you can check for Driver updates, ther's some debate but Studio driver is the best,

does your file i/o look like this for Hardware decoder to use ?

RogerS wrote on 2/17/2022, 5:55 PM

For Handbrake, try the production standard preset, use x264 encoder and a RF of 23 or so. Keep the resolution the same as the source. Check "constant framerate" and pick the framerate closest to what you shot (60fps, etc.) That will give Vegas an easy-to-decode h264 file. Don't make proxies yet and see if this helps.

For decoding keep it on defaults. Intel QSV is the right one for decoding.

If you disabled so4compound (the new AVC decoder) in internal preferences, undo that. If you don't know how or also made other changes you can't recall, reset Vegas.

I'd turn resample to "disable resample" in project properties.

Try the latest NVIDIA Studio Driver for your GPU, too.

Former user wrote on 2/17/2022, 5:59 PM

In project properties Resample mode should be set to disabled.

Also you could try using Nvidia hardware decoder instead of Intel, it's possible your intel decoder is disabled on the laptop for thermal reasons.

I still don't think that explains 93% cpu of an 8core(but no hyperthreading) cpu when using proxies, the proxy format doesnt' use GPU decoding, so would be unaffected by GPU decoder settings, Unless VP17 was the version they tried H.264 hardware encoded proxies.

 

Former user wrote on 2/17/2022, 6:01 PM

For decoding keep it on defaults. Intel QSV is the right one for decoding.

 

@RogerS Hi, i don't have Intel I have an AMD so that option isn't available, do you think not having it set to the nvidia makes much difference on an Intel system?

RogerS wrote on 2/17/2022, 6:22 PM

For decoding keep it on defaults. Intel QSV is the right one for decoding.

 

 Hi, i don't have Intel I have an AMD so that option isn't available, do you think not having it set to the nvidia makes much difference on an Intel system?

Hi Gid, it depends in part on what you are decoding. There are edge cases where the NVIDIA decoders just plain fail to properly decode files in Vegas (errors) and others where Intel is more compatible (NVDEC would kick you back to slower CPU decoding, though Vegas might still opt to use QSV if it's not disabled in device manager). If you have an Intel decoder I'd use it unless there's a specific reason not to. With my laptop I had stability issues with NVDEC and stopped testing it a while ago as there was no benefit over QSV.

RogerS wrote on 2/17/2022, 6:23 PM
I still don't think that explains 93% cpu of an 8core(but no hyperthreading) cpu when using proxies, the proxy format doesnt' use GPU decoding, so would be unaffected by GPU decoder settings, Unless VP17 was the version they tried H.264 hardware encoded proxies.

IIRC that was an early build of VP 18 that was quickly reversed. So VP 17 proxies shouldn't use any GPU decoding and would be unaffected by decoder settings as you state.

Former user wrote on 2/17/2022, 6:40 PM

For decoding keep it on defaults. Intel QSV is the right one for decoding.

 

@RogerS Hi, i don't have Intel I have an AMD so that option isn't available, do you think not having it set to the nvidia makes much difference on an Intel system?

@Former user Performance wise, no difference, Nvidia decoder is faster if memory serves me correct. However, and as a non technical person I'll try my best to explain this, but technical people feel free to correct. They appear to use an Intel module? API?, that they just need to plug into Vegas. Intel makes the 'module', all they do is plug it in when a new version comes out. We saw this with the release of the new intel CPU's that supported HEVC 422 decode, very quickly after release Vegas could hardware decode HEVC 422 with those IGPU's.

The unfortunate thing is, for some reason the same process doesn't happen with Nvidia and AMD GPU's, they don't just plug in an Nvidia or AMD module so that causes huge delays when new codecs come out. It has literally been years since some of the most popular cameras have come out and there is no codec support for Nvidia/AMD GPU's.

Depending on the codec, on Nvidia/Amd you may have buggy GPU decoding, no gpu decoding (cpu instead), or a complete inability to play the camera file on Vegas at all. This is my self explanation of the problem, I don't think anyone from Magix/Vegas have ever commented

 

AaronL wrote on 2/17/2022, 9:31 PM

THANKS everyone for all this great info, It is going to take me a bit to digest all of this, but I hope these turn out to be useful suggestions. In the meantime please allow me to ask for a couple of points of clarification: FROSTY wrote

The GPU can only decode some formats.

When you say "some formats" is that what I call "codecs" or are those terms not equivalent.

 

ROGER WROTE

Try the latest NVIDIA Studio Driver for your GPU, too.

 

This was suggested last night by an experienced editor friend ( not vegas) last night. But when I downloaded the "studio " version of the driver it was older than my current driver, and then would not install, the error message I think said not compatible"

What am I missing?

 

 

 

 

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

RogerS wrote on 2/17/2022, 9:36 PM

I think for this purpose codecs and formats are equivalent (though it may also be the combination of codec x container for Vegas).

For the Studio Driver it is compatible with the GeForce GTX 1660 and may well be older than the gaming driver- that's the point. It's updated less frequently and tested better.

Try here for the desktop driver (notebook is different). If you have more issues uninstall GeForce experience and the current driver first.

AaronL wrote on 2/17/2022, 9:46 PM

@AaronL Hi,

H.264 is fine that's AVC, I avoid H.265 -HEVC,

I'm using V19 so i don't know if it's the same, under the Help button at the top you can check for Driver updates, ther's some debate but Studio driver is the best,

does your file i/o look like this for Hardware decoder to use ?

My I/o tab does not look like this. - Auto NVIDIA IS NOT EVEN AN OPTION, mine looks like this - I am very open to suggestions here:

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

RogerS wrote on 2/17/2022, 10:12 PM

People are giving advice based on VP 18 and 19- 17's settings were different.

Intel QSV is the best option though you can click on it and turn it off (or change to NVDEC if it's there) if you want to test it. I'd leave it as is.

AaronL wrote on 2/17/2022, 10:20 PM

People are giving advice based on VP 18 and 19- 17's settings were different.

Intel QSV is the best option though you can click on it and turn it off (or change to NVDEC if it's there) if you want to test it. I'd leave it as is.

Thanks for clarifying, if upgrading to 19 is part of the solution here I would pay the $90 (it is on sale till March 1) but I suspect I should first try to get all of the above sorted out first ? unless people here think the upgrade would help?

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

RogerS wrote on 2/17/2022, 11:50 PM

Hi Aaron, I don't think an upgrade is necessary just for performance, though for $90 it's well worth it for other reasons.

In order of usefulness for performance:

1. Convert variable framerate phone footage to constant using x.264
2. Try to update to the NVIDIA Studio Driver, your driver (456.71?) seems old.

#1 should solve the performance problem and should help with stability. #2 might help stability and prevent future issues when NVIDIA rushes a game patch that breaks other software.

VP 19 does a better job with decoding phone footage but 5-8 streams of it are unlikely to work well anyway.

Former user wrote on 2/18/2022, 4:07 AM

@AaronL Have a look at this & see if you can install Geforce Experience, that has a drivers tab for updating,

https://www.nvidia.com/en-us/geforce/news/geforce-gtx-16-series-super-game-ready-driver/

or

https://www.nvidia.com/en-gb/geforce/graphics-cards/gtx-1660-super/

Former user wrote on 2/18/2022, 4:08 AM

@AaronL Also can you go to your icon at the top, click it - My Profile, & fill in your Signature with your Vegas version, Windows version & system specs, CPU, GPU, RAM etc. this will then show at the bottom of the comments 👍 

Former user wrote on 2/18/2022, 4:19 AM

@AaronL Hi,

My I/o tab does not look like this. - Auto NVIDIA IS NOT EVEN AN OPTION, mine looks like this - I am very open to suggestions here:

Do you have (NVENC) at the end of your render options?

Like this

AaronL wrote on 2/18/2022, 10:53 AM

@AaronL Have a look at this & see if you can install Geforce Experience, that has a drivers tab for updating,

https://www.nvidia.com/en-us/geforce/news/geforce-gtx-16-series-super-game-ready-driver/

or

https://www.nvidia.com/en-gb/geforce/graphics-cards/gtx-1660-super/

Thanks for this; when I tried to update the driver from device manger it just told me I had the latest driver.

I did not know there are different drivers for creators and gamers. Does not matter to me cause I have no interest in video games. On the other hand my son is into video games and wants to get into video editing. So if someone is into both can they switch back and forth depending on what they are doing at any given moment?

 

 

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

AaronL wrote on 2/18/2022, 10:54 AM

@AaronL Hi,

My I/o tab does not look like this. - Auto NVIDIA IS NOT EVEN AN OPTION, mine looks like this - I am very open to suggestions here:

Do you have (NVENC) at the end of your render options?

Like this

Yes in render options I can choose NVENC - but I dont know yet what any of this means :)

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

AaronL wrote on 2/18/2022, 11:02 AM

since starting this thread I have :

replaced videos with proxys

updated to latest studio driver

turned off resampling in project preferences

tried NVIDIA NVDEC in file i/o

 

This simple project ( 1 audio file 8 ios videos) - just cuts no color correction or effects at all , just multi cam cuts, is still pushing my CPU to the limit. In theory this should be well within the capabilities of my system no?

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

Former user wrote on 2/18/2022, 11:03 AM

@AaronL When you choose Game Ready driver & at that moment you're on Studio driver, it will load the Game driver, i don't know if it is 'loading' it from the internet or your PC but it feels like an install if that makes sense, for me it doesn't take long but I avoid doing it, it's not just a switch from one to the other,

If you install Geforce Experience you'll see but it also has screen capture, Alt+F1 to capture an image, Alt+F9 to record screen, on mine anyway, i don't know about your card,

On my old PC there's a GTX 1660 Super, i'm not sure how well your son will do on your pc gaming with that card, 🤔🤷‍♂️

AaronL wrote on 2/18/2022, 11:06 AM

Thanks Gid , no worries, he games on his own computer not mine, but when he gets into some editing in the near future, I want to be able to help if he hits some of these roadblocks

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

AaronL wrote on 2/18/2022, 11:07 AM

I just hit alt F1 and GeFORCE asked if I want to take a screen shot, so that means I successfully installed the studio driver, is that what you mean?

Vegas 19.0, on a W10 64 bit OS, Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz   3.00 GHz, 32 GB RAM, NVIDIA GeFORCE GTX 1660 with latest studio driver ( Feb 2022), Windows OS is on a 1 TB SSD, project data is on a 2 TB ssd, Archived projects are on a 4TB HD

Former user wrote on 2/18/2022, 11:08 AM

@AaronL Can you share screen capture of as much as poss of Vegas , export settings, & a pic Customize Template, & a picture of the Taskmanager while it is rendering pls,

as many pics as poss because a picture paints a 1000 words 😉