Rendering hangs up with a memory leak - Vegas 18 Pro

Comments

RogerS wrote on 12/29/2020, 11:15 PM


Our settings are pretty similar.

ngjb wrote on 12/29/2020, 11:26 PM

@RogerS Good to hear that you are getting results that are consistent with what I am seeing. I tried other codecs also but got the same results. The issue so far limited to the new Titles & Text function which I hope they fix someday. I want stay with Panasonic and 10 bit color. Panasonic makes some great 4K cameras at affordable prices.

Desktop system:


OMEN 30L GT13-1094
Operating system: Windows 10 Home
Processor: AMD Ryzen™ 7 5800X Processor
Memory: HyperX® 32GB DDR4-3200 XMP RGB SDRAM memory(97) (4x8 GB)
Internal Storage: 1 TB PCIe® NVMe™ M.2 SSD (Application storage, Windows OS)

1 TB NVMe M.2 SSD (working drive)
500GB SDD (working drive)
4 TB HDD (Media Storage)
Graphics: EVGA NVIDIA® GeForce RTX™ 3060 XC graphics card with 12 GB GDDR6 dedicated memory
Display:
Samsung U28E590, Displayport,
UHD Monitor 3820x 2160


Laptop:


Acer Nitro 5 Gamer Laptop
Windows 10 (64 Bit)
System Memory 32 GB
500 GB SSD

500 GB SSD (working drive)
1TB HDD

FHD Display
CPU Intel I-5 9300H
Graphics NVIDA GTX 1050

RogerS wrote on 12/29/2020, 11:40 PM

One thing I noticed is that I don't have a Intel QSV render setting under Magix AVC so I can't test that, just Mainconcept and NVENC. I don't know why it's gone or how I can get it back.

Intel QSV does appear as a render option under HEVC. I did two renders with titles and text. The first was in 8-bit project mode. Vegas ram usage was steady at 4.2GB. System usage steady through the render at just 12.7GB. CPU is around 100% and Intel GPU just 3% utilization or so. The render completed in 5 min without error.

The second was in 32 bit mode. Vegas ram usage was 4.08GB. However system ram usage continued to climb through the render. It failed with total memory use around 20GB even though Vegas reported just 4.07GB used.

So my conclusion is that 32-bit video mode and titles and text don't get along whether in CPU, QSV or NVENC mode.

LongIslander wrote on 12/30/2020, 12:17 AM

I had no issues rendering a 8bit or 32bit 4k file.

Trying turning off Hardware Decoder and Set Dynamic Ram to 0.

Additionally when rendering use a "mainconcept" encoder option" which is a 100% cpu software encode.

Also. Increase your pagefile to the maximum size your drive supports. This may help.

 

RogerS wrote on 12/30/2020, 3:56 AM

Thanks for more workaround ideas to better isolate this bug, which is my only goal. I don't actually care if it renders.

1. Tried with dynamic ram preview = 0 (was 200). Did another UHD Mainconcept render (variable bit rate with default values). Vegas memory flat at 4.2GB but in use system memory continues to increase until about 19GB used and the render fails at ~67%. Closed Vegas and system usage dropped to 8.2GB.

2. This type of file doesn't work with hardware decoding. However for the sake of testing disabled it (was Auto/Intel) and did a UHD Mainconcept MagixAVC render again.
Vegas ram usage at 4.09GB. System use continually climbs. Took screenshot at ~67% and Vegas crashed...

3. Where is the pagefile setting? Normally Windows just allocates it? I'm somewhat space limited on SSD system drives. Really though, I can do a 4K render of such a simple project in 8-bit mode with no issue.

I tried to switch from 32-bit video to 32-bit full range mode but couldn't get the picture to show up in preview anymore. I deleted and readded it from the media bit and then assigned color space Rec 709.
Did a NVENC render with decoding back on (still not doing anything) and dynamic ram preview=0. Vegas is at 4.61GB memory use. System use is flat around 14.2. It rendered without issue.

j-v wrote on 12/30/2020, 5:03 AM

