VP 22 Build 93 - Memory Leak In Render

dennismf wrote on 7/30/2024, 6:52 PM

I installed VP 22 yesterday and tested it by rendering a project built with VP 21. I have been having issues with slow rendering under VP 21 build 315. VP 21 build 208 was much faster on my hardware. I was interested to see if VP 22 resolved this performance issue.

I found that the render performance was much improved over VP 21 B 315. However; I found that during render the memory usage grew slowly; eventually using all physical RAM. I found that if I let the render run on, my computer eventually crashed.

I repeated this with a different project and had the same result. I found that stopping the render did not release the excess RAM. Closing the project but not closing Vegas did release the excess RAM returning usage to around 38Gb.

My hardware in a Intel Notebook with Windows 11, a 12th gen i7 CPU, an ARC A730M GPU plus an Intel Iris Xe GPU. It has 64Gb of RAM installed.

Under normal conditions (VP 21) my computer used between 30 and 40Gb to run the OS plus Vegas. This usage usually remains steady during video render.

Comments

RogerS wrote on 7/30/2024, 8:45 PM

Can you give any other clues as to how to trigger this memory leak?

Do the benchmark projects in my signature have the same problem?

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

ASUS Zenbook 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.122

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

dennismf wrote on 7/31/2024, 6:27 PM

I downloaded the two test projects. The VP 16 based project renders without any issues.

The VP 20 based would not render to completion. I could not identify the cause but it is a complex project using many features I rarely use.

I returned to my projects and experimented with project options:

My projects use HLG UHD Video shot on a Panasonic GH5 at high bit rates.

I usually render as UHD HRD10 HEVC using ACES..

Almost all of my video adjustments are performed using the Colour Grading panel.

I tried a number of project setting variations and found that the memory leak only occurred when I was using ACES (32-bit floating point full range).

HDR10 on or off made no difference.

I hope this is useful.

fr0sty wrote on 7/31/2024, 8:19 PM

Off topic, but if you shoot VLOG instead of HLG with your GH5, and color it by enabling HDR mode, and right clicking on the media in the media pool and selecting properties, then setting the color space to "VLOG/VGamut", you'll get much better quality. VLOG gives much more room, especially in the highlights, for color grading.

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)

RogerS wrote on 7/31/2024, 8:34 PM

I'll see if I can replicate a memory leak with a 32-bit full projects. Any other hint as to how to get the leak to happen?

Does the memory leak only happen when the render is done? Is it only when rendering to HDR10 HEVC?

Is this with QSV decoding and encoding? If you watch task manager/performance is it running out of ram or Arc vram? Could you share a screenshot of what it looks like when it's running low. I wonder if decoding is with Xe (vs Arc) if it's taking up 50% of system ram and there isn't enough for the render 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 and 2TB Samsung 980 Pro cache drive, Windows 11 Pro 64 bit

ASUS Zenbook 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.122

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

dennismf wrote on 8/1/2024, 7:34 PM

Thank you for your assistance. I believe I have identified a specific cause.

I took your VP16 test project and changed it to render using ACES. It did not show any memory leak.

As that project did not use the Colour Grading panel; I added some mild colour grading to the Video Bus. Colour Curves, Saturation, Contrast. When I rendered this I found I had a visible memory leak.

Further tests showed that I needed to be using both ACES and the Colour Grading panel to provoke the obvious leak.

I repeated these tests using the Apple Pro Res encoder. The memory was still present when using ACES and Colour Grading.

My video preferences have the ARC GPU selected. I noticed that all of my renders had some activity on the ARC GPU. But I only had significant activity on the Iris Xe GPU when Colour Grading was present.

As you suggested, I monitored one of my original projects as the render progressed. When I turned my attention to the GPU activity I could see that with ACES and Colour Grading, the Iris Xe shared memory usage was constantly growing, eventually reaching a limit of around 32GB.

I found that if I turned off ACES, the render still used the Iris Xe but GPU memory usage was low and steady.

