Video preview laggy with a i9-12900K, RTX 3070 and 64GB DDR5 RAM?!?!?!

Kayu wrote on 3/3/2022, 1:13 PM

Hey all,

maybe someone can help me out because I'm getting really frustrated.

I've built a new computer, running Windows 11 and using Vegas 18 Build 527 but I can't get a smooth video preview playback without heavy lags. (Video playback is set to "Preview (Auto)" but also tried it with "Half" and "Quarter", still the same)

There is just one video track, no effects on it, no transitions, only hard cuts with some fade ins and outs. Really nothing special imo...
The video file resolution is 3840x2160 and 25 frames, it's a mp4 coded H264

This is the hardware of my new computer:
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4 (Main SSD where Vegas is installed)
Samsung 870 EVO SSD 4TB (Video files are stored here)
...

All drivers are up to date too.

I've also tried most of the settings you can find on YouTube when you search for "Laggy Preview" but non helped so far...

Here is a screenshot of the project settings


I mean, the build is so powerful and I can't even run the video playback without lags? That's really a joke...

Extra info:
- Tried to enable "legacy AVC decoding" but that spiked up my processor to 80-100% when I playback the video and the computer is getting really loud because of my fan config.
- When I set the dynamic RAM preview max to 0 and turn off the GPU acceleration he is still using the GPU (Checked it in the task manager, RAM is max at ~ 2,3GB)

Hope someone can help me because I can't edit like that.

​​​​​​​Thanks

 

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

Comments

Former user wrote on 3/3/2022, 2:26 PM