@RogerS
As a side step

One thing I noticed is that I don't have a Intel QSV render setting under Magix AVC so I can't test that, just Mainconcept and NVENC. I don't know why it's gone or how I can get it back.

I saw the same on my old laptop, where I had to dive very deep in the BIOS to allow the option to be visible. After a restart I saw it mentioned in device manager / display adapters. Therefore it was not available but it was already before the change available in Magix HEVC

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 12/30/2020, 5:19 AM

@RogerS
As a side step

One thing I noticed is that I don't have a Intel QSV render setting under Magix AVC so I can't test that, just Mainconcept and NVENC. I don't know why it's gone or how I can get it back.

I saw the same on my old laptop, where I had to dive very deep in the BIOS to allow the option to be visible. After a restart I saw it mentioned in device manager / display adapters. Therefore it was not available but it was already before the change available in Magix HEVC

Thanks for entertaining this side conversation. I do have Intel HD Graphics 630 visible in Device Manager and the Intel software assistant keeps my drivers updated. Do you think there is anything more I can do in the system bios? Seems odd that it appears under HEVC but not AVC.

Edit: apparently this is a symptom of moving to DCH drivers. Vegas needs to be updated link

After checking in with our devs it was determined that the affected applications need to be rebuild using an updated Intel® Media SDK.

Last changed by RogerS on 12/30/2020, 5:22 AM, changed a total of 1 times.

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 and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit https://pcpartpicker.com/b/rZ9NnQ

ASUS Zenbook Pro 14 Intel i9-13900H with Intel graphics iGPU with latest ASUS driver, NVIDIA 4060 (8GB) with latest studio driver, 48GB system ram, Windows 11 Home, 1TB Samsung SSD.

VEGAS Pro 21.208
VEGAS Pro 22.250

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

j-v wrote on 12/30/2020, 5:49 AM

No idea what the reason is, but maybe it has to do with those DHC drivers, because on my new laptop I see the same again in VP17 , but not anymore in VP18. But because it is available in the latest I don't care anymore.

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 12/30/2020, 6:03 AM

No idea what the reason is, but maybe it has to do with those DHC drivers, because on my new laptop I see the same again in VP17 , but not anymore in VP18. But because it is available in the latest I don't care anymore.

That is interesting it works for you in 18. I don't see Intel QSV options for MagixAVC in either 17 or 18. Oh well, I have no plans to ever use QSV anyway.

ngjb wrote on 12/30/2020, 2:49 PM

My preview RAM was already set to zero. I set the File I/O hardware decoder to OFF and saw no difference. It still causes a memory leak with Titles & Text. When I have some more time I will load Vegas with the Visual studio debugger to get an idea of what exactly is going on. I need to get out of the house and get some fresh air. My wife is getting cabin fever.

Desktop system:


OMEN 30L GT13-1094
Operating system: Windows 10 Home
Processor: AMD Ryzen™ 7 5800X Processor
Memory: HyperX® 32GB DDR4-3200 XMP RGB SDRAM memory(97) (4x8 GB)
Internal Storage: 1 TB PCIe® NVMe™ M.2 SSD (Application storage, Windows OS)

1 TB NVMe M.2 SSD (working drive)
500GB SDD (working drive)
4 TB HDD (Media Storage)
Graphics: EVGA NVIDIA® GeForce RTX™ 3060 XC graphics card with 12 GB GDDR6 dedicated memory
Display:
Samsung U28E590, Displayport,
UHD Monitor 3820x 2160


Laptop:


Acer Nitro 5 Gamer Laptop
Windows 10 (64 Bit)
System Memory 32 GB
500 GB SSD

500 GB SSD (working drive)
1TB HDD

FHD Display
CPU Intel I-5 9300H
Graphics NVIDA GTX 1050

RogerS wrote on 12/30/2020, 8:20 PM

@VEGASDerek When you get back, could you take a look at this issue with the new titler and 32-bit video levels mode with 10-bit footage? It appears to trigger a memory leak that crashes renders.