When I did let the render consume all RAM, the Iris GPU showed a drop in memory usage back to around 2.9GB, after which it continued to grow again. However this drop in GPU memory usage was not reflected in the system RAM utilisation. It remained at around 100%.

I did not let it run on beyond this as I prefer not to crash the computer.

Attached are some shots of Task Manager through the render process:

https://1drv.ms/i/s!ArhPydX1bo0GgfBXlMxfr11GhIS81g?e=bGV6Z2

Project Loaded - No Render Running

https://1drv.ms/i/s!ArhPydX1bo0GgfBaSJLHRrx9XYnwVg?e=g53cyN

Render Started

https://1drv.ms/i/s!ArhPydX1bo0GgfBdEGY7Uj0an7dgeQ?e=zsfBZ0

Iris Xe showing RAM growth

https://1drv.ms/i/s!ArhPydX1bo0GgfBfh9V9srvKxbCC2Q?e=U1QW5D

ARC showing steady RAM usage

https://1drv.ms/i/s!ArhPydX1bo0GgfBhCAIzwMaxbHRIZw?e=McZfVG

Iris Xe RAM usage peaking

https://1drv.ms/i/s!ArhPydX1bo0GgfBTUTV5Pd7z9PYdqw?e=wFS2fm

Iris Xe RAM usage drops - System RAM still fully consumed

https://1drv.ms/i/s!ArhPydX1bo0GgfBWj8dDNADI9BpDag?e=VnVwqH

Iris Xe render stopped

https://1drv.ms/i/s!ArhPydX1bo0GgfBYupdogY-xzcS14Q?e=4cNG57

Iris Xe App Closed

Gid wrote on 8/1/2024, 8:05 PM

@dennismf Hi, you're better off uploading those pictures on here using the arrow button at the top of comments. A lot of people don't want to or won't bother to click on links, esp that many 👍

Vegas Pro 21
Vegas Pro/Post 19
Boris Continuum & Sapphire, 
Silhouette Standalone + Plugin, 
Mocha Pro Standalone + Plugin, 
Boris Optics,
NewBlue TotalFX
Desktop PC Microsoft Windows 10 Pro - 64-Bit
ASUS PRO WS WRX80E-SAGE SE WIFI AMD Motherboard
AMD Ryzen Threadripper PRO 3975WX 3.5GHz 32 Core
Corsair iCUE H150i RGB PRO XT 360mm All-in-One Liquid CPU Cooler
RAM 256GB ( 8x Micron 32GB (1x 32GB) 2666MHz DDR4 RAM )
2x Western Digital Black SN850 2TB M.2-2280 SSD, 7000MB/s Read, 5100MB/s Write
(programs on one, project files on the other)
Graphics MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU
ASUS ROG Thor 1200W Semi-Modular 80+ Platinum PSU 
Fractal Design Define 7 XL Dark TG Case with 3 Fans
Dell SE3223Q 31.5 Inch 4K UHD (3840x2160) Monitor, 60Hz, & an Acer 24" monitor.

At the moment my filming is done with a Samsung Galaxy S23 Ultra 5G & a GoPro11

I've been a Joiner/Carpenter for 40yrs, apprentice trained time served, I don't have an apprentice of my own so to share my knowledge I put videos on YouTube.

YouTube videos - https://www.youtube.com/c/Gidjoiner

Lots of work photos on Facebook - https://www.facebook.com/gid.joiner/photos_albums

UltraVista wrote on 8/1/2024, 9:41 PM

I see the same, GPU VRAM use keeps going up and up, it will flood out into system ram if I don't force stop the render. I also don't want to crash my computer. I used GH5 422 10bit HEVC to more closely replicate your project, not certain if that's a factor just yet.

UltraVista wrote on 8/1/2024, 9:48 PM

It's not dependent on 422 10bit HEVC to cause the leak, boring old 1080p AVC 420 8bit will also do it.