@Kayu 😂 sorry for laughing but i hear you 👍 I built a decent pc, check my signature (you can put your pc specs in your signature, click your icon at the top of the page, My Profile & fill in your Signature 😉

I have File I/O legacy AVC decoding ticked but i don't notice a huge difference on most media, i'm on V19 but i was on V18 & haven't noticed that much difference, & i'm on Windows 10, there are people on Windows 11 who have complained but there's also some who are running on it fine, apparently V19 isn't supported on Windows 11 so V18 won't be, there's a link at the top of the forum https://www.vegascreativesoftware.info/us/forum/vegas-pro-19-and-support-for-windows-11--132810/

Have you got it on Studio GPU Driver ?

Kayu wrote on 3/3/2022, 2:36 PM

@Former user Damn your build is definitely decent hahaha, didn't get my hands on a 3090 at the moment :P

You mean the Nvidia driver? Yes I've installed the latest driver

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

Musicvid wrote on 3/3/2022, 2:38 PM

@Kayu

Thanks for providing your system specs and project properties.

In order to assist you properly, we also need to see your all-important source file properties. Please follow these instructions:

https://www.vegascreativesoftware.info/us/forum/faq-how-to-post-mediainfo-and-vegas-pro-file-properties--104561/

Kayu wrote on 3/3/2022, 2:46 PM

@Musicvid

Sure, here is a screenshot of the MediaInfo


And here the Vegas File properties


Thanks

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

Former user wrote on 3/3/2022, 3:03 PM

@Kayu Yep but i still don't get perfect playback, 😒 4k will play fairly smoothly Good (Half) but simple transitions often take more than once around to play smoothly & minimal effects will reduce playback,

I use AVC H.264, i avoid HEVC H.265, AVC seems to be more generally stable/compatible but the future looks like it's going to be H.265 & support does seem to be getting better.

My Vegas settings are pretty much default, the changes i have made aren't due to trying to get better playback, (i've already accepted that until Vegas is rewritten it won't get better)

I've a lot of RAM set just for Dynamic RAM Preview, almost any 'edit' needs Dynamic RAM to play true speed, i wish that was automatic, maybe running in the background when the program is idle like some other programs do, if i set it to 0 it either doesn't make a change or makes playback worse,

I can only imagine if you've got the latest studio driver that it must be due to Windows 11, I know these RTX 3000 series cards aren't fully supported/compatible/tested, I don't know the right words but some programs i have or tried don't mention mine in their supported GPU list & mine, 24GB! it should piss on most cards & Vegas should play fluidly.... but it doesn't 🤷‍♂️🤦‍♂️😒😂😂

This a view of my reg screen 3840x2160, Good (Half) (1920x1080), that makes Display 1746x982 which is slightly smaller than 1920x1080 so the preview quality is fairly good,

the few settings i've changed, but they not really performance related, like you i've been around all the forum posts & online suggestions & didn't find anything that makes Vegas playback better, prob won't help you tho sorry,

Musicvid wrote on 3/3/2022, 3:28 PM

I have no problem with these files with my modest i5 and Intel 620 onboard graphics, assuming I don't have a bunch of timeline FX slowing things down.

However, you have s04 selected as your decoder. Try this, and see if it helps.

Former user wrote on 3/3/2022, 3:32 PM

@Kayu In your picture it says MPEG-4, MP4 AVC, 8bit, 4:2:0, Constant,,,, all the the things as far as i understand play well in Vegas but at the bottom it mentions Quicktime, have you got Quicktime installed & ticked in Depreciated features? ... & i don't know if this is necessary or if it makes any difference at all 🤷‍♂️

Former user wrote on 3/3/2022, 3:36 PM

I have no problem with these files with my modest i5 and Intel 620 onboard graphics, assuming I don't have a bunch of timeline FX slowing things down.

However, you have s04 selected as your decoder. Try this, and see if it helps.

@Musicvid I presume that is directed at me, in my first comment i said - 'I have File I/O legacy AVC decoding ticked but i don't notice a huge difference on most media', Thanks but been there n tried that. I've tried pretty much every setting possible, more than once.

PS. I've just turned it off, but like i say i don't notice an difference but i'll keep an eye out 🧐👍

Kayu wrote on 3/3/2022, 3:38 PM

@Musicvid Thanks but legacy AVC decoding isn't checked, only HEVC decoding but if I uncheck this I don't see any performance boost. Same laggy preview playback.

@Former user Yes, Quicktime is installed. Tried to uncheck it at the depreciated features but that didn't help either

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

Former user wrote on 3/3/2022, 3:50 PM

@Kayu How does Vegas play with other media from a different camera/format?

Kayu wrote on 3/3/2022, 3:53 PM

@Former user I've tried to open bigger, more complex projects with different media formats and it's running even worse...

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

Former user wrote on 3/3/2022, 5:53 PM

Do you have an example you can upload to a file sharing site, so people can confirm it plays back fine on their system (or not) ?

4K25 AVC 8bit Vegas should be able to playback smoothly (generally)

 

Musicvid wrote on 3/3/2022, 6:31 PM

@Musicvid I presume that is directed at me, in my first comment i said - 'I have File I/O legacy AVC decoding ticked but i don't notice a huge difference on most media', Thanks but been there n tried that. I've tried pretty much every setting possible, more than once

No, I was addressing the OP. His posted Vegas file properties say s04. So maybe I've got it backwards; Your MediaInfo does not say HEVC, so you can disregard that checkbox.

Former user wrote on 3/3/2022, 6:35 PM

Allocating 50% ram to GPU preview could get you into trouble depending on whatever else is running. Unless you're actively using GPU preview that requires that amount of ram I would lower it while you're having these playback problems

@Former user I'm the only one that's shown 50% of RAM so i'm presuming that's ref to my post, I've had it lower & as i said i've even tried it at 0 in the past, it makes no difference but i do have 256GB, saying that tho i don't recommend @Kayu setting theirs to 50%. as you say other things need RAM to work properly, & i'm not having 'playback problems' but Vegas doesn't play as smoothly as i'd wish for the PC i have, no matter what i put the settings at.

RogerS wrote on 3/3/2022, 9:19 PM

Can you paste in the rest of those encode settings from Mediainfo? The screenshot is less helpful than the actual text.

When you make these files in x264 there are settings that playback better and some that playback much worse in Vegas. Keep keyframe interval low.

Kayu wrote on 3/3/2022, 11:34 PM

@RogerS Sure, here is the complete text:

General
Complete name                            : G:\Videos\Release Videos#\My Illusion\229255_Abstract_Creation_Experimental_Extraordinary_by_Max_Freyss_Artgrid-H264-UHD.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 104 MiB
Duration                                 : 21 s 360 ms
Overall bit rate                         : 40.8 Mb/s
Writing application                      : Lavf58.33.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 21 s 360 ms
Bit rate                                 : 40.8 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.197
Stream size                              : 104 MiB (100%)
Writing library                          : x264 core 158
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=12.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=40000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Codec configuration box                  : avcC

Other
ID                                       : 2
Type                                     : Time code
Format                                   : QuickTime TC
Duration                                 : 21 s 360 ms
Frame rate                               : 25.000 FPS
Time code of first frame                 : 00:24:35:02
Time code, striped                       : Yes
Language                                 : English
Default                                  : No


@Former user Here is an example
https://www52.zippyshare.com/v/btcQxHd8/file.html

Thanks

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

RogerS wrote on 3/4/2022, 12:06 AM

Keyframe interval is high for editing and may trigger the inefficient editing warning in VP 19. Try 1 or 2 seconds worth instead (25 or 50 instead of keyint=250) and see if it works better. I think I use keyint_min=1 for my own encodes.

FWIW YouTube also wants short keyframe intervals (1 ever 2 sec. or less) so if you can coax whatever is producing these files to make shorter ones it's better for editing and uploads.

I'd try re-encoding a few of these files, swapping media and see if the editing improves. Also undo the changes based on YouTube, most don't apply to VP 18 & 19 and if you fix the media they are unnecessary.

In particular don't enable "legacy AVC decoding" for now. And leave decoding on preferences/ file io to default (Intel if it's available. If not available try to enable it in bios. You might have to plug a monitor into it or get a dummy cable for it to work).

