Vegas 22 Build 122 and Memory Issue

jimingo-1 wrote on 10/15/2024, 9:03 AM

In the last build I was experiencing the memory leak issue but looking through the release notes of Build 122, it appears that the memory leak issue was fixed. However, with 122 I'm having major issues that is preventing me from rendering both 8 bit and 32 bit float videos.

My media is mostly HEVC footage shot with the Sony FX3 and the same types of projects I rendered successfully in Vegas 20. Now, I can't render my projects on any of my three computers (all Intel). One of the projects I'm trying to render is an 8 bit, hour and a half long project to Magix HEVC. Failed on all three computers - I tried Main Concept, QSV and VCE and all ways failed. On one of my computers I get a Vegas error message telling me I've run out of memory while the others just stop rendering or crash. I'm currently trying to render to other formats to see if that will work but I'll have to wait and see.

Also, I'm having issues with a 32 bit float project. The one I'm trying to render is just 8 minutes in length and takes 1.5 hours to render. This is a project that would have rendered in 20 minutes in Vegas 20. It starts out rendering at normal speeds and then gradually slows to a crawl. I've tried rendering many different ways with different settings and I can't find one that works.

Was the memory leak supposed to be fixed in build 122 or are others still experiencing this as well? Also, if there are magical settings that can fix this, please let me know. For now, the only solution is to render in pieces to ProRes and stitch together but I'd rather not.

Thanks

 

Comments

RogerS wrote on 10/15/2024, 9:20 AM

If you render while watching task manager/performance do you see the GPU usage trail off over time? I think it may be running out of VRAM and going into system ram and putting the GPU load back on the CPU?

If you can add your CPU and GPU to your signature it's easier to understand the hardware you have. I assume you have an Intel CPU with iGPU and some AMD GPU.

Are you using ACES (view transform set to something other than off?) With more details we can try to replicate what you're experiencing.

jimingo-1 wrote on 10/15/2024, 9:26 AM

I had it in my profile but sure, Vegas 22 / i9-14900ks (not overclocked) / Corsair Dominator 64 GB 5600 (XMP) / AMD Radeon RX 6900 XT & Intel Arc A770 / Windows 11

I have View Transform set to off.

I looked at task manager while rending yesterday and my memory usage was high but not full but the odd thing is my CPU usage was super low 15% max but sometimes close to 2%. This is just on one of the computers...not sure about the others.

jimingo-1 wrote on 10/15/2024, 9:27 AM

I should mention that was on a Main Concept render so I expected higher CPU usage

jimingo-1 wrote on 10/15/2024, 10:08 AM

UPDATE:

Tried another render on computer 2 (same specs as main computer but without the ARC A770 and with a RX 6700 instead of 6900 and an i9-13900ks instead of 14900ks). This time I rendered to Magix AVC instead: Render failed at 49%

Tried another render on computer 1 - this time with GPU acceleration of video processing turned OFF. Render is currently doing well at 54%. It looks like this might be a temporary workaround. However, this does not work for 32 bit float projects. I will create another post for that.

Also, FYI, my third computer is a Alienware laptop with an Intel processor but a NVIDIA graphics card so it's not affecting just AMD graphics cards builds.

3POINT wrote on 10/15/2024, 10:37 AM

@jimingo-1 I'm wondering that you have Vegaspro22B122 installed and running on 3 different computers.

jimingo-1 wrote on 10/15/2024, 10:39 AM

Yup, latest build on all three

3POINT wrote on 10/15/2024, 10:45 AM

Yup, latest build on all three

I thought VP22 is licensed only for 2 computers...

jimingo-1 wrote on 10/15/2024, 11:11 AM

True but I purchased 2 licenses so I could use a third just for rendering. I still have a license available so I’m gonna install it on an older AMD processor computer and see if I get the same issue.

edit: I mean I purchased Vegas 22 twice so technically I have 4 licenses

jimingo-1 wrote on 10/15/2024, 6:20 PM

I did more tests and this memory issue definitely has something to do with Intel graphics. I'm pretty sure the only way around this is to disable Intel in both GPU acceleration and in the File I/O decoder.

When Intel is turned off completely or both GPU and Decoder is set to my AMD Radeon RX 6900 XT, the renders complete successfully in 8 and 32 bit. I'm hoping for a fix soon thought because the Intel Arc A770 (or even the Intel iGPUs) give much better timeline playback and faster rendering for H.265 media.

cloud-crusher wrote on 10/16/2024, 3:22 AM

@jimingo-1 I definitely have similar issues