Nvidia decode/Magix HEVC Nvenc encode

dennismf wrote on 8/2/2024, 12:29 AM

I see the same, GPU VRAM use keeps going up and up, it will flood out into system ram if I don't force stop the render. I also don't want to crash my computer. I used GH5 422 10bit HEVC to more closely replicate your project, not certain if that's a factor just yet.

I modified the VP16 project supplied by RogerS so that it used ACES and I introduced Colour Grading on the Video Bus. This caused that modified project to also exbibit a memory leak. It was not as obvious as with my project as it is quite short and renders quite quickly compared to the many UHD clips I am using.

I suspect the problem is associated with ACES + Colour Grading and possibly only when an Intel Iris Xe GPU is performing the Colour Grading.

I found that the Iris GPU was only used when the Colour Grading panel was used. Colour Grading without ACES also used the Iris GPU but it did not exhibit a memory leak.

Wolfgang S. wrote on 8/2/2024, 1:01 AM

@dennismf
Please post snapshots of your

a) project settings

b) settings of properties/video page

c) file i/o settigs

d) complete hardware specification of your system.

Last changed by Wolfgang S. on 8/2/2024, 1:02 AM, changed a total of 1 times.

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

UltraVista wrote on 8/2/2024, 1:03 AM

If you turn off GPU processing, the fault goes away, so unrelated to GPU decode or encode. It also does this on a Nvidia GPU processing machine.

UltraVista wrote on 8/2/2024, 1:20 AM

Ok, I think when I turned off GPU processing before it also turned off GPU decoder, so there was no GPU decode in last run. This time GPU processing was off, with GPU decode on and Vram kept going up which more aligns with what you're saying.

Don't know bit confused, lets see what others have to say

*With GPU decode on and GPU processing off, Vram uses goes up but never spills out into system ram. GPU processing on with GPU decode on or off, with GPU encode on or off = memory leak

RogerS wrote on 8/2/2024, 1:52 AM

Turning off the GPU in preferences/ video shouldn't affect GPU decoding which is controlled by preferences/ file io.

I did a quick test in 32-bit mode with the CGP but wasn't able to find a memory leak with my laptop (NVDEC decoding, NVIDIA GTX 1050 set in preferences). I am wondering if one or the other must be Intel to trigger this issue. [The laptop overheated before I could test for much longer.]

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

ASUS Zenbook 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.122

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

dennismf wrote on 8/2/2024, 2:37 AM

@dennismf
Please post snapshots of your

a) project settings

b) settings of properties/video page

c) file i/o settigs

d) complete hardware specification of your system.


 

System Specs (UHD HDR Monitor not connected)

System Information report written at: 08/02/24 17:10:58
System Name: OZCARAVAN
[System Summary]

Item    Value    
OS Name    Microsoft Windows 11 Home    
Version    10.0.22631 Build 22631    
Other OS Description     Not Available    
OS Manufacturer    Microsoft Corporation    
System Name    OZCARAVAN    
System Manufacturer    Intel(R) Client Systems    
System Model    LAPAC71H    
System Type    x64-based PC    
System SKU    BAC71HBBU6000    
Processor    12th Gen Intel(R) Core(TM) i7-12700H, 2300 Mhz, 14 Core(s), 20 Logical Processor(s)    
BIOS Version/Date    Intel Corp. ACADL357.0058.2022.0914.1524, 14/09/2022    
SMBIOS Version    3.5    
Embedded Controller Version    1.09    
BIOS Mode    UEFI    
BaseBoard Manufacturer    Intel Corporation    
BaseBoard Product    LAPAC71H    
BaseBoard Version    M46186-404    
Platform Role    Mobile    
Secure Boot State    On    
PCR7 Configuration    Elevation Required to View    
Windows Directory    C:\Windows    
System Directory    C:\Windows\system32    
Boot Device    \Device\HarddiskVolume2    
Locale    United States    
Hardware Abstraction Layer    Version = "10.0.22621.2506"    
Username    XXXXXX    
Time Zone    E. Australia Standard Time    
Installed Physical Memory (RAM)    64.0 GB    
Total Physical Memory    63.6 GB    
Available Physical Memory    21.4 GB    
Total Virtual Memory    70.6 GB    
Available Virtual Memory    12.7 GB    
Page File Space    7.02 GB    
Page File    C:\pagefile.sys    
Kernel DMA Protection    On    
Virtualisation-based security    Running    
Virtualisation-based security required security properties        
Virtualisation-based security available security properties    Base Virtualisation Support, Secure Boot, DMA Protection, UEFI Code Readonly, SMM Security Mitigations 1.0, Mode Based Execution Control, APIC Virtualisation    
Virtualisation-based security services configured    Hypervisor enforced Code Integrity    
Virtualisation-based security services running    Hypervisor enforced Code Integrity    
Windows Defender Application Control policy    Enforced    
Windows Defender Application Control user mode policy    Off    
Device Encryption Support    Elevation Required to View    
A hypervisor has been detected. Features required for Hyper-V will not be displayed.        