Leave dynamic ram preview on default of 200 for now. Leave GPU preview acceleration on (should be your NVIDIA card).

Musicvid wrote on 3/4/2022, 12:18 AM

Keyframe interval is normal and just fine...

GOPs of 250-400 have previewed just fine in Vegas for as long as I can remember, Roger.

Kayu wrote on 3/4/2022, 12:19 AM

@RogerS I'm working a lot with Artlist stock videos, can't re-encode every single video I download from there since hat would definitely take up all my time.

 

Vegas Pro 18
Windows 11
Intel i9-12900K
GeForce RTX 3070
64GB G.Skill DIMM DDR5-6000
ROG Maximus Z690 Hero
Corsair MP600 Core SSD 4TB M.2 PCIe 4.0 x4
4x Samsung 870 EVO SSD 4TB
iCUE H170i ELITE CAPELLIX Liquid CPU Cooler
Corsair Obsidian 1000D Big Tower

Musicvid wrote on 3/4/2022, 12:39 AM

@Kayu

Your sample video previews perfectly at a rock solid 25.000, no glitches, no lags, no errors.

I am running a lowly stock i5 8750, Intel 620 graphics, with VP19 set at its defaults, Windows 10.

I am presuming your have read the FAQ: https://www.vegascreativesoftware.info/us/forum/faq-how-can-i-make-my-video-preview-play-smoothly-in-vegas-pro--104624/

The obvious next step is troubleshooting your new system methodically to find out where the bottleneck exists. Obviously, we can't help you too much with that here, but please post your results when you find the culprit; thanks and welcome to the Vegas Pro user forum!

If you think you need to reset Vegas to its defaults, instructions are here:

https://www.vegascreativesoftware.info/us/forum/faq-how-can-i-reset-vegas-pro-to-default-settings--104646/

Former user wrote on 3/4/2022, 12:42 AM

@RogerS I'm working a lot with Artlist stock videos, can't re-encode every single video I download from there since hat would definitely take up all my time.

 

I see the problem, I show it here with a 9frame disolve transition, and show how it doesn't have the problem when gpu decoding is turned off. without GPU decoding you will use more cpu, for my 12 core CPU useage increased to 40% If that's acceptable maybe that is a solution for this frame rate. At higher frame rate 4K you will run out of CPU

It is a software fault to do with GPU decoding, you can see decoding go nu-naturally high which prevents reading of further frames, but with GPU decoding turned off, no problems

 

 

 

RogerS wrote on 3/4/2022, 12:42 AM

Musicvid, I am only repeating what VegasHeman stated in a discussion of the efficient media warning that for GOP size under 60 is safe (though it depends on resolution as well as there are cache limits.) When I asked for specific help with x264 renders for use in Vegas that's the advice I was given and once I went to shorter GOPs the warning stopped appearing.

Do you see something else with the MediaInfo that causes issues for Vegas?

Kayu, my computer struggles with this media as well whereas I edit 4K 24p from cameras all the time without issue.

:

Does Artlist have other download options like ProRes? You can also right-click and create video proxy for this media. Then drop down to preview/auto and it plays back well.
Alternatively download a bunch and batch convert to ProRes? Come to think of it some Vegas Content has similar settings, so hopefully Vegas can work better with files like this without requiring a re-encode.

Last changed by RogerS on 3/4/2022, 12:43 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.239

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

Musicvid wrote on 3/4/2022, 12:48 AM

Roger, see two up. How does his video test on your system?

If you are recalling the recent discussion of Zoom 900 frame IP GOPs, they are what is known as a "red herring:" most decoders have previously had an upper default limit of around 60 seconds, and they have all been forced to change as a result.

And once you gain some experience with x264, you will find that GOP lengths of <= 450 are "normal and expected." See you then.

Musicvid, I am only repeating what VegasHeman stated in a discussion of the efficient media warning that for GOP size under 60 is safe (though it depends on resolution as well as there are cache limits.) When I asked for specific help with x264 renders for use in Vegas that's the advice I was given and once I went to shorter GOPs the warning stopped appearing.

Do you see something else with the MediaInfo that causes issues for Vegas?

Kayu, my computer struggles with this media as well whereas I edit 4K 24p from cameras all the time without issue.

:

Does Artlist have other download options like ProRes? You can also right-click and create video proxy for this media. Then drop down to preview/auto and it plays back well.
Alternatively download a bunch and batch convert to ProRes? Come to think of it some Vegas Content has similar settings, so hopefully Vegas can work better with files like this without requiring a re-encode.

RogerS wrote on 3/4/2022, 12:53 AM

I also see more consistent performance with GPU decode off, though I run out of CPU when there's more than 1 clip and have to drop down to preview/full.