Project is 26min long, mainly 4K footage, color graded with Vegas (dunno my build number atm, I'm out)

While rendering, when monitoring my Task Manager, I saw that the RAM usage was definitely high.

And the app and all windows app were not responding once the render crashes.

 

I'll try out Turning off GPU acceleration

However some people in previous build did not suceed even with GPU acceleration turned off.

https://www.vegascreativesoftware.info/us/forum/renders-issues-in-vegas-22--147002/

 

I'll give it a try and update here once I try again, with all my specs, build number and information.

cloud-crusher wrote on 10/16/2024, 1:13 PM

I confirm @jimingo-1


Turning off Video Acceleration right before rendering solved the issue.

The memory usage remained between 13 to 20 GB.

20GB at its highest during most edited sections of the project.

(I have set RAM at 0 (unlimited) in settings)

 

Here are my specs:

OS Microsoft Windows 11 Pro
MB B550 AORUS ELITE AX V2
CPU AMD Ryzen 9 5900X 12-Core Processor, 3701 Mhz, 12 Core(s), 24 Logical Processor(s)
GPU RTX 3080 (Zotac)

I have a VEGAS 22 Build < 100, not the most recent at all

 

My render is now at 65% when it didn't go above 30% before turning off Acceleration, so it should end correctly without errors

 

 

Thank you!

Alex-Pitel wrote on 11/21/2024, 10:08 AM

Yes, have the same memory problem!

CPU AMD 3900

1 GPU Nvidia RTX 3090

2 GPU Intel ARC 380

RAM 64gb

jimingo-1 wrote on 11/21/2024, 10:36 AM

Here's a temporary fix...

For 8 bit renders, set your Nvidia card as your hardware decoder (under preferences > File I/O) and set the GPU acceleration of video processing to OFF (under preferences > Video). Then render using MainConcept.

For 32 bit renders, set your hardware decoder AND acceleration to the Nvidia card. Render using MainConcept.

EDIT: I'm pretty sure MainConcept only applies to AVC & HAVC templates. For other formats, as long as you're not using your GPU to render, you should be good.

Alex-Pitel wrote on 11/21/2024, 11:30 AM

Thank you very much!

I have installed VEGAS 21 also. So I just opened Vegas 21 and 22 simultaneously and copied all events from Vegas 22 to Vegas 21 window. Some effects added again (on tracks and media fx) but Vegas 21 rendering fine. So I still stay on Vegas 21 for now...

RedRob-CandlelightProdctns wrote on 11/24/2024, 9:01 PM

Alas, this is familiar. I recently re-enabled my use of the Intel card for decodes for sake of speed, but watched memory just keep climbing during my render :( (latest Vegas build)

Sad-making indeed.

*UPDATE* Went back to just using my RX470 for decode (File I/O) and encode (video tab) and although memory usage was lower, it still kept climbing without limit during my render even without the Intel card. Enabling "Use Legacy Decode" made it so memory stayed static and didn't climb at all during render.. just slowwwwwww. :/

But not as slow as keeping "use legacy decode" unchecked but setting the hardware decoder to "None".. this also didn't have the memory climb problem but was the slowest of all options.

In summary, for me:
- Rendering with new decode, using Intel video driver -- good speed but quickly exhausts memory
- Rendering with new decode, using same video card as encoding (RX470) -- OK speed, still exhausts memory but not as quickly
- Using legacy decoder has no memory sprawl but is slow
- Using new decode but "no hardware decode" has no memory sprawl but is slowest


 

Last changed by RedRob-CandlelightProdctns on 11/24/2024, 9:08 PM, changed a total of 2 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

Jonny-Bhoy wrote on 11/29/2024, 6:08 AM

Same issues for me using AMD Radeon Pro card. Support have been useless. Two weeks to get a response, then zero help whatsoever. They asked what happens, I advised them, then nothing. It's been month now since I upgraded from VP20 and now feel suckered in yet again. Been using Vegas since back before SOny got involved and it's always the same. Upgrades that don't work properly, support is not very supportive, and wait months for a proper fix. So annoying to deal with.

RogerS wrote on 11/29/2024, 6:31 AM

@Jonny-Bhoy This thread is for build 122. Did the update, build 194, help at all?

Jonny-Bhoy wrote on 11/29/2024, 6:35 AM

@Jonny-Bhoy This thread is for build 122. Did the update, build 194, help at all?

Unfortunately, not; I'm on 194 and can't render unless I turn off all graphic acceleration. I've updated to the latest drivers and followed all advice, but the issue persists.

RogerS wrote on 11/29/2024, 6:54 AM

Thanks for the clarification. Which Radeon Pro GPU do you have? Maybe add it to your signature for easy reference (mine is an example; find it under "my profile" in the top right).

RedRob-CandlelightProdctns wrote on 12/3/2024, 2:22 PM

Same boat here @RogerS, latest V22 build. I have to go to Legacy decoding and then my memory holds stable through the render. If I have it set to not use legacy decoder, my memory runs away during the render. This happened with the AMD card on, AND set to "none".

RX470, but not sure that's relevant.

  • Source footage on most cameras is 60p 4K MP4 files (MPEG-4, Base Media, Codec mp42, bitrate 151Mb/s, AVC Profile High@L5.1
  • FX are Neat Video (latest build) on some clips, otherwise just minor Vegas Sharpen, and a tiny few w/stabilization.
  • Render is to 1080p60. Memory runaway happens both rendering with AMD template, or non-AMD template.

So we're constantly juggling enabling GPU and newer decode so edit is smoother, monitoring memory and restarting Vegas as needed to avoid crashing from runaway RAM during edit -- and then setting Legacy decoding for the render so it completes without RAM exhaustion.

I think with multiple ppl having this problem, with AMD *and* NVIDIA it seems like, that we don't need to "prove it's not our systems" anymore, ya? And since it doesn't happen when checking "use legacy decoder", this does seem like something that's fixable in the newer decoding code.

I'm happy (well, willing) to make videos just to show the memory runaway with different settings... or a chart to show which combinations it happens with, or doesn't. But only if I knew the devs at Vegas would find this helpful to squish this problem. We're already wasting precious time with the restarts and reconfig, and slow renders BC of having to use legacy GPU (or disabled) GPUs -- don't want to waste more if it's not going to help get it fixed.

Last changed by RedRob-CandlelightProdctns on 12/3/2024, 2:31 PM, changed a total of 6 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

Reyfox wrote on 12/3/2024, 3:23 PM

I edit 10bit 422 4K all the time. I'll use BorisFX, CGP, titles and have never had any issues. But then, most of my videos are under 15 minutes.

I don't have NeatVideo (I'll use BorisFX), and still render whatever I like. Yes, GPU RAM can get close to my 12GB, but it has never stopped me from working or rendering using AMD VCE.

Newbie😁

Vegas Pro 22 (VP18-21 also installed)

Win 11 Pro always updated

AMD Ryzen 9 5950X 16 cores / 32 threads

32GB DDR4 3200

Sapphire RX6700XT 12GB Driver: 24.12.1

Gigabyte X570 Elite Motherboard

Panasonic G9, G7, FZ300

jimingo-1 wrote on 12/3/2024, 3:28 PM

I could be wrong but I think it only happens to people who have Intel components (processor or GPU).

RedRob-CandlelightProdctns wrote on 12/3/2024, 5:16 PM

I could be wrong but I think it only happens to people who have Intel components (processor or GPU).

@jimingo-1 Oh -- I have an Intel processor and there is indeed an intel GPU in there. But Vegas isn't set to use them.

Last changed by RedRob-CandlelightProdctns on 12/3/2024, 5:25 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio

 

 

RedRob-CandlelightProdctns wrote on 12/3/2024, 5:17 PM

I edit 10bit 422 4K all the time. I'll use BorisFX, CGP, titles and have never had any issues. But then, most of my videos are under 15 minutes.

I don't have NeatVideo (I'll use BorisFX), and still render whatever I like. Yes, GPU RAM can get close to my 12GB, but it has never stopped me from working or rendering using AMD VCE.

@Reyfox Not sure what you're noting here. That some ppl have the problem and some ppl don't? Yes, that seems to be the case. The nature of pesky bugs for sure.

Last changed by RedRob-CandlelightProdctns on 12/3/2024, 5:17 PM, changed a total of 1 times.

Vegas 21.300

My PC (for finishing):

Cyperpower PC Intel Core i7-7700K CPU @ 4.2GHz, 64GB mem @ 2133MHz RAM, AMD Radeon RX470 (4GB dedicated) with driver recommended by Vegas Updater (reports as 30.0.15021.11005 dated 4/28/22), and Intel HD Graphics 630 driver version 31.0.101.2112 dated 7/21/22 w/16GB shared memory. Windows 10 Pro 64bit version 10.0.19045 Build 19045.

My main editing laptop:

Dell G15 Special Edition 5521, Bios 1.12 9/13/22, Windows 11 22H2 (10.0.22621)

12th Gen Intel Core i7-12700H (14 cores, 20 logical processors), 32 GB DDR5 4800MHz RAM, Intel Iris Xe Graphics, NVIDIA GeForce RTX 3070 Ti Laptop GPU w/8GB GDDR6 RAM, Realtek Audio