[Memory]

Resource    Device    Status    
0xFE010000-0xFE010FFF    Intel(R) SPI (flash) Controller - 51A4    OK    
0xFEDC0000-0xFEDC7FFF    Motherboard resources    OK    
0xFEDA0000-0xFEDA0FFF    Motherboard resources    OK    
0xFEDA1000-0xFEDA1FFF    Motherboard resources    OK    
0xC0000000-0xCFFFFFFF    Motherboard resources    OK    
0xFED20000-0xFED7FFFF    Motherboard resources    OK    
0xFED90000-0xFED93FFF    Motherboard resources    OK    
0xFED45000-0xFED8FFFF    Motherboard resources    OK    
0xFEE00000-0xFEEFFFFF    Motherboard resources    OK    
0xFE410000-0xFE4100FF    Intel(R) NUC Performance Driver    OK    
0xFFEF6000-0xFFEF6FFF    Intel(R) Serial IO I2C Host Controller - 51C6    OK    
0xFD6E0000-0xFD6EFFFF    Intel(R) Serial IO GPIO Host Controller - INTC1055    OK    
0xFD6D0000-0xFD6DFFFF    Intel(R) Serial IO GPIO Host Controller - INTC1055    OK    
0xFD6A0000-0xFD6AFFFF    Intel(R) Serial IO GPIO Host Controller - INTC1055    OK    
0xFD690000-0xFD69FFFF    Intel(R) Serial IO GPIO Host Controller - INTC1055    OK    
0xFFEF4000-0xFFEF4FFF    Intel(R) Management Engine Interface #1    OK    
0xFFEF7000-0xFFEF7FFF    Intel(R) GNA Scoring Accelerator module    OK    
0xFFEF3000-0xFFEF3FFF    Intel(R) Serial IO I2C Host Controller - 51E8    OK    
0x62AF9000-0x62AF9FFF    UCM-UCSI ACPI Device    OK    
0x84600000-0x84603FFF    Standard NVM Express Controller    OK    
0x84600000-0x84603FFF    Intel(R) PCI Express Root Port #9 - 51B0    OK    
0xFED00000-0xFED003FF    High precision event timer    OK    
0x83000000-0x841FFFFF    Intel(R) PEG10 - 460D    OK    
0x83000000-0x841FFFFF    Intel(R) Arc(TM) A730M Graphics    OK    
0x83000000-0x841FFFFF    PCI Express Upstream Switch Port    OK    
0x83000000-0x841FFFFF    PCI Express Downstream Switch Port    OK    
0x84700000-0x84703FFF    Standard NVM Express Controller    OK    
0x84700000-0x84703FFF    Intel(R) PEG60 - 464D    OK    
0x2D160000-0x2D167FFF    Intel(R) Platform Monitoring Technology Driver    OK    
0x76000000-0x821FFFFF    Intel(R) TypeC PCIe - 466E    OK    
0x10000000-0x2BFFFFFF    Intel(R) TypeC PCIe - 466E    OK    
0xFFEFC000-0xFFEFFFFF    Intel® Smart Sound Technology BUS    OK    
0xFFF00000-0xFFFFFFFF    Intel® Smart Sound Technology BUS    OK    
0xFFEF5000-0xFFEF5FFF    Intel(R) Serial IO I2C Host Controller - 51C5    OK    
0xFFEF0000-0xFFEF0FFF    Intel(R) Serial IO I2C Host Controller - 51EB    OK    
0xA0000-0xBFFFF    PCI Express Root Complex    OK    
0xE0000-0xE3FFF    PCI Express Root Complex    OK    
0xE4000-0xE7FFF    PCI Express Root Complex    OK    
0xE8000-0xEBFFF    PCI Express Root Complex    OK    
0xEC000-0xEFFFF    PCI Express Root Complex    OK    
0xF0000-0xFFFFF    PCI Express Root Complex    OK    
0x74800000-0xBFFFFFFF    PCI Express Root Complex    OK    
0xFED40000-0xFED44FFF    Trusted Platform Module 2.0    OK    
0x0000-0x7FFFFF    PCI Express Upstream Switch Port    OK    
0x2C000000-0x2CFFFFFF    Intel(R) Iris(R) Xe Graphics    OK    
0x0000-0xFFFFFFF    Intel(R) Iris(R) Xe Graphics    OK    
0x2D140000-0x2D14FFFF    Intel(R) USB 3.10 eXtensible Host Controller - 1.20 (Microsoft)    OK    
0x2D150000-0x2D15FFFF    Intel(R) USB 3.20 eXtensible Host Controller - 1.20 (Microsoft)    OK    
0x84300000-0x845FFFFF    Intel(R) PCI Express Root Port #8 - 51BF    OK    
0x2D100000-0x2D13FFFF    USB4(TM) Host Router (Microsoft)    OK    
0x2D17D000-0x2D17DFFF    USB4(TM) Host Router (Microsoft)    OK    
0xFFEF8000-0xFFEFBFFF    Intel(R) Wi-Fi 6 AX201 160MHz    OK    
0xFFEF2000-0xFFEF2FFF    Intel(R) Serial IO I2C Host Controller - 51E9    OK    
0xFFEF1000-0xFFEF1FFF    Intel(R) Serial IO I2C Host Controller - 51EA    OK    
0x84500000-0x845FFFFF    Intel(R) Ethernet Controller (3) I225-V    OK    
0x844FC000-0x844FFFFF    Intel(R) Ethernet Controller (3) I225-V    OK    

[Components]

[Multimedia]

[Audio Codecs]

CODEC    Manufacturer    Description    Status    File    Version    Size    Creation Date    
c:\windows\system32\msgsm32.acm    Microsoft Corporation        OK    C:\Windows\system32\MSGSM32.ACM    10.0.22621.2506    65.96 KB (67,544 bytes)    7/11/2023 11:28 AM    
c:\windows\system32\l3codeca.acm    Fraunhofer Institut Integrierte Schaltungen IIS    Fraunhofer IIS MPEG Layer-3 Codec    OK    C:\Windows\system32\L3CODECA.ACM    1.9.0.401    112.00 KB (114,688 bytes)    7/05/2022 3:20 PM    
c:\windows\system32\msg711.acm    Microsoft Corporation        OK    C:\Windows\system32\MSG711.ACM    10.0.22621.2506    49.80 KB (51,000 bytes)    7/11/2023 11:28 AM    
c:\windows\system32\imaadp32.acm    Microsoft Corporation        OK    C:\Windows\system32\IMAADP32.ACM    10.0.22621.2506    61.92 KB (63,408 bytes)    7/11/2023 11:28 AM    
c:\windows\system32\msadp32.acm    Microsoft Corporation        OK    C:\Windows\system32\MSADP32.ACM    10.0.22621.2506    57.89 KB (59,280 bytes)    7/11/2023 11:28 AM    

[Video Codecs]

CODEC    Manufacturer    Description    Status    File    Version    Size    Creation Date    
c:\windows\system32\iyuv_32.dll    Microsoft Corporation        OK    C:\Windows\system32\IYUV_32.DLL    10.0.22621.1    76.00 KB (77,824 bytes)    7/05/2022 3:20 PM    
c:\windows\system32\msrle32.dll    Microsoft Corporation        OK    C:\Windows\system32\MSRLE32.DLL    10.0.22621.2506    40.00 KB (40,960 bytes)    7/11/2023 11:29 AM    
c:\windows\system32\msvidc32.dll    Microsoft Corporation        OK    C:\Windows\system32\MSVIDC32.DLL    10.0.22621.2506    60.00 KB (61,440 bytes)    7/11/2023 11:29 AM    
c:\windows\system32\msyuv.dll    Microsoft Corporation        OK    C:\Windows\system32\MSYUV.DLL    10.0.22621.1    48.00 KB (49,152 bytes)    7/05/2022 3:20 PM    
c:\windows\system32\tsbyuv.dll    Microsoft Corporation        OK    C:\Windows\system32\TSBYUV.DLL    10.0.22621.1    40.00 KB (40,960 bytes)    7/05/2022 3:20 PM    


[Sound Device]

Item    Value    
Name    Intel® Smart Sound Technology for USB Audio    
Manufacturer    Intel(R) Corporation    
Status    OK    
PNP Device ID    INTELAUDIO\CTLR_DEV_51C8&LINKTYPE_06&DEVTYPE_06&VEN_8086&DEV_AE50&SUBSYS_30298086&REV_0001\0601    
Driver    C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\INTCUSB.INF_AMD64_D97909364D9908A5\INTCUSB.SYS (10.24.0.7767, 872.04 KB (892,968 bytes), 29/09/2023 2:53 PM)    
        
Name    Realtek High Definition Audio    
Manufacturer    Realtek    
Status    OK    
PNP Device ID    INTELAUDIO\FUNC_01&VEN_10EC&DEV_0274&SUBSYS_80863029&REV_1000\5&28DF3E39&0&0001    
Driver    C:\WINDOWS\SYSTEM32\DRIVERS\RTKVHD64.SYS (6.0.9360.1, 5.93 MB (6,220,760 bytes), 29/09/2023 2:53 PM)    

[Display]

Item    Value    
Name    Intel(R) Arc(TM) A730M Graphics    
PNP Device ID    PCI\VEN_8086&DEV_5691&SUBSYS_30298086&REV_08\6&27FF652D&0&00080008    
Adapter Type    Intel(R) Arc(TM) A730M Graphics Family, Intel Corporation compatible    
Adapter Description    Intel(R) Arc(TM) A730M Graphics    
Adapter RAM    2.00 GB (2,147,479,552 bytes)    
Installed Drivers    C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_30f9193e459000ff\igdumdim64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_30f9193e459000ff\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_30f9193e459000ff\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch_d.inf_amd64_30f9193e459000ff\igd12umd64.dll    
Driver Version    31.0.101.5592    
INF File    oem157.inf (iDG2D_Client_w10_DS section)    
Colour Planes    Not Available    
Colour Table Entries    4294967296    
Resolution    3840 x 2160 x 50 hertz    
Bits/Pixel    32    
Memory Address    0x83000000-0x841FFFFF    
IRQ Channel    IRQ 4294967241    
Driver    C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\IIGD_DCH_D.INF_AMD64_30F9193E459000FF\IGDKMDND64.SYS (31.0.101.5592, 51.38 MB (53,872,192 bytes), 30/06/2024 10:25 AM)    
        
Name    Intel(R) Iris(R) Xe Graphics    
PNP Device ID    PCI\VEN_8086&DEV_46A6&SUBSYS_30298086&REV_0C\3&11583659&0&10    
Adapter Type    Intel(R) Iris(R) Xe Graphics Family, Intel Corporation compatible    
Adapter Description    Intel(R) Iris(R) Xe Graphics    
Adapter RAM    2.00 GB (2,147,479,552 bytes)    
Installed Drivers    C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_6b10ae7f2f9034c5\igdumdim64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_6b10ae7f2f9034c5\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_6b10ae7f2f9034c5\igd10iumd64.dll,C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_6b10ae7f2f9034c5\igd12umd64.dll    
Driver Version    31.0.101.5592    
INF File    oem136.inf (iADLPD_w10_DS section)    
Colour Planes    Not Available    
Colour Table Entries    4294967296    
Resolution    1920 x 1080 x 143 hertz    
Bits/Pixel    32    
Memory Address    0x2C000000-0x2CFFFFFF    
Memory Address    0x0000-0xFFFFFFF    
I/O Port    0x00003000-0x0000303F    
IRQ Channel    IRQ 4294967242    
Driver    C:\WINDOWS\SYSTEM32\DRIVERSTORE\FILEREPOSITORY\IIGD_DCH.INF_AMD64_6B10AE7F2F9034C5\IGDKMDN64.SYS (31.0.101.5592, 51.38 MB (53,872,192 bytes), 30/06/2024 10:25 AM)    

 

dennismf wrote on 8/2/2024, 2:42 AM

I tried turning off "Use GPU Processing for ACES Colour Management", as the Iris Xe GPU only seems to be used with Colour Grading. Even with this off, the Iris Xe GPU was clearly being used and the memory leak was still there.

pierre-k wrote on 8/2/2024, 5:09 AM

Could it be related to Intel using more memory?

Playback 4k MXF / Dynamic Dram Preview 5%

UHD 770 - 44GB Ram

GTX970 4GB - 26GB Ram

Wolfgang S. wrote on 8/2/2024, 5:10 AM

The PC specs are fine for HDR.

The footage - it is a little bit unusual, to shoot with a GH5 HLG. Better would be v-log.

The project settings - should be set to 1000 nits not to 2000 nits.

That are the general points.

Have you tried to render to AVC instead of HEVC?

You could also try to disable the support for hardware decoding - so in file I/O set that the "off". But it will be slow.

Not sure if that is available for HLG-footage - but maybe you could also use a LUT to HDR10, if you do not trust ACES together with the CGP?

Desktop: PC AMD 3960X, 24x3,8 Mhz * GTX 3080 Ti (12 GB)* Blackmagic Extreme 4K 12G * QNAP Max8 10 Gb Lan * Resolve Studio 18 * Edius X* Blackmagic Pocket 6K/6K Pro, EVA1, FS7

Laptop: ProArt Studiobook 16 OLED * internal HDR preview * i9 12900H with i-GPU Iris XE * 32 GB Ram) * Geforce RTX 3070 TI 8GB * internal HDR preview on the laptop monitor * Blackmagic Ultrastudio 4K mini

HDR monitor: ProArt Monitor PA32 UCG-K 1600 nits, Atomos Sumo

Others: Edius NX (Canopus NX)-card in an old XP-System. Edius 4.6 and other systems

VEGASFlorian wrote on 8/2/2024, 5:42 AM

I was able to create a simple test project to reproduce the memory leak (on my machine).
We will discuss that with the team.

Thanks @dennismf, your hints were very helpful.

mark-y wrote on 8/2/2024, 8:21 AM

It looks like the ancient bug from various Sony versions may have reared its ugly head once more.

Under ideal circumstances, the decoder buffers and the undo buffers slowly fill themselves up, eventually spilling over into virtual memory. When the buffers don't unload themselves, the overflow condition persists.

This also may have something to do with another bug where RAM and CPU remaining active long after you close the program. The KillAllVegas mini app from tools4Vegas may help you determine if this also your case. Try it.